Main Page   Class Hierarchy   Compound List   File List   Compound Members  

meapsoft.FeatFile Class Reference

Inheritance diagram for meapsoft.FeatFile:

Inheritance graph
[legend]
Collaboration diagram for meapsoft.FeatFile:

Collaboration graph
[legend]
List of all members.

Detailed Description

Representation of a MEAPsoft segment/feature file.

Author:
Ron Weiss (ronw@ee.columbia.edu)

Definition at line 40 of file FeatFile.java.

Public Methods

double[][] getFeatures ()
 Get a matrix (2D double array) of all of the features in all of the chunks contained in this file.

double[][] getFeatures (int[] featdim)
 Get a matrix (2D double array) of all of the features in all of the chunks contained in this file.

void readFile () throws IOException, ParserException
 Read in an feature file.

void clearChunks ()
 Remove any chunks in this file.

void clearFeatures ()
 Remove the features of all chunks in this file.

Object clone ()
 Clone this FeatFile.

boolean isCompatibleWith (FeatFile f)
 Check if another FeatFile is compatible with this one.


Protected Methods

void write (Writer w) throws IOException
 Write the contents of this FeatFile.


Member Function Documentation

double [][] meapsoft.FeatFile.getFeatures int    featdim[] [inline]
 

Get a matrix (2D double array) of all of the features in all of the chunks contained in this file.

Each column corresponds to a single feature vector. Index it as you would in Matlab ([row][column] = [featdim][chunk]).

Reimplemented in meapsoft.EDLFile.

Definition at line 78 of file FeatFile.java.

References meapsoft.FeatChunk.getFeatures().

double [][] meapsoft.FeatFile.getFeatures   [inline]
 

Get a matrix (2D double array) of all of the features in all of the chunks contained in this file.

Each column corresponds to a single feature vector. Index it as you would in Matlab ([row][column] = [featdim][chunk]).

Definition at line 67 of file FeatFile.java.

boolean meapsoft.FeatFile.isCompatibleWith FeatFile    f [inline]
 

Check if another FeatFile is compatible with this one.

Two feature files are said to be incompatible if they contain different features.

Definition at line 243 of file FeatFile.java.

References meapsoft.FeatFile.featureDescription.


The documentation for this class was generated from the following file:
Generated on Thu May 11 15:04:13 2006 for MEAPsoft by doxygen1.2.18