public class InteractiveGeodesicDistanceMap extends Object implements ij.plugin.filter.ExtendedPlugInFilter, ij.gui.DialogListener
CONVERT_TO_FLOAT, DOES_16, DOES_32, DOES_8C, DOES_8G, DOES_ALL, DOES_RGB, DOES_STACKS, DONE, FINAL_PROCESSING, KEEP_THRESHOLD, NO_CHANGES, NO_IMAGE_REQUIRED, NO_UNDO, NO_UNDO_RESET, PARALLELIZE_IMAGES, PARALLELIZE_STACKS, ROI_REQUIRED, SNAPSHOT, STACK_REQUIRED, SUPPORTS_MASKING| Constructor and Description | 
|---|
InteractiveGeodesicDistanceMap()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
dialogItemChanged(ij.gui.GenericDialog gd,
                 AWTEvent evt)
Called when a dialog widget has been modified: recomputes option values
 from dialog content. 
 | 
ij.process.ImageProcessor | 
process(ij.process.ImageProcessor mask,
       ij.gui.Roi roi,
       ChamferMask2D chamferMask,
       boolean floatProcess,
       boolean normalize)
Computes the distance propagated from the boundary of the white
 particles, within the white phase. 
 | 
ij.process.ImageProcessor | 
process(ij.process.ImageProcessor mask,
       ij.gui.Roi roi,
       float[] weights,
       boolean normalize)
Deprecated.  
 | 
ij.process.ImageProcessor | 
process(ij.process.ImageProcessor mask,
       ij.gui.Roi roi,
       short[] weights,
       boolean normalize)
Deprecated.  
 | 
void | 
run(ij.process.ImageProcessor image)
Apply the current filter settings to process the given image. 
 | 
void | 
setNPasses(int nPasses)  | 
int | 
setup(String arg,
     ij.ImagePlus imp)
Called at the beginning of the process to know if the plugin can be run
 with current image, and at the end to finalize. 
 | 
int | 
showDialog(ij.ImagePlus imp,
          String command,
          ij.plugin.filter.PlugInFilterRunner pfr)  | 
public int setup(String arg, ij.ImagePlus imp)
setup in interface ij.plugin.filter.PlugInFilterpublic int showDialog(ij.ImagePlus imp,
                      String command,
                      ij.plugin.filter.PlugInFilterRunner pfr)
showDialog in interface ij.plugin.filter.ExtendedPlugInFilterpublic boolean dialogItemChanged(ij.gui.GenericDialog gd,
                                 AWTEvent evt)
dialogItemChanged in interface ij.gui.DialogListenerpublic void setNPasses(int nPasses)
setNPasses in interface ij.plugin.filter.ExtendedPlugInFilterpublic void run(ij.process.ImageProcessor image)
run in interface ij.plugin.filter.PlugInFilterpublic ij.process.ImageProcessor process(ij.process.ImageProcessor mask,
                                         ij.gui.Roi roi,
                                         ChamferMask2D chamferMask,
                                         boolean floatProcess,
                                         boolean normalize)
mask - the binary mask image that will constrain the propagationroi - the roi to define the marker imagechamferMask - the chamfer mask used for computing distancesfloatProcess - specifies whether algorithm should use floating-point or
            integer computationnormalize - specifies whether the resulting distance map should be
            normalized@Deprecated public ij.process.ImageProcessor process(ij.process.ImageProcessor mask, ij.gui.Roi roi, float[] weights, boolean normalize)
mask - the binary mask image that will constrain the propagationroi - the roi to define the marker imageweights - the set of chamfer weights for computing distancesnormalize - specifies whether the resulting distance map should be
            normalized@Deprecated public ij.process.ImageProcessor process(ij.process.ImageProcessor mask, ij.gui.Roi roi, short[] weights, boolean normalize)
mask - the binary mask image that will constrain the propagationroi - the roi to define the marker imageweights - the set of chamfer weights for computing distancesnormalize - specifies whether the resulting distance map should be
            normalizedCopyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.