<< getangle SIP - Scilab Image Processing Toolbox gsm >>

SIP - Scilab Image Processing Toolbox >> SIP - Scilab Image Processing Toolbox > gray_imread

gray_imread

Read any image as grayscale

Calling Sequence

im = gray_imread(filename)

Parameters

Img
2D array representing pixel intensities

Description

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

Examples

initial_dir = PWD;
chdir (SIPDIR + 'images');

Img = gray_imread('ararauna.png');
clf
imshow(Img,[]);

chdir(initial_dir);

Authors

Availability

The latest version of the Scilab Image Processing toolbox can be found at

http://siptoolbox.sourceforge.net

See Also


<< getangle SIP - Scilab Image Processing Toolbox gsm >>