Package boofcv.alg.filter.binary
Class ThresholdBlockMean<T extends ImageGray<T>>
java.lang.Object
boofcv.alg.filter.binary.ThresholdBlockMean<T>
- All Implemented Interfaces:
ThresholdBlock.BlockProcessor<T,
T>
- Direct Known Subclasses:
ThresholdBlockMean_F32
,ThresholdBlockMean_U8
public abstract class ThresholdBlockMean<T extends ImageGray<T>>
extends Object
implements ThresholdBlock.BlockProcessor<T,T>
Applies a threshold to an image by computing the mean values in a regular grid across the image. When thresholding all the pixels inside a box (grid element) the mean values is found in the surrounding 3x3 grid region.\
See ThresholdBlockMinMax
for a more detailed discussion of elements of this strategy
-
Field Summary
Modifier and TypeFieldDescriptionprotected byte
protected byte
protected int
protected int
protected boolean
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface boofcv.alg.filter.binary.ThresholdBlock.BlockProcessor
computeBlockStatistics, copy, createStats, thresholdBlock
-
Field Details
-
blockWidth
protected int blockWidth -
blockHeight
protected int blockHeight -
thresholdFromLocalBlocks
protected boolean thresholdFromLocalBlocks -
a
protected byte a -
b
protected byte b
-
-
Constructor Details
-
ThresholdBlockMean
protected ThresholdBlockMean(boolean down)
-
-
Method Details