public class LocalNiblackThresholdIntegral<T extends RealType<T>> extends LocalThresholdIntegral<T> implements Ops.Threshold.LocalNiblackThreshold
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 on RandomAccessibleInterval
s of
RealType
, i.e. explicit conversion to an integral image is not
required.
LocalNiblackThreshold
,
LocalThresholdIntegral
SpecialOp.Flavor
shape
NAME
Constructor and Description |
---|
LocalNiblackThresholdIntegral() |
Modifier and Type | Method and Description |
---|---|
protected int[] |
requiredIntegralImages() |
protected CenterAwareIntegralComputerOp<T,BitType> |
unaryComputer() |
compute, getShape, initialize
in, out, setInput, setOutput
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ops, setEnvironment
compute, getIndependentInstance, run, run
run
candidates, filterArity, op
protected CenterAwareIntegralComputerOp<T,BitType> unaryComputer()
unaryComputer
in class LocalThresholdIntegral<T extends RealType<T>>
protected int[] requiredIntegralImages()
requiredIntegralImages
in class LocalThresholdIntegral<T extends RealType<T>>
Copyright © 2014–2022 ImageJ. All rights reserved.