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 ThresholdBlockMinMax for a more detailed discussion of elements of this strategy
| Modifier and Type | Field and Description |
|---|---|
protected byte |
a |
protected byte |
b |
protected int |
blockHeight |
protected int |
blockWidth |
protected boolean |
thresholdFromLocalBlocks |
| Constructor and Description |
|---|
ThresholdBlockMean(boolean down) |
| Modifier and Type | Method and Description |
|---|---|
void |
init(int blockWidth,
int blockHeight,
boolean thresholdFromLocalBlocks) |
boolean |
isDown() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomputeBlockStatistics, copy, createStats, thresholdBlock