(c) and turn them into a greyscale image (with values between 0 and 255). Do this
by computing the intensity of each pixel in the image.
function [ gim ] = togray( cim )
gim = (cim(:,:,1)+cim(:,:,2)+cim(:,:,3))/3;
>> imshow(togray(bluelines/255));
>> imshow(togray(jade/255));
No comments:
Post a Comment