Skip to content
  • Julien Michel's avatar
    ENH: Add Functor module with FunctorImageFilter, VariadicInputsImageFilter,... · ba576452
    Julien Michel authored
    ENH: Add Functor module with FunctorImageFilter, VariadicInputsImageFilter, VariadicNamedInputsImageFilter
    
    Squashed commit of the following:
    
    commit 5de2770a
    Merge: 72b6a700 54e30088
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Mon Nov 19 16:24:52 2018 +0100
    
        Merge branch 'functor_filter_named_inputs' into 'functorfilter'
    
        Named inputs in FunctorImageFilter
    
        See merge request !290
    
    commit 54e30088
    Merge: 3fca72a9 72b6a700
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Mon Nov 19 15:59:50 2018 +0100
    
        MRG
    
    commit 72b6a700
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Mon Nov 19 15:48:44 2018 +0100
    
        DOC: Fix ingroup tags
    
    commit 266e71b2
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Mon Nov 19 15:47:14 2018 +0100
    
        ENH: Only pad input image that correspond to neighborhood
    
    commit edbd1a2e
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Mon Nov 19 14:57:51 2018 +0100
    
        TEST: Test support of built-in math functions
    
    commit 3fca72a9
    Merge: 7cf407e6 dbe6f862
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Mon Nov 19 14:34:12 2018 +0100
    
        Merge branch 'functorfilter' into functor_filter_named_inputs
    
    commit dbe6f862
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Mon Nov 19 14:33:49 2018 +0100
    
        COMP: Fix compilation error
    
    commit 7cf407e6
    Merge: 10f1592e 894e496f
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Mon Nov 19 14:31:54 2018 +0100
    
        MRG
    
    commit 894e496f
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Mon Nov 19 14:14:30 2018 +0100
    
        DOC: Enhance doc of separate functors
    
    commit fdd99a96
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Mon Nov 19 14:08:54 2018 +0100
    
        DOC: Enhance code documentation
    
    commit d9aa111b
    Merge: 4987d73d f34b7ce3
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Mon Nov 19 13:52:12 2018 +0100
    
        MRG
    
    commit 10f1592e
    Merge: a5e6a982 f34b7ce3
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Mon Nov 19 13:46:27 2018 +0100
    
        MRG
    
    commit f34b7ce3
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Mon Nov 19 13:44:54 2018 +0100
    
        ENH: replace non const GetFunctor() by GetModifiableFunctor()
    
    commit 60968460
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Mon Nov 19 13:40:03 2018 +0100
    
        TEST: Add more testing cases, and support non const operators
    
    commit a5e6a982
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Mon Nov 19 13:29:19 2018 +0100
    
        ENH: VNamed -> VariadicNamed
    
    commit f4d94a68
    Merge: 0397595a 490d8c35
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Mon Nov 19 13:22:04 2018 +0100
    
        MRG
    
    commit 4987d73d
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Fri Nov 16 17:35:34 2018 +0100
    
        ENH: Also support functors of the form void ()(Out&, const In&...)
    
    commit 490d8c35
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Fri Nov 16 16:35:06 2018 +0100
    
        DOC: Enhance documentation
    
    commit d8dffd44
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Fri Nov 16 16:19:33 2018 +0100
    
        ENH: Rename (VInput -> VariadicInput) and add more checks
    
    commit db803d3c
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Fri Nov 16 09:46:15 2018 +0100
    
        COMP: Fix static_asserts on pixel type detection
    
    commit cbea423c
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Thu Nov 15 13:25:17 2018 +0100
    
        ENH: C++17 will ease this
    
    commit 7eeb1909
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Thu Nov 15 13:25:00 2018 +0100
    
        ENH: Add static_assert check to see if all parameters (and return type) of TFunction can be mapped to valid pixel types for Image/VectorImage
    
    commit 0397595a
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Tue Nov 13 16:25:58 2018 +0100
    
        ENH: Introducing named inputs
    
    commit 09877b54
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Fri Nov 9 16:36:38 2018 +0100
    
        COMP: Missing headers
    
    commit 37527191
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Fri Nov 9 15:57:07 2018 +0100
    
        TEST: Use static number of inputs in tests
    
    commit 1c18762d
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Fri Nov 9 15:49:56 2018 +0100
    
        ENH: Add helper value for number of inputs
    
    commit af3cc15b
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Fri Nov 9 14:23:49 2018 +0100
    
        ENH: Add template using to ease the retrieval of input image types
    
    commit cec70438
    Author: Victor Poughon <victor.poughon@cnes.fr>
    Date:   Fri Nov 9 12:34:34 2018 +0100
    
        BUG: fix comment in macro syntax error
    
    commit 17a4c5a4
    Author: Victor Poughon <victor.poughon@cnes.fr>
    Date:   Fri Nov 9 12:29:53 2018 +0100
    
        ENH: FunctorFilter: fix legacy SetInput and improve tests
    
    commit 2d8c2a48
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Thu Nov 8 15:42:37 2018 +0100
    
        ENH: Add tests and move useful functors to separate headers
    
    commit e14ab465
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Tue Nov 6 11:55:06 2018 +0100
    
        TEST: Fix header test
    
    commit 28662af3
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Tue Nov 6 11:53:25 2018 +0100
    
        ENH: Move functor filter to a dedicated Module
    
    commit d10945d9
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Tue Nov 6 09:19:39 2018 +0100
    
        ENH: Undef macro once used
    
    commit 415c6219
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Mon Nov 5 16:49:38 2018 +0100
    
        ENH: Add macro and SFINAE to enable the old-style setters
    
    commit 21ec65b5
    Author: Julien Michel <julien.michel@orfeo-toolbox.org>
    Date:   Mon Oct 29 16:01:18 2018 +0000
    
        TEST: More exhaustive testing of new filter
    
    commit d487b755
    Author: Julien Michel <julien.michel@orfeo-toolbox.org>
    Date:   Mon Oct 29 15:37:20 2018 +0000
    
        TEST: Static checks for test
    
    commit 0693ea95
    Author: Julien Michel <julien.michel@orfeo-toolbox.org>
    Date:   Mon Oct 29 15:37:07 2018 +0000
    
        DOC: typo in documentation
    
    commit 8a214792
    Author: Julien Michel <julien.michel@orfeo-toolbox.org>
    Date:   Mon Oct 29 14:41:19 2018 +0000
    
        DOC: Enhance documentation
    
    commit f5f6bcf0
    Author: Julien Michel <julien.michel@orfeo-toolbox.org>
    Date:   Mon Oct 29 14:18:41 2018 +0000
    
        COMP: Code review (and adding a few examples with std::complex)
    
    commit 82b8d997
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Tue Oct 23 16:44:05 2018 +0200
    
        COMP: include fixes
    
    commit 0846f1a8
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Tue Oct 23 16:34:28 2018 +0200
    
        DOC: add documentation (WIP)
    
    commit 6eb7f0ca
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Tue Oct 23 15:52:48 2018 +0200
    
        ENH: Handle lambdas returning VariableLengthVector
    
    commit 8f1f7f3b
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Tue Oct 23 13:00:06 2018 +0200
    
        ENH: Filter working with neighborhoods
    
    commit 5586c569
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Tue Oct 23 10:11:43 2018 +0200
    
        ENH: Handle output size
    
    commit 6a49f5df
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Tue Oct 23 10:08:42 2018 +0200
    
        ENH: Handle output size (WIP)
    
    commit e3585999
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Fri Oct 12 11:12:56 2018 +0200
    
        ENH: FunctorImageFilter starts to be fully implemented (WIP)
    
    commit 6d10b558
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Fri Oct 5 16:57:03 2018 +0200
    
        ENH: FunctorImageFilter is now fully variadic from Functor definition
    
    commit a6399f2c
    Author: Julien Michel <julien.michel@cnes.fr>
    Date:   Tue Oct 2 13:28:29 2018 +0200
    
        ENH: experiment with variadic types (WIP)
    
    commit d05c3374
    Author: Jordi Inglada <jordi.inglada@cesbio.cnes.fr>
    Date:   Tue Oct 2 15:17:55 2018 +0200
    
        ADD: draft FunctorImageFilter
    
    commit 8d4e8f1b
    Author: Jordi Inglada <jordi.inglada@cesbio.cnes.fr>
    Date:   Sun Sep 30 19:02:08 2018 +0200
    
        ADD: start of FunctorImageFilter
    
        A generic functor filter which
        1. can take and produce vector and scalar images
        2. with or without the use of image neighborhoods in input
        3. with NbInputs >=1
        4. and with any number of output bands
    ba576452