summaryrefslogtreecommitdiff
path: root/src/camera.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/camera.cpp')
-rw-r--r--src/camera.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/camera.cpp b/src/camera.cpp
index 7e1c1b3..415bf35 100644
--- a/src/camera.cpp
+++ b/src/camera.cpp
@@ -182,6 +182,7 @@ Camera::body2img ( const Vector3d &xb ) const
Vector3d xc,xi;
xc = Rc2b().transpose()*xb;
xi = K()*xc;
+ xi /= xi[2];
return xi;
} /* ----- end of method Camera::body2img ----- */