Which is an example of a focal statistic?

Which is an example of a focal statistic?

The output focal statistics raster. This example calculates the least-frequently occuring value in a ring-shaped neighborhood around each cell in the input raster. This example determines the least frequently occurring value in a 10-by-10 neighborhood around each cell in the input raster.

How are focal statistics calculated in ArcGIS Pro?

The output focal statistics raster. The raster for which the focal statistics for each input cell will be calculated. The cells surrounding a processing cell that will be used in the statistic calculation. There are several predefined neighborhood types to choose from, or a custom kernel can be defined.

How is the neighborhood processing for focal statistics?

To illustrate the neighborhood processing for Focal Statistics calculating a Sum statistic, consider the processing cell with a value of 5 in the following diagram. A rectangular 3 by 3 cell neighborhood shape is specified.

Which is the raster used to calculate focal statistics?

The raster on which the focal statistics will be calculated. The Neighborhood class dictates the shape of the area around each cell used to calculate the statistic. The available neighborhood types are NbrAnnulus, NbrCircle, NbrRectangle, NbrWedge, NbrIrregular, and NbrWeight.

When do you use nodata in focal statistics?

NODATA —Specifies that if any cell in a neighborhood has a value of NoData, the output for the processing cell will be NoData. With this option, the presence of a NoData value implies that there is insufficient information to determine the statistic value for the neighborhood. The output focal statistics raster.

How are focal statistics calculated in ArcGIS for desktop?

See Analysis environments and Spatial Analyst for additional details on the geoprocessing environments that apply to this tool. The raster to perform the focal statistics calculations on. The Neighborhood class dictates the shape of the area around each cell used to calculate the statistic.

What happens when statisticserror is raised in Python?

StatisticsError is raised if data is empty, or any element is less than zero. The current algorithm has an early-out when it encounters a zero in the input. This means that the subsequent inputs are not tested for validity. (This behavior may change in the future.)

How does the focal statistics tool work in ArcGIS?

The Focal Statistics tool performs a neighborhood operation that computes an output raster where the value for each output cell is a function of the values of all the input cells that are in a specified neighborhood around that location.