GeoAPI 1.0
Build 2004-05-18

org.opengis.coverage
Class ColorInterpretation

Object
  extended by CodeList
      extended by ColorInterpretation
All Implemented Interfaces:
Serializable

public final class ColorInterpretation
extends CodeList

Specifies the mapping of a band to a color model component.

Version:
Grid Coverage specification 1.0
Author:
OpenGIS® consortium
See Also:
PaletteInterpretation, SampleDimension, Serialized Form
UML identifier (code list): CV_ColorInterpretation

Field Summary
static ColorInterpretation ALPHA_BAND
          Alpha Band for the RGB color model components.
static ColorInterpretation BLACK_BAND
          Black Band for the CMYK color model.
static ColorInterpretation BLUE_BAND
          Blue Band for the RGB color model components.
static ColorInterpretation CYAN_BAND
          Cyan Band for the CMYK color model.
static ColorInterpretation GRAY_INDEX
          Band is an index into a lookup table.
static ColorInterpretation GREEN_BAND
          Greend Band for the RGB color model components.
static ColorInterpretation HUE_BAND
          Hue Band for the HLS color model.
static ColorInterpretation LIGHTNESS_BAND
          Lightness Band for the HLS color model.
static ColorInterpretation MAGENTA_BAND
          Magenta Band for the CMYK color model.
static ColorInterpretation PALETTE_INDEX
          Band is a color index into a color table.
static ColorInterpretation RED_BAND
          Red Band for the RGB color model components.
static ColorInterpretation SATURATION_BAND
          Saturation Band for the HLS color model.
static ColorInterpretation UNDEFINED
          Band is not associated with a color model component.
static ColorInterpretation YELLOW_BAND
          Yellow Band for the CMYK color model.
 
Constructor Summary
ColorInterpretation(String name)
          Constructs an enum with the given name.
 
Method Summary
 ColorInterpretation[] family()
          Returns the list of enumerations of the same kind than this enum.
static ColorInterpretation[] values()
          Returns the list of ColorInterpretations.
 
Methods inherited from class CodeList
name, ordinal, readResolve, toString
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNDEFINED

public static final ColorInterpretation UNDEFINED
Band is not associated with a color model component.

UML identifier (conditional attribute): CV_Undefined

GRAY_INDEX

public static final ColorInterpretation GRAY_INDEX
Band is an index into a lookup table.

See Also:
PALETTE_INDEX, PaletteInterpretation.GRAY
UML identifier (conditional attribute): CV_GrayIndex

PALETTE_INDEX

public static final ColorInterpretation PALETTE_INDEX
Band is a color index into a color table.

See Also:
GRAY_INDEX
UML identifier (conditional attribute): CV_PaletteIndex

RED_BAND

public static final ColorInterpretation RED_BAND
Red Band for the RGB color model components.

See Also:
GREEN_BAND, BLUE_BAND, ALPHA_BAND, PaletteInterpretation.RGB
UML identifier (conditional attribute): CV_RedBand

GREEN_BAND

public static final ColorInterpretation GREEN_BAND
Greend Band for the RGB color model components.

See Also:
RED_BAND, BLUE_BAND, ALPHA_BAND, PaletteInterpretation.RGB
UML identifier (conditional attribute): CV_GreenBand

BLUE_BAND

public static final ColorInterpretation BLUE_BAND
Blue Band for the RGB color model components.

See Also:
RED_BAND, GREEN_BAND, ALPHA_BAND, PaletteInterpretation.RGB
UML identifier (conditional attribute): CV_BlueBand

ALPHA_BAND

public static final ColorInterpretation ALPHA_BAND
Alpha Band for the RGB color model components. Alpha band may or may not be present.

See Also:
RED_BAND, GREEN_BAND, BLUE_BAND, PaletteInterpretation.RGB
UML identifier (conditional attribute): CV_AlphaBand

HUE_BAND

public static final ColorInterpretation HUE_BAND
Hue Band for the HLS color model.

See Also:
SATURATION_BAND, LIGHTNESS_BAND, PaletteInterpretation.HLS
UML identifier (conditional attribute): CV_HueBand

SATURATION_BAND

public static final ColorInterpretation SATURATION_BAND
Saturation Band for the HLS color model.

See Also:
HUE_BAND, LIGHTNESS_BAND, PaletteInterpretation.HLS
UML identifier (conditional attribute): CV_SaturationBand

LIGHTNESS_BAND

public static final ColorInterpretation LIGHTNESS_BAND
Lightness Band for the HLS color model.

See Also:
HUE_BAND, SATURATION_BAND, PaletteInterpretation.HLS
UML identifier (conditional attribute): CV_LightnessBand

CYAN_BAND

public static final ColorInterpretation CYAN_BAND
Cyan Band for the CMYK color model.

See Also:
MAGENTA_BAND, YELLOW_BAND, BLACK_BAND, PaletteInterpretation.CMYK
UML identifier (conditional attribute): CV_CyanBand

MAGENTA_BAND

public static final ColorInterpretation MAGENTA_BAND
Magenta Band for the CMYK color model.

See Also:
CYAN_BAND, YELLOW_BAND, BLACK_BAND, PaletteInterpretation.CMYK
UML identifier (conditional attribute): CV_MagentaBand

YELLOW_BAND

public static final ColorInterpretation YELLOW_BAND
Yellow Band for the CMYK color model.

See Also:
CYAN_BAND, MAGENTA_BAND, BLACK_BAND, PaletteInterpretation.CMYK
UML identifier (conditional attribute): CV_YellowBand

BLACK_BAND

public static final ColorInterpretation BLACK_BAND
Black Band for the CMYK color model.

See Also:
CYAN_BAND, MAGENTA_BAND, YELLOW_BAND, PaletteInterpretation.CMYK
UML identifier (conditional attribute): CV_BlackBand
Constructor Detail

ColorInterpretation

public ColorInterpretation(String name)
Constructs an enum with the given name. The new enum is automatically added to the list returned by values().

Parameters:
name - The enum name. This name must not be in use by an other enum of this type.
Method Detail

values

public static ColorInterpretation[] values()
Returns the list of ColorInterpretations.


family

public ColorInterpretation[] family()
Returns the list of enumerations of the same kind than this enum.

Specified by:
family in class CodeList

GeoAPI 1.0
Build 2004-05-18

Symbols, terms and definitions
Copyright OpenGIS® Consortium