Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

'Depth' is type of data of your image. Most used type is unsigned char but other data types may be used (signed char, unsigned short, signed short, int, float, double).

'Type' is combination of two separate values into one: 'depth' of image and number of channels in image. So when you provide 'type' of image to some function you actaully provide both 'depth' and number of channels.

You will find more information in this question.