i.spectral.html 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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 requires the launch of one of the supported monitors (cairo, png, ps) or 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 raster=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. d.mon start=cairo output=plot.png
  23. i.spectral raster=$LIST coordinates=637502.25,221744.25
  24. d.mon stop=cairo
  25. </pre></div>
  26. This will search all LANDSAT map for 2002 but select only the B, G, R,
  27. NIR, and MIR channels.
  28. <h2>SEE ALSO</h2>
  29. <em>
  30. <a href="d.where.html">d.where</a>,
  31. <a href="r.what.html">r.what</a>,
  32. <a href="cairodriver.html">Cairo driver</a>,
  33. <a href="pngdriver.html">PNG driver</a>,
  34. <a href="psdriver.html">PS driver (Postscript)</a>
  35. </em>
  36. <h2>AUTHORS</h2>
  37. Markus Neteler<br>
  38. Francesco Pirotti
  39. <!--
  40. <p>
  41. <i>Last changed: $Date$</i>
  42. -->