HI! I take a look to the openni_capture.cpp sample, and my question, It's possible to save the image to the disk??

asked 2012-10-23 06:27:54 -0600


I am working with the kinect, I am testing the openni_capture.cpp to get the information from the kinect, and this works, now I want to save this images, for after, try to make some rgbd odometry, keypoints, 3D reconstruction, my question is, how I can recorded the images to the disk, for after use the same images in a lot of tests. And other better question, wich format it's the best??

Thanks in advanced

edit retag flag offensive close merge delete


I'm not sure if I understand your question correctly. If you mean code to save video files, I suggest looking at the tutorial here - http://docs.opencv.org/2.4.6/doc/tutorials/highgui/video-write/video-write.html Now, if saving a video of depth map and you want to be able view it with a media player, you will have to normalize each image and then save it.

shray gravatar imageshray ( 2013-08-07 16:24:00 -0600 )edit