retina
Class OIDAverageAnalyzer

java.lang.Object
  |
  +--retina.OIDAnalyzer
        |
        +--retina.OIDAverageAnalyzer
All Implemented Interfaces:
OIDBaseAnalyzer

public class OIDAverageAnalyzer
extends OIDAnalyzer

Optical Imaging of the Retina first frame analyzer. Copyright (c) 1999-2004, Michael Abramoff. All rights reserved.


Field Summary
protected  float[][] ff
           
protected  float[][] ffavg
           
 
Fields inherited from class retina.OIDAnalyzer
bag, functionName, scriptProcessor
 
Constructor Summary
OIDAverageAnalyzer()
           
OIDAverageAnalyzer(ScriptProcessor fileProcessor)
           
 
Method Summary
 void analyze(float[][] a, int frameWidth, java.lang.String directory, java.lang.String name)
          Analyze a series of OID frames a.
 void exit(int total, int frameWidth, int frameHeight, java.lang.String directory, java.lang.String name)
          Hook for exit.
 
Methods inherited from class retina.OIDAnalyzer
analyze, init, main, prefersRegistration, printInfo, printUsage, saveAnalysis, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ff

protected float[][] ff

ffavg

protected float[][] ffavg
Constructor Detail

OIDAverageAnalyzer

public OIDAverageAnalyzer()

OIDAverageAnalyzer

public OIDAverageAnalyzer(ScriptProcessor fileProcessor)
Method Detail

analyze

public void analyze(float[][] a,
                    int frameWidth,
                    java.lang.String directory,
                    java.lang.String name)
Analyze a series of OID frames a.
Parameters:
a - a float[][] with the reflectance frames.
frameWidth - the width in pixels of the frames in a
directory - the name of the directory where the result should go.
name - the name(s) of the file(s) on which a is based

exit

public void exit(int total,
                 int frameWidth,
                 int frameHeight,
                 java.lang.String directory,
                 java.lang.String name)
Hook for exit. Called at the end of all file processing (after last call to analyze).
Overrides:
exit in class OIDAnalyzer