ImageColorSpace

ImageColorSpace[image]

gives the name of the color space of image.

Details

  • ImageColorSpace works with 2D and 3D images.
  • Returned color space can be any of the following:
  • "Grayscale"gray level
    "RGB"red, green, blue
    "CMYK"cyan, magenta, yellow, black
    "HSB"hue, saturation, brightness
    "XYZ"CIE XYZ
    "LAB"CIE
    "LCH"CIE
    "LUV"CIE
    Automaticno color space specified

Examples

open allclose all

Basic Examples  (3)

Color space of an image:

ImageColorSpace returns only the name of the color space:

For images that have a ColorProfileData as the color space specification, use Options:

Color space of a 3D image:

Properties & Relations  (1)

Use ConformImages to make all images have conforming color space:

Wolfram Research (2010), ImageColorSpace, Wolfram Language function, https://reference.wolfram.com/language/ref/ImageColorSpace.html (updated 2014).

Text

Wolfram Research (2010), ImageColorSpace, Wolfram Language function, https://reference.wolfram.com/language/ref/ImageColorSpace.html (updated 2014).

BibTeX

@misc{reference.wolfram_2021_imagecolorspace, author="Wolfram Research", title="{ImageColorSpace}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/ImageColorSpace.html}", note=[Accessed: 21-October-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_imagecolorspace, organization={Wolfram Research}, title={ImageColorSpace}, year={2014}, url={https://reference.wolfram.com/language/ref/ImageColorSpace.html}, note=[Accessed: 21-October-2021 ]}

CMS

Wolfram Language. 2010. "ImageColorSpace." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2014. https://reference.wolfram.com/language/ref/ImageColorSpace.html.

APA

Wolfram Language. (2010). ImageColorSpace. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ImageColorSpace.html