Matlab/Octave
Image Manipulation
Basic Commands
imread(filename)
rgb2gray(imgMatrix)
imshow(imgMatrix)
Examples
Example 1 >
img=imread('Lena.png');
imshow(img);

Example 2 >
img=imread('Lena.png');
imgBW = rgb2gray(img);
imshow(imgBW);

Matlab/Octave
Image Manipulation
Basic Commands
imread(filename)
rgb2gray(imgMatrix)
imshow(imgMatrix)
Examples
Example 1 >
img=imread('Lena.png');
imshow(img);

Example 2 >
img=imread('Lena.png');
imgBW = rgb2gray(img);
imshow(imgBW);
