Ask Your Question

Revision history [back]

opencv 2.4.11 record 16 bit depth image as video

Hi there, As mentioned in title, I would like to ask is there any way to record 16 bit depth image (Gray scale image) as video and do not compress. Until now, I can only record depth image as 24bit 3 channel rgb video, but it is not correct format for depth image. Depth image should be 16 bit 1 channel format. Is there any way to do in opencv? I am using openNI 2.2 + kinect + opencv 2.4.11 + visual studio 2013 + c++ for my project. My project will first read from kinect and convert the depth stream into opencv mat type.

Thanks~