Measurements, PlugIn, ItemListener, EventListenerpublic class Thresholder extends Object implements PlugIn, Measurements, ItemListener
| Modifier and Type | Field | Description |
|---|---|---|
static String[] |
backgrounds |
|
static String[] |
methods |
ADD_TO_OVERLAY, ALL_STATS, AREA, AREA_FRACTION, CENTER_OF_MASS, CENTROID, CIRCULARITY, ELLIPSE, FERET, INTEGRATED_DENSITY, INVERT_Y, KURTOSIS, LABELS, LIMIT, MAX_STANDARDS, MEAN, MEDIAN, MIN_MAX, MODE, NaN_EMPTY_CELLS, PERIMETER, RECT, SCIENTIFIC_NOTATION, SHAPE_DESCRIPTORS, SKEWNESS, SLICE, STACK_POSITION, STD_DEV| Constructor | Description |
|---|---|
Thresholder() |
| Modifier and Type | Method | Description |
|---|---|---|
static ByteProcessor |
createMask(ImagePlus imp) |
Returns an 8-bit binary (0 and 255) threshold mask
that has the same dimensions as this image.
|
void |
itemStateChanged(ItemEvent e) |
|
void |
run(String arg) |
This method is called when the plugin is loaded.
|
static void |
setBackground(String background) |
|
static void |
setMethod(String method) |
public static final String[] methods
public static final String[] backgrounds
public void run(String arg)
PlugInpublic static ByteProcessor createMask(ImagePlus imp)
public static void setMethod(String method)
public static void setBackground(String background)
public void itemStateChanged(ItemEvent e)
itemStateChanged in interface ItemListener