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