public class ExtendedMinimaWatershed extends Object
Static methods for directly computing result of watershed after imposition of extended minima.
Example of use:
  ImagePlus imagePlus = IJ.getImage();
  ImageProcessor image = imagePlus.getProcessor();
  // Computes basins, using a dynamic of 10, and a connectivity equal to 4.
  ImageProcessor basins = ExtendedMinimaWatershed.extendedMinimaWatershed(image, 10, 4);
  ImagePlus resPlus = new ImagePlus("Basins", basins);
  resPlus.show();
 | Constructor and Description | 
|---|
ExtendedMinimaWatershed()  | 
| Modifier and Type | Method and Description | 
|---|---|
static ij.ImagePlus | 
extendedMinimaWatershed(ij.ImagePlus imagePlus,
                       int dynamic,
                       int connectivity)
Computes watershed on a gray scale image after imposition of extended
 minima. 
 | 
static ij.process.ImageProcessor | 
extendedMinimaWatershed(ij.process.ImageProcessor image,
                       ij.process.ImageProcessor mask,
                       int dynamic,
                       int connectivity,
                       boolean verbose)
Computes watershed on a gray scale image after imposition of extended
 minima. 
 | 
static ij.process.ImageProcessor | 
extendedMinimaWatershed(ij.process.ImageProcessor image,
                       ij.process.ImageProcessor mask,
                       int dynamic,
                       int connectivity,
                       int outputType,
                       boolean verbose)
Computes watershed on a gray scale image after imposition of extended
 minima. 
 | 
static ij.process.ImageProcessor | 
extendedMinimaWatershed(ij.process.ImageProcessor image,
                       int dynamic,
                       int connectivity)
Computes watershed on a gray scale image after imposition of extended minima. 
 | 
static ij.process.ImageProcessor | 
extendedMinimaWatershed(ij.process.ImageProcessor image,
                       int dynamic,
                       int connectivity,
                       int outputType)
Computes watershed on a gray scale image after imposition of extended minima. 
 | 
static ij.ImageStack | 
extendedMinimaWatershed(ij.ImageStack image,
                       ij.ImageStack mask,
                       int dynamic,
                       int connectivity,
                       boolean verbose)
Computes watershed on a gray scale image after imposition of extended
 minima. 
 | 
static ij.ImageStack | 
extendedMinimaWatershed(ij.ImageStack image,
                       ij.ImageStack mask,
                       int dynamic,
                       int connectivity,
                       int outputType,
                       boolean verbose)
Computes watershed on a gray scale image after imposition of extended
 minima. 
 | 
static ij.ImageStack | 
extendedMinimaWatershed(ij.ImageStack image,
                       int dynamic,
                       int connectivity)
Computes watershed on a gray scale image after imposition of extended minima. 
 | 
static ij.ImageStack | 
extendedMinimaWatershed(ij.ImageStack image,
                       int dynamic,
                       int connectivity,
                       int outputType)
Computes watershed on a gray scale image after imposition of extended minima. 
 | 
public static final ij.ImagePlus extendedMinimaWatershed(ij.ImagePlus imagePlus,
                                                         int dynamic,
                                                         int connectivity)
imagePlus - the input image (grayscale)dynamic - the maximum difference between the minima and the boundary of
            a basinconnectivity - the connectivity to useMinimaAndMaximapublic static final ij.process.ImageProcessor extendedMinimaWatershed(ij.process.ImageProcessor image,
                                                                      int dynamic,
                                                                      int connectivity,
                                                                      int outputType)
image - the input image (grayscale)dynamic - the maximum difference between the minima and the boundary of
            a basinconnectivity - the connectivity to use, either 4 or 8outputType - image output type (16 or 32 bit)MinimaAndMaximapublic static final ij.process.ImageProcessor extendedMinimaWatershed(ij.process.ImageProcessor image,
                                                                      ij.process.ImageProcessor mask,
                                                                      int dynamic,
                                                                      int connectivity,
                                                                      int outputType,
                                                                      boolean verbose)
image - the input image (grayscale)mask - mask image to constraint segmentationdynamic - the maximum difference between the minima and the boundary of
            a basinconnectivity - the connectivity to use, either 4 or 8outputType - image output type (16 or 32 bit)verbose - flag to show log messagesMinimaAndMaximapublic static final ij.ImageStack extendedMinimaWatershed(ij.ImageStack image,
                                                          ij.ImageStack mask,
                                                          int dynamic,
                                                          int connectivity,
                                                          int outputType,
                                                          boolean verbose)
image - the input image (grayscale)mask - mask image to constraint segmentationdynamic - the maximum difference between the minima and the boundary of
            a basinconnectivity - the connectivity to use, either 4 or 8outputType - image output type (16 or 32 bit)verbose - flag to show log messagesMinimaAndMaxima3Dpublic static final ij.ImageStack extendedMinimaWatershed(ij.ImageStack image,
                                                          int dynamic,
                                                          int connectivity,
                                                          int outputType)
image - the input 3D image (grayscale)dynamic - the maximum difference between the minima and the boundary of
            a basinconnectivity - the connectivity to use, either 6 or 26outputType - image output type (16 or 32 bit)MinimaAndMaxima3Dpublic static final ij.process.ImageProcessor extendedMinimaWatershed(ij.process.ImageProcessor image,
                                                                      int dynamic,
                                                                      int connectivity)
image - the input image (grayscale)dynamic - the maximum difference between the minima and the boundary of
            a basinconnectivity - the connectivity to use, either 4 or 8MinimaAndMaximapublic static final ij.process.ImageProcessor extendedMinimaWatershed(ij.process.ImageProcessor image,
                                                                      ij.process.ImageProcessor mask,
                                                                      int dynamic,
                                                                      int connectivity,
                                                                      boolean verbose)
image - the input image (grayscale)mask - mask image to constraint segmentationdynamic - the maximum difference between the minima and the boundary of
            a basinconnectivity - the connectivity to use, either 4 or 8verbose - flag to show log messagesMinimaAndMaximapublic static final ij.ImageStack extendedMinimaWatershed(ij.ImageStack image,
                                                          ij.ImageStack mask,
                                                          int dynamic,
                                                          int connectivity,
                                                          boolean verbose)
image - the input image (grayscale)mask - mask image to constraint segmentationdynamic - the maximum difference between the minima and the boundary of
            a basinconnectivity - the connectivity to use, either 4 or 8verbose - flag to show log messagesMinimaAndMaxima3Dpublic static final ij.ImageStack extendedMinimaWatershed(ij.ImageStack image,
                                                          int dynamic,
                                                          int connectivity)
image - the input 3D image (grayscale)dynamic - the maximum difference between the minima and the boundary of
            a basinconnectivity - the connectivity to use, either 6 or 26MinimaAndMaxima3DCopyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.