Class RasterBandData
This class provides a container for the IRasterBandData matrix data objects.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mars.Interfaces.Data
Assembly: Mars.Interfaces.dll
Syntax
public sealed class RasterBandData : AbstractDomainData, IIdentifiableData, IRasterBandData, IMarsFeature, IDomainData, IRaster<double>
Properties
| Improve this Doc View SourceBand
Gets the band index when multiple band(colors) are used.
Declaration
public int Band { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
This value can be used to merge multi-band raster together.
|
Improve this Doc
View Source
Box
The envelopment of this raster band, described as BoundingBox
Declaration
public BoundingBox Box { get; set; }
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
public double CellHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
CellWidth
Gets the geographic width of a cell in the projected units.
Declaration
public double CellWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Count
Gets the amount of cells with a concrete value (
is not equal
NoDataValue).
Declaration
public int Count { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Height
Gets the vertical count of the cells in the raster.
Declaration
public int Height { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Item[Int32, Int32]
Gets or sets the value on the current raster, given a
and
value indices.
Declaration
public double this[int x, int y] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | x | The x coordinate of the cell |
System.Int32 | y | The y coordinate of the cell |
Property Value
Type | Description |
---|---|
System.Double |
Matrix
The containing dense matrix
Declaration
public double[, ] Matrix { get; set; }
Property Value
Type | Description |
---|---|
System.Double[,] |
Maximum
Gets the maximum data value, not counting no-data values in the grid.
Declaration
public double? Maximum { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
Mean
Gets the mean of the non-NoData values in this grid.
Declaration
public double? Mean { get; set; }
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
public double? Minimum { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
NoDataValue
Gets a numeric value describing the value standing for no data
Declaration
public double? NoDataValue { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
Width
Gets the horizontal count of the cells in the raster.
Declaration
public int Width { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |