|
Copyright 2012-04-26 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.monte.media.image.ColorModels
public class ColorModels
Utility methods for ColorModels.
| Method Summary | |
|---|---|
static void |
RGBtoYCC(float[] rgb,
float[] ycc)
RGB in the range [0,1] to YCC in the range Y=[0,1], Cb=[-0.5,0.5], Cr=[-0.5,0.5] |
static void |
RGBtoYCC(int[] rgb,
int[] ycc)
RGB 8-bit per channel to YCC 16-bit per channel. |
static void |
RGBtoYCC(int rgb,
int[] ycc)
RGB 8-bit per channel to YCC 16-bit per channel. |
static void |
RGBtoYIQ(float[] rgb,
float[] yiq)
RGB in the range [0,1] to YIQ in the range Y in [0,1], I in [-0.5957,0.5957], Q in [-0.5226,0.5226]. |
static void |
RGBtoYUV(float[] rgb,
float[] yuv)
RGB in the range [0,1] to YUV in the range Y=[0,1], U=[-0.5,0.5], V=[-0.5,0.5] |
static java.lang.String |
toString(java.awt.image.ColorModel cm)
Returns a descriptive string for the provided color model. |
static void |
YCCtoRGB(float[] ycc,
float[] rgb)
YCC in the range Y=[0,1], Cb=[-0.5,0.5], Cr=[-0.5,0.5] to RGB in the range [0,1] |
static int |
YCCtoRGB(int[] ycc)
YCC 16-bit per channel to RGB 8-bit per channel. |
static void |
YCCtoRGB(int[] ycc,
int[] rgb)
YCC 16-bit per channel to RGB 8-bit per channel. |
static void |
YIQtoRGB(float[] yiq,
float[] rgb)
YIQ in the range Y in [0,1], I in [-0.5957,0.5957], Q in [-0.5226,0.5226] to RGB in the range [0,1] |
static void |
YUVtoRGB(float[] yuv,
float[] rgb)
YUV in the range Y=[0,1], U=[-0.5,0.5], V=[-0.5,0.5] to RGB in the range [0,1] |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.String toString(java.awt.image.ColorModel cm)
public static void RGBtoYCC(float[] rgb,
float[] ycc)
public static void YCCtoRGB(float[] ycc,
float[] rgb)
public static void RGBtoYCC(int[] rgb,
int[] ycc)
public static void RGBtoYCC(int rgb,
int[] ycc)
public static void RGBtoYUV(float[] rgb,
float[] yuv)
public static void YUVtoRGB(float[] yuv,
float[] rgb)
public static void YCCtoRGB(int[] ycc,
int[] rgb)
public static int YCCtoRGB(int[] ycc)
public static void RGBtoYIQ(float[] rgb,
float[] yiq)
http://en.wikipedia.org/wiki/YIQ
public static void YIQtoRGB(float[] yiq,
float[] rgb)
http://en.wikipedia.org/wiki/YIQ
|
Copyright 2012-04-26 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||