Catalano.Imaging.Filters
Class BinaryWatershed
- java.lang.Object
-
- Catalano.Imaging.Filters.BinaryWatershed
-
- All Implemented Interfaces:
- IApplyInPlace
public class BinaryWatershed extends java.lang.Object implements IApplyInPlace
Binary Watershed. Binary Watershed lines (e.g. the continental divide) mark the boundaries of catchment regions in a topographical map. The height of a point on this map can have a direct correlation to its pixel intensity. WIth this analogy, the morphological operations of closing (or opening) can be understood as smoothing the ridges (or filling in the valleys). Develops a new algorithm for obtaining the watershed lines in a graph, and then uses this in developing a new segmentation approach based on the depth of immersion.
-
-
Constructor Summary
Constructors Constructor and Description BinaryWatershed()Initializes a new instance of the BinaryWatershed class.BinaryWatershed(DistanceTransform.Distance distance)Initializes a new instance of the BinaryWatershed class.BinaryWatershed(float tolerance)Initializes a new instance of the BinaryWatershed class.BinaryWatershed(float tolerance, DistanceTransform.Distance distance)Initializes a new instance of the BinaryWatershed class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidapplyInPlace(FastBitmap fastBitmap)Apply filter to an image.
-
-
-
Constructor Detail
-
BinaryWatershed
public BinaryWatershed()
Initializes a new instance of the BinaryWatershed class.
-
BinaryWatershed
public BinaryWatershed(float tolerance)
Initializes a new instance of the BinaryWatershed class.- Parameters:
tolerance- Tolerance.
-
BinaryWatershed
public BinaryWatershed(float tolerance, DistanceTransform.Distance distance)Initializes a new instance of the BinaryWatershed class.- Parameters:
tolerance- Tolerance.distance- Distance.
-
BinaryWatershed
public BinaryWatershed(DistanceTransform.Distance distance)
Initializes a new instance of the BinaryWatershed class.- Parameters:
distance- Distance.
-
-
Method Detail
-
applyInPlace
public void applyInPlace(FastBitmap fastBitmap)
Description copied from interface:IApplyInPlaceApply filter to an image.- Specified by:
applyInPlacein interfaceIApplyInPlace- Parameters:
fastBitmap- Image to be processed.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG