A=imread("CokeCan.jpg");
B=floor((A)/64)*85;
C=255*B;
imshow(C)
Question # 2
A=imread("CokeCan.jpg");
E=floor((A)/85)*128;
F=255*E;
imshow(F)
3. Question #3
A=imread("CokeCan.jpg");
K=(A(:,:,1)+A(:,:,2)+A(:,:,3))/3;
imshow(K)
can't really see much too dark
Question # 4
E=floor(double(K)/4)*4;
imshow(E)
This image completely washed out for # 4 and #5.
Question # 5
Z=floor(double(K)/16)*16;
imshow(Z)
No comments:
Post a Comment