Class ThresholdBlockMean_F32

    • Constructor Detail

      • ThresholdBlockMean_F32

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

      • thresholdBlock

        public void thresholdBlock​(int blockX0,
                                   int blockY0,
                                   boofcv.struct.image.GrayF32 input,
                                   boofcv.struct.image.GrayF32 stats,
                                   boofcv.struct.image.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
      • createStats

        public boofcv.struct.image.GrayF32 createStats()
      • computeBlockStatistics

        public void computeBlockStatistics​(int x0,
                                           int y0,
                                           int width,
                                           int height,
                                           int indexStats,
                                           boofcv.struct.image.GrayF32 input,
                                           boofcv.struct.image.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