|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.ac.sbg.cosy.soccerbot.recognition.LabColor
public class LabColor
Library for Lab Color conversion / information extraction
Constructor Summary | |
---|---|
LabColor()
|
Method Summary | |
---|---|
static int |
distance(double[] lab1,
double[] lab2)
Returns the distance of two Lab values |
static double |
get_a(double[] color)
Extracts the a channel value out of an argb int value |
static double |
get_b(double[] color)
Extracts the b channel value out of an argb int value |
static double |
get_L(double[] color)
Extracts the L channel value out of an argb int value |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LabColor()
Method Detail |
---|
public static double get_L(double[] color)
color
- lab-color value in 3x64-bit lab format (0xLLLLLLLLLLLLLLLLAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBB)
public static double get_a(double[] color)
color
- lab-color value in 3x64-bit lab format (0xLLLLLLLLLLLLLLLLAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBB)
public static double get_b(double[] color)
color
- lab-color value in 3x64-bit lab format (0xLLLLLLLLLLLLLLLLAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBB)
public static int distance(double[] lab1, double[] lab2)
lab1
- first lab color operandlab2
- second lab color operand
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |