public class MarkerControlledWatershedTransform3D extends WatershedTransform3D
verbose| Constructor and Description |
|---|
MarkerControlledWatershedTransform3D(ij.ImagePlus input,
ij.ImagePlus marker,
ij.ImagePlus mask)
Initialize a marker-controlled watershed transform
|
MarkerControlledWatershedTransform3D(ij.ImagePlus input,
ij.ImagePlus marker,
ij.ImagePlus mask,
int connectivity)
Initialize a marker-controlled watershed transform
|
MarkerControlledWatershedTransform3D(ij.ImagePlus input,
ij.ImagePlus marker,
ij.ImagePlus mask,
int connectivity,
double compactness)
Initialize a marker-controlled watershed transform
|
| Modifier and Type | Method and Description |
|---|---|
ij.ImagePlus |
applyWithPriorityQueue()
Apply watershed transform on inputImage, using the labeled
markers from markerImage and restricted to the white areas
of maskImage.
|
ij.ImagePlus |
applyWithPriorityQueueAndDams()
Apply watershed transform on inputImage, using the labeled
markers from markerImage and restricted to the white areas
of maskImage (optionally).
|
ij.ImagePlus |
applyWithSortedList()
Deprecated.
The algorithm with a sorted list does not visit the voxels
based on their h value and proximity to markers so it is
not a true watershed method.
|
ij.ImagePlus |
applyWithSortedListAndDams()
Deprecated.
The algorithm with a sorted list does not visit the voxels
based on their h value and proximity to markers so it is
not a true watershed method.
|
LinkedList<VoxelRecord> |
extractVoxelValues(ij.ImageStack inputStack,
ij.ImageStack markerStack,
int[][][] tabLabels)
Extract voxel values from input and labeled marker images.
|
PriorityQueue<VoxelRecord> |
extractVoxelValuesPriorityQueue(ij.ImageStack inputStack,
ij.ImageStack seedStack,
int[][][] tabLabels)
Extract voxel values from input and seed images
|
apply, apply, extractVoxelValues, getConnectivity, setConnectivity, setVerbosepublic MarkerControlledWatershedTransform3D(ij.ImagePlus input,
ij.ImagePlus marker,
ij.ImagePlus 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 MarkerControlledWatershedTransform3D(ij.ImagePlus input,
ij.ImagePlus marker,
ij.ImagePlus 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 - voxel connectivity (6 or 26)public MarkerControlledWatershedTransform3D(ij.ImagePlus input,
ij.ImagePlus marker,
ij.ImagePlus 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 - voxel connectivity (6 or 26)compactness - compactness constrain parameter (values larger than 0 imply using compact watershed)@Deprecated public ij.ImagePlus applyWithSortedList()
@Deprecated public ij.ImagePlus applyWithSortedListAndDams()
public ij.ImagePlus applyWithPriorityQueue()
public ij.ImagePlus applyWithPriorityQueueAndDams()
public PriorityQueue<VoxelRecord> extractVoxelValuesPriorityQueue(ij.ImageStack inputStack, ij.ImageStack seedStack, int[][][] tabLabels)
inputStack - input stackseedStack - seed stacktabLabels - output label arraypublic LinkedList<VoxelRecord> extractVoxelValues(ij.ImageStack inputStack, ij.ImageStack markerStack, int[][][] tabLabels)
tabLabels.inputStack - input grayscale stack (usually a gradient image)markerStack - labeled marker stacktabLabels - output label arrayCopyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.