The class RealFileFeatures implements a dense double-precision floating point matrix from a file.
It inherits its functionality from CSimpleFeatures, which should be consulted for further reference.
在文件RealFileFeatures.h第25行定义。
公有成员 | |
CRealFileFeatures (int32_t size, FILE *file) | |
CRealFileFeatures (int32_t size, char *filename) | |
CRealFileFeatures (const CRealFileFeatures &orig) | |
virtual | ~CRealFileFeatures () |
virtual float64_t * | load_feature_matrix () |
int32_t | get_label (int32_t idx) |
virtual const char * | get_name () const |
保护成员 | |
virtual float64_t * | compute_feature_vector (int32_t num, int32_t &len, float64_t *target=NULL) |
bool | load_base_data () |
保护属性 | |
FILE * | working_file |
char * | working_filename |
bool | status |
int32_t * | labels |
uint8_t | intlen |
uint8_t | doublelen |
uint32_t | endian |
uint32_t | fourcc |
uint32_t | preprocd |
int64_t | filepos |
CRealFileFeatures | ( | int32_t | size, |
FILE * | file | ||
) |
CRealFileFeatures | ( | int32_t | size, |
char * | filename | ||
) |
constructor
size | cache size |
filename | filename to load features from |
在文件RealFileFeatures.cpp第20行定义。
CRealFileFeatures | ( | const CRealFileFeatures & | orig ) |
copy constructor
在文件RealFileFeatures.cpp第55行定义。
~CRealFileFeatures | ( | ) | [virtual] |
在文件RealFileFeatures.cpp第48行定义。
float64_t * compute_feature_vector | ( | int32_t | num, |
int32_t & | len, | ||
float64_t * | target = NULL |
||
) | [protected, virtual] |
compute feature vector for sample num len is returned by reference
num | num |
len | len |
target | target |
重载CSimpleFeatures< float64_t >。
在文件RealFileFeatures.cpp第67行定义。
int32_t get_label | ( | int32_t | idx ) |
get label at given index
idx | index to look at |
在文件RealFileFeatures.cpp第107行定义。
virtual const char* get_name | ( | ) | const [virtual] |
bool load_base_data | ( | ) | [protected] |
float64_t * load_feature_matrix | ( | ) | [virtual] |
uint8_t doublelen [protected] |
doublelen
在文件RealFileFeatures.h第113行定义。
uint32_t endian [protected] |
endian
在文件RealFileFeatures.h第115行定义。
int64_t filepos [protected] |
filepos
在文件RealFileFeatures.h第121行定义。
uint32_t fourcc [protected] |
fourcc
在文件RealFileFeatures.h第117行定义。
uint8_t intlen [protected] |
intlen
在文件RealFileFeatures.h第111行定义。
int32_t* labels [protected] |
labels
在文件RealFileFeatures.h第108行定义。
uint32_t preprocd [protected] |
preprocd
在文件RealFileFeatures.h第119行定义。
bool status [protected] |
status
在文件RealFileFeatures.h第106行定义。
FILE* working_file [protected] |
working file
在文件RealFileFeatures.h第102行定义。
char* working_filename [protected] |
working filename
在文件RealFileFeatures.h第104行定义。