Module org.scijava.ops.image
Class ComputeLocalMeanThresholdIntegral<T extends RealType<T>,U extends RealType<U>>
- java.lang.Object
-
- org.scijava.ops.image.threshold.localMean.ComputeLocalMeanThresholdIntegral<T,U>
-
- All Implemented Interfaces:
Computers.Arity3<RectangleNeighborhood<? extends Composite<U>>,T,Double,BitType>,Consumers.Arity4<RectangleNeighborhood<? extends Composite<U>>,T,Double,BitType>
public class ComputeLocalMeanThresholdIntegral<T extends RealType<T>,U extends RealType<U>> extends Object implements Computers.Arity3<RectangleNeighborhood<? extends Composite<U>>,T,Double,BitType>
Local threshold method that uses the
IntegralMeanfor the threshold computation.This implementation improves execution speed by using integral images for the computations of mean and standard deviation in the local windows. A significant improvement can be observed for increased window sizes (
span > 10). It operates onRandomAccessibleIntervals ofRealType, i.e. explicit conversion to an integral image is not required.- Author:
- Stefan Helfrich (University of Konstanz)
- See Also:
ComputeLocalMeanThreshold- Implementation Note:
- op name='threshold.localMean', priority='-101.'
-
-
Constructor Summary
Constructors Constructor Description ComputeLocalMeanThresholdIntegral()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompute(RectangleNeighborhood<? extends Composite<U>> inputNeighborhood, T inputCenterPixel, Double c, BitType output)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.Arity3
accept
-
Methods inherited from interface org.scijava.function.Consumers.Arity4
andThen
-
-