Class BaseMeanCalculator

    • Constructor Detail

      • BaseMeanCalculator

        public BaseMeanCalculator()
    • Method Detail

      • calculateMeanParameter

        protected double[][] calculateMeanParameter​(double[][] image,
                                                    IMeasures.PatchSize patchSize)
        This method calculates the mean intensity color for each patch of the given image.
        Parameters:
        image - a 2D matrix representing the given image
        patchSize - the size of each square patch for which the mean value should be calculated.
        Returns:
        a 2D array of the mean intensity color of each patch.