ImageChannels[image] gives the number of channels present in the data for the Image or Image3D object image.
This gives the number of channels present in an RGB image:
Channels in an RGBA image:
A 9-channel random image:
Channels in a 3D RGB image:
BinaryImageQ ImageDimensions ImageData ImageType Image ColorSeparate