|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectij.plugin.filter.Analyzer
public class Analyzer
This plug-in implements ImageJ's Analyze/Measure and Analyze/Set Measurements commands.
Field Summary | |
---|---|
static java.awt.Color |
darkBlue
|
static int |
markWidth
|
static int |
precision
|
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 |
Fields inherited from interface ij.measure.Measurements |
---|
AREA, CENTER_OF_MASS, CENTROID, LABELS, LIMIT, MAX_STANDARDS, MEAN, MIN_MAX, MODE, PERIMETER, RECT, STD_DEV |
Constructor Summary | |
---|---|
Analyzer()
|
|
Analyzer(ImagePlus imp)
Constructs a new Analyzer using the specified ImagePlus object and the system-wide measurement options and results table. |
|
Analyzer(ImagePlus imp,
int measurements,
ResultsTable rt)
Construct a new Analyzer using an ImagePlus object and private measurement options and results table. |
Method Summary | |
---|---|
void |
displayResults()
Writes the last row in the results table to the ImageJ window. |
static int |
getCounter()
Returns the current measurement count. |
static int |
getMeasurements()
|
static int |
getPrecision()
Returns the number of digits displayed on the right of decimal point. |
static ResultsTable |
getResultsTable()
Returns the ImageJ results table. |
static float[] |
getUMeans()
Returns an array containing the first 20 uncalibrated means. |
java.lang.String |
n(double n)
Converts a number to a formatted string with a tab at the end. |
static boolean |
resetCounter()
Sets the measurement count to zero. |
void |
run(ImageProcessor ip)
Filters use this method to process the image. |
static void |
savePreferences(java.util.Properties prefs)
|
void |
saveResults(ImageStatistics stats,
Roi roi)
Saves the measurements specified in the "Set Measurements" dialog, or by calling setMeasurments(), in the system results table. |
static void |
setMeasurements(int measurements)
|
static void |
setSaved()
|
int |
setup(java.lang.String arg,
ImagePlus imp)
This method is called once when the filter is loaded. |
void |
summarize()
|
void |
updateHeadings()
Updates the column headings. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.awt.Color darkBlue
public static int markWidth
public static int precision
Constructor Detail |
---|
public Analyzer()
public Analyzer(ImagePlus imp)
public Analyzer(ImagePlus imp, int measurements, ResultsTable rt)
Method Detail |
---|
public int setup(java.lang.String arg, ImagePlus imp)
PlugInFilter
setup
in interface PlugInFilter
public void run(ImageProcessor ip)
PlugInFilter
run
in interface PlugInFilter
public void saveResults(ImageStatistics stats, Roi roi)
public void displayResults()
public void updateHeadings()
public java.lang.String n(double n)
public void summarize()
public static int getCounter()
public static boolean resetCounter()
public static void setSaved()
public static int getMeasurements()
public static void setMeasurements(int measurements)
public static void savePreferences(java.util.Properties prefs)
public static float[] getUMeans()
public static ResultsTable getResultsTable()
public static int getPrecision()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |