Class ComputeRegionMeanColor.U8

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

public static class ComputeRegionMeanColor.U8 extends ComputeRegionMeanColor<GrayU8>
Implementation for GrayU8
  • Constructor Details

    • U8

      public U8()
  • 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<GrayU8>
      Parameters:
      index - Pixel index in the image which is being read
      sum - Where the pixel's value is added to