diff Framework/Toolbox/ShearWarpProjectiveTransform.h @ 193:4abddd083374 wasm

ShearWarpProjectiveTransform::ApplyAxial()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 20 Mar 2018 14:05:39 +0100
parents 46cb2eedc2e0
children b70e9be013e4
line wrap: on
line diff
--- a/Framework/Toolbox/ShearWarpProjectiveTransform.h	Fri Mar 16 17:11:11 2018 +0100
+++ b/Framework/Toolbox/ShearWarpProjectiveTransform.h	Tue Mar 20 14:05:39 2018 +0100
@@ -88,5 +88,17 @@
     static Matrix CalibrateView(const Vector& camera,
                                 const Vector& principalPoint,
                                 double angle);
+
+    static Orthanc::ImageAccessor* ApplyAxial(float& maxValue,
+                                              const Matrix& M_view,  // cf. "CalibrateView()"
+                                              const ImageBuffer3D& source,
+                                              Orthanc::PixelFormat targetFormat,
+                                              unsigned int targetWidth,
+                                              unsigned int targetHeight,
+                                              bool mip,
+                                              double pixelSpacing,
+                                              unsigned int countSlices,
+                                              ImageInterpolation shearInterpolation,
+                                              ImageInterpolation warpInterpolation);
   };
 }