comparison 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
comparison
equal deleted inserted replaced
189:964118e7e6de 190:465b294a55f0
30 namespace OrthancStone 30 namespace OrthancStone
31 { 31 {
32 // Returns the "useful" portion of the target image when applying a 32 // Returns the "useful" portion of the target image when applying a
33 // 3x3 perspective transform "a" (i.e. the bounding box where points 33 // 3x3 perspective transform "a" (i.e. the bounding box where points
34 // of the source image are mapped to) 34 // of the source image are mapped to)
35 bool GetPerpectiveTransformExtent(unsigned int& x1, 35 bool GetProjectiveTransformExtent(unsigned int& x1,
36 unsigned int& y1, 36 unsigned int& y1,
37 unsigned int& x2, 37 unsigned int& x2,
38 unsigned int& y2, 38 unsigned int& y2,
39 const Matrix& a, 39 const Matrix& a,
40 unsigned int sourceWidth, 40 unsigned int sourceWidth,
50 double a21, 50 double a21,
51 double a22, 51 double a22,
52 double b2, 52 double b2,
53 ImageInterpolation interpolation); 53 ImageInterpolation interpolation);
54 54
55 void ApplyPerspectiveTransform(Orthanc::ImageAccessor& target, 55 void ApplyProjectiveTransform(Orthanc::ImageAccessor& target,
56 const Orthanc::ImageAccessor& source, 56 const Orthanc::ImageAccessor& source,
57 const Matrix& a, 57 const Matrix& a,
58 ImageInterpolation interpolation); 58 ImageInterpolation interpolation);
59 } 59 }