Interface IRasterBandData
This interface describes all data object related to (multidimensional) matrices with extension
and numeric values.
Namespace: Mars.Interfaces.Data
Assembly: Mars.Interfaces.dll
Syntax
public interface IRasterBandData : IMarsFeature, IDomainData
Remarks
Each band of possible multi-band (multidimensional) matrix is modelled a separated IRasterBandData
(e.g., colored geotiff file creates three IRasterBandData).
Properties
Band
Gets the band index when multiple band(colors) are used.
Declaration
int Band { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
This value can be used to merge multi-band raster together.
Box
The envelopment of this raster band, described as BoundingBox
Declaration
BoundingBox Box { get; }
Property Value
Type | Description |
---|---|
BoundingBox |
CellHeight
Gets the geographic height of a cell the projected units. Setting this will
automatically adjust the affine coefficient to a negative value.
Declaration
double CellHeight { get; }
Property Value
Type | Description |
---|---|
System.Double |
CellWidth
Gets the geographic width of a cell in the projected units.
Declaration
double CellWidth { get; }
Property Value
Type | Description |
---|---|
System.Double |
Height
Gets the vertical count of the cells in the raster.
Declaration
int Height { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Matrix
The containing dense matrix
Declaration
double[, ] Matrix { get; }
Property Value
Type | Description |
---|---|
System.Double[,] |
Maximum
Gets the maximum data value, not counting no-data values in the grid.
Declaration
double? Maximum { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
Mean
Gets the mean of the non-NoData values in this grid.
Declaration
double? Mean { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
Minimum
Gets the minimum data value that is not classified as a no data value in this raster.
Declaration
double? Minimum { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
NoDataValue
Gets a numeric value describing the value standing for no data
Declaration
double? NoDataValue { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
ValueCells
Gets the amount of cells with a concrete value (
is not equal
NoDataValue).
Declaration
int ValueCells { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Width
Gets the horizontal count of the cells in the raster.
Declaration
int Width { get; }
Property Value
Type | Description |
---|---|
System.Int32 |