Page 1 of 1

ColorSpace argument must be ''cmyk'', ''gray'', or ''cmykgray''

Posted: Sat Jun 17, 2017 6:25 am
by matlab1
ColorSpace argument must be ''cmyk'', ''gray'', or ''cmykgray''

Re: ColorSpace argument must be ''cmyk'', ''gray'', or ''cmykgray''

Posted: Mon Jan 11, 2021 5:44 am
by matlab1
The toolbox enables converting color data from one color space to another through mathematical transformations.

RGB
The RGB color space represents images as an m-by-n-by-3 numeric array whose elements specify the intensity values of the red, green, and blue color channels. The range of numeric values depends on the data type of the image.

For single or double arrays, RGB values range from [0, 1].

For uint8 arrays, RGB values range from [0, 255].

For uint16 arrays, RGB values range from [0, 65535].




for more information

https://www.mathworks.com/help/images/understanding-color-spaces-and-color-space-conversion.html