reads an image from an image or video file
Image = ReadImage(ImageSource);
name or complete path of an image file or pointer to a video file
2D or 3D matrix
This function reads an image file and returns the image as hypermatrix or matrix.
global IPD_PATH; RGB = ReadImage(IPD_PATH + 'demos\teaset.png'); figure(); ShowColorImage(RGB, 'Result');