ij.plugin
Class Thresholder

java.lang.Object
  extended by ij.plugin.Thresholder
All Implemented Interfaces:
ij.measure.Measurements, PlugIn

public class Thresholder
extends java.lang.Object
implements PlugIn, ij.measure.Measurements

This plugin implements the Process/Binary/Make Binary and Convert to Mask commands.


Field Summary
(package private)  boolean autoThreshold
           
(package private)  boolean convertToMask
           
(package private) static boolean fill1
           
(package private) static boolean fill2
           
(package private)  boolean skipDialog
           
(package private) static boolean useBW
           
(package private) static boolean useLocal
           
 
Fields inherited from interface ij.measure.Measurements
AREA, AREA_FRACTION, CENTER_OF_MASS, CENTROID, CIRCULARITY, ELLIPSE, FERET, INTEGRATED_DENSITY, INVERT_Y, KURTOSIS, LABELS, LIMIT, MAX_STANDARDS, MEAN, MEDIAN, MIN_MAX, MODE, PERIMETER, RECT, SKEWNESS, SLICE, STD_DEV
 
Constructor Summary
Thresholder()
           
 
Method Summary
(package private)  void applyShortOrFloatThreshold(ImagePlus imp)
           
(package private)  void applyThreshold(ImagePlus imp)
           
(package private)  void autoThreshold(ImageProcessor ip)
           
(package private)  void convertStack(ImagePlus imp)
           
(package private)  void convertStackToBinary(ImagePlus imp)
           
(package private)  void convertToByte(ImagePlus imp)
           
 void run(java.lang.String arg)
          This method is called when the plugin is loaded.
(package private)  void setInvertedLut(ImagePlus imp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

autoThreshold

boolean autoThreshold

skipDialog

boolean skipDialog

fill1

static boolean fill1

fill2

static boolean fill2

useBW

static boolean useBW

useLocal

static boolean useLocal

convertToMask

boolean convertToMask
Constructor Detail

Thresholder

public Thresholder()
Method Detail

run

public void run(java.lang.String arg)
Description copied from interface: PlugIn
This method is called when the plugin is loaded. 'arg', which may be blank, is the argument specified for this plugin in IJ_Props.txt.

Specified by:
run in interface PlugIn

convertStack

void convertStack(ImagePlus imp)

applyThreshold

void applyThreshold(ImagePlus imp)

applyShortOrFloatThreshold

void applyShortOrFloatThreshold(ImagePlus imp)

convertStackToBinary

void convertStackToBinary(ImagePlus imp)

convertToByte

void convertToByte(ImagePlus imp)

setInvertedLut

void setInvertedLut(ImagePlus imp)

autoThreshold

void autoThreshold(ImageProcessor ip)