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