Calibrate depth images from Kinect with given examples.
I want to calibrate my kinect camera. The RGB-Images work fine with ./cpp-example-calibration
but what do I do with the depth information. How do I calibrate these pictures or can i at all? Because the cv::mat is filled with depth information and not with RGB-Pixels. What sample to use with it? This is an example:
Normally the RGB-D sensors like the Kinect are calibrated: Just use convertDepthToColor function to convert one pixel or setImageRegistrationMode(IMAGE_REGISTRATION_DEPTH_TO_COLOR) to register all the pixels.
(the functions above are from OpenNI, but OpenCV, libFreenect, Kinect SDK should have very similar functions).