diff Framework/Toolbox/ImageGeometry.h @ 190:465b294a55f0 wasm

typo
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 16 Mar 2018 14:35:26 +0100
parents 2cbfb08f3a95
children 7a031ac16b2d
line wrap: on
line diff
--- a/Framework/Toolbox/ImageGeometry.h	Fri Mar 16 13:19:23 2018 +0100
+++ b/Framework/Toolbox/ImageGeometry.h	Fri Mar 16 14:35:26 2018 +0100
@@ -32,7 +32,7 @@
   // Returns the "useful" portion of the target image when applying a
   // 3x3 perspective transform "a" (i.e. the bounding box where points
   // of the source image are mapped to)
-  bool GetPerpectiveTransformExtent(unsigned int& x1,
+  bool GetProjectiveTransformExtent(unsigned int& x1,
                                     unsigned int& y1,
                                     unsigned int& x2,
                                     unsigned int& y2,
@@ -52,8 +52,8 @@
                             double b2,
                             ImageInterpolation interpolation);
 
-  void ApplyPerspectiveTransform(Orthanc::ImageAccessor& target,
-                                 const Orthanc::ImageAccessor& source,
-                                 const Matrix& a,
-                                 ImageInterpolation interpolation);
+  void ApplyProjectiveTransform(Orthanc::ImageAccessor& target,
+                                const Orthanc::ImageAccessor& source,
+                                const Matrix& a,
+                                ImageInterpolation interpolation);
 }