Class OIDtc

All Implemented Interfaces:

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
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


protected static int nrImages
Constructor Detail


public OIDtc()
Method Detail


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


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.
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.
m the float[][] matrix


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.
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