|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjass.utils.ColorUtils
public class ColorUtils
Color utils
| Constructor Summary | |
|---|---|
ColorUtils()
|
|
| Method Summary | |
|---|---|
static double[] |
Lab2lch(double[] lab)
Convert L*a*b* to LCH (normalized luminance, chromaticity, hue;) Assume -100 |
static void |
main(java.lang.String[] args)
|
static double[] |
Rgb2lab(double[] rgb)
Convert rgb to L*a*b* |
static double[] |
Rgb2lch(double[] rgb)
Convert RGB to LCH (normalized luminance, chromaticity, hue) |
static float[] |
Rgb2lch(float[] rgb_f)
Convert RGB to LCH (normalized luminance, chromaticity, hue) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ColorUtils()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
public static double[] Rgb2lab(double[] rgb)
rgb - double[3] of rgb values 0-1
public static double[] Lab2lch(double[] lab)
lab - double[3] of L*a*b*
public static double[] Rgb2lch(double[] rgb)
rgb - double[3] of rgb
public static float[] Rgb2lch(float[] rgb_f)
rgb_f - float[3] of rgb
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||