Basic Image AlgorithmS Library
2.8.0
|
analytic properties of rotational image warp (around some point) More...
#include <Image/TextureTransformRotation.hh>
Public Member Functions | |
virtual TextureTransformRotation * | Clone () const |
virtual covariant copy constructor, caller must eventually destroy the created object More... | |
void | ComposeWithInverseDeltaP (const Vector< double > &deltaP) |
concatenate *this and an inverse transform with param deltaP and save new parameter vector to *this. More... | |
virtual Vector< double > | GetInverseParameters () const |
returns parameter vector which undoes the current warp More... | |
const Vector2< double > & | GetOrigin () const |
origin relative to which rotation and scale is performed More... | |
void | GetParameters (Vector< double > &p) const |
get the current parameter vector More... | |
int | MapBackward (const HomgPoint2D &sink, HomgPoint2D &src) const |
map a point in image "source" to a point in image "sink" More... | |
int | MapForward (const HomgPoint2D &src, HomgPoint2D &sink) const |
map a point in image "source" to a point in image "sink" More... | |
int | ParameterInversionJacobian (Matrix< double > &Jac) const |
compute parameters for inverse operation and obtain the jacobian of the inverse parameters with respect to the original parameters for error propagation More... | |
int | ParameterJacobianBackward (Matrix< double > &Jac, const HomgPoint2D &src) |
transformed position change when parameters change More... | |
int | ParameterJacobianForward (Matrix< double > &Jac, const HomgPoint2D &src) |
transformed position change when parameters change More... | |
bool | ParameterJacobianIsConstant () const |
the jacobian depends on x More... | |
void | SetOrigin (const Vector2< double > &origin1) |
set origin in image1 and image2 More... | |
void | SetParameters (const Vector< double > &p) |
rotation(rad) with respect to origin_! x' = A*(x-origin)+origin where A==[cos -sin; sin cos] More... | |
int | TextureJacobianBackward (const HomgPoint2D &sink, Matrix2x2< double > &Jac) const |
shape change of the local region when mapping backward More... | |
int | TextureJacobianForward (const HomgPoint2D &src, Matrix2x2< double > &Jac) const |
shape change of the local region when mapping forward More... | |
virtual bool | TextureJacobianIsConstant () const |
local warp is the same at any image position More... | |
TextureTransformRotation () | |
virtual | ~TextureTransformRotation () |
Protected Attributes | |
Matrix2x2< double > | A_ |
cached local warp and inverse More... | |
Matrix2x2< double > | Ainv_ |
Vector2< double > | origin1_ |
origin relative to which rotation and scale is performed More... | |
Vector< double > | P_ |
current set of parameters, see SetParameters for meaning More... | |
double | tx_ |
cached displacement and inverse More... | |
double | txinv_ |
double | ty_ |
double | tyinv_ |
analytic properties of rotational image warp (around some point)
See BIAS::TextureTransform for explanation of methods.
Definition at line 40 of file TextureTransformRotation.hh.
|
inline |
Definition at line 42 of file TextureTransformRotation.hh.
References TNT::Vector< T >::newsize(), and BIAS::TextureTransform::P_.
Referenced by Clone().
|
inlinevirtual |
Definition at line 47 of file TextureTransformRotation.hh.
|
inlinevirtual |
virtual covariant copy constructor, caller must eventually destroy the created object
Implements BIAS::TextureTransform.
Definition at line 157 of file TextureTransformRotation.hh.
References TextureTransformRotation().
|
inlinevirtual |
concatenate *this and an inverse transform with param deltaP and save new parameter vector to *this.
Apart from very simple transformations like displacement THIS IS NOT A SIMPLE ADDITION but rather a multiplication-like operation!
This function is particularly important for inverse compositional image alignment (KLT)
Implements BIAS::TextureTransform.
Definition at line 144 of file TextureTransformRotation.hh.
References BIAS::TextureTransform::P_, and SetParameters().
|
inlinevirtualinherited |
returns parameter vector which undoes the current warp
Reimplemented in BIAS::TextureTransformAffine.
Definition at line 130 of file TextureTransform.hh.
Referenced by BIAS::ImageAlignment::Align().
|
inline |
origin relative to which rotation and scale is performed
Definition at line 168 of file TextureTransformRotation.hh.
References origin1_.
|
inlineinherited |
get the current parameter vector
Definition at line 83 of file TextureTransform.hh.
Referenced by BIAS::ImageAlignment::Align().
|
inlinevirtual |
map a point in image "source" to a point in image "sink"
Implements BIAS::TextureTransform.
Definition at line 58 of file TextureTransformRotation.hh.
References Ainv_, BIAS::Equal(), MapForward(), txinv_, and tyinv_.
|
inlinevirtual |
map a point in image "source" to a point in image "sink"
Implements BIAS::TextureTransform.
Definition at line 49 of file TextureTransformRotation.hh.
Referenced by MapBackward().
|
inlinevirtual |
compute parameters for inverse operation and obtain the jacobian of the inverse parameters with respect to the original parameters for error propagation
Reimplemented from BIAS::TextureTransform.
Definition at line 150 of file TextureTransformRotation.hh.
References TNT::Matrix< T >::newsize().
|
inlinevirtual |
transformed position change when parameters change
Reimplemented from BIAS::TextureTransform.
Definition at line 104 of file TextureTransformRotation.hh.
References TNT::Matrix< T >::newsize(), origin1_, and BIAS::TextureTransform::P_.
|
inlinevirtual |
transformed position change when parameters change
Reimplemented from BIAS::TextureTransform.
Definition at line 89 of file TextureTransformRotation.hh.
References TNT::Matrix< T >::newsize(), origin1_, and BIAS::TextureTransform::P_.
|
inlinevirtual |
the jacobian depends on x
Implements BIAS::TextureTransform.
Definition at line 121 of file TextureTransformRotation.hh.
|
inline |
set origin in image1 and image2
Definition at line 162 of file TextureTransformRotation.hh.
References origin1_, BIAS::TextureTransform::P_, and SetParameters().
|
inlinevirtual |
rotation(rad) with respect to origin_! x' = A*(x-origin)+origin where A==[cos -sin; sin cos]
Implements BIAS::TextureTransform.
Definition at line 128 of file TextureTransformRotation.hh.
References A_, Ainv_, origin1_, BIAS::TextureTransform::P_, BIAS::Vector< T >::Size(), tx_, txinv_, ty_, and tyinv_.
Referenced by ComposeWithInverseDeltaP(), and SetOrigin().
|
inlinevirtual |
shape change of the local region when mapping backward
Reimplemented from BIAS::TextureTransform.
Definition at line 80 of file TextureTransformRotation.hh.
References Ainv_.
|
inlinevirtual |
shape change of the local region when mapping forward
Reimplemented from BIAS::TextureTransform.
Definition at line 74 of file TextureTransformRotation.hh.
References A_.
|
inlinevirtual |
local warp is the same at any image position
Implements BIAS::TextureTransform.
Definition at line 87 of file TextureTransformRotation.hh.
|
protected |
cached local warp and inverse
Definition at line 174 of file TextureTransformRotation.hh.
Referenced by MapForward(), SetParameters(), and TextureJacobianForward().
|
protected |
Definition at line 174 of file TextureTransformRotation.hh.
Referenced by MapBackward(), SetParameters(), and TextureJacobianBackward().
|
protected |
origin relative to which rotation and scale is performed
Definition at line 178 of file TextureTransformRotation.hh.
Referenced by GetOrigin(), ParameterJacobianBackward(), ParameterJacobianForward(), SetOrigin(), and SetParameters().
|
protectedinherited |
current set of parameters, see SetParameters for meaning
Definition at line 145 of file TextureTransform.hh.
Referenced by BIAS::TextureTransformDisparity::ComposeWithInverseDeltaP(), BIAS::TextureTransformDisplacement::ComposeWithInverseDeltaP(), ComposeWithInverseDeltaP(), BIAS::TextureTransformEuclidian::ComposeWithInverseDeltaP(), BIAS::TextureTransformDisparity::MapBackward(), BIAS::TextureTransformDisplacement::MapBackward(), BIAS::TextureTransformEuclidian::MapBackward(), BIAS::TextureTransformDisparity::MapForward(), BIAS::TextureTransformDisplacement::MapForward(), BIAS::TextureTransformEuclidian::ParameterInversionJacobian(), ParameterJacobianBackward(), BIAS::TextureTransformEuclidian::ParameterJacobianBackward(), BIAS::TextureTransformSimilar::ParameterJacobianBackward(), ParameterJacobianForward(), BIAS::TextureTransformSimilar::ParameterJacobianForward(), BIAS::TextureTransformEuclidian::ParameterJacobianForward(), SetOrigin(), BIAS::TextureTransformSimilar::SetOrigin(), BIAS::TextureTransformEuclidian::SetOrigin(), BIAS::TextureTransformDisparity::SetParameters(), BIAS::TextureTransformDisplacement::SetParameters(), SetParameters(), BIAS::TextureTransformEuclidian::SetParameters(), BIAS::TextureTransformSimilar::SetParameters(), BIAS::TextureTransformDisparity::TextureTransformDisparity(), BIAS::TextureTransformDisplacement::TextureTransformDisplacement(), BIAS::TextureTransformEuclidian::TextureTransformEuclidian(), TextureTransformRotation(), and BIAS::TextureTransformSimilar::TextureTransformSimilar().
|
protected |
cached displacement and inverse
Definition at line 176 of file TextureTransformRotation.hh.
Referenced by MapForward(), and SetParameters().
|
protected |
Definition at line 176 of file TextureTransformRotation.hh.
Referenced by MapBackward(), and SetParameters().
|
protected |
Definition at line 176 of file TextureTransformRotation.hh.
Referenced by MapForward(), and SetParameters().
|
protected |
Definition at line 176 of file TextureTransformRotation.hh.
Referenced by MapBackward(), and SetParameters().