<< ReadImage Image Processing Design ReadImageFromVideo >>

Image Processing Design >> Image Processing Design > ReadImageFile

ReadImageFile

reads an image file, is called by ReadImage

Calling Sequence

[PixelList Dimensions] = ReadImageFile(ImagePath);

Parameters

ImagePath

the file name or the complete path of an image file

PixelList

column vector that contains the color channel intensities or gray values

Dimensions

column vector that contains the number of rows, columns and color channels

Description

This function reads an image file and returns a pixel list and width, height and number of channels. ReadImage calls this function so you do not need to call it yourself.

Examples

global IPD_PATH;

[PixelList Dimensions] = ReadImageFile(IPD_PATH + 'demos\teaset.png');

RGB = matrix(PixelList, Dimensions);

ShowColorImage(RGB, 'Result');

See also


Report an issue
<< ReadImage Image Processing Design ReadImageFromVideo >>