Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- clc
- clear
- I=imread('snowflakes.png');
- I2=imread('rice.png');
- I3=imread('football.jpg');
- subplot(4,1,1);
- imshow(I);
- subplot(4,1,2);
- imshow(I2);
- subplot(4,1,3);
- imshow(I3);
- for i=20:100
- for j=50:100
- I2(i,j) = 120;
- end
- end
- subplot(4,1,4);
- imshow(I2);
- figure;
- subplot(3,2,1);
- imshow(I2);
- subplot(3,2,2);
- imshow(I2,[190,200]);
- I4=imread('tire.tif');
- for i=40:150
- for j=40:150
- I4(i,j) = 75;
- end
- end
- imfinfo('rice.png')
- imwrite(I4,'tire33.png','quality',5);
- I42=imread('tire33.png');
- subplot(3,2,3);
- imshow(I42);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement