Re: [GRASS-dev] i.segment: invalid region id 0

2013-07-31 Thread Pietro
Hi Pierre, On Wed, Jul 31, 2013 at 4:35 AM, Pierre Roudier pierre.roud...@gmail.com wrote: Any of you guys have code around to do hierarchical segmentation? I'm working to develop a module that use several machine learning technique to classify the segments results... the part concerning the

Re: [GRASS-dev] i.segment: invalid region id 0

2013-07-31 Thread Moritz Lennert
On 31/07/13 10:01, Pietro wrote: Hi Pierre, On Wed, Jul 31, 2013 at 4:35 AM, Pierre Roudier pierre.roud...@gmail.com wrote: Any of you guys have code around to do hierarchical segmentation? I'm working to develop a module that use several machine learning technique to classify the segments

Re: [GRASS-dev] i.segment: invalid region id 0

2013-07-31 Thread Moritz Lennert
On 31/07/13 05:35, Pierre Roudier wrote: Any of you guys have code around to do hierarchical segmentation? Tried to do it in Python a few months ago, but failed (I'm not exactly a great Python coder it seems!). It should just be a question of creating a loop. Something like this (untested):

Re: [GRASS-dev] i.segment: invalid region id 0

2013-07-31 Thread Pietro
On Wed, Jul 31, 2013 at 12:10 PM, Moritz Lennert mlenn...@club.worldonline.be wrote: If you think that could be useful, perhaps I could split into a separate module. +1 I think it's always best to have one module do one thing well. And people might want to hierarchical segmentation for

Re: [GRASS-dev] i.segment: invalid region id 0

2013-07-31 Thread Moritz Lennert
On 31/07/13 13:22, Pietro wrote: On Wed, Jul 31, 2013 at 12:10 PM, Moritz Lennert mlenn...@club.worldonline.be wrote: If you think that could be useful, perhaps I could split into a separate module. +1 I think it's always best to have one module do one thing well. And people might want to

Re: [GRASS-dev] i.segment: invalid region id 0

2013-07-31 Thread Pietro
Hi, On Wed, Jul 31, 2013 at 12:39 PM, Moritz Lennert mlenn...@club.worldonline.be wrote: ok, I can do it... which name should I use for the hierarchical module? i.segment.hierarchical ? I change my mind... Do we really need to make a module only to avoid the user to define a cycle? From my

Re: [GRASS-dev] i.segment: invalid region id 0

2013-07-30 Thread Pierre Roudier
Any of you guys have code around to do hierarchical segmentation? Tried to do it in Python a few months ago, but failed (I'm not exactly a great Python coder it seems!). Cheers, Pierre 2013/7/31 Moritz Lennert mlenn...@club.worldonline.be: On 27/07/13 00:19, Nikos Alexandris wrote: On Friday

Re: [GRASS-dev] i.segment: invalid region id 0

2013-07-27 Thread Nikos Alexandris
On Friday 26 of July 2013 15:41:25 Moritz Lennert wrote: On 26/07/13 15:17, Nikos Alexandris wrote: On Wednesday 17 of July 2013 12:56:58 Nikos Alexandris wrote: In any case, if wanted, I will try during the weekend to replicate a Huge region, as the one Moritz tested with a rational

Re: [GRASS-dev] i.segment: invalid region id 0

2013-07-26 Thread Nikos Alexandris
On Wednesday 17 of July 2013 12:56:58 Nikos Alexandris wrote: In any case, if wanted, I will try during the weekend to replicate a Huge region, as the one Moritz tested with a rational threshold (close to zero). I couldn't make it -- my machine was under some sort of heavy reconstruction

Re: [GRASS-dev] i.segment: invalid region id 0

2013-07-26 Thread Moritz Lennert
On 26/07/13 15:17, Nikos Alexandris wrote: On Wednesday 17 of July 2013 12:56:58 Nikos Alexandris wrote: In any case, if wanted, I will try during the weekend to replicate a Huge region, as the one Moritz tested with a rational threshold (close to zero). I couldn't make it -- my machine was

Re: [GRASS-dev] i.segment: invalid region id 0

2013-07-17 Thread Nikos Alexandris
Below kept only timings and number of created segments (from previously posted tests as well as a few new ones), just as a reference. All tests above threshold=0.95 fail to deliver. The extreme instruction threshold=0.95 derives 70 segments. Above this, I think that everything would be merged

Re: [GRASS-dev] i.segment: invalid region id 0

2013-07-16 Thread Markus Metz
On Mon, Jul 15, 2013 at 11:09 PM, Nikos Alexandris n...@nikosalexandris.net wrote: Moritz Lennert wrote: [..] time i.segment -w group=pan_r_ir out=seg_weighted_pan_r_ir threshold=0.01 memory=8192 Loading input bands... Pass 1: ERROR: Invalid region id 0 [..] What could be the

Re: [GRASS-dev] i.segment: invalid region id 0

2013-07-16 Thread Nikos Alexandris
[previous discussion(s) erased] A series of tests completed successfully for thresholds 0.1, 0.3, 0.5, 0.7, 0.9, no matter if memory= 300 or 3. For the extreme case threshold=0.99, the process failed for both memory= 300 or 3 settings. Note, all tests reported below were performed in

Re: [GRASS-dev] i.segment: invalid region id 0

2013-07-16 Thread Nikos Alexandris
Moritz Lennert wrote: [..] time i.segment -w group=pan_r_ir out=seg_weighted_pan_r_ir threshold=0.01 memory=8192 Loading input bands... Pass 1: ERROR: Invalid region id 0 [..] What could be the problem ? Nikos Alexandris: the same error today while performing a random test.

Re: [GRASS-dev] i.segment: invalid region id 0

2013-07-15 Thread Moritz Lennert
On Fri, July 12, 2013 21:59, Markus Metz wrote: On Fri, Jul 12, 2013 at 4:36 PM, Moritz Lennert mlenn...@club.worldonline.be wrote: Proxmox(Openvz) container running Debian testing, 200GB disk space, 10GB RAM, 4 i7 CPUs g.region -p projection: 1 (UTM) zone: 33 datum: wgs84

Re: [GRASS-dev] i.segment: invalid region id 0

2013-07-15 Thread Markus Metz
On Mon, Jul 15, 2013 at 10:04 AM, Moritz Lennert mlenn...@club.worldonline.be wrote: On Fri, July 12, 2013 21:59, Markus Metz wrote: On Fri, Jul 12, 2013 at 4:36 PM, Moritz Lennert mlenn...@club.worldonline.be wrote: Proxmox(Openvz) container running Debian testing, 200GB disk space, 10GB

Re: [GRASS-dev] i.segment: invalid region id 0

2013-07-15 Thread Nikos Alexandris
Moritz Lennert wrote: [..] time i.segment -w group=pan_r_ir out=seg_weighted_pan_r_ir threshold=0.01 memory=8192 Loading input bands... Pass 1: ERROR: Invalid region id 0 [..] What could be the problem ? Moritz, Markus, the same error today while performing a random test. Disk

Re: [GRASS-dev] i.segment: invalid region id 0

2013-07-15 Thread Nikos Alexandris
On Tuesday 16 of July 2013 00:09:44 Nikos Alexandris wrote: Moritz Lennert wrote: [..] time i.segment -w group=pan_r_ir out=seg_weighted_pan_r_ir threshold=0.01 memory=8192 Loading input bands... Pass 1: ERROR: Invalid region id 0 [..] What could be the problem ?

[GRASS-dev] i.segment: invalid region id 0

2013-07-12 Thread Moritz Lennert
Proxmox(Openvz) container running Debian testing, 200GB disk space, 10GB RAM, 4 i7 CPUs g.region -p projection: 1 (UTM) zone: 33 datum: wgs84 ellipsoid: wgs84 north: 4876400 south: 4849792 west: 610056 east: 634648 nsres: 0.5 ewres: 0.5 rows:

Re: [GRASS-dev] i.segment: invalid region id 0

2013-07-12 Thread Markus Metz
On Fri, Jul 12, 2013 at 4:36 PM, Moritz Lennert mlenn...@club.worldonline.be wrote: Proxmox(Openvz) container running Debian testing, 200GB disk space, 10GB RAM, 4 i7 CPUs g.region -p projection: 1 (UTM) zone: 33 datum: wgs84 ellipsoid: wgs84 north: 4876400 south: