I am trying to learn opencv but its very confusing.
Can someone know the difference between imagedepth and the no. of channels in an image.
Suppose the image depth is 8 and
Image depth is length of actual data type used for storing image (integer, char, float). In your case it seems to be char or unsigned char as depth is 8 bits.
Number of channels is a number of numbers, that describe a color of the particular pixel (e.g. RGB - 3 channels).