ImageChannels

ImageChannels[image]

gives the number of channels present in the data for the Image or Image3D object image.

Details

Examples

open allclose all

Basic Examples  (1)

This gives the number of channels present in an RGB image:

Scope  (5)

Channels in a grayscale image:

Channels in an RGBA image:

Channels in a CMYK image:

A 9-channel random image:

Channels in a 3D RGB image:

Wolfram Research (2008), ImageChannels, Wolfram Language function, https://reference.wolfram.com/language/ref/ImageChannels.html (updated 2012).

Text

Wolfram Research (2008), ImageChannels, Wolfram Language function, https://reference.wolfram.com/language/ref/ImageChannels.html (updated 2012).

BibTeX

@misc{reference.wolfram_2021_imagechannels, author="Wolfram Research", title="{ImageChannels}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/ImageChannels.html}", note=[Accessed: 17-September-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_imagechannels, organization={Wolfram Research}, title={ImageChannels}, year={2012}, url={https://reference.wolfram.com/language/ref/ImageChannels.html}, note=[Accessed: 17-September-2021 ]}

CMS

Wolfram Language. 2008. "ImageChannels." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2012. https://reference.wolfram.com/language/ref/ImageChannels.html.

APA

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