public class Watershed
extends java.lang.Object
Constructor and Description 

Watershed() 
Modifier and Type  Method and Description 

static ij.ImagePlus 
computeWatershed(ij.ImagePlus input,
ij.ImagePlus marker,
ij.ImagePlus binaryMask,
int connectivity,
boolean getDams)
Compute watershed with markers with an optional binary mask
to restrict the regions of application

static ij.ImagePlus 
computeWatershed(ij.ImagePlus input,
ij.ImagePlus marker,
ij.ImagePlus binaryMask,
int connectivity,
boolean usePriorityQueue,
boolean getDams)
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 and we will stop using it.

static ij.ImagePlus 
computeWatershed(ij.ImagePlus input,
ij.ImagePlus mask,
int connectivity)
Compute fast watershed using flooding simulations, as described by
Soille, Pierre, and Luc M.

static ij.ImagePlus 
computeWatershed(ij.ImagePlus input,
ij.ImagePlus marker,
int connectivity,
boolean getDams)
Compute watershed with markers

static ij.ImagePlus 
computeWatershed(ij.ImagePlus input,
ij.ImagePlus marker,
int connectivity,
boolean usePriorityQueue,
boolean getDams)
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 and we will stop using it.

static ij.ImagePlus 
computeWatershed(ij.ImagePlus input,
ij.ImagePlus mask,
int connectivity,
double hMin,
double hMax)
Compute fast watershed using flooding simulations, as described by
Soille, Pierre, and Luc M.

static ij.process.ImageProcessor 
computeWatershed(ij.process.ImageProcessor input,
ij.process.ImageProcessor marker,
ij.process.ImageProcessor binaryMask,
int connectivity,
boolean getDams)
Compute watershed with markers with an optional binary mask
to restrict the regions of application

static ij.process.ImageProcessor 
computeWatershed(ij.process.ImageProcessor input,
ij.process.ImageProcessor marker,
ij.process.ImageProcessor binaryMask,
int connectivity,
boolean usePriorityQueue,
boolean getDams)
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 and we will stop using it.

static ij.process.ImageProcessor 
computeWatershed(ij.process.ImageProcessor input,
ij.process.ImageProcessor mask,
int connectivity)
Compute fast watershed using flooding simulations, as described by
Soille, Pierre, and Luc M.

static ij.process.ImageProcessor 
computeWatershed(ij.process.ImageProcessor input,
ij.process.ImageProcessor marker,
int connectivity,
boolean getDams)
Compute watershed with markers

static ij.process.ImageProcessor 
computeWatershed(ij.process.ImageProcessor input,
ij.process.ImageProcessor marker,
int connectivity,
boolean usePriorityQueue,
boolean getDams)
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 and we will stop using it.

static ij.ImageStack 
computeWatershed(ij.ImageStack input,
ij.ImageStack marker,
ij.ImageStack binaryMask,
int connectivity,
boolean getDams)
Compute watershed with markers with an optional binary mask
to restrict the regions of application

static ij.ImageStack 
computeWatershed(ij.ImageStack input,
ij.ImageStack marker,
ij.ImageStack binaryMask,
int connectivity,
boolean usePriorityQueue,
boolean getDams)
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 and we will stop using it.

static ij.ImageStack 
computeWatershed(ij.ImageStack input,
ij.ImageStack mask,
int connectivity)
Compute fast watershed using flooding simulations, as described by
Soille, Pierre, and Luc M.

static ij.ImageStack 
computeWatershed(ij.ImageStack input,
ij.ImageStack marker,
int connectivity,
boolean getDams)
Compute watershed with markers

static ij.ImageStack 
computeWatershed(ij.ImageStack input,
ij.ImageStack marker,
int connectivity,
boolean usePriorityQueue,
boolean getDams)
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 and we will stop using it.

public static ij.ImagePlus computeWatershed(ij.ImagePlus input, ij.ImagePlus mask, int connectivity)
input
 original grayscale image (usually a gradient image)mask
 binary mask to restrict the regions of interestconnectivity
 voxel connectivity to define neighborhoodspublic static ij.ImagePlus computeWatershed(ij.ImagePlus input, ij.ImagePlus mask, int connectivity, double hMin, double hMax)
input
 original grayscale image (usually a gradient image)mask
 binary mask to restrict the regions of interestconnectivity
 voxel connectivity to define neighborhoodshMin
 the minimum value for dynamichMax
 the maximum value for dynamicpublic static ij.ImageStack computeWatershed(ij.ImageStack input, ij.ImageStack mask, int connectivity)
input
 original grayscale image (usually a gradient image)mask
 binary mask to restrict the regions of interestconnectivity
 voxel connectivity to define neighborhoodspublic static ij.process.ImageProcessor computeWatershed(ij.process.ImageProcessor input, ij.process.ImageProcessor mask, int connectivity)
input
 original grayscale image (usually a gradient image)mask
 binary mask to restrict the regions of interestconnectivity
 pixel connectivity to define neighborhoods (4 or 8)@Deprecated public static ij.ImagePlus computeWatershed(ij.ImagePlus input, ij.ImagePlus marker, ij.ImagePlus binaryMask, int connectivity, boolean usePriorityQueue, boolean getDams)
input
 original grayscale image (usually a gradient image)marker
 image with labeled markersbinaryMask
 binary mask to restrict the regions of interestconnectivity
 voxel connectivity to define neighborhoods (4 or 8 for 2D, 6 or 26 for 3D)usePriorityQueue
 select/deselect the use of the algorithm based on a priority queuegetDams
 select/deselect the calculation of dams@Deprecated public static ij.ImageStack computeWatershed(ij.ImageStack input, ij.ImageStack marker, ij.ImageStack binaryMask, int connectivity, boolean usePriorityQueue, boolean getDams)
input
 original grayscale image (usually a gradient image)marker
 image with labeled markersbinaryMask
 binary mask to restrict the regions of interestconnectivity
 voxel connectivity to define neighborhoodsusePriorityQueue
 select/deselect the use of the algorithm based on a priority queuegetDams
 select/deselect the calculation of dams@Deprecated public static ij.process.ImageProcessor computeWatershed(ij.process.ImageProcessor input, ij.process.ImageProcessor marker, ij.process.ImageProcessor binaryMask, int connectivity, boolean usePriorityQueue, boolean getDams)
input
 original grayscale image (usually a gradient image)marker
 image with labeled markersbinaryMask
 binary mask to restrict the regions of interestconnectivity
 voxel connectivity to define neighborhoodsusePriorityQueue
 select/deselect the use of the algorithm based on a priority queuegetDams
 select/deselect the calculation of dams@Deprecated public static ij.ImagePlus computeWatershed(ij.ImagePlus input, ij.ImagePlus marker, int connectivity, boolean usePriorityQueue, boolean getDams)
input
 original grayscale image (usually a gradient image)marker
 image with labeled markersconnectivity
 voxel connectivity to define neighborhoodsusePriorityQueue
 select/deselect the use of the algorithm based on a priority queuegetDams
 select/deselect the calculation of dams@Deprecated public static ij.ImageStack computeWatershed(ij.ImageStack input, ij.ImageStack marker, int connectivity, boolean usePriorityQueue, boolean getDams)
input
 original grayscale image (usually a gradient image)marker
 image with labeled markersconnectivity
 voxel connectivity to define neighborhoodsusePriorityQueue
 select/deselect the use of the algorithm based on a priority queuegetDams
 select/deselect the calculation of dams@Deprecated public static ij.process.ImageProcessor computeWatershed(ij.process.ImageProcessor input, ij.process.ImageProcessor marker, int connectivity, boolean usePriorityQueue, boolean getDams)
input
 original grayscale image (usually a gradient image)marker
 image with labeled markersconnectivity
 voxel connectivity to define neighborhoodsusePriorityQueue
 select/deselect the use of the algorithm based on a priority queuegetDams
 select/deselect the calculation of damspublic static ij.ImagePlus computeWatershed(ij.ImagePlus input, ij.ImagePlus marker, ij.ImagePlus binaryMask, int connectivity, boolean getDams)
input
 original grayscale image (usually a gradient image)marker
 image with labeled markersbinaryMask
 binary mask to restrict the regions of interestconnectivity
 voxel connectivity to define neighborhoods (4 or 8 for 2D, 6 or 26 for 3D)getDams
 select/deselect the calculation of damspublic static ij.ImageStack computeWatershed(ij.ImageStack input, ij.ImageStack marker, ij.ImageStack binaryMask, int connectivity, boolean getDams)
input
 original grayscale image (usually a gradient image)marker
 image with labeled markersbinaryMask
 binary mask to restrict the regions of interestconnectivity
 voxel connectivity to define neighborhoodsgetDams
 select/deselect the calculation of damspublic static ij.process.ImageProcessor computeWatershed(ij.process.ImageProcessor input, ij.process.ImageProcessor marker, ij.process.ImageProcessor binaryMask, int connectivity, boolean getDams)
input
 original grayscale image (usually a gradient image)marker
 image with labeled markersbinaryMask
 binary mask to restrict the regions of interestconnectivity
 voxel connectivity to define neighborhoodsgetDams
 select/deselect the calculation of damspublic static ij.ImagePlus computeWatershed(ij.ImagePlus input, ij.ImagePlus marker, int connectivity, boolean getDams)
input
 original grayscale image (usually a gradient image)marker
 image with labeled markersconnectivity
 voxel connectivity to define neighborhoodsgetDams
 select/deselect the calculation of damspublic static ij.ImageStack computeWatershed(ij.ImageStack input, ij.ImageStack marker, int connectivity, boolean getDams)
input
 original grayscale image (usually a gradient image)marker
 image with labeled markersconnectivity
 voxel connectivity to define neighborhoodsgetDams
 select/deselect the calculation of damspublic static ij.process.ImageProcessor computeWatershed(ij.process.ImageProcessor input, ij.process.ImageProcessor marker, int connectivity, boolean getDams)
input
 original grayscale image (usually a gradient image)marker
 image with labeled markersconnectivity
 voxel connectivity to define neighborhoodsgetDams
 select/deselect the calculation of dams