Basic Image AlgorithmS Library
2.8.0
|
class for transforming any point to first octant More...
#include <Base/ImageUtils/EightWaySymmetry.hh>
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]) |
class for transforming any point to first octant
Definition at line 53 of file EightWaySymmetry.hh.
|
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().
|
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.
|
inline |
executes the inverse transformation to the above
Definition at line 199 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::GetNext(), BIAS::Scanline::GetNext(), BIAS::EightWaySymmetry< T >::InverseTransform(), and BIAS::EightWaySymmetryHomg::InverseTransform().
|
inline |
Definition at line 253 of file EightWaySymmetry.hh.
References BIAS::EightWaySymmetry< T >::InverseTransform().
|
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().
|
inline |
Definition at line 245 of file EightWaySymmetry.hh.
References BIAS::EightWaySymmetry< T >::Transform().