Module org.scijava.ops.image
Class ComputeLocalNiblackThresholdIntegral<T extends RealType<T>,U extends RealType<U>>
- java.lang.Object
-
- org.scijava.ops.image.threshold.localNiblack.ComputeLocalNiblackThresholdIntegral<T,U>
-
- All Implemented Interfaces:
Computers.Arity4<RectangleNeighborhood<? extends Composite<U>>,T,Double,Double,BitType>,Consumers.Arity5<RectangleNeighborhood<? extends Composite<U>>,T,Double,Double,BitType>
public class ComputeLocalNiblackThresholdIntegral<T extends RealType<T>,U extends RealType<U>> extends Object implements Computers.Arity4<RectangleNeighborhood<? extends Composite<U>>,T,Double,Double,BitType>
Niblack's local thresholding algorithm.
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:
ComputeLocalNiblackThreshold- Implementation Note:
- op name='threshold.localNiblack', priority='-101.'
-
-
Constructor Summary
Constructors Constructor Description ComputeLocalNiblackThresholdIntegral()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompute(RectangleNeighborhood<? extends Composite<U>> inputNeighborhood, T inputCenterPixel, Double c, Double k, 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.Arity4
accept
-
Methods inherited from interface org.scijava.function.Consumers.Arity5
andThen
-
-