Module org.scijava.ops.image
Class WatershedBinarySingleSigmaFunction<T extends RealType<T>,B extends BooleanType<B>>
- java.lang.Object
-
- org.scijava.ops.image.image.watershed.WatershedBinarySingleSigmaFunction<T,B>
-
- All Implemented Interfaces:
Functions.Arity5<RandomAccessibleInterval<T>,Boolean,Boolean,Double,RandomAccessibleInterval<B>,ImgLabeling<Integer,IntType>>
public class WatershedBinarySingleSigmaFunction<T extends RealType<T>,B extends BooleanType<B>> extends Object implements Functions.Arity5<RandomAccessibleInterval<T>,Boolean,Boolean,Double,RandomAccessibleInterval<B>,ImgLabeling<Integer,IntType>>
The Watershed algorithm segments and labels a grayscale image analogous to a heightmap. In short, a drop of water following the gradient of an image flows along a path to finally reach a local minimum.This Op wraps
WatershedBinarySingleSigmaas a Function for convenience.- Author:
- Gabriel Selzer
- Implementation Note:
- op names='image.watershed'
-
-
Constructor Summary
Constructors Constructor Description WatershedBinarySingleSigmaFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImgLabeling<Integer,IntType>apply(RandomAccessibleInterval<T> in, Boolean useEightConnectivity, Boolean drawWatersheds, Double sigma, RandomAccessibleInterval<B> mask)TODO-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.scijava.function.Functions.Arity5
andThen
-
-
-
-
Method Detail
-
apply
public ImgLabeling<Integer,IntType> apply(RandomAccessibleInterval<T> in, Boolean useEightConnectivity, Boolean drawWatersheds, Double sigma, RandomAccessibleInterval<B> mask)
TODO- Specified by:
applyin interfaceFunctions.Arity5<RandomAccessibleInterval<T extends RealType<T>>,Boolean,Boolean,Double,RandomAccessibleInterval<B extends BooleanType<B>>,ImgLabeling<Integer,IntType>>- Parameters:
in-useEightConnectivity-drawWatersheds-sigma-mask-- Returns:
- the outputLabeling
-
-