i.spectral.html 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <h2>DESCRIPTION</h2>
  2. <em>i.spectral</em> displays spectral response at user specified
  3. locations in images.
  4. <h2>NOTES</h2>
  5. This script needs gnuplot to be installed.
  6. <h2>EXAMPLE</h2>
  7. Analysis of LANDSAT TM7 channels (North Carolina dataset):
  8. <div class="code"><pre>
  9. g.region raster=lsat7_2002_10 -p
  10. i.spectral -g input=lsat7_2002_10,lsat7_2002_20,lsat7_2002_30,lsat7_2002_40,lsat7_2002_50,lsat7_2002_70 \
  11. coordinates=636069,215440,637958,223393,633277,223605
  12. </pre></div>
  13. <center>
  14. <img src="i_spectral.png" border=1><br>
  15. Spectral plot of 3 different land cover types: (1) water, (2) green vegetation, and (3) highway
  16. </center>
  17. <p>
  18. North Carolina sample dataset:
  19. <div class="code"><pre>
  20. g.region raster=lsat7_2002_10 -p
  21. LIST=`g.list type=raster pattern="lsat7_2002_[1-5,7]0" separator=","`
  22. i.spectral input=$LIST coordinates=637502.25,221744.25
  23. </pre></div>
  24. This will search all LANDSAT map for 2002 but select only the B, G, R,
  25. NIR, and MIR channels.
  26. <h2>SEE ALSO</h2>
  27. <em>
  28. <a href="d.where.html">d.where</a>,
  29. <a href="r.what.html">r.what</a>
  30. </em>
  31. <h2>AUTHOR</h2>
  32. Markus Neteler<br>
  33. Francesco Pirotti
  34. <p>
  35. <i>Last changed: $Date$</i>