Class ThresholdBlockMean_F32

java.lang.Object
boofcv.alg.filter.binary.ThresholdBlockMean<GrayF32>
boofcv.alg.filter.binary.impl.ThresholdBlockMean_F32
All Implemented Interfaces:
ThresholdBlock.BlockProcessor<GrayF32,​GrayF32>

public class ThresholdBlockMean_F32
extends ThresholdBlockMean<GrayF32>
Implementation of ThresholdBlockMean for input images of type GrayU8
  • Constructor Details

    • ThresholdBlockMean_F32

      public ThresholdBlockMean_F32​(double scale, boolean down)
  • Method Details

    • thresholdBlock

      public void thresholdBlock​(int blockX0, int blockY0, GrayF32 input, GrayF32 stats, GrayU8 output)
      Description copied from interface: ThresholdBlock.BlockProcessor
      Thresholds all the pixels inside the specified block
      Parameters:
      blockX0 - Block x-coordinate
      blockY0 - Block y-coordinate
      input - Input image
      output - Output image
    • copy

      Description copied from interface: ThresholdBlock.BlockProcessor
      Creates a copy. For concurrent code
    • createStats

      public GrayF32 createStats()
    • computeBlockStatistics

      public void computeBlockStatistics​(int x0, int y0, int width, int height, int indexStats, GrayF32 input, GrayF32 stats)
      Description copied from interface: ThresholdBlock.BlockProcessor
      Computes the min-max value inside a block
      Parameters:
      x0 - lower bound pixel value of block, x-axis
      y0 - upper bound pixel value of block, y-axis
      width - Block's width
      height - Block's height
      indexStats - array index of statistics image pixel
      input - Input image