public class ThresholdBlockMinMax_F32 extends ThresholdBlockMinMax<boofcv.struct.image.GrayF32,boofcv.struct.image.InterleavedF32>
ThresholdBlockMinMax for input images of type GrayF32blockHeight, blockWidth, down, minimumSpread, thresholdFromLocalBlocks| Constructor and Description |
|---|
ThresholdBlockMinMax_F32(float minimumSpread,
float scale,
boolean down) |
| Modifier and Type | Method and Description |
|---|---|
void |
computeBlockStatistics(int x0,
int y0,
int width,
int height,
int indexMinMax,
boofcv.struct.image.GrayF32 input,
boofcv.struct.image.InterleavedF32 stats)
Computes the min-max value inside a block
|
ThresholdBlock.BlockProcessor<boofcv.struct.image.GrayF32,boofcv.struct.image.InterleavedF32> |
copy()
Creates a copy.
|
boofcv.struct.image.InterleavedF32 |
createStats() |
void |
thresholdBlock(int blockX0,
int blockY0,
boofcv.struct.image.GrayF32 input,
boofcv.struct.image.InterleavedF32 stats,
boofcv.struct.image.GrayU8 output)
Thresholds all the pixels inside the specified block
|
initpublic ThresholdBlockMinMax_F32(float minimumSpread,
float scale,
boolean down)
public void thresholdBlock(int blockX0,
int blockY0,
boofcv.struct.image.GrayF32 input,
boofcv.struct.image.InterleavedF32 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.InterleavedF32> copy()
ThresholdBlock.BlockProcessorpublic boofcv.struct.image.InterleavedF32 createStats()
public void computeBlockStatistics(int x0,
int y0,
int width,
int height,
int indexMinMax,
boofcv.struct.image.GrayF32 input,
boofcv.struct.image.InterleavedF32 stats)
ThresholdBlock.BlockProcessorx0 - lower bound pixel value of block, x-axisy0 - upper bound pixel value of block, y-axiswidth - Block's widthheight - Block's heightindexMinMax - array index of statistics image pixelinput - Input image