Package boofcv.alg.segmentation
Class ComputeRegionMeanColor.PL_F32
java.lang.Object
boofcv.alg.segmentation.ComputeRegionMeanColor<Planar<GrayF32>>
boofcv.alg.segmentation.ComputeRegionMeanColor.PL_F32
- Enclosing class:
- ComputeRegionMeanColor<T extends ImageBase<T>>
Implementation for
Planar
-
Nested Class Summary
Nested classes/interfaces inherited from class boofcv.alg.segmentation.ComputeRegionMeanColor
ComputeRegionMeanColor.F32, ComputeRegionMeanColor.PL_F32, ComputeRegionMeanColor.PL_U8, ComputeRegionMeanColor.U8
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addPixelValue
(int index, float[] sum) Image type specific implementation.Methods inherited from class boofcv.alg.segmentation.ComputeRegionMeanColor
process
-
Constructor Details
-
PL_F32
public PL_F32(int numBands)
-
-
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 classComputeRegionMeanColor<Planar<GrayF32>>
- Parameters:
index
- Pixel index in the image which is being readsum
- Where the pixel's value is added to
-