name: FeatureFile


g++ [flags ...] file ... -l /isip/tools/lib/$ISIP_BINARY/lib_mmedia.a

#include <FeatureFile.h>

long getBufferedData(Vector<AlgorithmData>& data,
	             long start_pos = DEF_START_POS,
	             long num_elem = DEF_NUM_ELEM);
long getBufferedData(VectorFloat& data, long channel_tag,
	             long start_pos, long num_elem);
boolean setFileType(FILE_TYPE file_type);

quick start:

FeatureFile src;"/tmp/input.sof");

Vector <VectorFloat> data(1);
src.getBufferedData(data(0), 0, 50, 10);

Filename output(L"/tmp/output.sof");

FeatureFile dst;, File::WRITE_ONLY);
dst.writeFeatureData(data, 0);


The FeatureFile class is used to manage feature data. This class provides an interface to files containing feature data generated by isip_transform. Several convenient file formats are supported to facilitate interfacing to external sources of features. Binary and text-based formats are also supported to simplify interfaces to tools such as Matlab.

The feature stream can be a multichannel stream. Each frame of data for each channel is treated as a vector. Support is provided to operate on channels independently.


public constants: error codes:

protected data:

required public methods:

class-specific public methods:

private methods: