Function Index
ImageDepth
ImageDepth[
img
]
returns the number of color channels in
img
.
The argument
img
is an
ImageData
expression.
See also User's Guide
2.4
.
Example
This loads the package.
In[1]:=
Here we read a test image and return its depth.
In[2]:=
Out[2]=
© 2009 Wolfram Research, Inc.
•
Terms of Use
•
Privacy Policy
Sign up for our newsletter: