WOLFRAM

Enable JavaScript to interact with content and submit forms on Wolfram websites. Learn how
Wolfram Language & System Documentation Center

ImageColorSpace [image]

gives the name of the color space of image.

Details
Details and Options Details and Options
Examples  
Basic Examples  
Properties & Relations  
See Also
Tech Notes
Related Guides
History
Cite this Page

ImageColorSpace [image]

gives the name of the color space of image.

Details

  • The color space of an image specifies how to interpret the numerical values stored in different image channels.
  • Returned color space can be any of the following:
  • "Grayscale" gray level (GrayLevel )
    "RGB" red, green, blue (RGBColor )
    "CMYK" cyan, magenta, yellow, black (CMYKColor )
    "HSB" hue, saturation, brightness (Hue )
    "XYZ" CIE XYZ (XYZColor )
    "LAB" CIE (LABColor )
    "LCH" CIE (LCHColor )
    "LUV" CIE (LUVColor )
    Automatic no color space specified
  • ImageColorSpace works with 2D and 3D images.

Examples

open all close 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:

Tech Notes

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).

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2025_imagecolorspace, organization={Wolfram Research}, title={ImageColorSpace}, year={2014}, url={https://reference.wolfram.com/language/ref/ImageColorSpace.html}, note=[Accessed: 24-November-2025]}

Top [フレーム]

AltStyle によって変換されたページ (->オリジナル) /