retina
Class OIDtc

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

public class OIDtc
extends OIDAnalyzer

Does truncated differencing on existing PCA files. There should be two files, one for the eigenimages and one for the coordinates. Copyright (c) 1999-2004, Michael Abramoff. All rights reserved.


Field Summary
protected static int nrImages
           
 
Fields inherited from class retina.OIDAnalyzer
bag, functionName, scriptProcessor
 
Constructor Summary
OIDtc()
           
 
Method Summary
static void analyze(BIJpca pca, int nrFrames, java.lang.String directory, java.lang.String name)
          Analyze a series of OID frames a.
static java.lang.Object load(int width, int height, int nrImages, java.lang.String directory, java.lang.String name)
          Load a [][] matrix from a file.
static void main(java.lang.String[] args)
           
 
Methods inherited from class retina.OIDAnalyzer
analyze, exit, init, prefersRegistration, printInfo, printUsage, saveAnalysis, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

nrImages

protected static int nrImages
Constructor Detail

OIDtc

public OIDtc()
Method Detail

main

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

load

public static java.lang.Object load(int width,
                                    int height,
                                    int nrImages,
                                    java.lang.String directory,
                                    java.lang.String name)
Load a [][] matrix from a file. Uses ImageJ routines. Nothing convenient about this, just WILL save my day if a big computation crashes.
Parameters:
width - the wiodth of each image in pixels.
directory - a String with the directory where to save.
name - a String with the name to save.
Returns:
m the float[][] matrix

analyze

public static void analyze(BIJpca pca,
                           int nrFrames,
                           java.lang.String directory,
                           java.lang.String name)
                    throws java.lang.IllegalArgumentException
Analyze a series of OID frames a. In this case PCA.
Parameters:
a - the series of frames.
width - the width in pixels of the frames in a
directory - the directory where the files should go.
name - the name(s) of the file(s) on which is based