Package boofcv.alg.filter.binary
Class ThresholdBlockMean<T extends boofcv.struct.image.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 boofcv.struct.image.ImageGray<T>> extends java.lang.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
ThresholdBlockMinMaxfor a more detailed discussion of elements of this strategy
-
-
Field Summary
Fields Modifier and Type Field Description protected byteaprotected bytebprotected intblockHeightprotected intblockWidthprotected booleanthresholdFromLocalBlocks
-
Constructor Summary
Constructors Constructor Description ThresholdBlockMean(boolean down)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit(int blockWidth, int blockHeight, boolean thresholdFromLocalBlocks)booleanisDown()-
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
-
-