public class Watershed3DPlugin extends Object implements ij.plugin.PlugIn
| Modifier and Type | Field and Description | 
|---|---|
static double | 
hMax
the maximum value for dynamic 
 | 
static double | 
hMin
the minimum value for dynamic 
 | 
static boolean | 
use26neighbors
flag to use 26-connectivity 
 | 
| Constructor and Description | 
|---|
Watershed3DPlugin()  | 
| Modifier and Type | Method and Description | 
|---|---|
ij.ImagePlus | 
process(ij.ImagePlus input,
       ij.ImagePlus mask,
       int connectivity,
       double hMin,
       double hMax)
Apply 3D watershed to a 2D or 3D image (it does work for 2D images too). 
 | 
void | 
run(String arg)
Plugin run method, to be called from ImageJ. 
 | 
public static boolean use26neighbors
public static double hMin
public static double hMax
public ij.ImagePlus process(ij.ImagePlus input,
                            ij.ImagePlus mask,
                            int connectivity,
                            double hMin,
                            double hMax)
input - the 2D or 3D image (in principle a "gradient" image)mask - binary mask to restrict region of interestconnectivity - 6 or 26 voxel connectivityhMin - minimum grayscale level heighthMax - maximum grayscale level heightpublic void run(String arg)
run in interface ij.plugin.PlugInCopyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.