public class ThresholdBlockMean_U8 extends ThresholdBlockMean<boofcv.struct.image.GrayU8>
ThresholdBlockMean for input images of type GrayU8a, b, blockHeight, blockWidth, thresholdFromLocalBlocks| Constructor and Description |
|---|
ThresholdBlockMean_U8(double scale,
boolean down) |
| Modifier and Type | Method and Description |
|---|---|
void |
computeBlockStatistics(int x0,
int y0,
int width,
int height,
int indexStats,
boofcv.struct.image.GrayU8 input,
boofcv.struct.image.GrayU8 stats)
Computes the min-max value inside a block
|
ThresholdBlock.BlockProcessor<boofcv.struct.image.GrayU8,boofcv.struct.image.GrayU8> |
copy()
Creates a copy.
|
boofcv.struct.image.GrayU8 |
createStats() |
void |
thresholdBlock(int blockX0,
int blockY0,
boofcv.struct.image.GrayU8 input,
boofcv.struct.image.GrayU8 stats,
boofcv.struct.image.GrayU8 output)
Thresholds all the pixels inside the specified block
|
init, isDownpublic void thresholdBlock(int blockX0,
int blockY0,
boofcv.struct.image.GrayU8 input,
boofcv.struct.image.GrayU8 stats,
boofcv.struct.image.GrayU8 output)
ThresholdBlock.BlockProcessorblockX0 - Block x-coordinateblockY0 - Block y-coordinateinput - Input imageoutput - Output imagepublic ThresholdBlock.BlockProcessor<boofcv.struct.image.GrayU8,boofcv.struct.image.GrayU8> copy()
ThresholdBlock.BlockProcessorpublic boofcv.struct.image.GrayU8 createStats()
public void computeBlockStatistics(int x0,
int y0,
int width,
int height,
int indexStats,
boofcv.struct.image.GrayU8 input,
boofcv.struct.image.GrayU8 stats)
ThresholdBlock.BlockProcessorx0 - 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 image