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

Post Reply
matlab1
Site Admin
Posts: 4797
Joined: Thu Dec 15, 2016 9:30 am
Contact:

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

Post by matlab1 »

ColorSpace argument must be ''cmyk'', ''gray'', or ''cmykgray''
matlab1
Site Admin
Posts: 4797
Joined: Thu Dec 15, 2016 9:30 am
Contact:

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

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests