org.neuroph.imgrec
Class FractionHSLData
- java.lang.Object
-
- org.neuroph.imgrec.FractionHSLData
-
public class FractionHSLData extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description FractionHSLData(java.awt.image.BufferedImage img)FractionHSLData(Image img)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidfillFlattenedHSLValues()voidfillFlattenedHueValues()double[]getFlattenedHSLValues()double[][]getHueValues()double[][]getLightnessValues()Returns lightness component for the entire imagedouble[][]getSaturationValues()Returns saturation component for the entire image
-
-
-
Constructor Detail
-
FractionHSLData
public FractionHSLData(java.awt.image.BufferedImage img)
-
FractionHSLData
public FractionHSLData(Image img)
-
-
Method Detail
-
fillFlattenedHueValues
public void fillFlattenedHueValues()
-
fillFlattenedHSLValues
public void fillFlattenedHSLValues()
-
getHueValues
public double[][] getHueValues()
-
getSaturationValues
public double[][] getSaturationValues()
Returns saturation component for the entire image- Returns:
- 2d array in the form: [row][column]
-
getLightnessValues
public double[][] getLightnessValues()
Returns lightness component for the entire image- Returns:
- 2d array in the form: [row][column]
-
getFlattenedHSLValues
public double[] getFlattenedHSLValues()
-
-
DMelt 3.0 © DataMelt by jWork.ORG