Type of Matrix of a depth Image

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

BananaCode gravatar image

According to this website here:

http://docs.opencv.org/doc/user_guide/ug_intelperc.html

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?

Regards

edit retag flag offensive close merge delete

Comments

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