Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

image type vs image depth

Hi all,

I'm kind of new to OpenCv and I'm a little confused. Say I load and image via imread("someImage") into a Mat object named image. What is the difference between image.depth() and image.type() ??

I see it a lot in the documentations and tutorials and just don't get the difference.

I use OpenCV 2.4.2

Thank u in advance