Wedge Neighborhood Focal Statistics
Overview
This tool performs focal statistics using a wedge-shaped neighborhood.
How It Works
Focal statistics use the current cell as the focal cell, aggregate surrounding cell values within the specified neighborhood, and write the result back to the focal cell location. A wedge neighborhood restricts the calculation to an angular sector, making it useful for directional analysis.
Use Cases
- Analyze directional patterns around each cell.
- Summarize values within a radius and angle range, such as upstream or sector-based influence.
- Use as an intermediate raster in a longer iXGIS neighborhood analysis workflow.
Parameters
| Parameter | Description | Notes |
|---|---|---|
| Input raster file | Raster file for focal statistics. | Required. |
| Center point X offset | X offset of the wedge neighborhood center. | Required. Default: 0. |
| Center point Y offset | Y offset of the wedge neighborhood center. | Required. Default: 0. |
| Wedge radius | Radius of the wedge neighborhood, in the raster coordinate system units. | Required. Default: 100. |
| Start angle | Start angle of the wedge, in degrees. | Required. Default: 0. |
| End angle | End angle of the wedge, in degrees. | Required. Default: 90. |
| Statistical method | Statistic calculated from cell values in the wedge neighborhood. | Required. Default: nan_average. Options: sum ignoring invalid values (nan_sum), average ignoring invalid values (nan_average), maximum ignoring invalid values (nan_max), minimum ignoring invalid values (nan_min), range ignoring invalid values (nan_range), variance ignoring invalid values (nan_variance). |
| Output raster file | Output raster containing the wedge neighborhood focal statistics result. | Required. |
Steps
- Open the Geoprocessing Toolbox in iXGIS, go to Spatial Analysis Tools > Neighborhood Analysis > Focal Statistics, and start Wedge Neighborhood Focal Statistics.
- Select the input raster file and confirm that it can be read correctly.
- Set the center offsets, wedge radius, start angle, end angle, and statistical method.
- Specify the output raster file and confirm the output path, format, and file name.
- Click Run. After the task completes, review the output value range and spatial pattern.
Notes
- Verify that the raster coordinate system, cell size, and units are appropriate for the radius setting.
- Angles are specified in degrees. Confirm the expected direction convention before interpreting directional results.