w2img::SingleFeature Class Reference

List of all members.

Detailed Description

Satisfies the requirements of the Cluster class.

w2img_SingleFeature.h,v 1.3 2009/06/02 20:17:56 lakshman Exp

Public Member Functions

float get_val (size_t i=0) const
void set_val (size_t i, float value)
 SingleFeature ()
 SingleFeature (float v)

Static Public Member Functions

static float get_wt (size_t i=0)
static void compute (const code::Image< int > &img, ImageAttr< SingleFeature > *attr, int minVal, int maxVal)

Static Public Attributes

static const size_t NumFeatures = 1


bool operator< (const SingleFeature &a, const SingleFeature &b)

Constructor & Destructor Documentation

w2img::SingleFeature::SingleFeature (  )  [inline]

w2img::SingleFeature::SingleFeature ( float  v  )  [inline]

Member Function Documentation

static void w2img::SingleFeature::compute ( const code::Image< int > &  img,
ImageAttr< SingleFeature > *  attr,
int  minVal,
int  maxVal 
) [static]

float w2img::SingleFeature::get_val ( size_t  i = 0  )  const [inline]

static float w2img::SingleFeature::get_wt ( size_t  i = 0  )  [inline, static]

void w2img::SingleFeature::set_val ( size_t  i,
float  value 
) [inline]

Friends And Related Function Documentation

bool operator< ( const SingleFeature a,
const SingleFeature b 
) [friend]

Member Data Documentation

const size_t w2img::SingleFeature::NumFeatures = 1 [static]

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