Masthead

Spatial Statistics

Spatial Statistics can be used to explorer, compare and model data based on the spatial distribution, patterns and relationships. These tools can be used to tools for analyzing data distributions and patterns in the context of both space and time (temporally).

Zonal Tools (ArcMap)

The Zonal toolset in ArcMap allows you to perform analysis on data in certain zones or specific locations. A zone can be defined as being one single area of a particular value, but it can also be composed of multiple disconnected elements, or regions, all having the same value. Zones can be defined by raster or vector datasets. Rasters must be of integer type, and features must have an integer or string attribute field.

Zonal Statistics

The Zonal Statistics tool, a statistic(for example, min, mean max value etc.) is calculated for each zone defined by a dataset, based on values from another dataset (known as a value raster). The input zones can be from either vector or raster datasets. If the zone input is a raster dataset, the data must be integers and it must have an attribute table. The attribute table is usually created automatically for integer rasters, but may not be under certain circumstances. A single output value is computed for every zone in the input zone dataset. The Zonal Statistic tool creates an output raster displaying the results.

The Zonal Statistics as Table tool calculates all, a subset or a single statistic that is for the specific input but returns the result as a table instead of an output raster.

ZonalExample inputs and output from Zonal Statistics tool. Note that the zone layer can either be a vector file (feature dataset) or raster.

For the Zonal Statistics output, the output data type is determined by both the selected statistic type and the value input type. The following table identifies the statistics that can be calculated with these tools:

Zonal Histogram

The Zonal Histogram Tool produces a table with the count of specific cell values in the input file within each unique zone. Similar to the Zonal Statistics tools, the input zones can be derived from vector files or from raster files. A zone is defined as all areas in the input that have the same value. The areas do not have to be contiguous. Essentially this tool enables you to investigate the frequency distribution of values in one dataset within classes of another dataset. Examples include slope distribution within land use classes, rainfall distribution within elevation classes, or crime distribution by police beat. A zonal histogram graph is not generated by default. To have it be created when the tool is run, specify the Output graph name.

Statistics in ENVI

The Quick Stats tool in ENVI computes the basic statistics and histograms for all bands of a dataset. ENVI calculates the statistics and displays them in the Statistics View. In ENVI you can also compute pixel count (frequency) and percentage per class, basic statistics, and histograms for all bands on classified rasters (including classification images, Raster Color Slices, and Scatter Plot classes). These statistics can be exported as a text file for additional analysis.Statistics can also be computed and displayed for specific or all regions of interest (ROIs) wihtin a dataset.


← Back

Next →

Module Home





Contact Info

Humboldt State University
1 Harpst Street Arcata, CA 95521
skh28@humboldt.edu

© Copyright 2020 HSU - All rights reserved.