Advertisement
Guest User

Untitled

a guest
May 27th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. clc, clear all, close
  2. figure(1)
  3. rice = imread('rice.png');
  4. imshow(rice)
  5. figure(2)
  6. [X Y] = size(rice)
  7. riceBW = rice
  8. for i = 1:X
  9. for j = 1:Y
  10. piksel = meanLT(i,j,15,15,X,Y)
  11. if(piks)
  12. riceBW =
  13.  
  14. end
  15. end
  16. %figure(2)
  17. %obraz = imread('katalog.bmp');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement