Package boofcv.alg.filter.binary.impl
Class ThresholdBlockMinMax_F32
- java.lang.Object
-
- boofcv.alg.filter.binary.ThresholdBlockMinMax<boofcv.struct.image.GrayF32,boofcv.struct.image.InterleavedF32>
-
- boofcv.alg.filter.binary.impl.ThresholdBlockMinMax_F32
-
- All Implemented Interfaces:
ThresholdBlock.BlockProcessor<boofcv.struct.image.GrayF32,boofcv.struct.image.InterleavedF32>
public class ThresholdBlockMinMax_F32 extends ThresholdBlockMinMax<boofcv.struct.image.GrayF32,boofcv.struct.image.InterleavedF32>
Implementation ofThresholdBlockMinMaxfor input images of typeGrayF32
-
-
Field Summary
-
Fields inherited from class boofcv.alg.filter.binary.ThresholdBlockMinMax
blockHeight, blockWidth, down, minimumSpread, thresholdFromLocalBlocks
-
-
Constructor Summary
Constructors Constructor Description ThresholdBlockMinMax_F32(float minimumSpread, float scale, boolean down)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcomputeBlockStatistics(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 blockThresholdBlock.BlockProcessor<boofcv.struct.image.GrayF32,boofcv.struct.image.InterleavedF32>copy()Creates a copy.boofcv.struct.image.InterleavedF32createStats()voidthresholdBlock(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-
Methods inherited from class boofcv.alg.filter.binary.ThresholdBlockMinMax
init
-
-
-
-
Method Detail
-
thresholdBlock
public void thresholdBlock(int blockX0, int blockY0, boofcv.struct.image.GrayF32 input, boofcv.struct.image.InterleavedF32 stats, boofcv.struct.image.GrayU8 output)Description copied from interface:ThresholdBlock.BlockProcessorThresholds all the pixels inside the specified block- Parameters:
blockX0- Block x-coordinateblockY0- Block y-coordinateinput- Input imageoutput- Output image
-
copy
public ThresholdBlock.BlockProcessor<boofcv.struct.image.GrayF32,boofcv.struct.image.InterleavedF32> copy()
Description copied from interface:ThresholdBlock.BlockProcessorCreates a copy. For concurrent code
-
createStats
public boofcv.struct.image.InterleavedF32 createStats()
-
computeBlockStatistics
public void computeBlockStatistics(int x0, int y0, int width, int height, int indexMinMax, boofcv.struct.image.GrayF32 input, boofcv.struct.image.InterleavedF32 stats)Description copied from interface:ThresholdBlock.BlockProcessorComputes the min-max value inside a block- Parameters:
x0- 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
-
-