1. 05 Jan, 2015 10 commits
  2. 31 Dec, 2014 20 commits
    • Edwin Carlinet's avatar
      Minor fixes for Clang. · 5540cd0b
      Edwin Carlinet authored
      	* mln/morpho/algebraic_filter.hpp: Fix default arg redefinition.
      	* mln/morpho/closing_by_reconstruction.hpp: Fix guard.
      5540cd0b
    • Edwin Carlinet's avatar
      Dilation CLI program. · cc724c64
      Edwin Carlinet authored
      	* cli/CMakeLists.txt,
      	* cli/dilate.cpp: New.
      cc724c64
    • Edwin Carlinet's avatar
      QCM app now uses milena's opening impl. · 36fd93c3
      Edwin Carlinet authored
      	* apps/qcm/Makefile: Add link to boost program options.
      	* apps/qcm/qcm.cpp: Use milena's opning impl.
      	* apps/qcm/qcm.py: Python script for grading.
      36fd93c3
    • Edwin Carlinet's avatar
      Implement morphological operations with the new kernel impl. · 0a4b69cd
      Edwin Carlinet authored
              * mln/core/algorithm/transpose.hpp: New.
       	* mln/morpho/canvas/dilation_like.hpp,
      	* mln/morpho/canvas/dilation_like.spe.hpp: New.
      	* mln/morpho/dilate.hpp,
      	* mln/morpho/erode.hpp,
      	* mln/morpho/gradient.hpp,
      	* mln/morpho/opening.hpp: Moved and modified to...
      	* mln/morpho/structural/closing.hpp,
      	* mln/morpho/structural/dilate.hpp,
      	* mln/morpho/structural/erode.hpp,
      	* mln/morpho/structural/gradient.hpp,
      	* mln/morpho/structural/opening.hpp: ... these files.
      	* tests/morpho/CMakeLists.txt,
      	* tests/morpho/dilate.cpp,
      	* tests/morpho/erode.cpp,
      	* tests/morpho/gradient.cpp,
      	* tests/morpho/opening.cpp,
      0a4b69cd
    • Edwin Carlinet's avatar
      Add missing index method in constant image pixels · 503ee852
      Edwin Carlinet authored
      (the constant image is indexable).
      
      	* mln/core/image/constant_image.hpp: Add index() method.
      503ee852
    • Edwin Carlinet's avatar
      Proper morpher_base and remove redoundancy. · 7f98b451
      Edwin Carlinet authored
      	* mln/core/image/morphers/details/morpher_core_access.hpp,
      	* mln/core/image/morphers/morpher_base.hpp,
      	* mln/core/pixel_utility.hpp: Clean.
      7f98b451
    • Edwin Carlinet's avatar
      Add histogram based inf/sup. · 9c49ac6f
      Edwin Carlinet authored
      	* mln/accu/accumulators/h_infsup.hpp: New.
      9c49ac6f
    • Edwin Carlinet's avatar
      Add untake methods when accumulators support it and add · 2a3e98c8
      Edwin Carlinet authored
      has_untake traits.
      
      	* mln/accu/accumulator.hpp,
      	* mln/accu/accumulator_base.hpp,
      	* mln/accu/accumulators/count.hpp,
      	* mln/accu/accumulators/infsup.hpp,
      	* mln/accu/accumulators/sum.hpp,
      	* mln/accu/composite_accumulator.hpp: Support for untake
      	* mln/core/concept/accumulator.hpp: Move to...
      	* mln/accu/concept/accumulator.hpp.
      2a3e98c8
    • Edwin Carlinet's avatar
      Add is_incrementable traits for windows/SE. · 09d18f6c
      Edwin Carlinet authored
      	* mln/core/neighborhood/neighborhood_base.hpp,
      	* mln/core/neighborhood/neighborhood_traits.hpp: Minor changes,
      	* mln/core/se/ball.hpp: New.
      	* mln/core/win2d.hpp: Add inc/dec methods.
      09d18f6c
    • Edwin Carlinet's avatar
      Morphers should use rng::has instead of domain.has() since some · c449c8a8
      Edwin Carlinet authored
      range do not provide such functionality.
      
      	* mln/core/image/sub_image.hpp: Use rng::has.
      	* mln/core/range/has.hpp: New.
      	* mln/core/range/range.hpp: include mln/core/range/has.hpp.
      c449c8a8
    • Edwin Carlinet's avatar
      Multidimentional iterator have new line detection that are used · eca6dfc2
      Edwin Carlinet authored
      by the incremental versions of kernel processing algorithms. This
      is backward compatible with already defined iterator if they use
      the iterator_base interface.
      
      	* mln/core/concept/iterator.hpp,
      	* mln/core/iterator/iterator_base.hpp,
      	* mln/core/iterator/iterator_traits.hpp,
      	* mln/core/iterator/transform_iterator.hpp,
      	* mln/core/iterator/zip_iterator.hpp: Add has_NL() method.
      eca6dfc2
    • Edwin Carlinet's avatar
      Implement new kernel framework. · 99418c95
      Edwin Carlinet authored
      	* mln/kernelv2/aggregate/inf.hpp,
      	* mln/kernelv2/aggregate/max.hpp,
      	* mln/kernelv2/aggregate/sup.hpp,
      	* mln/kernelv2/debug.hpp,
      	* mln/kernelv2/details/context.hpp,
      	* mln/kernelv2/details/deep_copy_fix.hpp,
      	* mln/kernelv2/details/eval_context.hpp,
      	* mln/kernelv2/details/expressions.hpp,
      	* mln/kernelv2/details/expressions_traits.hpp,
      	* mln/kernelv2/details/inner_context.hpp,
      	* mln/kernelv2/details/pixter_wrapper.hpp,
      	* mln/kernelv2/details/tags.hpp,
      	* mln/kernelv2/execute.hpp,
      	* mln/kernelv2/execute_incremental.hpp,
      	* mln/kernelv2/kernel.hpp,
      	* mln/kernelv2/types.hpp: New.
      99418c95
    • Edwin Carlinet's avatar
      Fix apps to make it compile with clang. · d5c82889
      Edwin Carlinet authored
      	* apps/CMakeLists.txt,
      	* apps/attributes/meaningfullness.hpp,
      	* apps/g2/CMakeLists.txt,
      	* apps/g2/satmaxtree.cpp,
      	* apps/tests/attributes/meaningfullness.cpp,
      	* apps/tos/Kinterpolate.hpp,
      	* apps/tos/mumford_shah.hpp,
      	* apps/tos/topology.hpp,
      d5c82889
    • Edwin Carlinet's avatar
      Minor changes to makes tos API compile with clang. · 5cd65e29
      Edwin Carlinet authored
              * mln/morpho/tos/ctos.hpp,
              * mln/morpho/tos/tos.hpp: Fixed.
      5cd65e29
    • Edwin Carlinet's avatar
      Clean build system. · 601021d9
      Edwin Carlinet authored
      	* cmake/FindFreeImage.cmake,
      	* CMakeLists.txt: Check the availability of sub-libraries in the main
                Makefile.
      
      	* apps/imview/CMakeLists.txt,
      	* apps/saliency/CMakeLists.txt,
      	* apps/simplification/CMakeLists.txt,
      	* apps/supervised-gui/CMakeLists.txt: Conditional compilation if
              QT4 is available.
      
      	* apps/maxtree_comparison/CMakeLists.txt,
      	* apps/clattice/CMakeLists.txt,
      	* apps/tests/attributes/CMakeLists.txt,
      	* apps/tests/tos/CMakeLists.txt,
      	* apps/tosgui/CMakeLists.txt,
      	* bench/CMakeLists.txt,
      	* cli/CMakeLists.txt,
      	* tests/io/CMakeLists.txt,
      	* tests/morpho/CMakeLists.txt,
      	* tests/morpho/component_tree/CMakeLists.txt: Remove hard-coding
              of FreeImage linking and use ${FreeImage_LIBRARIES} instead.
      601021d9
    • Edwin Carlinet's avatar
      Fix issue with Boost and GCC 4.8. Now boost uses decltype for std::result_of · 1aec14a9
      Edwin Carlinet authored
      and breaks old code in kernel framework.
      
      	* mln/kernel/context.hpp,
      	* mln/kernel/execute.hpp,
      	* mln/kernel/kernel.hpp: Fixed result_of issue.
      1aec14a9
    • Edwin Carlinet's avatar
      Fixed issue with clang and mutable reference as class member. · 5dc52254
      Edwin Carlinet authored
      	* mln/core/image/morphers/transformed_image.hpp,
      	* tests/core/image/morphers/transformed_image.cpp: Fixed.
      5dc52254
    • Edwin Carlinet's avatar
      Many small fixes to make it compile with clang. Most error are due · eadce01b
      Edwin Carlinet authored
      to POD initialization, warnings and default argument in signatures.
      
      	* mln/core/algorithm/accumulate.hpp,
      	* mln/core/algorithm/sort_indexes.hpp,
      	* mln/core/image/constant_image.hpp,
      	* mln/core/image/image_routines.hpp,
      	* mln/core/image/ndimage.hpp,
      	* mln/core/iterator/stditerator.hpp,
      	* mln/core/neighb2d.hpp,
      	* mln/core/neighborhood/sliding_pixter.hpp,
      	* mln/core/win2d.hpp,
      	* mln/io/imprint.hpp,
      	* mln/io/loader.hpp,
      	* mln/io/plugin.hpp,
      	* mln/morpho/datastruct/image_property_map.hpp,
      	* mln/morpho/extinction.hpp,
      	* mln/morpho/maxtree/maxtree_queue.hpp,
      	* mln/morpho/pqueue_fast.hpp,
      	* tests/bench_iterator.cpp,
      	* tests/bench_zip_iterator.cpp,
      	* tests/core/image/morphers/filtered_image.cpp: Fixed.
      eadce01b
    • Edwin Carlinet's avatar
      Remove static_if like structure in concepts. GCC allows to write locate · 7e06f136
      Edwin Carlinet authored
      declaration of template class but it is not C++ standard compliant and
      clang issues a compilation error.
      
      	* mln/core/concept/accumulator.hpp,
      	* mln/core/concept/check.hpp,
      	* mln/core/concept/extension.hpp,
      	* mln/core/concept/image.hpp,
      	* mln/core/concept/iterator.hpp: Fixed for clang compilation.
      7e06f136
    • Edwin Carlinet's avatar
      Fix issue with forward declaration of accu features to make it · 551e2a2d
      Edwin Carlinet authored
      compile with clang.
      
      	* mln/accu/accumulators/count.hpp,
      	* mln/accu/accumulators/infsup.hpp,
      	* mln/accu/accumulators/max.hpp,
      	* mln/accu/accumulators/mean.hpp,
      	* mln/accu/accumulators/min.hpp,
      	* mln/accu/accumulators/minmax.hpp,
      	* mln/accu/accumulators/sum.hpp: Fix fwd declaration for clang.
      551e2a2d
  3. 13 Nov, 2014 10 commits