public class SubLayerInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BIN_TYPE_EXPLICIT
A string indicating EXPLICIT value bin function definition.
|
static java.lang.String |
BIN_TYPE_LINEAR
A string indicating LINEAR bin function definition.
|
static java.lang.String |
BIN_TYPE_LOGARITHM
A string indicating LOGARITHM bin function definition.
|
Modifier and Type | Method and Description |
---|---|
void |
addNODATARange(java.lang.Double min, java.lang.Double max)
Adds a new NODATA range.
|
void |
addNODATAValue(double nodata)
Adds a NODATA value.
|
void |
deleteNODATARange(java.lang.Double min, java.lang.Double max)
Removes a new NODATA range.
|
void |
deleteNODATAValue(double nodata)
Removes a NODATA value.
|
java.util.Vector |
getBinFunctionData()
Returns the bin function data as a vector, which stores four elements in the following order: totalSegNumber(Integer),firstSegNumber(Integer),Extent_Min(Double),Extent_Max(Double)
|
java.lang.String |
getBinFunctionTableName()
Returns the bin function table name.
|
java.lang.String |
getBinFunctionType()
Returns the bin function type.
|
GeorColormap |
getColormap()
Returns a georColormap instance which is constructed by colormap data associated with the specific layer of the current JGeoRaster object.
|
java.lang.String |
getColormapTableName()
Returns the color map table name.
|
java.util.Vector |
getDescription()
Returns the description.
|
GeorGrayscale |
getGrayscale()
Returns the gray scale as a GeorGrayscale object.
|
java.lang.String |
getGrayscaleTableName()
Returns the gray scale table name.
|
GeorHistogram |
getHistogram()
Returns the histogram as a GeorHistogram object.
|
java.lang.String |
getHistogramTableName()
Returns the histogram table name.
|
java.lang.Integer |
getLayerDimensionOrdinate()
Returns the layer dimension ordinate.
|
java.lang.String |
getLayerID()
Returns the layer ID.
|
java.lang.Integer |
getLayerNumber()
Returns the layer number.
|
java.lang.Double |
getMax()
Returns the statistics maximum value.
|
java.lang.Double |
getMean()
Returns the statistics mean value.
|
java.lang.Double |
getMedian()
Returns the statistics median value.
|
java.lang.Double |
getMin()
Returns the statistics minimum value.
|
java.lang.Double |
getModeValue()
Returns the statistics mode value.
|
java.lang.Boolean |
getNODATAMask()
Returns true if NODATA is mask.
|
java.util.Vector |
getNODATARange()
Returns the NODATA range vector.
|
java.util.Vector |
getNODATAValue()
Returns the NODATA value vector.
|
java.lang.Integer |
getSamplingFactor()
Returns the sampling factor.
|
java.lang.Integer |
getSamplingWindowColumnWidth()
Returns the sampling window column width.
|
java.lang.Long |
getSamplingWindowOrigin(int dimension)
Returns the sampling window origin point for the specified dimension.
|
java.lang.Integer |
getSamplingWindowRowHeight()
Returns the sampling window row height.
|
java.util.Vector |
getScalingFunction()
Returns the scaling function as a vector, and coefficients are stored in the vector in the following order: a0,a1,b0,b1
|
java.lang.Double |
getSTD()
Returns the statistics STD value.
|
java.lang.String |
getVATName()
Returns the VAT table name.
|
java.lang.Boolean |
hasBitmapMask()
Returns true if there is a bitmap mask associated with this layer.
|
void |
setBinFunctionTableName(java.lang.String binTableName)
Sets the bin function table name.
|
void |
setBinFunctionType(java.lang.String binFunctionType)
Sets the bin function type.
|
void |
setBitmapMask(java.lang.Boolean isBitmapMask)
Sets true if there is a bitmap mask associated with this layer.
|
void |
setBitmapMaskAsNODATA(java.lang.Boolean mask)
Sets true if NODATA is mask.
|
void |
setColormap(GeorColormap colormap)
Sets the colormap information for the specific layer in the metadata based on data stored in the GeorColormap object.
|
void |
setColormapTableName(java.lang.String name)
Sets the color map table name.
|
void |
setDescription(java.util.Vector description)
Sets the description.
|
void |
setGrayscale(GeorGrayscale grayscale)
Sets the gray scale by specifying a GeorGrayscale object.
|
void |
setGrayscaleTableName(java.lang.String name)
Sets the gray scale table name.
|
void |
setHistogram(GeorHistogram histogram)
Sets the histogram by specifying a GeorHistogram object.
|
void |
setHistogramTableName(java.lang.String name)
Sets the histogram table name.
|
void |
setLayerDimensionOrdinate(java.lang.Integer layerDimensionOrdinate)
Sets the layer dimension ordinate.
|
void |
setLayerID(java.lang.String layerID)
Sets the layer ID.
|
void |
setLayerNumber(java.lang.Integer layerNumber)
Sets the layer number.
|
void |
setMax(java.lang.Double max)
Sets the statistics maximum value.
|
void |
setMean(java.lang.Double mean)
Sets the statistics mean value.
|
void |
setMedian(java.lang.Double median)
Sets the statistics median value.
|
void |
setMin(java.lang.Double min)
Sets the statistics minimum value.
|
void |
setModeValue(java.lang.Double mode)
Sets the statistics mode value.
|
void |
setSamplingFactor(java.lang.Integer factor)
Sets the sampling factor.
|
void |
setSamplingWindowColumnWidth(java.lang.Integer width)
Sets the sampling window column width.
|
void |
setSamplingWindowOrigin(int dimension, java.lang.Long origin)
Sets the sampling window origin point for the specified dimension.
|
void |
setSamplingWindowRowHeight(java.lang.Integer height)
Sets the sampling window row height.
|
void |
setScalingFunction(double a0, double a1, double b0, double b1)
Sets the scaling function coefficient a0,a1,b0,b1.
|
void |
setSTD(java.lang.Double STD)
Sets the statistics STD value.
|
void |
setVATName(java.lang.String name)
Sets the VAT table name.
|
public static final java.lang.String BIN_TYPE_LINEAR
public static final java.lang.String BIN_TYPE_LOGARITHM
public static final java.lang.String BIN_TYPE_EXPLICIT
public java.lang.Integer getLayerNumber()
public void setLayerNumber(java.lang.Integer layerNumber)
layerNumber
- layer numberpublic java.lang.Integer getLayerDimensionOrdinate()
public void setLayerDimensionOrdinate(java.lang.Integer layerDimensionOrdinate)
layerDimensionOrdinate
- layer dimension ordinatepublic java.lang.String getLayerID()
public void setLayerID(java.lang.String layerID)
layerID
- layer IDpublic java.util.Vector getDescription()
public void setDescription(java.util.Vector description)
description
- descriptionpublic java.lang.Boolean hasBitmapMask()
public void setBitmapMask(java.lang.Boolean isBitmapMask)
isBitmapMask
- true if there is a bitmap mask associated with this layerpublic java.util.Vector getNODATAValue()
public void addNODATAValue(double nodata)
nodata
- NODATA valuepublic void deleteNODATAValue(double nodata)
nodata
- NODATA valuepublic java.util.Vector getNODATARange()
public void addNODATARange(java.lang.Double min, java.lang.Double max)
min
- minimum valuemax
- maximum valuepublic void deleteNODATARange(java.lang.Double min, java.lang.Double max)
min
- minimum valuemax
- maximum valuepublic java.lang.Boolean getNODATAMask()
public void setBitmapMaskAsNODATA(java.lang.Boolean mask)
mask
- true if NODATA is maskpublic java.util.Vector getScalingFunction()
Pixel value is scaled as:
value = (a0 + a1 * cellValue)/(b0 + b1 * cellValue)
public void setScalingFunction(double a0, double a1, double b0, double b1)
a0
- coefficient a0.a1
- coefficient a1.b0
- coefficient b0.b1
- coefficient b1.public java.lang.String getBinFunctionType()
public void setBinFunctionType(java.lang.String binFunctionType)
binFunctionType
- bin function typepublic java.util.Vector getBinFunctionData()
public java.lang.String getBinFunctionTableName()
public void setBinFunctionTableName(java.lang.String binTableName)
binTableName
- bin function table namepublic java.lang.Integer getSamplingFactor()
public void setSamplingFactor(java.lang.Integer factor)
factor
- sampling factorpublic java.lang.Long getSamplingWindowOrigin(int dimension)
dimension
- specified dimensionpublic void setSamplingWindowOrigin(int dimension, java.lang.Long origin)
dimension
- specified dimensionorigin
- sampling window origin point for the specified dimensionpublic java.lang.Integer getSamplingWindowRowHeight()
public void setSamplingWindowRowHeight(java.lang.Integer height)
height
- sampling window row heightpublic java.lang.Integer getSamplingWindowColumnWidth()
public void setSamplingWindowColumnWidth(java.lang.Integer width)
width
- sampling window column widthpublic java.lang.Double getMin()
public void setMin(java.lang.Double min)
min
- statistics minimum valuepublic java.lang.Double getMax()
public void setMax(java.lang.Double max)
max
- statistics maximum valuepublic java.lang.Double getMean()
public void setMean(java.lang.Double mean)
mean
- statistics mean valuepublic java.lang.Double getMedian()
public void setMedian(java.lang.Double median)
median
- statistics median valuepublic java.lang.Double getModeValue()
public void setModeValue(java.lang.Double mode)
mode
- statistics mode valuepublic java.lang.Double getSTD()
public void setSTD(java.lang.Double STD)
STD
- statistics STD valuepublic java.lang.String getHistogramTableName()
public void setHistogramTableName(java.lang.String name)
name
- histogram table namepublic GeorHistogram getHistogram()
public void setHistogram(GeorHistogram histogram)
histogram
- GeorHistogram object.public java.lang.String getGrayscaleTableName()
public void setGrayscaleTableName(java.lang.String name)
name
- gray scale table namepublic GeorGrayscale getGrayscale()
public void setGrayscale(GeorGrayscale grayscale)
grayscale
- GeorGrayscale objectpublic java.lang.String getColormapTableName()
public void setColormapTableName(java.lang.String name)
name
- color map table namepublic GeorColormap getColormap()
public void setColormap(GeorColormap colormap)
colormap
- GeorColormap objectpublic java.lang.String getVATName()
public void setVATName(java.lang.String name)
name
- VAT table name