Interface ThresholdBlock.BlockProcessor<T extends boofcv.struct.image.ImageGray<T>,​S extends boofcv.struct.image.ImageBase<S>>

    • Method Detail

      • createStats

        S createStats()
      • init

        void init​(int blockWidth,
                  int blockHeight,
                  boolean thresholdFromLocalBlocks)
      • computeBlockStatistics

        void computeBlockStatistics​(int x0,
                                    int y0,
                                    int width,
                                    int height,
                                    int indexStats,
                                    T input,
                                    S stats)
        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
      • thresholdBlock

        void thresholdBlock​(int blockX0,
                            int blockY0,
                            T input,
                            S stats,
                            boofcv.struct.image.GrayU8 output)
        Thresholds all the pixels inside the specified block
        Parameters:
        blockX0 - Block x-coordinate
        blockY0 - Block y-coordinate
        input - Input image
        output - Output image