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.
|
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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
OIDtc
public OIDtc()
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 adirectory - the directory where the files should go.name - the name(s) of the file(s) on which is based
- Throws:
java.lang.IllegalArgumentException