public class MarkerControlledWatershedTransform2D extends WatershedTransform2D
verbose| Constructor and Description | 
|---|
MarkerControlledWatershedTransform2D(ij.process.ImageProcessor input,
                                    ij.process.ImageProcessor marker,
                                    ij.process.ImageProcessor mask)
Initialize a marker-controlled watershed transform 
 | 
MarkerControlledWatershedTransform2D(ij.process.ImageProcessor input,
                                    ij.process.ImageProcessor marker,
                                    ij.process.ImageProcessor mask,
                                    double compactness)
Initialize a marker-controlled watershed transform. 
 | 
MarkerControlledWatershedTransform2D(ij.process.ImageProcessor input,
                                    ij.process.ImageProcessor marker,
                                    ij.process.ImageProcessor mask,
                                    int connectivity)
Initialize a marker-controlled watershed transform 
 | 
MarkerControlledWatershedTransform2D(ij.process.ImageProcessor input,
                                    ij.process.ImageProcessor marker,
                                    ij.process.ImageProcessor mask,
                                    int connectivity,
                                    double compactness)
Initialize a marker-controlled watershed transform. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ij.process.ImageProcessor | 
applyWithPriorityQueue()
Apply watershed transform on inputImage, using the labeled 
 markers from markerImage and restricted to the white areas 
 of maskImage. 
 | 
ij.process.ImageProcessor | 
applyWithPriorityQueueAndDams()
Apply watershed transform on inputImage, using the labeled 
 markers from markerImage and restricted to the white areas 
 of maskImage (optionally). 
 | 
ij.process.ImageProcessor | 
applyWithSortedList()
Deprecated. 
 
The algorithm with a sorted list does not visit the pixels
 based on their h value and proximity to markers so it is 
 not a true watershed method. 
 | 
ij.process.ImageProcessor | 
applyWithSortedListAndDams()
Deprecated. 
 
The algorithm with a sorted list does not visit the pixels
 based on their h value and proximity to markers so it is 
 not a true watershed method. 
 | 
LinkedList<PixelRecord> | 
extractPixelValues(ij.process.ImageProcessor inputImage,
                  ij.process.ImageProcessor markerImage,
                  int[][] tabLabels)
Extract pixel values from input and labeled marker images. 
 | 
PriorityQueue<PixelRecord> | 
extractPixelValuesPriorityQueue(ij.process.ImageProcessor inputImage,
                               ij.process.ImageProcessor seedImage,
                               int[][] tabLabels)
Extract pixel values from input and seed images 
 | 
ij.ImagePlus | 
getAnimationPriorityQueue()
Get animation of each h-step of the watershed transform 
 on the inputImage, using the labeled 
 markers from markerImage and restricted to the white areas 
 of maskImage. 
 | 
ij.ImagePlus | 
getAnimationPriorityQueueAndDams()
Get an animation of the different steps of the watershed 
 transform applied on inputImage, using the labeled 
 markers from markerImage and restricted to the white areas 
 of maskImage (optionally). 
 | 
ij.ImagePlus | 
getAnimationSortedList()
Deprecated. 
 
The algorithm with a sorted list does not visit the pixels
 based on their h value and proximity to markers so it is 
 not a true watershed method. 
 | 
ij.ImagePlus | 
getAnimationSortedListAndDams()
Deprecated. 
 
The algorithm with a sorted list does not visit the pixels
 based on their h value and proximity to markers so it is 
 not a true watershed method. 
 | 
apply, apply, extractPixelValues, getAnimation, getConnectivity, setConnectivity, setVerbosepublic MarkerControlledWatershedTransform2D(ij.process.ImageProcessor input,
                                            ij.process.ImageProcessor marker,
                                            ij.process.ImageProcessor mask)
input - grayscale image (usually a gradient image)marker - image containing the labeled markers to start the watershedmask - binary mask to restrict the region of interest (null to use whole input image)public MarkerControlledWatershedTransform2D(ij.process.ImageProcessor input,
                                            ij.process.ImageProcessor marker,
                                            ij.process.ImageProcessor mask,
                                            int connectivity)
input - grayscale image (usually a gradient image)marker - image containing the labeled markers to start the watershedmask - binary mask to restrict the region of interest (null to use whole input image)connectivity - pixel connectivity (4 or 8)public MarkerControlledWatershedTransform2D(ij.process.ImageProcessor input,
                                            ij.process.ImageProcessor marker,
                                            ij.process.ImageProcessor mask,
                                            double compactness)
input - grayscale image (usually a gradient image)marker - image containing the labeled markers to start the watershedmask - binary mask to restrict the region of interest (null to use whole input image)compactness - compactness constrain parameter (values larger than 0 imply using compact watershed)public MarkerControlledWatershedTransform2D(ij.process.ImageProcessor input,
                                            ij.process.ImageProcessor marker,
                                            ij.process.ImageProcessor mask,
                                            int connectivity,
                                            double compactness)
input - grayscale image (usually a gradient image)marker - image containing the labeled markers to start the watershedmask - binary mask to restrict the region of interest (null to use whole input image)connectivity - pixel connectivity (4 or 8)compactness - compactness constrain parameter (values larger than 0 imply using compact watershed)@Deprecated public ij.process.ImageProcessor applyWithSortedList()
@Deprecated public ij.ImagePlus getAnimationSortedList()
@Deprecated public ij.process.ImageProcessor applyWithSortedListAndDams()
@Deprecated public ij.ImagePlus getAnimationSortedListAndDams()
public ij.process.ImageProcessor applyWithPriorityQueue()
public ij.ImagePlus getAnimationPriorityQueue()
public ij.ImagePlus getAnimationPriorityQueueAndDams()
public ij.process.ImageProcessor applyWithPriorityQueueAndDams()
public PriorityQueue<PixelRecord> extractPixelValuesPriorityQueue(ij.process.ImageProcessor inputImage, ij.process.ImageProcessor seedImage, int[][] tabLabels)
inputImage - input image (2D)seedImage - seed image (2D)tabLabels - output label arraypublic LinkedList<PixelRecord> extractPixelValues(ij.process.ImageProcessor inputImage, ij.process.ImageProcessor markerImage, int[][] tabLabels)
tabLabels.inputImage - input grayscale image (usually a gradient image)markerImage - labeled marker imagetabLabels - output label arrayCopyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.