Documentation of 'boofcv.alg.segmentation.ComputeRegionMeanColor' Java class
ComputeRegionMeanColor
boofcv.alg.segmentation

Class ComputeRegionMeanColor<T extends ImageBase>

    • Constructor Detail

      • ComputeRegionMeanColor

        public ComputeRegionMeanColor(int numBands)
        Constructor
        Parameters:
        numBands - Number of bands in the color image
    • Method Detail

      • process

        public void process(T image,
                            GrayS32 pixelToRegion,
                            GrowQueue_I32 regionMemberCount,
                            FastQueue<float[]> regionColor)
        Compute the average color for each region
        Parameters:
        image - Input image
        pixelToRegion - Conversion between pixel to region index
        regionMemberCount - List which stores the number of members for each region
        regionColor - (Output) Storage for mean color throughout the region. Internal array must be fully declared.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.