public class MinimaAndMaxima extends Object
Example of use:
        // Get current image processor
        ImageProcessor image = IJ.getImage().getProcessor();
        // Computes extended minima with a dynamic of 15, using the 4-connectivity
        ImageProcessor minima = MinimaAndMaxima.extendedMinima(image, 15, 4); 
        // Display result in a new imagePlus
        ImagePlus res = new ImagePlus("Minima", minima);
        res.show(); 
 GeodesicReconstruction| Modifier and Type | Method and Description | 
|---|---|
static ij.process.ImageProcessor | 
extendedMaxima(ij.process.ImageProcessor image,
              double dynamic)
Computes the extended maxima in grayscale image  
image, 
 keeping maxima with the specified dynamic, and using the default 
 connectivity. | 
static ij.process.ImageProcessor | 
extendedMaxima(ij.process.ImageProcessor image,
              double dynamic,
              int conn)
Computes the extended maxima in grayscale image  
image, 
 keeping maxima with the specified dynamic, and using the specified
 connectivity. | 
static ij.process.ImageProcessor | 
extendedMinima(ij.process.ImageProcessor image,
              double dynamic)
Computes the extended minima in grayscale image  
image, 
 keeping minima with the specified dynamic, and using the default 
 connectivity. | 
static ij.process.ImageProcessor | 
extendedMinima(ij.process.ImageProcessor image,
              double dynamic,
              int conn)
Computes the extended minima in grayscale image  
image, 
 keeping minima with the specified dynamic, and using the specified 
 connectivity. | 
static ij.process.ImageProcessor | 
imposeMaxima(ij.process.ImageProcessor image,
            ij.process.ImageProcessor maxima)
Imposes the maxima given by marker image into the input image, using 
 the default connectivity. 
 | 
static ij.process.ImageProcessor | 
imposeMaxima(ij.process.ImageProcessor image,
            ij.process.ImageProcessor maxima,
            int conn)
Imposes the maxima given by marker image into the input image, using
 the specified connectivity. 
 | 
static ij.process.ImageProcessor | 
imposeMinima(ij.process.ImageProcessor image,
            ij.process.ImageProcessor minima)
Imposes the minima given by marker image into the input image, using 
 the default connectivity. 
 | 
static ij.process.ImageProcessor | 
imposeMinima(ij.process.ImageProcessor image,
            ij.process.ImageProcessor minima,
            int conn)
Imposes the minima given by marker image into the input image, using 
 the specified connectivity. 
 | 
static ij.process.ImageProcessor | 
regionalMaxima(ij.process.ImageProcessor image)
Computes the regional maxima in grayscale image  
image, using
 the default connectivity. | 
static ij.process.ImageProcessor | 
regionalMaxima(ij.process.ImageProcessor image,
              int conn)
Computes the regional maxima in grayscale image  
image, using
 the specified connectivity. | 
static ij.process.ImageProcessor | 
regionalMaximaByReconstruction(ij.process.ImageProcessor image,
                              int conn)
Computes the regional maxima in grayscale image  
image, 
 using the specified connectivity, and a slower algorithm (used for testing). | 
static ij.process.ImageProcessor | 
regionalMinima(ij.process.ImageProcessor image)
Computes the regional minima in grayscale image  
image, 
 using the default connectivity. | 
static ij.process.ImageProcessor | 
regionalMinima(ij.process.ImageProcessor image,
              int conn)
Computes the regional minima in grayscale image  
image, 
 using the specified connectivity. | 
static ij.process.ImageProcessor | 
regionalMinimaByReconstruction(ij.process.ImageProcessor image,
                              int conn)
Computes the regional minima in grayscale image  
image, 
 using the specified connectivity, and a slower algorithm (used for testing). | 
public static final ij.process.ImageProcessor regionalMaxima(ij.process.ImageProcessor image)
image, using
 the default connectivity.image - the image to processpublic static final ij.process.ImageProcessor regionalMaxima(ij.process.ImageProcessor image,
                                                             int conn)
image, using
 the specified connectivity.image - the image to processconn - the connectivity for maxima, that should be either 4 or 8public static final ij.process.ImageProcessor regionalMaximaByReconstruction(ij.process.ImageProcessor image,
                                                                             int conn)
image, 
 using the specified connectivity, and a slower algorithm (used for testing).image - the image to processconn - the connectivity for maxima, that should be either 4 or 8public static final ij.process.ImageProcessor regionalMinima(ij.process.ImageProcessor image)
image, 
 using the default connectivity.image - the image to processpublic static final ij.process.ImageProcessor regionalMinima(ij.process.ImageProcessor image,
                                                             int conn)
image, 
 using the specified connectivity.image - the image to processconn - the connectivity for minima, that should be either 4 or 8public static final ij.process.ImageProcessor regionalMinimaByReconstruction(ij.process.ImageProcessor image,
                                                                             int conn)
image, 
 using the specified connectivity, and a slower algorithm (used for testing).image - the image to processconn - the connectivity for minima, that should be either 4 or 8public static final ij.process.ImageProcessor extendedMaxima(ij.process.ImageProcessor image,
                                                             double dynamic)
image, 
 keeping maxima with the specified dynamic, and using the default 
 connectivity.image - the image to processdynamic - the minimal difference between a maxima and its boundarypublic static final ij.process.ImageProcessor extendedMaxima(ij.process.ImageProcessor image,
                                                             double dynamic,
                                                             int conn)
image, 
 keeping maxima with the specified dynamic, and using the specified
 connectivity.image - the image to processdynamic - the minimal difference between a maxima and its boundaryconn - the connectivity for maxima, that should be either 4 or 8public static final ij.process.ImageProcessor extendedMinima(ij.process.ImageProcessor image,
                                                             double dynamic)
image, 
 keeping minima with the specified dynamic, and using the default 
 connectivity.image - the image to processdynamic - the minimal difference between a minima and its boundarypublic static final ij.process.ImageProcessor extendedMinima(ij.process.ImageProcessor image,
                                                             double dynamic,
                                                             int conn)
image, 
 keeping minima with the specified dynamic, and using the specified 
 connectivity.image - the image to processdynamic - the minimal difference between a minima and its boundaryconn - the connectivity for minima, that should be either 4 or 8public static final ij.process.ImageProcessor imposeMaxima(ij.process.ImageProcessor image,
                                                           ij.process.ImageProcessor maxima)
image - the image to processmaxima - a binary image of maximapublic static final ij.process.ImageProcessor imposeMaxima(ij.process.ImageProcessor image,
                                                           ij.process.ImageProcessor maxima,
                                                           int conn)
image - the image to processmaxima - a binary image of maximaconn - the connectivity for maxima, that should be either 4 or 8public static final ij.process.ImageProcessor imposeMinima(ij.process.ImageProcessor image,
                                                           ij.process.ImageProcessor minima)
image - the image to processminima - a binary image of minimapublic static final ij.process.ImageProcessor imposeMinima(ij.process.ImageProcessor image,
                                                           ij.process.ImageProcessor minima,
                                                           int conn)
image - the image to processminima - a binary image of minimaconn - the connectivity for minima, that should be either 4 or 8Copyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.