SHARE
TWEET

Untitled

a guest Dec 12th, 2019 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. img = double(imread("rzeczka.jpg"));
  2. filtr = [0,0,0;1,0,-1;0,0,0];
  3. x = length(wejscie(1,:))
  4. y = length(wejscie)
  5. wejscie = [23,24,25;33,34,35;,36,37,38;39,40,41]
  6. #Dodanei marignesu
  7. maska = [wejscie(1,1),wejscie(1,:),wejscie(1,x)]
  8. for i = 1:y
  9. maska = [maska;[wejscie(i,1),wejscie(i,:),wejscie(i,x)]]
  10. endfor
  11. maska = [maska;[wejscie(y,1),wejscie(y,:),wejscie(y,x)]]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top