retina
Class OIDAnalyzer

java.lang.Object
  |
  +--retina.OIDAnalyzer
All Implemented Interfaces:
OIDBaseAnalyzer
Direct Known Subclasses:
OIDAverageAnalyzer, OIDbaselineAnalyzer, OIDffAllAnalyzer, OIDtc, OIDTimecourseAnalyzer

public class OIDAnalyzer
extends java.lang.Object
implements OIDBaseAnalyzer

Optical Imaging of the Retina first frame analyzer. Does first frame analysis (division) for each epoch individually. If you have a number of epochs in the same aggregate, will compute the first frame for each of the epochs in that aggregate. Copyright (c) 1999-2004, Michael Abramoff. All rights reserved.


Field Summary
protected static java.util.Vector bag
           
static java.lang.String functionName
           
protected static ScriptProcessor scriptProcessor
           
 
Constructor Summary
OIDAnalyzer()
           
OIDAnalyzer(ScriptProcessor fileProcessor)
           
 
Method Summary
 void analyze(float[][] a, float[][] regEstimates, 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.
 void init(ScriptProcessor fileProcessor)
           
static void main(java.lang.String[] args)
           
 boolean prefersRegistration()
           
static void printInfo()
           
static void printUsage()
           
protected  void saveAnalysis(float[][] ff, float[][] ffavg, int uniqueconds, java.lang.String name, boolean makestack)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

scriptProcessor

protected static ScriptProcessor scriptProcessor

bag

protected static java.util.Vector bag

functionName

public static java.lang.String functionName
Constructor Detail

OIDAnalyzer

public OIDAnalyzer()

OIDAnalyzer

public OIDAnalyzer(ScriptProcessor fileProcessor)
Method Detail

main

public static void main(java.lang.String[] args)

prefersRegistration

public boolean prefersRegistration()
Specified by:
prefersRegistration in interface OIDBaseAnalyzer

init

public void init(ScriptProcessor fileProcessor)
Specified by:
init in interface OIDBaseAnalyzer

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

analyze

public void analyze(float[][] a,
                    float[][] regEstimates,
                    int frameWidth,
                    java.lang.String directory,
                    java.lang.String name)
Analyze a series of OID frames a. Default first frame analysis.
Specified by:
analyze in interface OIDBaseAnalyzer
Parameters:
a - a float[][] with the reflectance frames.
regEstimates - a float [][] with the estimates of alignment for each frame with a[0].
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

saveAnalysis

protected void saveAnalysis(float[][] ff,
                            float[][] ffavg,
                            int uniqueconds,
                            java.lang.String name,
                            boolean makestack)

printInfo

public static void printInfo()

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).
Specified by:
exit in interface OIDBaseAnalyzer

printUsage

public static void printUsage()