<< RGB2LAB Image Processing Design ReadImageFile >>

Image Processing Design >> Image Processing Design > ReadImage

ReadImage

reads an image from an image or video file

Calling Sequence

Image = ReadImage(ImageSource);

Parameters

ImageSource

name or complete path of an image file or pointer to a video file

Image

2D or 3D matrix

Description

This function reads an image file and returns the image as hypermatrix or matrix.

Examples

global IPD_PATH;

RGB = ReadImage(IPD_PATH + 'demos\teaset.png'); 

figure(); ShowColorImage(RGB, 'Result');

See also


Report an issue
<< RGB2LAB Image Processing Design ReadImageFile >>