Guest User

Untitled

a guest
Jan 4th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. function destino=ventanacorredisa(I,k)
  2. [filas,col]=size(I);
  3. for i= 1+k:filas-k;
  4. for j=1+k:col-k;
  5. Subim=I(i-k:i+k,j-k:j+k);
  6. destino(i-k,j-k)= Subim(k+1,k+1);
  7. end
  8. end
Add Comment
Please, Sign In to add comment