| 1 | <h2>DESCRIPTION</h2> |
| 2 | |
| 3 | <em>i.oif</em> calculates the Optimum Index Factor for |
| 4 | multi-spectral satellite imagery. |
| 5 | |
| 6 | <p> |
| 7 | The Optimum Index Factor (OIF) determines the three-band combination |
| 8 | that maximizes the variability (information) in a multi-spectral |
| 9 | scene. The index is a ratio of the total variance (standard |
| 10 | deviation) within and the correlation between all possible band |
| 11 | combinations. The bands that comprise the highest scoring |
| 12 | combination from <em>i.oif</em> are used as the three color channels |
| 13 | required for <em>d.rgb</em> or <em>r.composite</em>. |
| 14 | |
| 15 | <p>The analysis is saved to a file in the current directory called "i.oif.result". |
| 16 | |
| 17 | <h2>NOTES</h2> |
| 18 | |
| 19 | Landsat 1-7 TM: |
| 20 | Colour Composites in BGR order as important Landsat TM band combinations |
| 21 | (example: 234 in BGR order means: B=2, G=3, R=4): |
| 22 | |
| 23 | <ul> |
| 24 | <li> 123: near natural ("true") colour; however, because of |
| 25 | correlation of the 3 bands in visible spectrum, this combination |
| 26 | contains not much more info than is contained in single band.</li> |
| 27 | <li> 234: sensitive to green vegetation (portrayed as red), |
| 28 | coniferous as distinctly darker red than deciduous forests. Roads |
| 29 | and water bodies are clear.</li> |
| 30 | <li> 243: green vegetation is green but coniferous forests aren't as |
| 31 | clear as the 234 combination.</li> |
| 32 | <li> 247: one of the best for info pertaining to forestry. Good for |
| 33 | operation scale mapping of recent harvest areas and road |
| 34 | construction.</li> |
| 35 | <li> 345: contains one band from each of the main reflective units |
| 36 | (vis, nir, shortwave infra). Green vegetation is green and the |
| 37 | shortwave band shows vegetational stress and mortality. Roads are |
| 38 | less evident as band 3 is blue.</li> |
| 39 | <li> 347: similar to 345 but depicts burned areas better.</li> |
| 40 | <li> 354: appears more like a colour infrared photo.</li> |
| 41 | <li> 374: similar to 354.</li> |
| 42 | <li> 457: shows soil texture classes (clay, loam, sandy).</li> |
| 43 | </ul> |
| 44 | |
| 45 | <p> |
| 46 | By default the module will calculate standard deviations for all bands in |
| 47 | parallel. To run serially use the <b>-s</b> flag. If the <code>WORKERS</code> |
| 48 | environment variable is set, the number of concurrent processes will be |
| 49 | limited to that number of jobs. |
| 50 | |
| 51 | <h2>EXAMPLE</h2> |
| 52 | |
| 53 | North Carolina sample dataset: |
| 54 | <div class="code"><pre> |
| 55 | g.region raster=lsat7_2002_10 -p |
| 56 | i.oif input=lsat7_2002_10,lsat7_2002_20,lsat7_2002_30,lsat7_2002_40,lsat7_2002_50,lsat7_2002_70 |
| 57 | </pre></div> |
| 58 | |
| 59 | <h2>REFERENCES</h2> |
| 60 | |
| 61 | Jensen, 1996. Introductory digital image processing. Prentice Hall, |
| 62 | p.98. ISBN 0-13-205840-5 |
| 63 | |
| 64 | <h2>SEE ALSO</h2> |
| 65 | |
| 66 | <em> |
| 67 | <a href="d.rgb.html">d.rgb</a>, |
| 68 | <a href="r.composite.html">r.composite</a>, |
| 69 | <a href="r.covar.html">r.covar</a>, |
| 70 | <a href="r.univar.html">r.univar</a> |
| 71 | </em> |
| 72 | |
| 73 | <h2>AUTHORS</h2> |
| 74 | |
| 75 | Markus Neteler, ITC-Irst, Trento, Italy<br> |
| 76 | Updated to GRASS 5.7 by Michael Barton, Arizona State University |