gray_imread - read any image as grayscale |
im = gray_imread(filename) |
Img |
2D array representing pixel intensities |
This is a simple utility routine to read any image as grayscale. If the image is truecolor or pseudo-color, it is converted using im2gray |
initial_dir = PWD; chdir (SIPDIR + 'images'); Img = gray_imread('ararauna.png'); xbasc() imshow(Img,[]); chdir(initial_dir); |
Ricardo Fabbri <rfabbri@if.sc.usp.br> |
The latest version of the Scilab Image Processing toolbox can be found at |
http://siptoolbox.sourceforge.net |
imshow, im2gray, im2bw |