difference between image depth and channels

后端 未结 5 1366
失恋的感觉
失恋的感觉 2020-12-30 00:56

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

5条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-30 01:19

    According to OpenCV documentation, in OpenCV depth is defined as the bit-depth of an individual channel. So if you have 8 bit depth and 3 channels, it means you have 24 bits per image pixel

提交回复
热议问题