1. 28 Jan, 2013 3 commits
  2. 03 Jan, 2013 1 commit
  3. 13 Nov, 2012 2 commits
  4. 05 Nov, 2012 1 commit
  5. 10 Sep, 2012 2 commits
  6. 23 Aug, 2012 31 commits
    • Guillaume Lazzara's avatar
      tests/unit_test/unit-tests.mk: Regen. · 9a4c370d
      Guillaume Lazzara authored
      9a4c370d
    • Guillaume Lazzara's avatar
      tests/unit_test/unit-tests.mk: Regen. · 2259dac7
      Guillaume Lazzara authored
      2259dac7
    • Guillaume Lazzara's avatar
      Add Singh algorithm. · 82e9a800
      Guillaume Lazzara authored
      	* scribo/binarization/internal/singh_formula.hh,
      	* scribo/binarization/internal/singh_functor.hh,
      	* scribo/binarization/singh.hh,
      	* src/binarization/singh.cc: New.
      82e9a800
    • Guillaume Lazzara's avatar
      Make the area value depends on the first scale ratio. · c0d74f75
      Guillaume Lazzara authored
      	* scribo/binarization/sauvola_ms.hh: Change area ranges.
      
      	* tests/binarization/sauvola_ms.cc,
      	* tests/binarization/sauvola_ms.ref.pbm,
      	* tests/binarization/sauvola_ms_weven_hodd.ref.pbm,
      	* tests/binarization/sauvola_ms_wodd_heven.ref.pbm,
      	* tests/binarization/sauvola_ms_wodd_hodd.ref.pbm: Fix test.
      c0d74f75
    • Guillaume Lazzara's avatar
      Fix invalid default options. · 73e6122b
      Guillaume Lazzara authored
      	* src/binarization/sauvola_ms_split.cc: Here.
      73e6122b
    • Guillaume Lazzara's avatar
      Provide original algorithms without approximations. · 9e462d20
      Guillaume Lazzara authored
      	* scribo/binarization/internal/local_threshold_core.hh,
      	* scribo/binarization/internal/niblack_formula.hh,
      	* scribo/binarization/internal/niblack_functor.hh,
      	* scribo/binarization/internal/niblack_threshold_functor.hh,
      	* scribo/binarization/internal/sauvola_functor.hh,
      	* scribo/binarization/internal/sauvola_threshold_functor.hh,
      	* scribo/binarization/internal/wolf_functor.hh,
      	* scribo/binarization/niblack.hh,
      	* scribo/binarization/wolf.hh: Restore original algorithms.
      
      	* tests/binarization/Makefile.am,
      	* tests/binarization/niblack.cc,
      	* tests/binarization/niblack.ref.pbm,
      	* tests/binarization/niblack_weven_hodd.ref.pbm,
      	* tests/binarization/niblack_wodd_heven.ref.pbm,
      	* tests/binarization/niblack_wodd_hodd.ref.pbm: Adjust test results.
      
      	* scribo/binarization/internal/niblack_functor_fast.hh,
      	* scribo/binarization/internal/wolf_functor_fast.hh,
      	* scribo/binarization/niblack_fast.hh,
      	* scribo/binarization/wolf_fast.hh,
      	* tests/binarization/wolf.cc,
      	* tests/binarization/wolf.ref.pbm,
      	* tests/binarization/wolf_weven_hodd.ref.pbm,
      	* tests/binarization/wolf_wodd_heven.ref.pbm,
      	* tests/binarization/wolf_wodd_hodd.ref.pbm,
      	* tests/binarization/niblack_fast.cc,
      	* tests/binarization/niblack_fast.ref.pbm,
      	* tests/binarization/niblack_fast_weven_hodd.ref.pbm,
      	* tests/binarization/niblack_fast_wodd_heven.ref.pbm,
      	* tests/binarization/niblack_fast_wodd_hodd.ref.pbm,
      	* tests/binarization/wolf_fast.cc,
      	* tests/binarization/wolf_fast.ref.pbm,
      	* tests/binarization/wolf_fast_weven_hodd.ref.pbm,
      	* tests/binarization/wolf_fast_wodd_heven.ref.pbm,
      	* tests/binarization/wolf_fast_wodd_hodd.ref.pbm: New.
      9e462d20
    • Guillaume Lazzara's avatar
      7c295e9a
    • Guillaume Lazzara's avatar
    • Guillaume Lazzara's avatar
    • Guillaume Lazzara's avatar
      cb5fd5a3
    • Guillaume Lazzara's avatar
      e3a68da1
    • Guillaume Lazzara's avatar
    • Guillaume Lazzara's avatar
      New routines to get bottom left and top right sites. · d9daf6a2
      Guillaume Lazzara authored
      	* mln/geom/bottom_left.hh,
      	* mln/geom/top_right.hh: New.
      
      	* mln/geom/all.hh: Add includes.
      d9daf6a2
    • Guillaume Lazzara's avatar
      Improve conversion between algebra::h_mat and algebra::quat. · d9deb1a5
      Guillaume Lazzara authored
      	* mln/algebra/h_mat.hh,
      	* mln/algebra/quat.hh: New from_to_ overloads.
      
      	* mln/fun/x2x/rotation.hh: Make use of new make::h_mat overload.
      
      	* mln/make/h_mat.hh: New overload using quaternion as argument.
      
      	* mln/value/builtin/integers.hh: Add epsilon.
      
      	* tests/algebra/h_mat.cc,
      	* tests/make/h_mat.cc: Improve tests.
      d9deb1a5
    • Guillaume Lazzara's avatar
      Rely on Argument-Dependent Lookup (ADL) in from_to_ overloads. · 2622f3b9
      Guillaume Lazzara authored
      	* mln/accu/count_labels.hh,
      	* mln/convert/from_to.hxx,
      	* mln/convert/to.hh,
      	* mln/core/alias/point1d.hh,
      	* mln/core/alias/point2d.hh,
      	* mln/core/alias/point3d.hh,
      	* mln/core/dpoint.hh,
      	* mln/core/internal/neighborhood_base.hh,
      	* mln/core/point.hh,
      	* mln/core/site_set/p_centered.hh,
      	* mln/core/site_set/p_vaccess.hh,
      	* mln/fun/v2v/hsl_to_rgb.hh,
      	* mln/fun/v2v/rgb_to_hsl.hh,
      	* mln/io/magick/save.hh,
      	* mln/io/plot/save.hh,
      	* mln/labeling/blobs_and_compute.hh,
      	* mln/labeling/value_and_compute.hh,
      	* mln/make/w_window2d.hh,
      	* mln/win/multiple.hh,
      	* mln/win/multiple_size.hh,
      	* tests/accu/site_set/rectangularity.cc,
      	* tests/core/other/graph_elt_neighborhood.cc,
      	* tests/core/other/graph_elt_window.cc,
      	* tests/core/other/point_set_compatibility.cc,
      	* tests/draw/graph.cc: Update forward declarations and includes.
      
      	* mln/algebra/vec.hh,
      	* mln/convert/from_to.hh,
      	* mln/convert/impl/from_double_to_value.hh,
      	* mln/convert/impl/from_float_to_value.hh,
      	* mln/convert/impl/from_image_to_site_set.hh,
      	* mln/convert/impl/from_int_to_value.hh,
      	* mln/convert/impl/from_unsigned_to_value.hh,
      	* mln/convert/impl/from_value_to_value.hh,
      	* mln/core/alias/neighb2d.hh,
      	* mln/core/alias/neighb3d.hh,
      	* mln/core/alias/window1d.hh,
      	* mln/core/alias/window2d.hh,
      	* mln/core/alias/window3d.hh,
      	* mln/core/concept/accumulator.hh,
      	* mln/core/concept/gdpoint.hh,
      	* mln/core/concept/gpoint.hh,
      	* mln/core/concept/image.hh,
      	* mln/core/concept/proxy.hh,
      	* mln/core/concept/site_set.hh,
      	* mln/core/concept/window.hh,
      	* mln/core/image/graph_window_if_piter.hh,
      	* mln/core/image/image1d.hh,
      	* mln/core/mixed_neighb.hh,
      	* mln/core/neighb.hh,
      	* mln/core/site_set/operators.hh,
      	* mln/core/w_window.hh,
      	* mln/fun/i2v/array.hh,
      	* mln/util/object_id.hh,
      	* mln/value/hsl.hh,
      	* mln/value/int_u.hh,
      	* mln/value/label.hh,
      	* mln/value/qt/rgb32.hh,
      	* mln/value/rgb.hh,
      	* mln/histo/array.hh,
      	* mln/util/array.hh: Move from_to_ overloads in the same namespace
      	as their first argument.
      
      Conflicts:
      
      	milena/mln/convert/from_to.hh
      2622f3b9
    • Guillaume Lazzara's avatar
    • Guillaume Lazzara's avatar
      Small fixes in Scribo. · 0489364a
      Guillaume Lazzara authored
      	* scribo/binarization/internal/local_threshold_core.hh: Add a
      	missing include.
      
      	* scribo/debug/logger.hh: Fix attributes initialization order.
      
      	* scribo/text/paragraphs_closing.hh: Fix a warning related to an
      	unused-variable.
      0489364a
    • Guillaume Lazzara's avatar
      Add a better support for different k values in Sauvola Multiscale. · db78cd2a
      Guillaume Lazzara authored
      	* scribo/scribo/binarization/internal/sauvola_ms_functor.hh,
      	* scribo/scribo/binarization/sauvola_ms.hh,
      	* scribo/scribo/binarization/sauvola_ms_split.hh,
      	* scribo/scribo/toolchain/internal/text_in_doc_preprocess_functor.hh,
      	* scribo/scribo/toolchain/text_in_doc_preprocess.hh: Make use of
      	k2, k3 and k4 variables.
      
      	* scribo/src/binarization/sauvola_ms.cc,
      	* scribo/src/binarization/sauvola_ms_debug.cc,
      	* scribo/src/binarization/sauvola_ms_fg.cc,
      	* scribo/src/binarization/sauvola_ms_split.cc: Fix program
      	arguments.
      db78cd2a
    • Guillaume Lazzara's avatar
      Add a default verbose mode in debug::logger. · f6ef68f2
      Guillaume Lazzara authored
      	* scribo/debug/logger.hh: Here.
      f6ef68f2
    • Guillaume Lazzara's avatar
      Make use of logger features. · 75b5aa1f
      Guillaume Lazzara authored
      	* scribo/binarization/internal/local_threshold_core.hh,
      	* scribo/binarization/internal/sauvola_formula.hh,
      	* scribo/binarization/sauvola_ms.hh: Make use of operator<< with
      	debug::logger.
      75b5aa1f
    • Guillaume Lazzara's avatar
    • Guillaume Lazzara's avatar
      Fix call to sauvola_ms. · 31d67263
      Guillaume Lazzara authored
      	* scribo/binarization/sauvola_ms.hh,
      	* scribo/binarization/sauvola_ms_split.hh: Here.
      31d67263
    • Guillaume Lazzara's avatar
      Make use of new logger features. · 56f4535e
      Guillaume Lazzara authored
      	* src/binarization/global_threshold.cc,
      	* src/binarization/kim.cc,
      	* src/binarization/niblack.cc,
      	* src/binarization/otsu.cc,
      	* src/binarization/sauvola.cc,
      	* src/binarization/sauvola_ms.cc,
      	* src/binarization/sauvola_ms_debug.cc,
      	* src/binarization/sauvola_ms_fg.cc,
      	* src/binarization/sauvola_ms_split.cc,
      	* src/binarization/wolf.cc: Make use of operator<<.
      56f4535e
    • Guillaume Lazzara's avatar
      Cleanup Kim's binarization. · 63becd70
      Guillaume Lazzara authored
      	* src/binarization/kim.cc: Move code...
      	* scribo/binarization/kim.hh: ... here.
      
      	* tests/binarization/Makefile.am: Add new target.
      
      	* tests/binarization/kim.cc,
      	* tests/binarization/kim.ref.pbm,
      	* tests/binarization/kim_weven_hodd.ref.pbm,
      	* tests/binarization/kim_wodd_heven.ref.pbm,
      	* tests/binarization/kim_wodd_hodd.ref.pbm: New.
      63becd70
    • Guillaume Lazzara's avatar
      Make integral browsing canvas robust to large windows. · cd9f3d89
      Guillaume Lazzara authored
      	* scribo/binarization/sauvola_ms.hh: remove tests on window size.
      
      	* scribo/canvas/integral_browsing.hh: Check window size.
      cd9f3d89
    • Guillaume Lazzara's avatar
      Several small fixes. · 5cb4a2bf
      Guillaume Lazzara authored
      	* scribo/estim/font_color.hh: Fix namespace ambiguities.
      
      	* src/binarization/Makefile.am: Add kim as target.
      
      	* src/binarization/kim.cc: Cleanup code.
      
      	* src/binarization/niblack.cc: Fix reverse video.
      
      	* src/binarization/sauvola_ms.cc: Handle several k values.
      5cb4a2bf
    • Guillaume Lazzara's avatar
    • Guillaume Lazzara's avatar
      Improve documentation. · 0438f42f
      Guillaume Lazzara authored
      	* scribo/binarization/sauvola_ms.hh,
      	* scribo/canvas/integral_browsing.hh: Here.
      0438f42f
    • Guillaume Lazzara's avatar
    • Guillaume Lazzara's avatar
      d4afa3d8
    • Guillaume Lazzara's avatar
      Introduce a verbose mode. · 7e6b2a1c
      Guillaume Lazzara authored
      	* scribo/binarization/internal/sauvola_ms_functor.hh,
      	* scribo/binarization/sauvola_ms.hh: Remove debug.
      
      	* src/binarization/otsu.cc,
      	* src/binarization/sauvola.cc: Add verbose mode option.
      7e6b2a1c