w2kmeans::KMeansSegmenter< T >::SurrRegion Struct Reference

List of all members.

Detailed Description

template<class T>
struct w2kmeans::KMeansSegmenter< T >::SurrRegion

Used by the pruner to control pruning of regions based on size.


Public Member Functions

 SurrRegion (int lab, const Segmenter::RegionProperty &reg)
bool isWorseThan (const SurrRegion &other) const
bool isWorseThan (const SurrRegion &other) const
bool isAsGoodAs (const SurrRegion &other) const
float computeManhattanDissimilarityDistance (const SurrRegion &b) const

Static Public Member Functions

static bool isWorse (const SurrRegion &a, const SurrRegion &b)

Public Attributes

int label
int size
peak
lowest


Constructor & Destructor Documentation

template<class T>
w2kmeans::KMeansSegmenter< T >::SurrRegion::SurrRegion ( int  lab,
const Segmenter::RegionProperty &  reg 
) [inline]


Member Function Documentation

template<class T>
float w2kmeans::KMeansSegmenter< T >::SurrRegion::computeManhattanDissimilarityDistance ( const SurrRegion b  )  const [inline]

template<class T>
bool w2kmeans::KMeansSegmenter< T >::SurrRegion::isAsGoodAs ( const SurrRegion other  )  const [inline]

template<class T>
static bool w2kmeans::KMeansSegmenter< T >::SurrRegion::isWorse ( const SurrRegion a,
const SurrRegion b 
) [inline, static]

template<class T>
bool w2kmeans::KMeansSegmenter< T >::SurrRegion::isWorseThan ( const SurrRegion other  )  const [inline]

template<class T>
bool w2kmeans::KMeansSegmenter< T >::SurrRegion::isWorseThan ( const SurrRegion other  )  const [inline]


Member Data Documentation

template<class T>
int w2kmeans::KMeansSegmenter< T >::SurrRegion::label

template<class T>
T w2kmeans::KMeansSegmenter< T >::SurrRegion::lowest

template<class T>
T w2kmeans::KMeansSegmenter< T >::SurrRegion::peak

template<class T>
int w2kmeans::KMeansSegmenter< T >::SurrRegion::size


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