RasterLayer.GetStatistics
RasterLayer.GetStatistics method
计算包括计数、求和、平均值、最小值、最大值在内的汇总统计信息。
public RasterStatistics GetStatistics(int bandIndex = 0, bool excludeNodataValue = true)
| 参数 | 类型 | 描述 |
|---|---|---|
| bandIndex | Int32 | 波段的索引。编号从 0 开始。 |
| excludeNodataValue | Boolean | 允许排除 ’nodata’ 值。如果 ’excludeNodataValue’ 设置为 false,则所有像素都被视为有效。 |
返回值
汇总统计信息。
另见
- class RasterStatistics
- class RasterLayer
- namespace Aspose.Gis.Raster
- assembly Aspose.GIS