|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.media.jai.EnumeratedParameter org.geotools.cv.ColorInterpretation
ColorInterpretation
in the
org.opengis.coverage
package.
Enumeration class specifing the mapping of a band to a color model component.
CV_ColorInterpretation
,
Serialized FormField Summary | |
static ColorInterpretation |
ALPHA_BAND
Deprecated. Bands correspond to RGB color model components. |
static ColorInterpretation |
BLACK_BAND
Deprecated. Bands correspond to CMYK color model. |
static ColorInterpretation |
BLUE_BAND
Deprecated. Bands correspond to RGB color model components. |
static ColorInterpretation |
CYAN_BAND
Deprecated. Bands correspond to CMYK color model. |
static ColorInterpretation |
GRAY_INDEX
Deprecated. Band is an index into a lookup table. |
static ColorInterpretation |
GREEN_BAND
Deprecated. Bands correspond to RGB color model components. |
static ColorInterpretation |
HUE_BAND
Deprecated. Bands correspond to HSL color model. |
static ColorInterpretation |
LIGHTNESS_BAND
Deprecated. Bands correspond to HSL color model. |
static ColorInterpretation |
MAGENTA_BAND
Deprecated. Bands correspond to CMYK color model. |
static ColorInterpretation |
PALETTE_INDEX
Deprecated. Band is a color index into a color table. |
static ColorInterpretation |
RED_BAND
Deprecated. Bands correspond to RGB color model components. |
static ColorInterpretation |
SATURATION_BAND
Deprecated. Bands correspond to HSL color model. |
static ColorInterpretation |
UNDEFINED
Deprecated. Band is not associated with a color model component. |
static ColorInterpretation |
YELLOW_BAND
Deprecated. Bands correspond to CMYK color model. |
Method Summary | |
static ColorInterpretation |
getEnum(org.opengis.coverage.ColorInterpretation value)
Deprecated. Return the enum for the specified value. |
static ColorInterpretation |
getEnum(java.awt.image.ColorModel model,
int band)
Deprecated. Returns the enum for the specified color model and band number. |
static ColorInterpretation |
getEnum(int value)
Deprecated. Returns the enum for the specified value. |
static ColorInterpretation |
getEnum(java.lang.String name)
Deprecated. Returns the enum for the specified name. |
java.lang.String |
getName(java.util.Locale locale)
Deprecated. Returns this enum's name in the specified locale. |
Methods inherited from class javax.media.jai.EnumeratedParameter |
equals, getName, getValue, hashCode, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final ColorInterpretation UNDEFINED
CV_ColorInterpretation.CV_Undefined
public static final ColorInterpretation GRAY_INDEX
CV_ColorInterpretation.CV_GrayIndex
public static final ColorInterpretation PALETTE_INDEX
CV_ColorInterpretation.CV_PaletteIndex
public static final ColorInterpretation RED_BAND
CV_ColorInterpretation.CV_RedBand
public static final ColorInterpretation GREEN_BAND
CV_ColorInterpretation.CV_GreenBand
public static final ColorInterpretation BLUE_BAND
CV_ColorInterpretation.CV_BlueBand
public static final ColorInterpretation ALPHA_BAND
CV_ColorInterpretation.CV_AlphaBand
public static final ColorInterpretation HUE_BAND
CV_ColorInterpretation.CV_HueBand
public static final ColorInterpretation SATURATION_BAND
CV_ColorInterpretation.CV_SaturationBand
public static final ColorInterpretation LIGHTNESS_BAND
CV_ColorInterpretation.CV_LightnessBand
public static final ColorInterpretation CYAN_BAND
CV_ColorInterpretation.CV_CyanBand
public static final ColorInterpretation MAGENTA_BAND
CV_ColorInterpretation.CV_MagentaBand
public static final ColorInterpretation YELLOW_BAND
CV_ColorInterpretation.CV_YellowBand
public static final ColorInterpretation BLACK_BAND
CV_ColorInterpretation.CV_BlackBand
Method Detail |
public static ColorInterpretation getEnum(int value) throws java.util.NoSuchElementException
CV_ColorInterpretation
.
value
- The enum value.
java.util.NoSuchElementException
- if there is no enum for the specified value.public static ColorInterpretation getEnum(java.lang.String name) throws java.util.NoSuchElementException
java.util.NoSuchElementException
public static ColorInterpretation getEnum(org.opengis.coverage.ColorInterpretation value) throws java.util.NoSuchElementException
ColorInterpretation
.
value
- The enum value.
java.util.NoSuchElementException
- if there is no enum for the specified value.public static ColorInterpretation getEnum(java.awt.image.ColorModel model, int band) throws java.lang.IllegalArgumentException
model
- The color model.band
- The band to query.
java.lang.IllegalArgumentException
- if the band number is not in the valid range.public java.lang.String getName(java.util.Locale locale)
locale
- The locale, or null
for the default locale.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |