|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectAbstractMetadata
ModifiableMetadata
MetadataEntity
DefaultRangeDimension
DefaultBand
@ThreadSafe public class DefaultBand
Range of wavelengths in the electromagnetic spectrum.
Geotk extension
The Band interface defined by ISO 19115-2 is specific to measurements in
electromagnetic spectrum. For the needs of Image I/O, an additional interface -
SampleDimension - has been defined with
a subset of the Band API but without the restriction to wavelengths.
| metadata/geotk-metadata (download) | View source code for this class |
| Field Summary |
|---|
| Fields inherited from class MetadataEntity |
|---|
identifiers |
| Fields inherited from class AbstractMetadata |
|---|
LOGGER |
| Constructor Summary | |
|---|---|
DefaultBand()
Constructs an initially empty band. |
|
DefaultBand(Band source)
Constructs a metadata entity initialized with the values from the specified metadata. |
|
| Method Summary | |
|---|---|
static DefaultBand |
castOrCopy(Band object)
Returns a Geotk metadata implementation with the same values than the given arbitrary implementation. |
BandDefinition |
getBandBoundaryDefinition()
Returns the designation of criterion for defining maximum and minimum wavelengths for a spectral band. |
Integer |
getBitsPerValue()
Returns the maximum number of significant bits in the uncompressed representation for the value in each band of each pixel. |
PolarizationOrientation |
getDetectedPolarization()
Polarization of the radiation detected. |
Double |
getMaxValue()
Returns the longest wavelength that the sensor is capable of collecting within a designated band. |
Double |
getMinValue()
Returns the shortest wavelength that the sensor is capable of collecting within a designated band. |
Double |
getNominalSpatialResolution()
Returns the smallest distance between which separate points can be distinguished, as specified in instrument design. |
Double |
getOffset()
Returns the physical value corresponding to a cell value of zero. |
Double |
getPeakResponse()
Returns the wavelength at which the response is the highest. |
Double |
getScaleFactor()
Returns the scale factor which has been applied to the cell value. |
Integer |
getToneGradation()
Returns the number of discrete numerical values in the grid data. |
TransferFunctionType |
getTransferFunctionType()
Returns type of transfer function to be used when scaling a physical value for a given element. |
PolarizationOrientation |
getTransmittedPolarization()
Polarization of the radiation transmitted. |
Unit<Length> |
getUnits()
Returns the units in which sensor wavelengths are expressed. |
void |
setBandBoundaryDefinition(BandDefinition newValue)
Sets designation of criterion for defining maximum and minimum wavelengths for a spectral band. |
void |
setBitsPerValue(Integer newValue)
Sets the maximum number of significant bits in the uncompressed representation for the value in each band of each pixel. |
void |
setDetectedPolarization(PolarizationOrientation newValue)
Sets the polarization of the radiation detected. |
void |
setMaxValue(Double newValue)
Sets the longest wavelength that the sensor is capable of collecting within a designated band. |
void |
setMinValue(Double newValue)
Sets the shortest wavelength that the sensor is capable of collecting within a designated band. |
void |
setNominalSpatialResolution(Double newValue)
Sets the smallest distance between which separate points can be distinguished, as specified in instrument design. |
void |
setOffset(Double newValue)
Sets the physical value corresponding to a cell value of zero. |
void |
setPeakResponse(Double newValue)
Sets the wavelength at which the response is the highest. |
void |
setScaleFactor(Double newValue)
Sets the scale factor which has been applied to the cell value. |
void |
setToneGradation(Integer newValue)
Sets the number of discrete numerical values in the grid data. |
void |
setTransferFunctionType(TransferFunctionType newValue)
Sets the type of transfer function to be used when scaling a physical value for a given element. |
void |
setTransmittedPolarization(PolarizationOrientation newValue)
Sets the polarization of the radiation transmitted. |
void |
setUnits(Unit<Length> newValue)
Sets the units in which sensor wavelengths are expressed. |
| Methods inherited from class DefaultRangeDimension |
|---|
castOrCopy, getDescriptor, getSequenceIdentifier, setDescriptor, setSequenceIdentifier |
| Methods inherited from class MetadataEntity |
|---|
getIdentifier, getIdentifierMap, getIdentifiers, getStandard |
| Methods inherited from class ModifiableMetadata |
|---|
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, prune, unmodifiable |
| Methods inherited from class AbstractMetadata |
|---|
asMap, asTree, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, parse, toString |
| Methods inherited from class Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface RangeDimension |
|---|
getDescriptor, getSequenceIdentifier |
| Constructor Detail |
|---|
public DefaultBand()
public DefaultBand(Band source)
source - The metadata to copy, or null if none.| Method Detail |
|---|
public static DefaultBand castOrCopy(Band object)
null, then this method returns null.
Otherwise if the given object is already a Geotk implementation, then the given object is
returned unchanged. Otherwise a new Geotk implementation is created and initialized to the
attribute values of the given object, using a shallow copy operation
(i.e. attributes are not cloned).
object - The object to get as a Geotk implementation, or null if none.
null if the argument was null.public Double getMaxValue()
null if unspecified.
getMaxValue in interface Bandpublic void setMaxValue(Double newValue)
null if unspecified.
newValue - The new longest wavelength.public Double getMinValue()
getMinValue in interface Bandpublic void setMinValue(Double newValue)
newValue - The new shortest wavelength.public Unit<Length> getUnits()
getUnits in interface Bandpublic void setUnits(Unit<Length> newValue)
newValue - The new units.public Double getPeakResponse()
null if unspecified.
getPeakResponse in interface Bandpublic void setPeakResponse(Double newValue)
newValue - The new peak response.@ValueRange(minimum=1.0) public Integer getBitsPerValue()
null if unspecified.
getBitsPerValue in interface Bandpublic void setBitsPerValue(Integer newValue)
newValue - The new number of bits per value.@ValueRange(minimum=0.0) public Integer getToneGradation()
null if unspecified.
getToneGradation in interface Bandpublic void setToneGradation(Integer newValue)
newValue - The new tone gradation.public Double getScaleFactor()
null if unspecified.
getScaleFactor in interface Bandpublic void setScaleFactor(Double newValue)
newValue - The new scale factor.public Double getOffset()
null if unspecified.
getOffset in interface Bandpublic void setOffset(Double newValue)
newValue - The new offset.public BandDefinition getBandBoundaryDefinition()
null if unspecified.
getBandBoundaryDefinition in interface Bandpublic void setBandBoundaryDefinition(BandDefinition newValue)
newValue - The new band definition.
@ValueRange(minimum=0.0,
isMinIncluded=false)
public Double getNominalSpatialResolution()
null if unspecified.
getNominalSpatialResolution in interface Bandpublic void setNominalSpatialResolution(Double newValue)
newValue - The new nominal spatial resolution.public TransferFunctionType getTransferFunctionType()
null if unspecified.
getTransferFunctionType in interface Bandpublic void setTransferFunctionType(TransferFunctionType newValue)
newValue - The new transfer function value.public PolarizationOrientation getTransmittedPolarization()
null if unspecified.
getTransmittedPolarization in interface Bandpublic void setTransmittedPolarization(PolarizationOrientation newValue)
newValue - The new transmitted polarization.public PolarizationOrientation getDetectedPolarization()
null if unspecified.
getDetectedPolarization in interface Bandpublic void setDetectedPolarization(PolarizationOrientation newValue)
newValue - The new detected polarization.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||