Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
Analyzer Class Reference
Inheritance diagram for Analyzer:
PlugInFilter Measurements

Public Member Functions

 Analyzer (ImagePlus imp)
 
 Analyzer (ImagePlus imp, int measurements, ResultsTable rt)
 
int setup (String arg, ImagePlus imp)
 
void run (ij.process.ImageProcessor ip)
 
void displayResults ()
 
void updateHeadings ()
 
String n (double n)
 
void summarize ()
 
- Public Member Functions inherited from PlugInFilter
void run (ImageProcessor ip)
 

Static Public Member Functions

static int getCounter ()
 
static synchronized boolean resetCounter ()
 
static void setSaved ()
 
static int getMeasurements ()
 
static void setMeasurements (int measurements)
 
static void savePreferences (Properties prefs)
 
static float[] getUMeans ()
 
static ResultsTable getResultsTable ()
 
static int getPrecision ()
 
static int updateY (int y, int imageHeight)
 

Static Public Attributes

static Color darkBlue = new Color(0,0,160)
 
static int markWidth = Prefs.getInt(MARK_WIDTH,3)
 
static int precision = Prefs.getInt(PRECISION,3)
 
- Static Public Attributes inherited from Measurements
static final int AREA =1
 
static final int MEAN =2
 
static final int STD_DEV =4
 
static final int MODE =8
 
static final int MIN_MAX =16
 
static final int CENTROID =32
 
static final int CENTER_OF_MASS =64
 
static final int PERIMETER =128
 
static final int LIMIT = 256
 
static final int RECT =512
 
static final int LABELS =1024
 
static final int ELLIPSE =2048
 
static final int INVERT_Y =4096
 
static final int CIRCULARITY =8192
 
static final int FERET =16384
 
static final int MAX_STANDARDS = 20
 

Additional Inherited Members

- Data Fields inherited from PlugInFilter
int DOES_8G = 1
 
int DOES_8C = 2
 
int DOES_16 = 4
 
int DOES_32 = 8
 
int DOES_RGB = 16
 
int DOES_ALL = DOES_8G+DOES_8C+DOES_16+DOES_32+DOES_RGB
 
int DOES_STACKS = 32
 
int SUPPORTS_MASKING = 64
 
int NO_CHANGES = 128
 
int NO_UNDO = 256
 
int NO_IMAGE_REQUIRED = 512
 
int ROI_REQUIRED = 1024
 
int STACK_REQUIRED = 2048
 
int DONE = 4096
 

Detailed Description

This plugin implements ImageJ's Analyze/Measure and Analyze/Set Measurements commands.

Definition at line 13 of file Analyzer.java.

Constructor & Destructor Documentation

Analyzer ( ImagePlus  imp)
inline

Constructs a new Analyzer using the specified ImagePlus object and the system-wide measurement options and results table.

Definition at line 51 of file Analyzer.java.

Analyzer ( ImagePlus  imp,
int  measurements,
ResultsTable  rt 
)
inline

Construct a new Analyzer using an ImagePlus object and private measurement options and results table.

Definition at line 58 of file Analyzer.java.

Member Function Documentation

void displayResults ( )
inline

Writes the last row in the results table to the ImageJ window.

Definition at line 136 of file Analyzer.java.

static int getCounter ( )
inlinestatic

Returns the current measurement count.

Definition at line 291 of file Analyzer.java.

static int getPrecision ( )
inlinestatic

Returns the number of digits displayed on the right of decimal point.

Definition at line 352 of file Analyzer.java.

static ResultsTable getResultsTable ( )
inlinestatic

Returns the ImageJ results table.

Definition at line 347 of file Analyzer.java.

static float [] getUMeans ( )
inlinestatic

Returns an array containing the first 20 uncalibrated means.

Definition at line 342 of file Analyzer.java.

String n ( double  n)
inline

Converts a number to a formatted string with a tab at the end.

Definition at line 166 of file Analyzer.java.

static synchronized boolean resetCounter ( )
inlinestatic

Sets the measurement counter to zero. Displays a dialog that allows the user to save any existing measurements. Returns false if the user cancels the dialog.

Definition at line 299 of file Analyzer.java.

static void savePreferences ( Properties  prefs)
inlinestatic

Called once when ImageJ quits.

Definition at line 336 of file Analyzer.java.

int setup ( String  arg,
ImagePlus  imp 
)
inline

This method is called once when the filter is loaded. 'arg', which may be blank, is the argument specified for this plugin in IJ_Props.txt. 'imp' is the currently active image. This method should return a flag word that specifies the filters capabilities.

Implements PlugInFilter.

Definition at line 64 of file Analyzer.java.

void updateHeadings ( )
inline

Updates the displayed column headings. Does nothing if the results table headings and the displayed headings are the same. Redisplays the results if the headings are different and the results table is not empty.

Definition at line 147 of file Analyzer.java.

static int updateY ( int  y,
int  imageHeight 
)
inlinestatic

Returns an updated Y coordinate based on the current "Invert Y Coordinates" flag.

Definition at line 358 of file Analyzer.java.


The documentation for this class was generated from the following file: