Hi,
I need to calculate the bits per pixel of a matrix and wonder if there is a decent method to extract the depth of an image in bits directly without explicitly mapping the types CV_8U,.... to the appropriate values (or using if-else constructs)?
1 | initial version |
Hi,
I need to calculate the bits per pixel of a matrix and wonder if there is a decent method to extract the depth of an image in bits directly without explicitly mapping the types CV_8U,.... to the appropriate values (or using if-else constructs)?