ROI Statistics
Summarizes spectral values by ROI/class.
Extract and analyze raster values inside Regions of Interest (ROI). It supports descriptive statistics, class separability, spectral plots, n-D exploration, scatter plots, histograms, and correlation analysis.
Remote Sensing CoreEnd-User DocumentationTheory + Formula + ParametersExtract and analyze raster values inside Regions of Interest (ROI). It supports descriptive statistics, class separability, spectral plots, n-D exploration, scatter plots, histograms, and correlation analysis.
Summarizes spectral values by ROI/class.
Measures statistical separation between class distributions using Bhattacharyya distance.
Transforms a divergence measure into a bounded separability score that increases as class distributions separate.
Views samples across multiple spectral dimensions to understand high-dimensional class geometry.
Plots mean or sample response versus band/wavelength.
Plots one predictor against another, colored/grouped by ROI.
Shows the distribution of values within selected ROIs/bands.
Measures linear or rank association among bands and optionally a numeric ROI field.
| Input | Type | Requirement | Description |
|---|---|---|---|
| ROI Vector | vector | Required | Point/MultiPoint or Polygon/MultiPolygon ROI layer in the owner project vector layer database. |
| Raster Input | raster | Required | Raster source from which pixel values are extracted. |
| Parameter | Default | Choices / Range | How to Use It |
|---|---|---|---|
| ROI Analysis Method | — | ROI Statistics, ROI Separability, n-D Visualizer, Spectral Profile, 2D Scatter Plot, Histogram, Correlation Analysis | Select the analysis first; method-specific parameters are shown afterward. |
| ROI Field | — | — | Vector attribute used as the ROI value. It may contain class labels (for example Forest, Water, 1, 2, 3) or continuous numeric values (for example biomass, DBH, temperature). |
| ROI Field Type | auto | Auto Detect, Categorical / Class, Numeric / Continuous | Use Categorical when numeric codes represent classes. Use Numeric when the ROI field is a continuous measurement. |
| Select Input Bands | — | — | 1-based raster band numbers. Default is All bands. Select specific bands only when needed. |
| Maximum Samples per ROI | 5000 | 1 to 100000 | Maximum extracted pixels for each polygon ROI. |
| Maximum Total Samples | 50000 | 1 to 500000 | Maximum extracted samples stored in the output table. |
| Include All Touched Pixels | Off | — | For polygon ROI extraction, include all pixels touched by the polygon. |
| Percentiles | [5, 25, 50, 75, 95] | — | Shown for: statistics |
| Separability Metric | both | Jeffries-Matusita + Transformed Divergence, Jeffries-Matusita, Transformed Divergence | Separability requires ROI Field Type = Categorical / Class. Shown for: separability |
| Covariance Regularization | 1e-06 | 0.0 to — | Shown for: separability |
| Maximum Visualization Samples | 5000 | 10 to 50000 | Shown for: nd_visualizer, scatter_plot |
| X Axis Band | 1 | 1 to — | Shown for: scatter_plot |
| Y Axis Band | 2 | 1 to — | Shown for: scatter_plot |
| Histogram Band | 1 | 1 to — | Shown for: histogram |
| Histogram Bins | 20 | 2 to 200 | Shown for: histogram |
| Correlation Method | pearson | Pearson, Spearman | Shown for: correlation |
| Include Numeric ROI Field in Correlation | On | — | When the ROI field is numeric, include it as an additional variable alongside raster bands in the correlation matrix. Shown for: correlation |
The result should be interpreted according to the selected method and the physical meaning of the input data. Preserve source units, coordinate reference information, NoData meaning, acquisition date, and preprocessing level when comparing results.