Module org.scijava.ops.image
Class CalibratedDistanceTransformer<B extends BooleanType<B>,T extends RealType<T>>
- java.lang.Object
-
- org.scijava.ops.image.image.distancetransform.CalibratedDistanceTransformer<B,T>
-
- Type Parameters:
B- - theBooleanTypeof the input imageT- - theRealTypeof the output image
- All Implemented Interfaces:
Computers.Arity2<RandomAccessibleInterval<B>,double[],RandomAccessibleInterval<T>>,Consumers.Arity3<RandomAccessibleInterval<B>,double[],RandomAccessibleInterval<T>>
public class CalibratedDistanceTransformer<B extends BooleanType<B>,T extends RealType<T>> extends Object implements Computers.Arity2<RandomAccessibleInterval<B>,double[],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 CalibratedDistanceTransformer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompute(RandomAccessibleInterval<B> binaryInput, double[] calibration, RandomAccessibleInterval<T> out)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.Computers.Arity2
accept
-
Methods inherited from interface org.scijava.function.Consumers.Arity3
andThen
-
-
-
-
Method Detail
-
compute
public void compute(RandomAccessibleInterval<B> binaryInput, double[] calibration, RandomAccessibleInterval<T> out)
TODO- Specified by:
computein interfaceComputers.Arity2<RandomAccessibleInterval<B extends BooleanType<B>>,double[],RandomAccessibleInterval<T extends RealType<T>>>- Parameters:
binaryInput-calibration-out-
-
-