RasterLayer.GetStatistics
RasterLayer.GetStatistics method
计算由计数、总和、平均值、最小值、最大值组成的汇总统计信息。
public RasterStatistics GetStatistics(int bandIndex = 0, bool excludeNodataValue = true)
范围 | 类型 | 描述 |
---|---|---|
bandIndex | Int32 | 乐队的索引。编号从0开始。 |
excludeNodataValue | Boolean | 允许排除“无数据”值。如果“excludeNodataValue”设置为 false,则考虑所有像素。 |
返回值
汇总统计。
也可以看看
- class RasterStatistics
- class RasterLayer
- 命名空间 Aspose.Gis.Raster
- 部件 Aspose.GIS