org.concord.biologica.datasupport
Class ColorUtil
java.lang.Object
|
+--org.concord.biologica.datasupport.ColorUtil
- public class ColorUtil
- extends java.lang.Object
Method Summary |
static int |
HSBtoRGB(float h,
float s,
float v)
|
static void |
HSL2RGB(int h,
int s,
int l,
int[] rgb)
|
static void |
HSV2RGB(int h,
int s,
int v,
int[] rgb)
|
static void |
main(java.lang.String[] args)
|
static void |
RGB2HSL(int r,
int g,
int b,
int[] hsl)
|
static void |
RGB2HSV(int r,
int g,
int b,
int[] hsv)
|
static float[] |
RGBtoHSB(int r,
int g,
int b,
float[] hsb)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColorUtil
public ColorUtil()
RGB2HSV
public static void RGB2HSV(int r,
int g,
int b,
int[] hsv)
RGB2HSL
public static void RGB2HSL(int r,
int g,
int b,
int[] hsl)
HSL2RGB
public static void HSL2RGB(int h,
int s,
int l,
int[] rgb)
HSV2RGB
public static void HSV2RGB(int h,
int s,
int v,
int[] rgb)
RGBtoHSB
public static float[] RGBtoHSB(int r,
int g,
int b,
float[] hsb)
HSBtoRGB
public static int HSBtoRGB(float h,
float s,
float v)
main
public static void main(java.lang.String[] args)