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 |
kmeans::SingleFeature::SingleFeature | ( | ) | [inline] |
kmeans::SingleFeature::SingleFeature | ( | float | v | ) | [inline] |
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] |
const size_t kmeans::SingleFeature::NumFeatures = 1 [static] |