|
@@ -8,7 +8,7 @@ raster map layers containing the principal components of
|
|
the input data in decreasing order of variance
|
|
the input data in decreasing order of variance
|
|
("contrast"). The output raster map layers are assigned
|
|
("contrast"). The output raster map layers are assigned
|
|
names with .1, .2, ... .n suffixes. The current geographic
|
|
names with .1, .2, ... .n suffixes. The current geographic
|
|
-region definition and mask settings are respected when
|
|
|
|
|
|
+region definition and MASK settings are respected when
|
|
reading the input raster map layers. When the rescale
|
|
reading the input raster map layers. When the rescale
|
|
option is used, the output files are rescaled to fit the
|
|
option is used, the output files are rescaled to fit the
|
|
min,max range.
|
|
min,max range.
|
|
@@ -16,35 +16,49 @@ min,max range.
|
|
<H2>OPTIONS</H2>
|
|
<H2>OPTIONS</H2>
|
|
|
|
|
|
<H3>Parameters:</H3>
|
|
<H3>Parameters:</H3>
|
|
-
|
|
|
|
<DL>
|
|
<DL>
|
|
-
|
|
|
|
<DT><B>input=</B><EM>name,name</EM>[<EM>,name,name</EM>,...]
|
|
<DT><B>input=</B><EM>name,name</EM>[<EM>,name,name</EM>,...]
|
|
-
|
|
|
|
<DD>Name of two or more input raster map layers.
|
|
<DD>Name of two or more input raster map layers.
|
|
|
|
|
|
<DT><B>output=</B><EM>name</EM>
|
|
<DT><B>output=</B><EM>name</EM>
|
|
-
|
|
|
|
<DD>The output raster map layer name to which suffixes are
|
|
<DD>The output raster map layer name to which suffixes are
|
|
added. Each output raster map layer is assigned this
|
|
added. Each output raster map layer is assigned this
|
|
user-specified <EM>name</EM> with a numerical (.1, .2, ...
|
|
user-specified <EM>name</EM> with a numerical (.1, .2, ...
|
|
.n) suffix.
|
|
.n) suffix.
|
|
|
|
|
|
<DT><B>rescale=</B><EM>min,max</EM>
|
|
<DT><B>rescale=</B><EM>min,max</EM>
|
|
-
|
|
|
|
<DD>The optional output category range. (Default: 0,255) If
|
|
<DD>The optional output category range. (Default: 0,255) If
|
|
rescale=0,0, no rescaling is performed on output files.
|
|
rescale=0,0, no rescaling is performed on output files.
|
|
|
|
|
|
<DD>If output is rescaled, the output raster will be of type CELL. If
|
|
<DD>If output is rescaled, the output raster will be of type CELL. If
|
|
the output is not rescaled, the output raster will be of type DCELL.
|
|
the output is not rescaled, the output raster will be of type DCELL.
|
|
-
|
|
|
|
</DL>
|
|
</DL>
|
|
|
|
|
|
|
|
+
|
|
<H2>NOTES</H2>
|
|
<H2>NOTES</H2>
|
|
|
|
|
|
Richards (1986) gives a good example of the application of principal
|
|
Richards (1986) gives a good example of the application of principal
|
|
components analysis (pca) to a time series of LANDSAT images of a burned
|
|
components analysis (pca) to a time series of LANDSAT images of a burned
|
|
region in Australia.
|
|
region in Australia.
|
|
|
|
+<P>
|
|
|
|
+Eigenvalue and eigenvector information is stored in the output maps'
|
|
|
|
+history files. View with <em>r.info</em>.
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+<H2>EXAMPLE</H2>
|
|
|
|
+
|
|
|
|
+Using the Spearfish Imagery sample dataset
|
|
|
|
+
|
|
|
|
+<div class="code"><pre>
|
|
|
|
+i.pca in=spot.ms.1,spot.ms.2,spot.ms.3 out=spot_pca
|
|
|
|
+
|
|
|
|
+r.info -h spot_pca.1
|
|
|
|
+ Eigen values, (vectors), and [percent importance]:
|
|
|
|
+ PC1 1170.12 ( -0.63 -0.65 -0.43 ) [ 88.07% ]
|
|
|
|
+ PC2 152.49 ( 0.23 0.37 -0.90 ) [ 11.48% ]
|
|
|
|
+ PC3 6.01 ( 0.75 -0.66 -0.08 ) [ 0.45% ]
|
|
|
|
+</pre></div>
|
|
|
|
+
|
|
|
|
|
|
<H2>SEE ALSO</H2>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
|
|
@@ -61,13 +75,16 @@ University of Texas, Austin, 1990.
|
|
|
|
|
|
<P>
|
|
<P>
|
|
|
|
|
|
-<EM><A HREF="i.cca.html">i.cca</A></EM><br>
|
|
|
|
-<EM><A HREF="i.class.html">i.class</A></EM><br>
|
|
|
|
-<EM><A HREF="i.fft.html">i.fft</A></EM><br>
|
|
|
|
-<EM><A HREF="i.ifft.html">i.ifft</A></EM><br>
|
|
|
|
-<EM><A HREF="m.eigensystem.html">m.eigensystem</A></EM><br>
|
|
|
|
-<EM><A HREF="r.covar.html">r.covar</A></EM><br>
|
|
|
|
-<EM><A HREF="r.mapcalc.html">r.mapcalc</A></EM>
|
|
|
|
|
|
+<EM>
|
|
|
|
+<A HREF="i.cca.html">i.cca</A><br>
|
|
|
|
+<A HREF="i.class.html">i.class</A><br>
|
|
|
|
+<A HREF="i.fft.html">i.fft</A><br>
|
|
|
|
+<A HREF="i.ifft.html">i.ifft</A><br>
|
|
|
|
+<A HREF="m.eigensystem.html">m.eigensystem</A><br>
|
|
|
|
+<A HREF="r.covar.html">r.covar</A><br>
|
|
|
|
+<A HREF="r.mapcalc.html">r.mapcalc</A>
|
|
|
|
+</EM>
|
|
|
|
+
|
|
|
|
|
|
<H2>AUTHOR</H2>
|
|
<H2>AUTHOR</H2>
|
|
|
|
|
|
@@ -82,4 +99,5 @@ Research Laboratory
|
|
Rewritten for GRASS 6.x and major modifications by <br>
|
|
Rewritten for GRASS 6.x and major modifications by <br>
|
|
Brad Douglas
|
|
Brad Douglas
|
|
|
|
|
|
-<p><i>Last changed: $Date$</i>
|
|
|
|
|
|
+<p>
|
|
|
|
+<i>Last changed: $Date$</i>
|