<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 12 June 2017 at 12:09, 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">On 12/06/17 12:11, James Duffy wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">
<br>
<br>
On 12 June 2017 at 11:00, Moritz Lennert <<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonline.be</a><br></span><span class="gmail-">
<mailto:<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonl<wbr>ine.be</a>>> wrote:<br>
<br>
On 12/06/17 11:38, James Duffy wrote:<br>
<br>
On 12 June 2017 at 10:36, Moritz Lennert<br>
<<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonline.be</a> <mailto:<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonl<wbr>ine.be</a>><br></span>
<mailto:<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonl<wbr>ine.be</a><div><div class="gmail-h5"><br>
<mailto:<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonl<wbr>ine.be</a>>>> wrote:<br>
<br>
On 12/06/17 11:25, James Duffy wrote:<br>
<br>
Hello,<br>
<br>
I'm trying to run the following:<br>
<br>
*i.superpixels.slic -n group=mod1@PERMANENT output=test<br>
num_pixels=5000<br>
memory=10000<br>
<br>
*<br>
The output gives me the following:<br>
<br>
(Mon Jun 12 10:17:40<br>
2017)<br>
i.superpixels.slic -n group=mod1@PERMANENT output=test<br>
num_pixels=5000<br>
memory=10000<br>
Cache data in memory mode<br>
Loading input...<br>
WARNING: Initialized 5036 of 5070 seeds<br>
Performing k mean segmentation...<br>
<br>
And then I get a 'GRASS 7 has stopped working' box pop up.<br>
<br>
I tried again with the default settings for the module:<br>
<br>
*i.superpixels.slic group=mod1@PERMANENT output=test<br>
<br>
*<br>
And got the same error.<br>
<br>
I am using windows 10 professional and GRASS 7.3.svn (2017).<br>
<br>
Has anyone else got this module working, or had the same<br>
problem<br>
on Windows?<br>
<br>
<br>
I haven't had any problems running it on Linux, and some<br>
colleagues<br>
have run it on Windows.<br>
<br>
Just for our info: What are your region settings ?<br>
<br>
<br>
projection: 1 (UTM)<br>
zone: 43<br>
datum: wgs84<br>
ellipsoid: wgs84<br>
north: 25183.22184529<br>
south: 25157.71783908<br>
west: 301463.66480893<br>
east: 301494.2431551<br>
nsres: 0.07775612<br>
ewres: 0.0778075<br>
rows: 328<br>
cols: 393<br>
cells: 128904<br>
<br>
Just to add, I am running i.segment.uspo without problems using<br>
the same<br>
imagery group and the same region.<br>
<br>
<br>
Yes, the region is actually very small, so no problem from there. It<br>
might be an issue with the memory handling. Could you try without<br>
setting the memory parameter, i.e. using its default value of 300<br>
and tell us what happens ?<br>
<br>
<br></div></div>
*#default memory*<br>
*i.superpixels.slic -n group=mod1@PERMANENT output=test<br>
<br>
*<br>
Produced the same problem.<br>
</blockquote>
<br>
Can you reproduce using the NC demo data set ?<br>
<br>
I.e.<br>
<br></blockquote><div><br></div><div>Running:<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<b>g.region rast=ortho_2001_t792_1m<br>
i.group ortho input=ortho_2001_t792_1m<br>
i.superpixels.slic group=ortho out=slic_test</b><br></blockquote><div><br></div><div>Worked for me. <br><br><b>i.superpixels.slic -n group=ortho out=slic_test<br><br></b></div><div>Also works. <br><br><b>i.superpixels.slic group=ortho out=slic_test memory=10000 <br><br></b></div><div>Crashed.<br><br><b>i.superpixels.slic -n group=ortho out=slic_test memory=10000 <br><br></b></div><div>Crashed.<b><br></b></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
And tying with and without the '-n' flag and the memory parameter.<span class="gmail-HOEnZb"><font color="#888888"><br>
<br>
Moritz<br>
<br>
<br>
</font></span></blockquote></div><br></div><div class="gmail_extra">James<br></div></div>