Class BaseMeanCalculator
- java.lang.Object
-
- edu.gsu.cs.dmlab.imageproc.imageparam.BaseMeanCalculator
-
- Direct Known Subclasses:
KurtosisParamCalculator
,MeanParamCalculator
,RelativeSmoothnessParamCalculator
,SkewnessParamCalculator
,StdDeviationParamCalculator
,TContrastParamCalculator
public abstract class BaseMeanCalculator extends Object
- Author:
- Azim Ahmadzadeh, updated by Dustin Kempton, Data Mining Lab, Georgia State University
-
-
Constructor Summary
Constructors Constructor Description BaseMeanCalculator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected double[][]
calculateMeanParameter(double[][] image, IMeasures.PatchSize patchSize)
This method calculates the mean intensity color for each patch of the given image.
-
-
-
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 imagepatchSize
- 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.
-
-