[GRASS-dev] i.superpixels.slic ( was: #3142 Implementing SLIC image segmentation)
Moritz Lennert
mlennert at club.worldonline.be
Tue Dec 20 22:53:20 PST 2016
Le 20 décembre 2016 23:39:09 GMT+01:00, Markus Metz <markus.metz.giswork at gmail.com> a écrit :
>On Tue, Dec 20, 2016 at 11:09 PM, Martin Landa <landa.martin at gmail.com>
>wrote:
>>
>> Hi,
>>
>> 2016-12-20 22:17 GMT+01:00 Markus Metz
><markus.metz.giswork at gmail.com>:
>> > I think the module is automatically compiled only if it is added to
>> > grass-addons/grass7/imagery/Makefile which it is not yet.
>>
>> no it's compiled automatically, see [1].
>
>OK. Then what is the reason for the existence of
>grass-addons/grass7/imagery/Makefile?
>
>> There is an compilation error. Ma
>>
>> [1]
>https://wingrass.fsv.cvut.cz/grass73/x86_64/addons/grass-7.3.svn/logs/i.superpixels.slic.log
>
>fmin needs to be replaced with a macro MIN as used by many other
>modules,
>maybe with a test for nan.
Simply using fmin (from math.h IIRC), does the job for me. Any reason not to use it ?
Moritz
>
>Markus M
More information about the grass-dev
mailing list