net.beadsproject.beads.analysis.featureextractors
Class ReBin

java.lang.Object
  extended by net.beadsproject.beads.analysis.FeatureExtractor<float[],float[]>
      extended by net.beadsproject.beads.analysis.featureextractors.ReBin

public class ReBin
extends FeatureExtractor<float[],float[]>

ReBin takes an array of float data and places the data into a smaller array, the size of which is specified by the number of features.


Field Summary
 
Fields inherited from class net.beadsproject.beads.analysis.FeatureExtractor
featureDescriptions, features, name, numFeatures
 
Constructor Summary
ReBin(int numFeatures)
          Instantiates a new ReBin.
 
Method Summary
 void addListener(FeatureExtractor<?,float[]> listener)
          Adds the listener.
 void process(float[] original)
          Process some data of type P (specified by the class def).
 
Methods inherited from class net.beadsproject.beads.analysis.FeatureExtractor
getFeatureDescriptions, getFeatures, getName, getNumberOfFeatures, setName, setNumberOfFeatures
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReBin

public ReBin(int numFeatures)
Instantiates a new ReBin.

Parameters:
numFeatures - the number of features.
Method Detail

process

public void process(float[] original)
Description copied from class: FeatureExtractor
Process some data of type P (specified by the class def). This method must be overidden by implementing classes.

Specified by:
process in class FeatureExtractor<float[],float[]>
Parameters:
original - the data.

addListener

public void addListener(FeatureExtractor<?,float[]> listener)
Adds the listener.

Parameters:
listener - the listener.