Module org.scijava.ops.image
Class DistanceTransformer<B extends BooleanType<B>,T extends RealType<T>>
- java.lang.Object
-
- org.scijava.ops.image.image.distancetransform.DistanceTransformer<B,T>
-
- Type Parameters:
B- - theBooleanTypeof the input imageT- - theRealTypeof the output image
- All Implemented Interfaces:
BiConsumer<RandomAccessibleInterval<B>,RandomAccessibleInterval<T>>,Computers.Arity1<RandomAccessibleInterval<B>,RandomAccessibleInterval<T>>
public class DistanceTransformer<B extends BooleanType<B>,T extends RealType<T>> extends Object implements Computers.Arity1<RandomAccessibleInterval<B>,RandomAccessibleInterval<T>>
Passes an input image of any dimension off to the correct Distance Transform algorithm. Before doing so, it also ensures that the outputRandomAccessibleIntervalis of a suitableRealTypein order to be able to contain the entire range of the output.- Author:
- Gabriel Selzer
- Implementation Note:
- op names='image.distanceTransform'
-
-
Constructor Summary
Constructors Constructor Description DistanceTransformer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompute(RandomAccessibleInterval<B> binaryInput, RandomAccessibleInterval<T> output)TODO-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.function.BiConsumer
andThen
-
Methods inherited from interface org.scijava.function.Computers.Arity1
accept
-
-
-
-
Method Detail
-
compute
public void compute(RandomAccessibleInterval<B> binaryInput, RandomAccessibleInterval<T> output)
TODO- Specified by:
computein interfaceComputers.Arity1<B extends BooleanType<B>,T extends RealType<T>>- Parameters:
binaryInput-output-
-
-