diff Framework/Toolbox/FiniteProjectiveCamera.h @ 188:45b03b04a777 wasm

calibration of FiniteProjectiveCamera
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 16 Mar 2018 13:02:17 +0100
parents 197a5ddaf68c
children 371da7fe2c0e
line wrap: on
line diff
--- a/Framework/Toolbox/FiniteProjectiveCamera.h	Thu Mar 15 17:45:48 2018 +0100
+++ b/Framework/Toolbox/FiniteProjectiveCamera.h	Fri Mar 16 13:02:17 2018 +0100
@@ -62,6 +62,15 @@
 
     FiniteProjectiveCamera(const double p[12]);
 
+    // Constructor that implements camera calibration
+    FiniteProjectiveCamera(const Vector& camera,
+                           const Vector& principalPoint,
+                           double angle,
+                           unsigned int imageWidth,
+                           unsigned int imageHeight,
+                           double pixelSpacingX,
+                           double pixelSpacingY);
+
     const Matrix& GetMatrix() const
     {
       return p_;