1. 06 Mar, 2020 1 commit
    • Robert Sachunsky's avatar
      scribo-cli binarization: add negate-output toggles uniformly · b40632da
      Robert Sachunsky authored
          - add `negate-input` / `negate-output` toggles from otsu
            to other algorithm CLIs too
            (but keep `negate` as synonym for `negate-output` in sauvola;
             and don't add `negate-input` where this would require
             negation on RGB)
          - use the versatile io::magick::save instead of just io::pbm::save
          - rename output argument to `output.*` to reflect versatility
      b40632da
  2. 03 Jul, 2014 1 commit
    • Roland Levillain's avatar
      Address more compiler warnings in Scribo. · a1301988
      Roland Levillain authored
      	* scribo/debug/logger.hh
      	(scribo::debug::internal::logger_::log_image) [!SCRIBO_NDEBUG]:
      	Avoid warnings about unused arguments in non-debug mode.
      	* scribo/filter/objects_thick.hh (scribo::filter::objects_thick)
      	* scribo/primitive/extract/cells.hh
      	(scribo::primitive::extract::cells)
      	* scribo/primitive/extract/lines_h_single.hh
      	(scribo::primitive::extract::lines_h_single)
      	* scribo/primitive/extract/lines_v_single.hh
      	(scribo::primitive::extract::lines_v_single)
      	* src/primitive/group/group_from_rag.cc
      	(scribo::filter::graph_edges):
      	Avoid warnings about unused arguments.
      a1301988
  3. 27 Jun, 2014 1 commit
    • Roland Levillain's avatar
      Address compiler warnings in Scribo. · d92a1e52
      Roland Levillain authored
      	* scribo/debug/logger.hh
      	(scribo::debug::internal::logger_::log) [!SCRIBO_NDEBUG]:
      	Avoid warnings about unused arguments in non-debug mode.
      	* scribo/layout/xy_cut.hh
      	(scribo::layout::internal::compute_hist_info_h)
      	(scribo::layout::internal::compute_hist_info_v):
      	Use `def::coord' instead of `int' as coordinate type, to avoid
      	comparisons between signed and unsigned values.
      	* src/misc/rectangularity.cc (main)
      	* tests/binarization/global_threshold.cc (main)
      	* tests/layout/xy_cut.cc (main):
      	Avoid warnings about unused arguments.
      	* tests/core/object_groups.cc (main): Likewise.
      	Use `unsigned' instead of `int' as count/id type, to avoid
      	comparisons between signed and unsigned values.
      d92a1e52
  4. 19 Jun, 2014 1 commit
    • Roland Levillain's avatar
      Do not use mln_VAR in Scribo. · f303e006
      Roland Levillain authored
      	* scribo/debug/text_areas_image.hh,
      	* src/misc/dmap.cc,
      	* src/misc/morpho.cc,
      	* src/misc/rectangularity.cc,
      	* src/primitive/group/group_from_rag.cc:
      	Here.
      	* scribo/filter/objects_with_holes.hh,
      	* scribo/table/internal/repair_lines.hh,
      	* src/text_recognition_in_picture.cc:
      	Do not include mln/core/var.hh.
      f303e006
  5. 18 Jun, 2014 1 commit
  6. 31 Mar, 2014 1 commit
    • Roland Levillain's avatar
      Scribo: Improve scribo-cli's `--version' option. · c75b4cfe
      Roland Levillain authored
      	* src/scribo-cli.in: Move the shebang to the first line.
      	(version): Do not hard-code the version number
      	in scribo-cli.
      	Rephrase the copyright owner for uniformity reasons.
      	* src/Makefile.am (do_subst): Also substitute PACKAGE_VERSION.
      c75b4cfe
  7. 12 Sep, 2013 1 commit
    • Roland Levillain's avatar
      Scribo: Remove `return 0;' statements at end of main(). · a7557b64
      Roland Levillain authored
      	* src/text_in_picture.cc,
      	* src/text_recognition_in_picture.cc,
      	* tests/convert/base64.cc,
      	* tests/estim/font_boldness.cc,
      	* tests/estim/font_color.cc,
      	* tests/toolchain/nepomuk/text_extraction.cc,
      	* tests/util/component_precise_outline.cc:
      	Here.
      a7557b64
  8. 11 Sep, 2013 1 commit
  9. 09 Sep, 2013 1 commit
    • Roland Levillain's avatar
      Scribo: Do not look for headers in the build tree uselessly. · e61d93d2
      Roland Levillain authored
      	* doc/Makefile.am (AM_CPPFLAGS): Remove Scribo's build dir from
      	the file inclusion path.
      	* src/Makefile.am
      	(pbm_text_in_doc_CPPFLAGS, text_recognition_in_picture_CPPFLAGS)
      	* src/contest/DAE-2011/Makefile.am
      	(content_in_hdoc_dae_CPPFLAGS, content_in_hdoc_dae_CPPFLAGS)
      	* src/contest/hbr-2013/Makefile.am (content_in_hdoc_hbr_CPPFLAGS)
      	* src/contest/hdlac-2011/Makefile.am (content_in_hdoc_hdlac_CPPFLAGS)
      	* src/contest/hnla-2013/Makefile.am (content_in_hdoc_hnla_CPPFLAGS)
      	* src/text/Makefile.am
      	(pbm_lines_recognition_CPPFLAGS, pbm_recognition_CPPFLAGS)
      	* src/toolchain/nepomuk/Makefile.am (text_extraction_CPPFLAGS)
      	* tests/toolchain/nepomuk/Makefile.am (text_extraction_CPPFLAGS):
      	Remove -I$(top_builddir).
      	* src/pbm_text_in_doc.cc,
      	* src/text/pbm_lines_recognition.cc
      	* src/text/pbm_recognition.cc
      	* src/text_recognition_in_picture.cc
      	* src/toolchain/nepomuk/text_extraction.cc
      	* tests/toolchain/nepomuk/text_extraction.cc
      	[HAVE_CONFIG_H]: Do not include config.h.
      e61d93d2
  10. 30 Aug, 2013 1 commit
  11. 31 Jul, 2013 1 commit
  12. 30 Jul, 2013 1 commit
    • Roland Levillain's avatar
      Move to-be-installed header files from src/ to scribo/. · 77cc306a
      Roland Levillain authored
      	* src/afp/components.hh,
      	* src/afp/link.hh,
      	* src/afp/regroup.hh:
      	Move files...
      	* scribo/afp/components.hh,
      	* scribo/afp/link.hh,
      	* scribo/afp/regroup.hh:
      	...here, as they are included by other files located under
      	scribo/, and therefore should be installed as well.
      	* scribo/toolchain/internal/text_in_picture_functor.hh,
      	* src/text_recognition_in_picture.cc:
      	Adjust.
      	* headers.mk,
      	* tests/unit_test/unit-tests.mk:
      	Regen.
      77cc306a
  13. 25 Apr, 2013 1 commit
  14. 18 Apr, 2013 1 commit
  15. 02 Apr, 2013 1 commit
    • Guillaume Lazzara's avatar
      Improve time logging in Scribo. · d86fc9a3
      Guillaume Lazzara authored
      	* scribo/debug/logger.hh: Use a stack to handle several
      	simultaneous logs.
      
      	* scribo/binarization/sauvola_ms.hh: Fix an invalid time stop.
      
      	* scribo/binarization/internal/local_threshold_core.hh,
      	* src/binarization/sauvola.cc,
      	* src/binarization/sauvola_ms.cc,
      	* src/binarization/sauvola_ms_debug.cc: Rename time logging
      	functions.
      d86fc9a3
  16. 25 Mar, 2013 1 commit
    • Guillaume Lazzara's avatar
      Add ICDAR contests related source code. · c1877f8b
      Guillaume Lazzara authored
      	* src/contest/Makefile.am: Add subdirs.
      
      	* src/contest/hbr-2013/Makefile.am,
      	* src/contest/hbr-2013/content_in_hdoc_hbr.cc,
      	* src/contest/hnla-2013/Makefile.am,
      	* src/contest/hnla-2013/content_in_hdoc_hnla.cc: New.
      c1877f8b
  17. 19 Mar, 2013 1 commit
    • Guillaume Lazzara's avatar
      Remove last references to mln::trace::*. · 1995b37c
      Guillaume Lazzara authored
      	* demo/xml2doc/main.cc,
      	* scribo/make/debug_filename.hh,
      	* scribo/primitive/identify.hh,
      	* src/afp/regroup.hh,
      	* src/misc/negate.cc,
      	* src/misc/superpose.cc,
      	* src/preprocessing/split_bg_fg.cc,
      	* src/preprocessing/unskew.cc: Here.
      1995b37c
  18. 18 Mar, 2013 1 commit
    • Guillaume Lazzara's avatar
      Make use of mln_trace. · d48b8a4a
      Guillaume Lazzara authored
      	* scribo/binarization/global_threshold.hh,
      	* scribo/binarization/global_threshold_auto.hh,
      	* scribo/binarization/internal/local_threshold_core.hh,
      	* scribo/binarization/kim.hh,
      	* scribo/binarization/local_threshold.hh,
      	* scribo/binarization/niblack.hh,
      	* scribo/binarization/niblack_fast.hh,
      	* scribo/binarization/niblack_threshold.hh,
      	* scribo/binarization/otsu.hh,
      	* scribo/binarization/otsu_threshold.hh,
      	* scribo/binarization/sauvola.hh,
      	* scribo/binarization/sauvola_ms.hh,
      	* scribo/binarization/sauvola_ms_split.hh,
      	* scribo/binarization/sauvola_threshold.hh,
      	* scribo/binarization/singh.hh,
      	* scribo/binarization/wolf.hh,
      	* scribo/binarization/wolf_fast.hh,
      	* scribo/convert/from_base64.hh,
      	* scribo/convert/to_base64.hh,
      	* scribo/core/central_sites.hh,
      	* scribo/core/erase_objects.hh,
      	* scribo/core/init_integral_image.hh,
      	* scribo/debug/alignment_decision_image.hh,
      	* scribo/debug/bboxes_enlarged_image.hh,
      	* scribo/debug/bboxes_image.hh,
      	* scribo/debug/char_space_image.hh,
      	* scribo/debug/decision_image.hh,
      	* scribo/debug/highlight_text_area.hh,
      	* scribo/debug/line_info_image.hh,
      	* scribo/debug/linked_bboxes_image.hh,
      	* scribo/debug/links_decision_image.hh,
      	* scribo/debug/links_image.hh,
      	* scribo/debug/looks_like_a_text_line_image.hh,
      	* scribo/debug/mean_and_base_lines_image.hh,
      	* scribo/debug/save_comp_diff.hh,
      	* scribo/debug/save_label_image.hh,
      	* scribo/debug/save_table_image.hh,
      	* scribo/debug/text_areas_image.hh,
      	* scribo/draw/bounding_box_links.hh,
      	* scribo/draw/bounding_boxes.hh,
      	* scribo/draw/groups_bboxes.hh,
      	* scribo/draw/line_components.hh,
      	* scribo/estim/components_features.hh,
      	* scribo/estim/font_boldness.hh,
      	* scribo/estim/font_color.hh,
      	* scribo/estim/internal/compute_skeleton.hh,
      	* scribo/estim/object_groups_mean_width.hh,
      	* scribo/filter/common/objects_photo.hh,
      	* scribo/filter/images_in_paragraph.hh,
      	* scribo/filter/internal/alignment_angle.hh,
      	* scribo/filter/internal/component_aligned.hh,
      	* scribo/filter/internal/compute.hh,
      	* scribo/filter/object_groups_mean_width.hh,
      	* scribo/filter/object_groups_size_ratio.hh,
      	* scribo/filter/object_groups_small.hh,
      	* scribo/filter/object_groups_with_holes.hh,
      	* scribo/filter/object_links_aligned.hh,
      	* scribo/filter/object_links_bbox_h_ratio.hh,
      	* scribo/filter/object_links_bbox_overlap.hh,
      	* scribo/filter/object_links_bbox_ratio.hh,
      	* scribo/filter/object_links_bbox_w_ratio.hh,
      	* scribo/filter/object_links_bottom_aligned.hh,
      	* scribo/filter/object_links_center_aligned.hh,
      	* scribo/filter/object_links_left_aligned.hh,
      	* scribo/filter/object_links_non_aligned_simple.hh,
      	* scribo/filter/object_links_right_aligned.hh,
      	* scribo/filter/object_links_top_aligned.hh,
      	* scribo/filter/objects_h_thick.hh,
      	* scribo/filter/objects_h_thin.hh,
      	* scribo/filter/objects_large.hh,
      	* scribo/filter/objects_on_border.hh,
      	* scribo/filter/objects_size_ratio.hh,
      	* scribo/filter/objects_small.hh,
      	* scribo/filter/objects_thick.hh,
      	* scribo/filter/objects_thin.hh,
      	* scribo/filter/objects_v_thick.hh,
      	* scribo/filter/objects_v_thin.hh,
      	* scribo/filter/objects_with_holes.hh,
      	* scribo/filter/paragraphs_bbox_overlap.hh,
      	* scribo/filter/paragraphs_in_borders.hh,
      	* scribo/filter/paragraphs_in_image.hh,
      	* scribo/filter/separators_in_borders.hh,
      	* scribo/filter/separators_in_element.hh,
      	* scribo/filter/separators_in_paragraph.hh,
      	* scribo/filter/separators_vert_in_borders.hh,
      	* scribo/io/img/save.hh,
      	* scribo/io/text_boxes/save.hh,
      	* scribo/io/xml/internal/save_image_to_xml.hh,
      	* scribo/io/xml/save.hh,
      	* scribo/layout/xy_cut.hh,
      	* scribo/make/influence_zone_graph.hh,
      	* scribo/make/text_blocks_image.hh,
      	* scribo/make/text_components_image.hh,
      	* scribo/postprocessing/fill_object_holes.hh,
      	* scribo/postprocessing/images_to_drop_capital.hh,
      	* scribo/preprocessing/crop.hh,
      	* scribo/preprocessing/crop_without_localization.hh,
      	* scribo/preprocessing/denoise.hh,
      	* scribo/preprocessing/denoise_bg.hh,
      	* scribo/preprocessing/denoise_fg.hh,
      	* scribo/preprocessing/deskew.hh,
      	* scribo/preprocessing/deskew_crop.hh,
      	* scribo/preprocessing/homogeneous_contrast.hh,
      	* scribo/preprocessing/rotate_90.hh,
      	* scribo/preprocessing/split_bg_fg.hh,
      	* scribo/primitive/extract/alignments.hh,
      	* scribo/primitive/extract/canvas.hh,
      	* scribo/primitive/extract/cells.hh,
      	* scribo/primitive/extract/components.hh,
      	* scribo/primitive/extract/horizontal_separators.hh,
      	* scribo/primitive/extract/lines_discontinued.hh,
      	* scribo/primitive/extract/lines_h_discontinued.hh,
      	* scribo/primitive/extract/lines_h_pattern.hh,
      	* scribo/primitive/extract/lines_h_single.hh,
      	* scribo/primitive/extract/lines_h_thick.hh,
      	* scribo/primitive/extract/lines_h_thick_and_single.hh,
      	* scribo/primitive/extract/lines_h_thick_and_thin.hh,
      	* scribo/primitive/extract/lines_pattern.hh,
      	* scribo/primitive/extract/lines_thick.hh,
      	* scribo/primitive/extract/lines_v_discontinued.hh,
      	* scribo/primitive/extract/lines_v_pattern.hh,
      	* scribo/primitive/extract/lines_v_single.hh,
      	* scribo/primitive/extract/lines_v_thick.hh,
      	* scribo/primitive/extract/lines_v_thick_and_single.hh,
      	* scribo/primitive/extract/non_text.hh,
      	* scribo/primitive/extract/non_text_hdoc.hh,
      	* scribo/primitive/extract/non_text_kmean.hh,
      	* scribo/primitive/extract/separators.hh,
      	* scribo/primitive/extract/separators_nonvisible.hh,
      	* scribo/primitive/extract/vertical_separators.hh,
      	* scribo/primitive/group/apply.hh,
      	* scribo/primitive/group/from_double_link.hh,
      	* scribo/primitive/group/from_double_link_any.hh,
      	* scribo/primitive/group/from_graph.hh,
      	* scribo/primitive/group/from_single_link.hh,
      	* scribo/primitive/identify.hh,
      	* scribo/primitive/internal/find_graph_link.hh,
      	* scribo/primitive/internal/rd.hh,
      	* scribo/primitive/internal/update_graph_link.hh,
      	* scribo/primitive/link/compute.hh,
      	* scribo/primitive/link/compute_several.hh,
      	* scribo/primitive/link/merge_double_link.hh,
      	* scribo/primitive/link/merge_double_link_closest_aligned.hh,
      	* scribo/primitive/link/with_graph.hh,
      	* scribo/primitive/link/with_rag.hh,
      	* scribo/primitive/link/with_several_graphes.hh,
      	* scribo/primitive/link/with_several_left_links.hh,
      	* scribo/primitive/link/with_several_right_closest_links.hh,
      	* scribo/primitive/link/with_several_right_links.hh,
      	* scribo/primitive/link/with_several_right_links_overlap.hh,
      	* scribo/primitive/link/with_single_down_link.hh,
      	* scribo/primitive/link/with_single_left_link.hh,
      	* scribo/primitive/link/with_single_left_link_dmax_ratio.hh,
      	* scribo/primitive/link/with_single_left_link_dmax_ratio_aligned.hh,
      	* scribo/primitive/link/with_single_right_link.hh,
      	* scribo/primitive/link/with_single_right_link_bottom.hh,
      	* scribo/primitive/link/with_single_right_link_dmax_ratio.hh,
      	* scribo/primitive/link/with_single_right_link_dmax_ratio_aligned.hh,
      	* scribo/primitive/link/with_single_right_link_top.hh,
      	* scribo/primitive/link/with_single_up_link.hh,
      	* scribo/primitive/merge/components.hh,
      	* scribo/primitive/regroup/from_single_left_link.hh,
      	* scribo/primitive/regroup/from_single_left_link_wrt_h_ratio.hh,
      	* scribo/primitive/remove/separators.hh,
      	* scribo/subsampling/bilinear.hh,
      	* scribo/subsampling/integral.hh,
      	* scribo/subsampling/integral_single_image.hh,
      	* scribo/table/align_lines_horizontaly.hh,
      	* scribo/table/align_lines_verticaly.hh,
      	* scribo/table/connect_horizontal_lines.hh,
      	* scribo/table/connect_vertical_lines.hh,
      	* scribo/table/erase.hh,
      	* scribo/table/extract.hh,
      	* scribo/table/internal/align_lines.hh,
      	* scribo/table/internal/connect_lines.hh,
      	* scribo/table/internal/repair_lines.hh,
      	* scribo/table/rebuild.hh,
      	* scribo/table/repair_horizontal_lines.hh,
      	* scribo/table/repair_vertical_lines.hh,
      	* scribo/text/clean.hh,
      	* scribo/text/clean_inplace.hh,
      	* scribo/text/extract_lines.hh,
      	* scribo/text/extract_lines_with_features.hh,
      	* scribo/text/extract_lines_wo_merge.hh,
      	* scribo/text/look_like_text_lines.hh,
      	* scribo/text/paragraphs_closing.hh,
      	* scribo/text/recognition.hh,
      	* scribo/toolchain/internal/text_in_doc_preprocess_functor.hh,
      	* scribo/toolchain/nepomuk/text_extraction.hh,
      	* scribo/toolchain/text_in_doc_preprocess.hh,
      	* scribo/toolchain/text_in_picture.hh,
      	* scribo/upsampling/bs2x.hh,
      	* scribo/upsampling/eagle.hh,
      	* scribo/util/box_intersection.hh,
      	* scribo/util/box_is_included.hh,
      	* scribo/util/component_precise_outline.hh,
      	* scribo/util/compute_sub_domains.hh,
      	* scribo/util/hex_to_color.hh,
      	* scribo/util/init_integral_image.hh,
      	* src/binarization/global_threshold.cc,
      	* src/binarization/kim.cc,
      	* src/binarization/niblack.cc,
      	* src/binarization/otsu.cc,
      	* src/binarization/pgm_global_threshold_auto.cc,
      	* src/binarization/pgm_niblack_threshold_image.cc,
      	* src/binarization/sauvola.cc,
      	* src/binarization/sauvola_debug.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/singh.cc,
      	* src/binarization/wolf.cc,
      	* src/content_in_doc.cc,
      	* src/content_in_hdoc.cc,
      	* src/contest/DAE-2011/content_in_doc_dae.cc,
      	* src/contest/DAE-2011/content_in_hdoc_dae.cc,
      	* src/contest/hdlac-2011/content_in_hdoc_hdlac.cc,
      	* src/debug/highlight_text_area.cc,
      	* src/debug/show_info_median_inter_characters.cc,
      	* src/debug/show_info_x_height.cc,
      	* src/debug/show_lines_boldness.cc,
      	* src/debug/show_objects_large.cc,
      	* src/debug/show_objects_large_small.cc,
      	* src/debug/show_objects_small.cc,
      	* src/debug/show_objects_thick.cc,
      	* src/debug/show_objects_thin.cc,
      	* src/debug/show_paragraph_blocks.cc,
      	* src/debug/show_separators.cc,
      	* src/debug/show_stoppers.cc,
      	* src/debug/show_text_lines.cc,
      	* src/debug/show_text_lines_wo_seps.cc,
      	* src/filter/objects_large.cc,
      	* src/filter/objects_small.cc,
      	* src/filter/objects_thick.cc,
      	* src/filter/objects_thin.cc,
      	* src/filter/objects_with_holes.cc,
      	* src/filter/objects_with_holes_pgm.cc,
      	* src/misc/negate.cc,
      	* src/misc/superpose.cc,
      	* src/non_text_components.cc,
      	* src/pbm_text_in_doc.cc,
      	* src/postprocessing/fill_object_holes.cc,
      	* src/preprocessing/denoise_bg.cc,
      	* src/preprocessing/denoise_fg.cc,
      	* src/preprocessing/preprocess.cc,
      	* src/preprocessing/split_bg_fg.cc,
      	* src/preprocessing/subsample.cc,
      	* src/preprocessing/unskew.cc,
      	* src/primitive/extract/alignments.cc,
      	* src/primitive/extract/discontinued_hlines.cc,
      	* src/primitive/extract/discontinued_lines.cc,
      	* src/primitive/extract/discontinued_vlines.cc,
      	* src/primitive/extract/lines_pattern.cc,
      	* src/primitive/extract/separators_nonvisible.cc,
      	* src/primitive/extract/thick_hlines.cc,
      	* src/primitive/extract/thick_vlines.cc,
      	* src/primitive/find/find_discontinued_lines.cc,
      	* src/primitive/find/find_pattern_lines.cc,
      	* src/primitive/find/find_single_lines.cc,
      	* src/primitive/find/find_thick_and_single_lines.cc,
      	* src/primitive/find/find_thick_lines.cc,
      	* src/primitive/remove/separators.cc,
      	* src/table/erase.cc,
      	* src/table/extract.cc,
      	* src/text/cleantxt.cc,
      	* src/text/pbm_lines_recognition.cc,
      	* src/text/pbm_recognition.cc,
      	* src/text_in_picture.cc,
      	* src/text_in_picture_dual.cc,
      	* src/text_recognition_in_picture.cc,
      	* src/util/component_precise_outline.cc: Here.
      d48b8a4a
  19. 15 Mar, 2013 1 commit
    • Guillaume Lazzara's avatar
      Remove references to InitializeMagick(). · 40eaf23f
      Guillaume Lazzara authored
      	* scribo/demo/viewer/main.cc,
      	* scribo/demo/xml2doc/main.cc,
      	* scribo/core/document.hh,
      	* scribo/debug/logger.hh,
      	* 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/singh.cc,
      	* src/binarization/wolf.cc,
      	* src/content_in_doc.cc,
      	* src/content_in_hdoc.cc,
      	* src/contest/DAE-2011/content_in_doc_dae.cc,
      	* src/contest/DAE-2011/content_in_hdoc_dae.cc,
      	* src/contest/hdlac-2011/content_in_hdoc_hdlac.cc,
      	* src/debug/show_components_boldness.cc,
      	* src/debug/show_components_color.cc,
      	* src/non_text_components.cc,
      	* src/preprocessing/rotate.cc,
      	* src/preprocessing/rotate_90.cc,
      	* src/preprocessing/split_bg_fg.cc,
      	* src/text_in_doc_preprocess.cc,
      	* src/text_in_picture.cc,
      	* src/text_in_picture_dual.cc,
      	* src/text_recognition_in_picture.cc: Here.
      40eaf23f
  20. 08 Mar, 2013 1 commit
  21. 07 Mar, 2013 1 commit
    • Guillaume Lazzara's avatar
      Fix compilation issues. · 3272d151
      Guillaume Lazzara authored
      	* scribo/binarization/local_threshold.hh,
      	* scribo/core/central_sites.hh,
      	* scribo/debug/save_table_image.hh,
      	* scribo/filter/object_groups_with_holes.hh,
      	* scribo/fun/v2b/objects_large_filter.hh,
      	* scribo/make/influence_zone_graph.hh,
      	* scribo/postprocessing/fill_object_holes.hh: Fix namespace
      	ambiguities.
      
      	* scribo/toolchain/text_in_doc_preprocess.hh: Fix arguments.
      
      	* scribo/toolchain/internal/text_in_doc_preprocess_functor.hh,
      	* scribo/util/integral_sub_sum_sum2_functor.hh: Use namespace mln.
      
      	* scribo/util/compute_sub_domains.hh,
      	* scribo/util/integral_sum_sum2_functor.hh,
      	* scribo/util/integral_sum_sum2_global_min_functor.hh,
      	* src/contest/hdibco-2010/sauvola_ms_hdibco.cc: Add missing
      	include.
      
      	* scribo/io/img/save.hh: Use box2d constructor.
      3272d151
  22. 26 Feb, 2013 2 commits
    • Guillaume Lazzara's avatar
      Fix call to text_in_doc_preprocess(). · 94d54581
      Guillaume Lazzara authored
      	* src/content_in_hdoc.cc,
      	* src/contest/hdlac-2011/content_in_hdoc_hdlac.cc,
      	* src/non_text_components.cc,
      	* src/text_in_doc_preprocess.cc: Here.
      94d54581
    • 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
  23. 13 Feb, 2013 2 commits
    • Roland Levillain's avatar
      Simplify more Scribo Makefiles thanks to AM_DEFAULT_SOURCE_EXT. · 155ebbe2
      Roland Levillain authored
      	* src/binarization/Makefile.am,
      	* src/contest/DAE-2011/Makefile.am,
      	* src/contest/hdibco-2010/Makefile.am,
      	* src/contest/hdlac-2011/Makefile.am,
      	* src/postprocessing/Makefile.am,
      	* src/primitive/remove/Makefile.am,
      	* src/toolchain/nepomuk/Makefile.am,
      	* src/util/Makefile.am,
      	* tests/binarization/Makefile.am,
      	* tests/convert/Makefile.am,
      	* tests/core/Makefile.am,
      	* tests/estim/Makefile.am,
      	* tests/primitive/extract/Makefile.am,
      	* tests/primitive/link/Makefile.am,
      	* tests/toolchain/nepomuk/Makefile.am,
      	* tests/util/Makefile.am:
      	Here.
      155ebbe2
    • Roland Levillain's avatar
      Use AM_DEFAULT_SOURCE_EXT to simplify Scribo's Makefiles. · 12d0a854
      Roland Levillain authored
      	* common.mk: New.
      	Include it...
      	* scribo.mk,
      	* tests/tests.mk:
      	...here.
      	* src/Makefile.am,
      	* src/binarization/Makefile.am,
      	* src/debug/Makefile.am,
      	* src/filter/Makefile.am,
      	* src/misc/Makefile.am,
      	* src/multi_scale/Makefile.am,
      	* src/preprocessing/Makefile.am,
      	* src/primitive/extract/Makefile.am,
      	* src/primitive/find/Makefile.am,
      	* src/primitive/group/Makefile.am,
      	* src/table/Makefile.am,
      	* src/text/Makefile.am,
      	* tests/filter/Makefile.am,
      	* tests/preprocessing/Makefile.am,
      	* tests/table/Makefile.am:
      	Remove (now useless) `*_SOURCES' variables using
      	sed -ri '/^(\s|#)*\S+_SOURCES\s*=\s*\S+.cc\s*$/d'.
      	* tests/unit_test/build_unit_test.sh: No longer output `*_SOURCES'
      	variables.
      	* tests/unit_test/unit-tests.mk: Regen.
      12d0a854
  24. 07 Feb, 2013 1 commit
    • Roland Levillain's avatar
      Remove scoria from Makefiles. · 62a8605f
      Roland Levillain authored
      	* src/contest/DAE-2011/Makefile.am,
      	* src/contest/Makefile.am,
      	* src/contest/hdibco-2010/Makefile.am,
      	* src/contest/hdlac-2011/Makefile.am,
      	* src/postprocessing/Makefile.am,
      	* tests/binarization/Makefile.am,
      	* tests/convert/Makefile.am,
      	* tests/core/Makefile.am,
      	* tests/estim/Makefile.am,
      	* tests/toolchain/nepomuk/Makefile.am:
      	Here.
      62a8605f
  25. 28 Jan, 2013 2 commits
    • Guillaume Lazzara's avatar
      Use io::magick to save output. · b05f4e5c
      Guillaume Lazzara authored
      	* src/binarization/niblack.cc,
      	* src/binarization/otsu.cc,
      	* src/binarization/sauvola.cc,
      	* src/binarization/sauvola_ms.cc,
      	* src/binarization/wolf.cc: Here.
      b05f4e5c
    • Guillaume Lazzara's avatar
      Fix binarization programs. · d4370554
      Guillaume Lazzara authored
      	* src/binarization/sauvola_ms.cc: Add negate option.
      
      	* src/binarization/sauvola_ms_debug.cc: Fix invalid k parameter
      	value.
      d4370554
  26. 27 Nov, 2012 2 commits
  27. 09 Oct, 2012 1 commit
  28. 28 Sep, 2012 1 commit
  29. 10 Sep, 2012 1 commit
  30. 07 Sep, 2012 1 commit
  31. 23 Aug, 2012 6 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
      Fix invalid default options. · 73e6122b
      Guillaume Lazzara authored
      	* src/binarization/sauvola_ms_split.cc: Here.
      73e6122b
    • 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
    • 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