Class ComputeRegionMeanColor.F32

java.lang.Object
boofcv.alg.segmentation.ComputeRegionMeanColor<GrayF32>
boofcv.alg.segmentation.ComputeRegionMeanColor.F32
Enclosing class:
ComputeRegionMeanColor<T extends ImageBase<T>>

public static class ComputeRegionMeanColor.F32
extends ComputeRegionMeanColor<GrayF32>
Implementation for GrayF32
  • Constructor Details

    • F32

      public F32()
  • Method Details

    • addPixelValue

      protected void addPixelValue​(int index, float[] sum)
      Description copied from class: ComputeRegionMeanColor
      Image type specific implementation. Adds the pixel value at the specified pixel to sum
      Specified by:
      addPixelValue in class ComputeRegionMeanColor<GrayF32>
      Parameters:
      index - Pixel index in the image which is being read
      sum - Where the pixel's value is added to