lenna picture
Contents
read image
rgb = imread('lena_std.tif');
imshow(rgb);
Warning: Image is too big to fit on screen; displaying at 67%
convert to grayscale
g = rgb2gray(rgb); imshow(g);
Warning: Image is too big to fit on screen; displaying at 67%