GRAY_IMREAD

NAME
SYNOPSIS
PARAMETERS
DESCRIPTION
EXAMPLE
AUTHORS
AVAILABILITY
SEE ALSO

NAME

gray_imread - read any image as grayscale

SYNOPSIS

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

EXAMPLE

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

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

chdir(initial_dir);

AUTHORS

Ricardo Fabbri <rfabbri@if.sc.usp.br>

AVAILABILITY

The latest version of the Scilab Image Processing toolbox can be found at
http://siptoolbox.sourceforge.net

SEE ALSO

imshow, im2gray, im2bw