Wednesday, June 11, 2008
Assignment#6 Q3
Q#3(c)
Average colour of two assigned pictures
For this assignment Paul helped me alot in downloading assigned pictures.
pkg load image
a=imread("pic1.jpg");
b=double(a)/255;
avgb=sum(sum(b))/(650*780)
c=ones(256);
c(:,:,1)=0.95854*ones(256);
c(:,:,2)=0.95091*ones(256);
c(:,:,3)=0.94792*ones(256);
imshow(c)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment