Package boofcv.alg.segmentation
Class ComputeRegionMeanColor.U8
java.lang.Object
boofcv.alg.segmentation.ComputeRegionMeanColor<GrayU8>
boofcv.alg.segmentation.ComputeRegionMeanColor.U8
- Enclosing class:
- ComputeRegionMeanColor<T extends ImageBase<T>>
Implementation for
GrayU8-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddPixelValue(int index, float[] sum) Image type specific implementation.Methods inherited from class boofcv.alg.segmentation.ComputeRegionMeanColor
process
-
Constructor Details
-
U8
public U8()
-
-
Method Details
-
addPixelValue
protected void addPixelValue(int index, float[] sum) Description copied from class:ComputeRegionMeanColorImage type specific implementation. Adds the pixel value at the specified pixel to sum- Specified by:
addPixelValuein classComputeRegionMeanColor<GrayU8>- Parameters:
index- Pixel index in the image which is being readsum- Where the pixel's value is added to
-