In lsgrm/include/lsgrmGraphOperations.txx, ligne 527, replace "bool margin = true)" by "bool margin)"

Le 05/09/2016 à 10:25, André Stumpf a écrit :
Hi Rémi,

I tried to recompile with lsgrm in Modules/Remote. I switched on C++11 support but still get the following compilation error:

|
Infile included from***/OTB/otb/Modules/Remote/lsgrm/include/lsgrmGraphOperations.h:172:0,
from***/OTB/otb/Modules/Remote/lsgrm/include/lsgrmSplitter.h:4,
from***/OTB/otb/Modules/Remote/lsgrm/include/lsgrmController.h:4,
from***/OTB/otb/Modules/Remote/lsgrm/app/otbLSGRM.cxx:18:
***/OTB/otb/Modules/Remote/lsgrm/include/lsgrmGraphOperations.txx:527:45:error:redeclaration of ‘template<classTSegmenter>voidlsgrm::InsertNodesFromTile(typenameTSegmenter::GraphType&,lsgrm::ProcessingTile&,bool)’may nothave defaultarguments [-fpermissive]
ProcessingTile&tile,boolmargin =true)
|

Do you have any idea what could be the reason?

André



On Friday, September 2, 2016 at 5:18:28 PM UTC+2, André Stumpf wrote:

    Thanks Rémi, this looks promising. I will give it a try next week
    and report back.

    Bon weekend,
    André

    On Friday, September 2, 2016 at 4:42:30 PM UTC+2, remicres wrote:

        Hello André,

        You might be interested by the forthcoming LSGRM external
        module, which is available here:
        http://tully.ups-tlse.fr/cressonr/lsgrm/tree/master
        <http://tully.ups-tlse.fr/cressonr/lsgrm/tree/master> in beta
        version.
        This is a fork of Pierre's repository that is nearly
        operational (see below), and we are still working on it.

        This external module in dependent of the GRM external module
        (the classic one). So you must have these two both aside in
        Modules/Remote/

        Keep us updated, your feedback is appreciated :)

        Rémi

        Le vendredi 2 septembre 2016 11:22:13 UTC+2, André Stumpf a
        écrit :

            Thanks for the hint, but mmh, I get a 404 when I try to
            look at the source code.
            http://tully.ups-tlse.fr/lassallep/lss/tree/master
            <http://tully.ups-tlse.fr/lassallep/lss/tree/master>

            Any plans to integrate this into OTB?

            I saw that there is also a parallel version here:
            http://tully.ups-tlse.fr/lassallep/lsgrm/tree/master
            <http://tully.ups-tlse.fr/lassallep/lsgrm/tree/master>
            But I'm not sure if this comprise the tile-based processing.

            Cheers,
            André

            On Friday, September 2, 2016 at 9:15:21 AM UTC+2, Julien
            Michel wrote:

                I think you actually need this :
                http://tully.ups-tlse.fr/lassallep/lss
                <http://tully.ups-tlse.fr/lassallep/lss>

                Regards,

                Julien

                Le 01/09/2016 à 18:42, André Stumpf a écrit :
                > Hi,
                >
                > I just managed to compile the remote module for GRM
                segmentation and
                > ran a few tests.
                > Unfortunately the memory consumption is quite
                extraordinary (~16 GB
                > for a 5000x5000 image with 4 bands).
                > Since the paper which the implementation is based on
                [1] describes a
                > tile-based framework I'm wondering if the
                tiling-merging mechanism is
                > already included in the implementation (and I'm
                doing something wrong)
                > or if the algorithm is meant to be used in
                combination with other
                > tools that handle the tiling-merging?
                >
                > Many thanks in advance for any help,
                > André
                >
                > [1] Lassalle, Pierre, et al. "A Scalable Tile-Based
                Framework for
                > Region-Merging Segmentation." /IEEE Transactions on
                Geoscience and
                > Remote Sensing/ 53.10 (2015): 5473-5485.
                >
                >
                > P.S.: The application help returns a help link which
                is broken:
                >
                
http://www.orfeo-toolbox.org/Applications/GenericRegionMerging.html
                
<http://www.orfeo-toolbox.org/Applications/GenericRegionMerging.html>

                >
                > --
                > --
                > Check the OTB FAQ at
                > http://www.orfeo-toolbox.org/FAQ.html
                <http://www.orfeo-toolbox.org/FAQ.html>
                >
                > You received this message because you are subscribed
                to the Google
                > Groups "otb-users" group.
                > To post to this group, send email to
                [email protected]
                > To unsubscribe from this group, send email to
                > [email protected]
                > For more options, visit this group at
                > http://groups.google.com/group/otb-users?hl=en
                <http://groups.google.com/group/otb-users?hl=en>
                > ---
                > You received this message because you are subscribed
                to the Google
                > Groups "otb-users" group.
                > To unsubscribe from this group and stop receiving
                emails from it, send
                > an email to [email protected]
                > <mailto:[email protected]>.
                > For more options, visit
                https://groups.google.com/d/optout
                <https://groups.google.com/d/optout>.


-- Julien MICHEL
                CNES - DCT/SI/AP - BPI 1219
                18, avenue Edouard Belin
                31401 Toulouse Cedex 09 - France
                Tel: +33 561 282 894 - Fax: +33 561 283 109

--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.


--
Julien MICHEL
CNES - DCT/SI/AP - BPI 1219
18, avenue Edouard Belin
31401 Toulouse Cedex 09 - France
Tel: +33 561 282 894 - Fax: +33 561 283 109

--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
--- You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to