
Q(3) Given a color image determine the 'average' color. Compute the average color for the image with:
(a)
R=ones(100);, G=tril(ones(100));, B=zeros(100);
Ans.

A(:,:,1)= ones(100);
A(:,:,2)=tril(ones(100));
A(:,:,3)=zeros(100);
imshow(A)
Mathematics is the mother of all sciences.
No comments:
Post a Comment