1. 07 Mar, 2013 4 commits
  2. 06 Mar, 2013 2 commits
    • Guillaume Lazzara's avatar
      Rename point_at_index and index_of_point. · a3c4e92a
      Guillaume Lazzara authored
      	* scribo/binarization/internal/niblack_functor_fast.hh,
      	* scribo/binarization/internal/niblack_threshold_functor.hh,
      	* scribo/binarization/internal/sauvola_functor.hh,
      	* scribo/binarization/internal/sauvola_threshold_functor.hh,
      	* scribo/binarization/internal/singh_functor.hh,
      	* scribo/binarization/internal/wolf_functor_fast.hh,
      	* scribo/binarization/sauvola_ms.hh,
      	* scribo/util/init_integral_image.hh,
      	* scribo/util/integral_sub_sum_sum2_functor.hh: Here.
      a3c4e92a
    • Guillaume Lazzara's avatar
      Fix wrong line reconstruction with lines_*_pattern routines. · 6e2cefa4
      Guillaume Lazzara authored
      	* scribo/primitive/extract/lines_h_pattern.hh,
      	* scribo/primitive/extract/lines_v_pattern.hh: Here.
      6e2cefa4
  3. 05 Mar, 2013 4 commits
  4. 01 Mar, 2013 1 commit
  5. 27 Feb, 2013 1 commit
  6. 26 Feb, 2013 1 commit
    • Guillaume Lazzara's avatar
      Fix various warnings. · 6c791fef
      Guillaume Lazzara authored
      	* scribo/binarization/otsu_threshold.hh: Fix comparisons between
      	different types.
      
      	* scribo/io/xml/load.hh: Convert to float.
      
      	* scribo/text/paragraphs_closing.hh,
      	* scribo/text/recognition.hh,
      	* src/afp/components.hh: Remove unused variables.
      
      	* src/binarization/otsu.cc: Silent warning.
      
      	* src/misc/morpho.cc: Check number of arguments.
      6c791fef
  7. 07 Feb, 2013 4 commits
    • Roland Levillain's avatar
      Always write FIXME with uppercase letters. · 40e7cc0f
      Roland Levillain authored
      	* milena/mln/canvas/browsing/snake_fwd.hh,
      	* milena/mln/canvas/browsing/snake_vert.hh,
      	* scribo/scribo/debug/alignment_decision_image.hh,
      	* scribo/scribo/debug/decision_image.hh,
      	* scribo/scribo/debug/links_decision_image.hh:
      	Here.
      40e7cc0f
    • Roland Levillain's avatar
      Address warnings reported by clang++ in Scribo. · 6e24fced
      Roland Levillain authored
      	* scribo/text/paragraphs_closing.hh
      	(internal::horizontal_CRLA, internal::vertical_CRLA):
      	Replace empty bodies of loops with single `continue' statements as
      	this is more explicit.
      6e24fced
    • Roland Levillain's avatar
      Address remaining errors reported by clang++ in Scribo. · 6a5f908a
      Roland Levillain authored
      	* scribo/debug/alignment_decision_image.hh
      	(alignment_decision_image)
      	* scribo/debug/bboxes_enlarged_image.hh (bboxes_enlarged_image)
      	* scribo/debug/decision_image.hh (decision_image)
      	* scribo/debug/links_decision_image.hh (links_decision_image)
      	* scribo/debug/links_image.hh (links_image)
      	* scribo/debug/looks_like_a_text_line_image.hh
      	(looks_like_a_text_line_image):
      	Fix the type of the value to be returned by theses functions.
      6a5f908a
    • Roland Levillain's avatar
      Address errors reported by clang++ in Scribo. · f782485f
      Roland Levillain authored
      	* scribo/io/text_boxes/save.hh,
      	* scribo/primitive/extract/components.hh,
      	* scribo/primitive/link/with_single_right_link.hh,
      	* scribo/text/recognition.hh,
      	* scribo/toolchain/content_in_doc.hh,
      	* scribo/toolchain/content_in_hdoc.hh,
      	* scribo/toolchain/text_in_doc.hh,
      	* scribo/toolchain/text_in_doc_preprocess.hh,
      	* scribo/toolchain/text_in_picture.hh:
      	Do not provide default arguments twice.
      f782485f
  8. 28 Jan, 2013 1 commit
  9. 27 Nov, 2012 1 commit
  10. 05 Nov, 2012 1 commit
  11. 19 Oct, 2012 3 commits
  12. 14 Sep, 2012 1 commit
  13. 10 Sep, 2012 1 commit
  14. 07 Sep, 2012 2 commits
  15. 23 Aug, 2012 13 commits
    • 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
      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
      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
      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
      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