[GRASS-dev] Reg i.pca output

Markus Metz markus.metz.giswork at gmail.com
Tue Mar 26 02:14:15 PDT 2013


On Tue, Mar 26, 2013 at 8:39 AM, Rashad M <mohammedrashadkm at gmail.com> wrote:
> Hi,
>
> i.pca creates 6 raster maps for 6 input raster
>
> eg:
>
> i.pca
> in=lsat7_2002_10,lsat7_2002_20,lsat7_2002_30,lsat7_2002_40,lsat7_2002_50,lsat7_2002_70
> \
>     out=lsat7_2002_pca
>
>
> I have a doubt here
>
> Does the output lsat7_2002_pca.1 is the corresponding map for lsat7_2002_10?

No. lsat7_2002_pca.1 contains the principal component with the highest
eigenvalue and is calculated using all input bands. More generally,
each lsat7_2002_pca.* map is calculated using all input bands. Look at
the eigenvectors to find out the weights with which each input map
contributes to a specific PCA.

Markus M

>
> If so the lsat7_2002_10_pca.1 contains PCA transformed pixel for
> lsat7_2002_10
>
> Is this correct?
>
> --
> Regards,
>    Rashad
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev


More information about the grass-dev mailing list