Type of Matrix of a depth Image

asked 2014-03-11 14:55:22 -0500

BananaCode gravatar image

According to this website here:


The depth images from the camera return a matrix with type CV_16UC1

However, calling the function .type() on the matrix returned, yields the number 3, which is equal to CV_16SCU1.

Did I do something wrong or is the documentation outdated?


edit retag flag offensive close merge delete


Looks like you've found a bug, sample code uses short. Please, send a pull request with fix. It will help a lot!

Daniil Osokin gravatar imageDaniil Osokin ( 2014-03-12 02:57:11 -0500 )edit