Write image data from the MATLAB workspace to a file in one of the supported graphics file formats using the imwrite function.
To read image data from a graphics file into the MATLAB workspace using the imread function.
Use color space conversion to determine if an L*a*b* value is in the RGB gamut. The set of colors that can be represented using a particular color space is called its gamut . Some L*a*b* color
Read multiple images from a single graphics file. Some graphics file formats allow you to store multiple images. You can read these images using format-specific parameters with imread . By
When you use rgb2ind or imapprox to reduce the number of colors in an image, the resulting image might look inferior to the original, because some of the colors are lost. rgb2ind and imapprox
Creates a simple truecolor image and then separates the color channels (planes). The example displays each color channel and the original image.