Module org.scijava.ops.image
Package org.scijava.ops.image.threshold
Class ApplyLocalThresholdIntegral<T extends RealType<T>,U extends RealType<U>>
- java.lang.Object
-
- org.scijava.ops.image.threshold.ApplyLocalThresholdIntegral<T,U>
-
- Direct Known Subclasses:
LocalMeanThreshold,LocalNiblackThreshold,LocalPhansalkarThreshold,LocalSauvolaThreshold
public abstract class ApplyLocalThresholdIntegral<T extends RealType<T>,U extends RealType<U>> extends Object
Apply a local thresholding method to an image using integral images for speed up, optionally using an out of bounds strategy.- Author:
- Stefan Helfrich (University of Konstanz)
-
-
Constructor Summary
Constructors Constructor Description ApplyLocalThresholdIntegral()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcompute(RandomAccessibleInterval<T> input, RectangleShape inputNeighborhoodShape, OutOfBoundsFactory<T,RandomAccessibleInterval<T>> outOfBoundsFactory, List<Function<RandomAccessibleInterval<T>,RandomAccessibleInterval<U>>> integralImageOps, Computers.Arity2<RectangleNeighborhood<? extends Composite<U>>,T,BitType> thresholdOp, RandomAccessibleInterval<BitType> output)TODOOutOfBoundsFactory<T,RandomAccessibleInterval<T>>defaultOutOfBoundsFactory()protected Function<RandomAccessibleInterval<T>,RandomAccessibleInterval<U>>getIntegralImageOp(int integralImageOrder)
-
-
-
Method Detail
-
defaultOutOfBoundsFactory
public OutOfBoundsFactory<T,RandomAccessibleInterval<T>> defaultOutOfBoundsFactory()
-
getIntegralImageOp
protected Function<RandomAccessibleInterval<T>,RandomAccessibleInterval<U>> getIntegralImageOp(int integralImageOrder)
-
compute
protected void compute(RandomAccessibleInterval<T> input, RectangleShape inputNeighborhoodShape, OutOfBoundsFactory<T,RandomAccessibleInterval<T>> outOfBoundsFactory, List<Function<RandomAccessibleInterval<T>,RandomAccessibleInterval<U>>> integralImageOps, Computers.Arity2<RectangleNeighborhood<? extends Composite<U>>,T,BitType> thresholdOp, RandomAccessibleInterval<BitType> output)
TODO- Parameters:
input-inputNeighborhoodShape-outOfBoundsFactory-integralImageOps-thresholdOp-output-
-
-