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

Data Structures

class  LiveDialog
 

Public Member Functions

int setup (String arg, ImagePlus imp)
 
void run (ImageProcessor ipPassed)
 
void verticalColorBar (ImageProcessor ip, int x, int y, int thickness, int length)
 
void drawColorBar (ImagePlus imp, int x, int y)
 

Protected Member Functions

void drawColorBar (ImageProcessor ip, int xOffset, int yOffset)
 

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 displays a calibration bar on the active image. Bob Dougherty, OptiNav, Inc., 4/14/2002 Based largely on HistogramWindow.java by Wayne Rasband. Version 0 4/14/2002 Version 1 6/14/2002 Many revisions, including addition of the legend to the image. Version 2 6/15/2002 Control over colors, including none. Automatic box width. Version 3 6/17/2002 0 decimal places by default. Option for manual box width.

July 2002: Modified by Daniel Marsh and renamed CalibrationBar.

Definition at line 27 of file CalibrationBar.java.

Member Function Documentation

void run ( ImageProcessor  ip)
inline

Filters use this method to process the image. If the SUPPORTS_STACKS flag was set, it is called for each slice in a stack. ImageJ will lock the image before calling this method and unlock it when the filter is finished.

Implements PlugInFilter.

Definition at line 92 of file CalibrationBar.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 82 of file CalibrationBar.java.


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