|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsigus.parameterExtraction.ParameterExtractor_
A parameter extractor takes an image ROI and produce a vector of real values representing some image features
Field Summary | |
(package private) static boolean |
BadSample
True when features could not be properly extracted |
boolean |
draw
|
private ij.ImagePlus |
imp
An ImageJ image structure (features are extracted from this image) |
static int |
MAX_PARS
The number of features that will be extracted |
java.lang.String[] |
names
The names of the features |
(package private) static double[] |
pars
The extracted features |
Fields inherited from interface ij.plugin.filter.PlugInFilter |
DOES_16, DOES_32, DOES_8C, DOES_8G, DOES_ALL, DOES_RGB, DOES_STACKS, DONE, NO_CHANGES, NO_IMAGE_REQUIRED, NO_UNDO, ROI_REQUIRED, STACK_REQUIRED, SUPPORTS_MASKING |
Constructor Summary | |
ParameterExtractor_()
|
Method Summary | |
void |
classifySample(ij.ImagePlus imp)
The parameter extraction must be based on a segmented image. |
abstract void |
drawParameters(ij.process.ImageProcessor ip,
java.awt.Rectangle r)
|
abstract void |
extract(ij.ImagePlus imp)
Extract the parameters from the pointed by imp |
java.lang.String |
getName(int index)
Get the name of one feature |
double[] |
getParameters()
Get the parameters |
abstract void |
initializeNames()
|
boolean |
isBadSample()
Returns true if the image do not contain a ROI (indicating that the tracking phase did not succeeded) |
void |
run(ij.process.ImageProcessor ip)
|
int |
setup(java.lang.String arg,
ij.ImagePlus imp)
|
(package private) void |
showAbout()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static int MAX_PARS
static double[] pars
static boolean BadSample
public java.lang.String[] names
private ij.ImagePlus imp
public boolean draw
Constructor Detail |
public ParameterExtractor_()
Method Detail |
public int setup(java.lang.String arg, ij.ImagePlus imp)
setup
in interface ij.plugin.filter.PlugInFilter
public void run(ij.process.ImageProcessor ip)
run
in interface ij.plugin.filter.PlugInFilter
public abstract void initializeNames()
public abstract void extract(ij.ImagePlus imp)
public abstract void drawParameters(ij.process.ImageProcessor ip, java.awt.Rectangle r)
public java.lang.String getName(int index)
public double[] getParameters()
public boolean isBadSample()
public void classifySample(ij.ImagePlus imp)
void showAbout()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |