Zusammenfassung
Calculates statistics for each cell of an image based on a defined focal neighborhood.
Diskussion
For more information about the methods and band orders used with this function, see the Statistics raster function.
The referenced raster dataset for the raster object is temporary. To make it permanent, you can call the raster object's save method.
Syntax
Statistics (raster, kernel_columns, kernel_rows, stat_type, {fill_no_data_only})
Parameter | Erläuterung | Datentyp |
raster | The input raster on which to perform focal statistics. | Raster |
kernel_columns | The number of pixel columns to use in your focal neighborhood dimension. (Der Standardwert ist 3) | Integer |
kernel_rows | The number of pixel rows to use in your focal neighborhood dimension. (Der Standardwert ist 3) | Integer |
stat_type | Specify the type of statistics to calculate.
(Der Standardwert ist None) | String |
fill_no_data_only | Specify whether NoData values are ignored in the analysis.
(Der Standardwert ist False) | Boolean |
Datentyp | Erläuterung |
Raster | The output raster. |