Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- img = rgb2gray(imread('img2.jpeg'));
- [x, y] = size(img);
- imshow(img);
- pause(1);
- for i=32:32:x
- for j=32:32:y
- block = img(i-31:i, j-31:j);
- histogram(block);
- pause(1);
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement