Name
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
RGB = ReadImage('contrib\IPD-5.0\demos\teaset.png');
figure(); ShowColorImage(RGB, 'Result', ColorMap);