public static interface ThresholdBlock.BlockProcessor<T extends boofcv.struct.image.ImageGray<T>,S extends boofcv.struct.image.ImageBase<S>>
| Modifier and Type | Method and Description |
|---|---|
void |
computeBlockStatistics(int x0,
int y0,
int width,
int height,
int indexStats,
T input,
S stats)
Computes the min-max value inside a block
|
ThresholdBlock.BlockProcessor<T,S> |
copy()
Creates a copy.
|
S |
createStats() |
void |
init(int blockWidth,
int blockHeight,
boolean thresholdFromLocalBlocks) |
void |
thresholdBlock(int blockX0,
int blockY0,
T input,
S stats,
boofcv.struct.image.GrayU8 output)
Thresholds all the pixels inside the specified block
|
S createStats()
void init(int blockWidth,
int blockHeight,
boolean thresholdFromLocalBlocks)
void computeBlockStatistics(int x0,
int y0,
int width,
int height,
int indexStats,
T input,
S stats)
x0 - lower bound pixel value of block, x-axisy0 - upper bound pixel value of block, y-axiswidth - Block's widthheight - Block's heightindexStats - array index of statistics image pixelinput - Input imagevoid thresholdBlock(int blockX0,
int blockY0,
T input,
S stats,
boofcv.struct.image.GrayU8 output)
blockX0 - Block x-coordinateblockY0 - Block y-coordinateinput - Input imageoutput - Output imageThresholdBlock.BlockProcessor<T,S> copy()