Revision 6314
org.gvsig.raster/branches/org.gvsig.raster.2.4/org.gvsig.raster/org.gvsig.raster.lib/org.gvsig.raster.lib.legend/org.gvsig.raster.lib.legend.api/src/main/java/org/gvsig/raster/lib/legend/api/ColorInterpretation.java | ||
---|---|---|
19 | 19 |
public static final String RED_BLUE_BAND = "Red_Blue"; |
20 | 20 |
public static final String GREEN_BLUE_BAND = "Green_Blue"; |
21 | 21 |
|
22 |
public static final String HUE_BAND = "Hue"; |
|
23 |
public static final String SATURATION_BAND = "Saturation"; |
|
24 |
public static final String LIGHTNESS_BAND = "Lightness"; |
|
25 |
|
|
26 |
public static final String CYAN_BAND = "Cyan"; |
|
27 |
public static final String MAGENTA_BAND = "Magenta"; |
|
28 |
public static final String YELLOW_BAND = "Yellow"; |
|
29 |
public static final String BLACK_BAND = "Black"; |
|
30 |
|
|
31 |
public static final String YCBCR_Y_BAND = "YCbCr_Y"; |
|
32 |
public static final String YCBCR_CB_BAND = "YCbCr_Cb"; |
|
33 |
public static final String YCBCR_CR_BAND = "YCbCr_Cr"; |
|
34 |
|
|
22 | 35 |
public static final String PALETTE_BAND = "Palette"; |
23 | 36 |
|
24 | 37 |
public static final String UNDEFINED_BAND = "Undefined"; |
... | ... | |
29 | 42 |
public static final String ARGB = "ARGB"; |
30 | 43 |
public static final String GRAYSCALE = "GRAYSCALE"; |
31 | 44 |
public static final String PALETTE = "PALETTE"; |
45 |
public static final String HSL = "HSL"; |
|
46 |
public static final String CMYK = "CMYK"; |
|
47 |
public static final String YCBCR = "YCBCR"; |
|
32 | 48 |
|
33 | 49 |
/** |
34 | 50 |
* Set color interpretation value to band |
... | ... | |
46 | 62 |
public int length(); |
47 | 63 |
|
48 | 64 |
/** |
49 |
* @return Returns true if the values Red, Green and Blue are
|
|
65 |
* @return Returns true if the color values are
|
|
50 | 66 |
* assigned to any band of the image or the values Gray or Palette |
51 | 67 |
* are |
52 | 68 |
* assigned. |
... | ... | |
83 | 99 |
public boolean isPalette(); |
84 | 100 |
|
85 | 101 |
/** |
102 |
* @return Returns true if the color interpretation is HSL |
|
103 |
*/ |
|
104 |
public boolean isHSL(); |
|
105 |
|
|
106 |
/** |
|
107 |
* @return Returns true if the color interpretation is CMYK |
|
108 |
*/ |
|
109 |
public boolean isCMYK(); |
|
110 |
|
|
111 |
/** |
|
112 |
* @return Returns true if the color interpretation YCBCR |
|
113 |
*/ |
|
114 |
public boolean isYCBCR(); |
|
115 |
|
|
116 |
/** |
|
86 | 117 |
* @param band |
87 |
* @return Returns true if the selected band has red, green or blue
|
|
118 |
* @return Returns true if the selected band has color
|
|
88 | 119 |
* interpretation |
89 | 120 |
* and false otherwise |
90 | 121 |
*/ |
Also available in: Unified diff