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

2013-12-05 Thread Moritz Lennert
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

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

2013-12-05 Thread Markus Metz
On Wed, Dec 4, 2013 at 3:42 PM, Nikos Alexandris n...@nikosalexandris.net wrote: Nikos Alexandris wrote: 1) I can't see any differences in the derived Principal Components .. okay, to clarify: I mean the resulting images which, initially are Principal Components (synthetic images) and,

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

2013-12-05 Thread Nikos Alexandris
Nikos A: Sorry for the noise. Then I need to see why the rescaling is not getting at [0,255]. Markus M: Rescaling applies to PC scores. With filtering, the output is not PC scores, but a filtered version of the input. If you want the filtered output to be rescaled, please use r.recode

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

2013-12-05 Thread Nikos Alexandris
Nikos Alexandris: ...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. Markus M: I think it rather depends in the amount of information encoded in each PC. It does. PCA

Re: [GRASS-dev] i.segment: Invalid region id -1

2013-12-05 Thread Nikos Alexandris
NA: --%-- i.segment msx_hpf out=segments_msx_hpf_seeded_t0.02 threshold=0.02 minsize=4 seed=segments_pan_t0.01 memory=3000 iterations=1000 --%-- It worked in one case (repeated to be sure) and it failed in another! MM: Different computational regions? NA: Absolutely. Two

Re: [GRASS-dev] [GRASS-user] g.gui not launching in grass70 after install

2013-12-05 Thread Vaclav Petras
This is topic for grass-dev, putting it into conversation, remove grass-user in next email. Hi Michel, please post the compilation log as an attachment (I think that it fits mailing list file size limit). Some error with demo location happens also on some Macs and when building packages for

[GRASS-dev] r.univar, ERROR G_realloc:

2013-12-05 Thread Pietro
Dear developers, I tried to use r,univar in grass7 (r58395 on linux 64bit with 24Gb of ram and 8Gb of swap), before to run the command I did a distclean, and I configured with: CFLAGS=-ggdb -Wall -Werror-implicit-function-declaration ./configure ... when I run: r.univar

[GRASS-dev] Removing _STDIO_H ifndefs

2013-12-05 Thread Vaclav Petras
Hi all, there are some preprocessor ifndefs which I don't completely understand but, from what I understand, they should be removed. There are two contexts where it is used: #ifndef _STDIO_H #include stdio.h #endif which is useless since this check should be done in stdio.h. The other usage