Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
BIAS::EightWaySymmetry< T > Class Template Reference

class for transforming any point to first octant More...

#include <Base/ImageUtils/EightWaySymmetry.hh>

+ Inheritance diagram for BIAS::EightWaySymmetry< T >:

Public Member Functions

enum TLineType DetermineLineType (double &angle)
 assumes angle is between (-pi, pi] as given by atan2 More...
 
enum TLineType DetermineLineType (const T &startx, const T &starty, const T &endx, const T &endy)
 not tested jet More...
 
void InverseTransform (enum TLineType &type, const T &Transformedx, const T &Transformedy, T &Originalx, T &Originaly)
 executes the inverse transformation to the above More...
 
void InverseTransform (enum TLineType &type, const T transf[2], T orig[2])
 
void Transform (enum TLineType &type, const T &Originalx, const T &Originaly, T &Transformedx, T &Transformedy)
 transforms Original according to type in a way that Transformed lies on a line with slope in [0,1) More...
 
void Transform (enum TLineType &type, const T orig[2], T transf[2])
 

Detailed Description

template<class T>
class BIAS::EightWaySymmetry< T >

class for transforming any point to first octant

Author
Jan Woetzel

Definition at line 53 of file EightWaySymmetry.hh.

Member Function Documentation

template<class T >
TLineType BIAS::EightWaySymmetry< T >::DetermineLineType ( double &  angle)
inline

assumes angle is between (-pi, pi] as given by atan2

Definition at line 88 of file EightWaySymmetry.hh.

References BIAS::E_NE, BIAS::LT_Invalid, BIAS::N_NW, BIAS::NE_N, BIAS::NW_W, BIAS::S_SE, BIAS::SE_E, BIAS::SW_S, and BIAS::W_SW.

Referenced by BIAS::EightWaySymmetryHomg::DetermineLineType(), and BIAS::Bresenham::Init().

template<class T>
TLineType BIAS::EightWaySymmetry< T >::DetermineLineType ( const T &  startx,
const T &  starty,
const T &  endx,
const T &  endy 
)
inline

not tested jet

Definition at line 113 of file EightWaySymmetry.hh.

References BIAS::E_NE, BIAS::LT_Invalid, BIAS::N_NW, BIAS::NE_N, BIAS::NW_W, BIAS::S_SE, BIAS::SE_E, BIAS::SW_S, and BIAS::W_SW.

template<class T>
void BIAS::EightWaySymmetry< T >::InverseTransform ( enum TLineType type,
const T &  Transformedx,
const T &  Transformedy,
T &  Originalx,
T &  Originaly 
)
inline
template<class T>
void BIAS::EightWaySymmetry< T >::InverseTransform ( enum TLineType type,
const T  transf[2],
orig[2] 
)
inline
template<class T>
void BIAS::EightWaySymmetry< T >::Transform ( enum TLineType type,
const T &  Originalx,
const T &  Originaly,
T &  Transformedx,
T &  Transformedy 
)
inline

transforms Original according to type in a way that Transformed lies on a line with slope in [0,1)

Definition at line 154 of file EightWaySymmetry.hh.

References BIAS::E_NE, BIAS::LT_Invalid, BIAS::N_NW, BIAS::NE_N, BIAS::NW_W, BIAS::S_SE, BIAS::SE_E, BIAS::SW_S, and BIAS::W_SW.

Referenced by BIAS::Bresenham::Init(), BIAS::EightWaySymmetryHomg::Transform(), and BIAS::EightWaySymmetry< T >::Transform().

template<class T>
void BIAS::EightWaySymmetry< T >::Transform ( enum TLineType type,
const T  orig[2],
transf[2] 
)
inline

Definition at line 245 of file EightWaySymmetry.hh.

References BIAS::EightWaySymmetry< T >::Transform().


The documentation for this class was generated from the following file: