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 means the range of value each channel can have. If you have a channel depth of e.g. 8 bit (unsigned char) one channel can have values from 0 - 255. RGB means 3 channels, one for the R ed value, one for one for the G reen value and one for the B lue value.