[GRASS-dev] PCA (i.pca) in G7: filtering and rescaling

Moritz Lennert mlennert at club.worldonline.be
Thu Dec 5 00:15:50 PST 2013

On 04/12/13 23:46, Nikos Alexandris wrote:
> Nikos Alexandris:
>>> Here, immediate effect when percent=99.68.  I guess it gets rounded to
>>> 99.7 ?
> Moritz Lennert:
>> Actually, the man page says "percent=integer". The input is treated with
>> atoi(). I don't know if that rounds or floors..
> Heck, overlooked that :-(.  In my very humble and ever-wannabe-scientist
> opinnion, though, we need those extra digits to make it easy rejecting last
> Principal Component(s) prior to the backward PCA. Might be one, two or
> numerous (?) depending on the dimensions.

Try the attached diff to imagery/i.pca/main.c.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: i_pca_filtering_doubles.diff
Type: text/x-patch
Size: 1411 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20131205/648a96cd/attachment.bin>

More information about the grass-dev mailing list