<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 25, 2017 at 11:22 AM, Moritz Lennert <span dir="ltr"><<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonline.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On 24/01/17 20:40, Raphael Knevels wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks for the quick response :-)<br>
<br>
The extent of my region is also the extent of my imagery-group. For i.segment I used as memory 10240 MB with a threshold of 0.25.<br>
</blockquote>
<br></span>
That's a pretty large threshold which generally leads to under-segmentation. You might want to start with a value closer to 0.01.<span><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
In SAGA I used at first Seed Generation (Band Width of 18, but I<br>
also<br>
varied this parameter) for producing the Seed Output. The Seed Output is<br>
a raster with floating point values. Moreover, the Seed Output contains<br>
single pixels distributed over the hole area. The "space" between those<br>
pixels is "no data". The segmentation is then computed by Seeded Region<br>
Growing with the seed grid as input.<br>
<br>
"Seeds in i.segment have to be polygons not points. These polygons<br>
are<br>
represented by identical positive integer values (= IDs) in adjacent<br>
pixels, and they have to cover the entire region. When used as seeds for<br>
a segmentation, these polygons are the further merged."<br>
</blockquote>
<br></span>
Sorry, but this was actually wrong information from my part: i.segment also supports seed pixels. From the man page:<br>
<br>
"The seeds map can be used to provide either seed pixels (random or selected points from which to start the segmentation process) or seed segments. If the seeds are the results of a previous segmentation with lower threshold, hierarchical segmentation can be performed. The different approaches are automatically detected by the program: any pixels that have identical seed values and are contiguous will be assigned a unique segment ID. "<br>
<br>
<br>
However, the seed map has to have integer values. To get that from you SAGA output (floating-point) seed map, just run r.clump.<span><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
-> alright. That means, I definitely must convert the no data values in the SAGA Seed Output to zero or any other integer number.<br>
</blockquote>
<br></span>
No, I actually don't think this would help in any way as this would create one big region out of all the no data pixels...<span><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Meanwhile, I also tried the segmentation result of SAGA Seeded Region Growing as Seeds for GRASS - this works...<br>
</blockquote>
<br></span>
And how long did this take ?<span><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
" You could try using the brand new i.superpixels.slic add-on to create superpixels which you can then use as seeds."<br>
-> I could successfully install and open it ("g.extension i.superpixels.slic", GRASS 7.2.0).<br>
However, when I run the tool with default settings, GRASS gives a problem message and finishs the process.<br>
</blockquote>
<br></span>
Ok, this sounds like bug #3247 [1] for which the author hasn't applied the fix, yet. Rashad, will you have the opportunity to apply just the fix for the actual bug (not necessarily the other proposals in the patch), soon, or should I do it ?<span class="m_-3345626030640529763HOEnZb"><font color="#888888"><br></font></span></blockquote><div><br></div><div>I had pushed fix for compile error ( min and max ). Is it the same error?<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="m_-3345626030640529763HOEnZb"><font color="#888888">
<br>
Moritz<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="m_-3345626030640529763gmail_signature" data-smartmail="gmail_signature"><div><font face="arial, helvetica, sans-serif">Regards,<br>   Rashad</font></div></div>
</div></div>