|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object FeatureExtractor.Utils.HSV
public class HSV
Class implementing conversions between HSV & RGB
Constructor Summary | |
---|---|
HSV()
|
Method Summary | |
---|---|
static double[] |
HSV2RGB(double h,
double s,
double v)
Converts HSV values to RGB values. |
static double[] |
RGB2HSV(double r,
double g,
double b)
Converts RGB values to HSV values. |
static HSVImage |
toHSV(javax.media.jai.PlanarImage image)
Creates the HSV matrix from a given image. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HSV()
Method Detail |
---|
public static HSVImage toHSV(javax.media.jai.PlanarImage image)
image
- Image to be converted.
HSVImage
containing the three HSV matrices.public static double[] RGB2HSV(double r, double g, double b)
r
- R(ed) component.g
- G(reen) component.b
- B(lue) component.
public static double[] HSV2RGB(double h, double s, double v)
h
- H(ue) value.s
- S(aturation) value.v
- V(alue) (intensity) value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |