25 #ifndef __TextureTransformHomography__hh__
26 #define __TextureTransformHomography__hh__
28 #include <Base/Common/BIASpragmaStart.hh>
29 #include <Image/TextureTransform.hh>
32 #define PROJECTIVE_SENSITIVITY 1e-4
33 #define AFFINE_SENSITIVITY 1e-2
46 P_[0] = P_[1] = P_[2] = P_[3] = P_[4] = P_[5] = P_[6] = P_[7] = 0.0;
57 H_.GetJacobian(src, Jac);
63 Hinv_.GetJacobian(sink, Jac);
bool ParameterJacobianIsConstant() const
return true, if the parameter jacobian does not depend on the image position
virtual bool TextureJacobianIsConstant() const
return true if the texture jacobian does not depend on the image position
analytic properties of homography transformation of an image
class HomgPoint2D describes a point with 2 degrees of freedom in projective coordinates.
a 3x3 Matrix describing projective transformations between planes
virtual ~TextureTransformHomography()
virtual TextureTransformHomography * Clone() const
virtual covariant copy constructor, caller must eventually destroy the created object ...
class for representing parameterized image warps, such as homography, displacement, ...
int TextureJacobianForward(const HomgPoint2D &src, Matrix2x2< double > &Jac) const
shape change of the local region when mapping forward
int TextureJacobianBackward(const HomgPoint2D &sink, Matrix2x2< double > &Jac) const
shape change of the local region when mapping backward
TextureTransformHomography()