Package com.luciad.format.nitf
Enum Class ELcdNITFBandRepresentation
- All Implemented Interfaces:
Serializable
,Comparable<ELcdNITFBandRepresentation>
,Constable
Enumeration describing the NITF image band representations
- Since:
- 11.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptiontoBandSemantics
(int aTransferType, int aComponentBits, ColorModel aPalette, Number aNoDataValue) Create equivalent band semantics for this band representation.static ELcdNITFBandRepresentation
Returns the enum constant of this class with the specified name.static ELcdNITFBandRepresentation[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LU
Lookup -
R
Red -
G
Green -
B
Blue -
M
Monochrome -
Y
Luminance -
Cb
Chrominance (blue) -
Cr
Chrominance (red) -
UNKNOWN
Unknown band
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
toBandSemantics
public ALcdBandSemantics toBandSemantics(int aTransferType, int aComponentBits, ColorModel aPalette, Number aNoDataValue) Create equivalent band semantics for this band representation.- Parameters:
aTransferType
- the transfer type used to represent data elements. SeeDataBuffer
.aComponentBits
- the number of significant bits used to represent the band.aPalette
- the palette used for lookup (LU) bands.aNoDataValue
- the no data (default) value for the band, if any.- Returns:
- semantics representing this band with the given transfer parameters.
-