<div dir="ltr"><div><div><br><br>On Thu, Dec 14, 2017 at 11:47 AM, Moritz Lennert <<a href="mailto:mlennert@club.worldonline.be">mlennert@club.worldonline.be</a>> wrote:<br>><br>> On 14/12/17 05:45, Vaclav Petras wrote:<br>>><br>>> Hi Moritz,<br>>><br>>> I'm currently at AGU<br>><br>><br>> Enjoy ! :-)<br>><br>>> and can't dig into the code, but yes, I think it can be rewritten with segment library, preferably with MarkusM's "segment or in-memory" wrapper.<br>><br>><br>> Great ! Markus, is this wrapper in the library, or just in existing modules ? I know the version in the i.superpixels.slic addon and have some memory of you implementing it elsewhere.<br><br></div>I want to put it in the library, but would like to simplify the cache a bit before putting it in the library. Be aware that addons need their local version of this cache, otherwise they won't compile against previous versions of GRASS 7.<br><br></div>Markus M<br><div><div><br>><br>> Moritz<br>><br>><br>><br>>><br>>> Vaclav<br>>><br>>> On Tue, Dec 12, 2017 at 10:51 AM, Moritz Lennert <<a href="mailto:mlennert@club.worldonline.be">mlennert@club.worldonline.be</a> <mailto:<a href="mailto:mlennert@club.worldonline.be">mlennert@club.worldonline.be</a>>> wrote:<br>>><br>>>     Hi Anna, Hi Vaclav,<br>>><br>>>     I would love to use the i.edge module. However, the fact that it<br>>>     reads everything into memory obviously limits its use either to<br>>>     small images, or to tiled versions of larger images.<br>>><br>>>     I have just rapidly looked at the code, but I cannot really detect<br>>>     any place where you really need the entire image, or ? The Gaussian<br>>>     filter could be cut off at a certain distance and the actual Canny<br>>>     detector is also based on a kernel, AFAICT. So, do you think this<br>>>     could be rewritten to use the SEGMENT library and at all times only<br>>>     load necessary parts of the image into memory ?<br>>><br>>>     Moritz<br>>><br>>><br>><br>> _______________________________________________<br>> grass-dev mailing list<br>> <a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>> <a href="https://lists.osgeo.org/mailman/listinfo/grass-dev">https://lists.osgeo.org/mailman/listinfo/grass-dev</a><br><br></div></div></div>