kmeans::SingleFeature Class Reference

List of all members.

Detailed Description

To do KS-segmentation of an image based only on its gray-level values.

Author:
Lakshman
Version:
Id
SingleFeature.h,v 1.4 2009/06/02 20:17:50 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 LImage< int > &img, ImageAttr< SingleFeature > *attr)

Static Public Attributes

static const size_t NumFeatures = 1


Constructor & Destructor Documentation

kmeans::SingleFeature::SingleFeature (  )  [inline]

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


Member Function Documentation

static void kmeans::SingleFeature::compute ( const LImage< int > &  img,
ImageAttr< SingleFeature > *  attr 
) [static]

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

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

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


Member Data Documentation

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


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