1i.spectral(1) Grass User's Manual i.spectral(1)
2
3
4
6 i.spectral - Displays spectral response at user specified locations in
7 group or images.
8
10 imagery, querying, raster, multispectral
11
13 i.spectral
14 i.spectral --help
15 i.spectral [-cgt] [group=name] [raster=name[,name,...]] coordi‐
16 nates=east,north[,east,north,...] [output=name] [format=string]
17 [--overwrite] [--help] [--verbose] [--quiet] [--ui]
18
19 Flags:
20 -c
21 Show sampling coordinates instead of numbering in the legend
22
23 -g
24 Use gnuplot for display
25
26 -t
27 output to text file
28
29 --overwrite
30 Allow output files to overwrite existing files
31
32 --help
33 Print usage summary
34
35 --verbose
36 Verbose module output
37
38 --quiet
39 Quiet module output
40
41 --ui
42 Force launching GUI dialog
43
44 Parameters:
45 group=name
46 Name of input imagery group
47
48 raster=name[,name,...]
49 Name of input raster map(s)
50
51 coordinates=east,north[,east,north,...] [required]
52 Coordinates
53
54 output=name
55 Name for output image (or text file for -t)
56
57 format=string
58 Graphics format for output file
59 Options: png, eps, svg
60 Default: png
61
63 i.spectral displays spectral response at user specified locations in
64 images.
65
67 This script needs gnuplot to be installed.
68
70 Analysis of LANDSAT TM7 channels (North Carolina dataset):
71 g.region raster=lsat7_2002_10 -p
72 i.spectral -g input=lsat7_2002_10,lsat7_2002_20,lsat7_2002_30,lsat7_2002_40,lsat7_2002_50,lsat7_2002_70 \
73 coordinates=636069,215440,637958,223393,633277,223605
74 Spectral plot of 3 different land cover types: (1) water, (2) green
75 vegetation, and (3) highway
76
77 North Carolina sample dataset:
78 g.region raster=lsat7_2002_10 -p
79 LIST=`g.list type=raster pattern="lsat7_2002_[1-5,7]0" separator=","`
80 i.spectral input=$LIST coordinates=637502.25,221744.25
81 This will search all LANDSAT map for 2002 but select only the B, G, R,
82 NIR, and MIR channels.
83
85 d.where, r.what
86
88 Markus Neteler
89 Francesco Pirotti
90
91 Last changed: $Date: 2014-12-27 00:33:06 +0100 (Sat, 27 Dec 2014) $
92
94 Available at: i.spectral source code (history)
95
96 Main index | Imagery index | Topics index | Keywords index | Graphical
97 index | Full index
98
99 © 2003-2019 GRASS Development Team, GRASS GIS 7.4.4 Reference Manual
100
101
102
103GRASS 7.4.4 i.spectral(1)