Label | Explanation | Data Type |

Input raster | The raster for which the focal statistics for each input cell will be calculated. | Raster Layer |

Neighborhood (Optional) | 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. Once the neighborhood type is selected, other parameters can be set to fully define the shape, size, and units of measure. The default neighborhood is a square rectangle with a width and height of three cells. The following are the forms of the available neighborhood types: - Annulus, Inner radius, Outer radius, Units type
A torus (donut-shaped) neighborhood defined by an inner radius and an outer radius. The default annulus is an inner radius of one cell and an outer radius of three cells. - Circle, Radius, Units type
A circular neighborhood with the given radius. The default radius is three cells. - Rectangle, Height, Width, Units type
A rectangular neighborhood defined by height and width. The default is a square with a height and width of three cells. - Wedge, Radius, Start angle, End angle, Units type
A wedge-shaped neighborhood defined by a radius, the start angle, and the end angle. The wedge extends counterclockwise from the starting angle to the ending angle. Angles are specified in degrees, with 0 or 360 representing east. Negative angles can be used. The default wedge is from 0 to 90 degrees, with a radius of three cells. - Irregular, Kernel file
A custom neighborhood with specifications set by the identified kernel text file. - Weight, Kernel file
A custom neighborhood with specifications set by the identified kernel text file, which can apply weights to the members of the neighborhood.
For the annulus, circle, rectangle and wedge neighborhood types, the distance units for the parameters can be specified in Cell units or Map units. Cell units is the default. For kernel neighborhoods, the first line in the kernel file defines the width and height of the neighborhood in numbers of cells. The subsequent lines indicate how the input value that corresponds to that location in the kernel will be processed. A value of 0 in the kernel file for either the irregular or the weight neighborhood type indicates the corresponding location will not be included in the calculation. For the irregular neighborhood, a value of 1 in the kernel file indicates that the corresponding input cell will be included in the operation. For the weight neighborhood, the value at each position indicates what the corresponding input cell value is to be multiplied by. Positive, negative, and decimal values can be used. | Neighborhood |

Statistics type (Optional) | Specifies the statistic type to be calculated. - Mean —The mean (average value) of the cells in the neighborhood will be calculated.
- Majority —The majority (value that occurs most often) of the cells in the neighborhood will be identified.
- Maximum —The maximum (largest value) of the cells in the neighborhood will be identified.
- Median —The median of the cells in the neighborhood will be calculated.
- Minimum —The minimum (smallest value) of the cells in the neighborhood will be identified.
- Minority —The minority (value that occurs least often) of the cells in the neighborhood will be identified.
- Percentile —A percentile of the cells in the neighborhood will be calculated. The 90th percentile is calculated by default. You can specify other values (from 0 to 100) using the Percentile value parameter.
- Range —The range (difference between largest and smallest value) of the cells in the neighborhood will be calculated.
- Standard deviation —The standard deviation of the cells in the neighborhood will be calculated.
- Sum —The sum of the cells in the neighborhood will be calculated.
- Variety —The variety (the number of unique values) of the cells in the neighborhood will be calculated.
| String |

Ignore NoData in calculations (Optional) | Specifies whether NoData values will be ignored by the statistic calculation. - Checked—If a NoData value exists within a neighborhood, the NoData value will be ignored. Only cells within the neighborhood that have data values will be used in determining the output value. This means that if the processing cell value is NoData, the processing cell may receive a value in the output raster if this parameter is checked, provided at least one cell within the neighborhood has a valid value. This is the default.
- Unchecked—If any cell in a neighborhood has a value of NoData, including the processing cell, the output for the processing cell will be NoData. If this parameter is not checked, the presence of a NoData value implies that there is insufficient information to determine the statistic value for the neighborhood.
| Boolean |

Percentile value (Optional) | The percentile to calculate. The default is 90, for the 90th percentile. The values can range from 0 to 100. The 0th percentile is essentially equivalent to the Minimum statistic, and the 100th percentile is equivalent to Maximum. A value of 50 will produce essentially the same result as the Median statistic. This option is only supported if the Statistics type parameter is set to Percentile. If any other statistics type has been specified, this parameter will be ignored. | Double |

### Return Value

Label | Explanation | Data Type |

Output raster | The output focal statistics raster. | Raster |