1 | initial version |
Looks like a bug. Report, of course.
According to reference manual (opencv2refman.pdf, page 35), values like CV_8U
or CV_8S
, or CV_16U
, etc, are returned from Mat::depth()
.
Mat::type()
returns a constant, having number of channels, like CV_8UC3