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 |
Friends | |
bool | operator< (const SingleFeature &a, const SingleFeature &b) |
w2img::SingleFeature::SingleFeature | ( | ) | [inline] |
w2img::SingleFeature::SingleFeature | ( | float | v | ) | [inline] |
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] |
bool operator< | ( | const SingleFeature & | a, | |
const SingleFeature & | b | |||
) | [friend] |
const size_t w2img::SingleFeature::NumFeatures = 1 [static] |