TwoLines Class Reference

Inheritance diagram for TwoLines:

VSig List of all members.

Public Member Functions

 TwoLines (const PtArray_t &x, const PtArray_t &y)
 TwoLines (const LineInfo &a, const LineInfo &b, const PtArray_t &x, const PtArray_t &y)
void print (FILE *fp)
void markImage (Data2D< int > img, int val)
Fuzzy isVNotch ()
double getDist (const int &x, const int &y)

Protected Member Functions

void computeFzBasic (const PtArray_t &x, const PtArray_t &y)
void computeError (const PtArray_t &x, const PtArray_t &y)
void computeFzShape ()

Protected Attributes

LineInfo line1
LineInfo line2
double error
double orientation
double vAngle
double cx
double cy
double minR
double maxR
double elongation
int boundSize
double containSize
Fuzzy fz_shape
Fuzzy fz_basic

Constructor & Destructor Documentation

TwoLines::TwoLines ( const PtArray_t &  x,
const PtArray_t &  y 
)

TwoLines::TwoLines ( const LineInfo a,
const LineInfo b,
const PtArray_t &  x,
const PtArray_t &  y 
)


Member Function Documentation

void TwoLines::computeError ( const PtArray_t &  x,
const PtArray_t &  y 
) [protected]

void TwoLines::computeFzBasic ( const PtArray_t &  x,
const PtArray_t &  y 
) [protected]

void TwoLines::computeFzShape (  )  [protected]

double TwoLines::getDist ( const int &  x,
const int &  y 
)

Fuzzy TwoLines::isVNotch (  )  [inline]

void TwoLines::markImage ( Data2D< int >  img,
int  val 
) [inline]

void TwoLines::print ( FILE *  fp  ) 


Member Data Documentation

int TwoLines::boundSize [protected]

double TwoLines::containSize [protected]

double TwoLines::cx [protected]

double TwoLines::cy [protected]

double TwoLines::elongation [protected]

double TwoLines::error [protected]

Fuzzy TwoLines::fz_basic [protected]

Fuzzy TwoLines::fz_shape [protected]

LineInfo TwoLines::line1 [protected]

LineInfo TwoLines::line2 [protected]

double TwoLines::maxR [protected]

double TwoLines::minR [protected]

double TwoLines::orientation [protected]

double TwoLines::vAngle [protected]


Generated on Fri May 4 13:40:21 2012 for WDSS-IIw2algs by  doxygen 1.4.7