class Band extends java.lang.Object
A Band of Raster Data that represents a single band/channel/layer.
Type | Name and description |
---|---|
SampleDimension |
dim The wrapped GeoTools SampleDimension |
Constructor and description |
---|
Band(SampleDimension dim) Create a new Band wrapping a GeoTools SampleDimension |
Band(java.lang.String description, double min, double max) Create a new Band with minimum and maximum values |
Band(java.lang.String description, double min, double max, double noValue) Create a new Band with minimum, maximum, and no data values |
Type Params | Return Type | Name and description |
---|---|---|
|
static Builder |
builder() Create a new Band Builder |
|
java.lang.String |
getDescription() Get the Band's description |
|
double |
getMax() Get the maximum value |
|
double |
getMin() Get the minimum value |
|
java.util.List<java.lang.Double> |
getNoData() Get a List of no data values |
|
double |
getOffset() Get the offset |
|
double |
getScale() Get the scale |
|
java.lang.String |
getType() Get the type of data |
|
Unit |
getUnit() Get the unit information |
|
boolean |
isNoData(double value) Check whether the value is a NODATA value |
|
java.lang.String |
toString() Get the string representation |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The wrapped GeoTools SampleDimension
Create a new Band wrapping a GeoTools SampleDimension
dim
- The wrapped GeoTools SampleDimensionCreate a new Band with minimum and maximum values
description
- The Band's descriptionmin
- The minimum valuemax
- The maximum valueCreate a new Band with minimum, maximum, and no data values
description
- The Band's descriptionmin
- The minimum valuemax
- The maximum valuenoValue
- The no data valueCreate a new Band Builder
Get the Band's description
Get the maximum value
Get the minimum value
Get a List of no data values
Get the offset
Get the scale
Get the type of data
Get the unit information
Check whether the value is a NODATA value
value
- The valueGet the string representation
Groovy Documentation