Skip to content

i.spec.sam

Performs Spectral angle mapping on satellite/aerial images

i.spec.sam group=name input=name result=string [--verbose] [--quiet] [--qq] [--ui]

Example:

i.spec.sam group=name input=name result=string

grass.script.run_command("i.spec.sam", group, input, result, verbose=False, quiet=False, superquiet=False)

Example:

gs.run_command("i.spec.sam", group="name", input="name", result="string")

Parameters

group=name [required]
    Name of input imagery group
input=name [required]
    Matrix file containing spectral signatures
result=string [required]
    Raster map prefix to hold spectral angles
--help
    Print usage summary
--verbose
    Verbose module output
--quiet
    Quiet module output
--qq
    Very quiet module output
--ui
    Force launching GUI dialog

group : str, required
    Name of input imagery group
    Used as: input, group, name
input : str, required
    Matrix file containing spectral signatures
    Used as: input, file, name
result : str, required
    Raster map prefix to hold spectral angles
verbose: bool, optional
    Verbose module output
    Default: False
quiet: bool, optional
    Quiet module output
    Default: False
superquiet: bool, optional
    Very quiet module output
    Default: False

DESCRIPTION

i.spec.sam is used to perform Spectral Angle Mapping.

Input matrix of signatures # Channels: r g b i1 i2 i3 # Enter spectra linewise! # 1. Sagebrush # 2. Saltbush # 3. Soil # 4. Dry grass # Matrix: 4 by 6 row0: 8.87 13.14 11.71 35.85 28.26 10.54 row1: 13.59 20.12 19.61 70.66 34.82 16.35 row2: 28.26 34.82 38.27 40.1 38.27 23.7 row3: 10.54 16.35 23.7 38.98 40.1 38.98

REFERENCES

  • Neteler, M., 1999: Spectral Mixture Analysis von Satellitendaten zur Bestimmung von Bodenbedeckungsgraden im Hinblick auf die Erosionsmodellierung. M.Sc. thesis, University of Hannover, Germany.
  • Neteler, M., D. Grasso, I. Michelazzi, L. Miori, S. Merler, and C. Furlanello, 2004. New image processing tools for GRASS. - In Proc. Free/Libre and Open Source Software for Geoinformatics: GIS-GRASS Users Conference, 12-14 Sep 2004, Bangkok, Thailand.
  • Neteler, M., D. Grasso, I. Michelazzi, L. Miori, S. Merler, and C. Furlanello, 2005. An integrated toolbox for image registration, fusion and classification. International Journal of Geoinformatics, 1(1), pp. 51-61. (PDF)

SEE ALSO

i.spec.unmix,

AUTHORS

Markus Neteler, University of Hannover, 1999
Updated to GRASS GIS 7: Yann Chemin, 2015

SOURCE CODE

Available at: i.spec.sam source code (history)
Latest change: Thursday Mar 20 21:36:57 2025 in commit 7286ecf