AffineTransform Class Reference

Public Member Functions



Protected Member Functions

Protected Attributes


Detailed Description

Generic 2D linear transform, compatible with the Resampler class. Distortion implements the same interface and provides genereic non-linear transform functionality.


Constructor & Destructor Documentation

AffineTransform::AffineTransform ( const float  a,
const float  b,
const float  c,
const float  d,
const float  v1,
const float  v2 
) [inline]

References init().

AffineTransform::AffineTransform ( const float *  a,
const float *  v 
) [inline]

References init().

AffineTransform::AffineTransform ( const float *  a  )  [inline]

References init().


Member Function Documentation

float AffineTransform::map_forward_x ( const float  x,
const float  y 
) const [inline]

References p11_, p12_, and v1_.

float AffineTransform::map_forward_y ( const float  x,
const float  y 
) const [inline]

References p21_, p22_, and v2_.

float AffineTransform::get_forward_J ( const float  x,
const float  y,
const float  dx,
const float  dy 
) const [inline]

References Jforward_.

float AffineTransform::map_inverse_x ( const float  u,
const float  v 
) const [inline]

References q11_, q12_, and w1_.

float AffineTransform::map_inverse_y ( const float  u,
const float  v 
) const [inline]

References q21_, q22_, and w2_.

float AffineTransform::get_inverse_J ( const float  u,
const float  v,
const float  du,
const float  dv 
) const [inline]

References Jforward_.

void AffineTransform::init ( const float  a,
const float  b,
const float  c,
const float  d,
const float  v1,
const float  v2 
) [inline, protected]

References Jforward_, p11_, p12_, p21_, p22_, q11_, q12_, q21_, q22_, v1_, v2_, w1_, and w2_.

Referenced by AffineTransform().


Field Documentation

float AffineTransform::p11_ [protected]

Referenced by init(), and map_forward_x().

float AffineTransform::p12_ [protected]

Referenced by init(), and map_forward_x().

float AffineTransform::p21_ [protected]

Referenced by init(), and map_forward_y().

float AffineTransform::p22_ [protected]

Referenced by init(), and map_forward_y().

float AffineTransform::q11_ [protected]

Referenced by init(), and map_inverse_x().

float AffineTransform::q12_ [protected]

Referenced by init(), and map_inverse_x().

float AffineTransform::q21_ [protected]

Referenced by init(), and map_inverse_y().

float AffineTransform::q22_ [protected]

Referenced by init(), and map_inverse_y().

float AffineTransform::v1_ [protected]

Referenced by init(), and map_forward_x().

float AffineTransform::v2_ [protected]

Referenced by init(), and map_forward_y().

float AffineTransform::w1_ [protected]

Referenced by init(), and map_inverse_x().

float AffineTransform::w2_ [protected]

Referenced by init(), and map_inverse_y().

float AffineTransform::Jforward_ [protected]

Referenced by get_forward_J(), get_inverse_J(), and init().


Generated on 4 Nov 2015 for CURE by  doxygen 1.6.1