Freenect2: fixed noisy rectification of depth image on IR+Depth mode.

This commit is contained in:
matlabbe
2017-03-31 18:28:19 -04:00
parent 900de0a5c9
commit 622352b411
+1 -1
View File
@@ -1640,7 +1640,7 @@ SensorData CameraFreenect2::captureImage(CameraInfo * info)
{
//rectify
rgb = stereoModel_.left().rectifyImage(rgb);
depth = stereoModel_.left().rectifyImage(depth);
depth = stereoModel_.left().rectifyDepth(depth);
fx = stereoModel_.left().fx();
fy = stereoModel_.left().fy();
cx = stereoModel_.left().cx();