Commit d48b8a4a authored by Guillaume Lazzara's avatar Guillaume Lazzara
Browse files

Make use of mln_trace.

	* 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.
parent 24d3d373
2013-03-15 Guillaume Lazzara <z@lrde.epita.fr>
Make use of mln_trace.
* 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.
2013-03-15 Guillaume Lazzara <z@lrde.epita.fr>
Remove references to InitializeMagick().
......
......@@ -72,7 +72,7 @@ namespace scribo
mln_ch_value(I, bool)
global_threshold(const Image<I>& input, const mln_value(I)& threshold)
{
trace::entering("scribo::binarization::global_threshold");
mln_trace("scribo::binarization::global_threshold");
mln_precondition(exact(input).is_valid());
mlc_is_not_a(mln_value(I), value::Vectorial)::check();
......@@ -80,7 +80,6 @@ namespace scribo
mln::fun::v2b::threshold_le<mln_value(I)> f(threshold);
mln_ch_value(I, bool) output = data::transform(input, f);
trace::exiting("scribo::binarization::global_threshold");
return output;
}
......
......@@ -89,7 +89,7 @@ namespace scribo
mln_ch_value(I, bool)
global_threshold_auto(const Image<I>& input_)
{
trace::entering("scribo::binarization::global_threshold_auto");
mln_trace("scribo::binarization::global_threshold_auto");
const I& input = exact(input_);
mln_precondition(input.is_valid());
......@@ -154,7 +154,6 @@ namespace scribo
mln_ch_value(I, bool) output;
output = duplicate((pw::value(input) < pw::cst(threshold)) | input.domain());
trace::exiting("scribo::binarization::global_threshold_auto");
return output;
}
......
......@@ -110,12 +110,11 @@ namespace scribo
void
local_threshold_core(const Image<I>& input, unsigned window_size)
{
trace::entering("scribo::binarization::internal::impl::generic::local_threshold_core");
mln_trace("scribo::binarization::internal::impl::generic::local_threshold_core");
// Not implemented
mlc_abort(I)::check();
trace::exiting("scribo::binarization::internal::impl::generic::local_threshold_core");
}
} // end of namespace scribo::binarization::internal::impl::generic
......@@ -125,7 +124,7 @@ namespace scribo
void
local_threshold_core_fastest(const Image<I>& input, F& f, unsigned window_size)
{
trace::entering("scribo::binarization::internal::impl::generic::local_threshold_core");
mln_trace("scribo::binarization::internal::impl::generic::local_threshold_core");
mln_precondition(exact(input).is_valid());
scribo::debug::logger().start_local_time_logging();
......@@ -174,7 +173,6 @@ namespace scribo
scribo::debug::logger().stop_local_time_logging("Binarization -");
trace::exiting("scribo::binarization::internal::impl::generic::local_threshold_core");
}
......@@ -227,7 +225,7 @@ namespace scribo
void
local_threshold_core(const Image<I>& input, F& f, unsigned window_size)
{
trace::entering("scribo::binarization::internal::local_threshold_core");
mln_trace("scribo::binarization::internal::local_threshold_core");
mln_precondition(exact(input).is_valid());
......@@ -252,7 +250,6 @@ namespace scribo
mln::debug::filename(alphacond_image_output));
# endif // ! SCRIBO_LOCAL_THRESHOLD_DEBUG
trace::exiting("scribo::binarization::internal::local_threshold_core");
}
template <typename I, typename F>
......
......@@ -133,7 +133,7 @@ namespace scribo
mln_ch_value(I, bool)
kim(const Image<I>& input_, unsigned window_size, double k)
{
trace::entering("scribo::binarization::kim");
mln_trace("scribo::binarization::kim");
const I& input = exact(input_);
......@@ -241,7 +241,6 @@ namespace scribo
}
}
trace::exiting("scribo::binarization::kim");
return output;
}
......
......@@ -97,7 +97,7 @@ namespace scribo
mln_ch_value(I, bool)
local_threshold(const Image<I>& input_, const Image<T>& threshold_)
{
trace::entering("scribo::binarization::impl::generic::local_threshold");
mln_trace("scribo::binarization::impl::generic::local_threshold");
internal::local_threshold_tests(input_, threshold_);
......@@ -111,7 +111,6 @@ namespace scribo
for_all(p)
output(p) = (input(p) <= threshold(p));
trace::exiting("scribo::binarization::impl::generic::local_threshold");
return output;
}
......@@ -124,7 +123,7 @@ namespace scribo
local_threshold_fastest(const Image<I>& input_,
const Image<T>& threshold_)
{
trace::entering("scribo::binarization::impl::generic::local_threshold_fastest");
mln_trace("scribo::binarization::impl::generic::local_threshold_fastest");
internal::local_threshold_tests(input_, threshold_);
const I& input = exact(input_);
......@@ -141,7 +140,6 @@ namespace scribo
for_all_3(pi, pt, po)
po.val() = (pi.val() <= pt.val());
trace::exiting("scribo::binarization::impl::generic::local_threshold_fastest");
return output;
}
......@@ -195,14 +193,13 @@ namespace scribo
mln_ch_value(I, bool)
local_threshold(const Image<I>& input, const Image<T>& threshold)
{
trace::entering("scribo::binarization::local_threshold");
mln_trace("scribo::binarization::local_threshold");
internal::local_threshold_tests(input, threshold);
mln_ch_value(I, bool)
output = internal::local_threshold_dispatch(input, threshold);
trace::exiting("scribo::binarization::local_threshold");
return output;
}
......
......@@ -94,14 +94,13 @@ namespace scribo
mln_ch_value(I, bool)
niblack(const Image<I>& input, unsigned window_size, double K)
{
trace::entering("scribo::binarization::niblack");
mln_trace("scribo::binarization::niblack");
mln_precondition(exact(input).is_valid());
internal::niblack_functor<I> f(input, K);
internal::local_threshold_core(input, f, window_size);
trace::exiting("scribo::binarization::niblack");
return f.output;
}
......
......@@ -90,14 +90,13 @@ namespace scribo
mln_ch_value(I, bool)
niblack_fast(const Image<I>& input, unsigned window_size, double K)
{
trace::entering("scribo::binarization::niblack_fast");
mln_trace("scribo::binarization::niblack_fast");
mln_precondition(exact(input).is_valid());
internal::niblack_functor_fast<I> f(input, K);
internal::local_threshold_core(input, f, window_size);
trace::exiting("scribo::binarization::niblack_fast");
return f.output;
}
......
......@@ -93,7 +93,7 @@ namespace scribo
niblack_threshold(const Image<I>& input, unsigned window_size,
double K)
{
trace::entering("scribo::binarization::niblack_threshold");
mln_trace("scribo::binarization::niblack_threshold");
mln_precondition(mln_site_(I)::dim == 2);
mln_precondition(exact(input).is_valid());
......@@ -101,7 +101,6 @@ namespace scribo
internal::niblack_threshold_functor<I> f(input, K);
internal::local_threshold_core(input, f, window_size);
trace::exiting("scribo::binarization::niblack_threshold");
return f.output;
}
......
......@@ -63,7 +63,7 @@ namespace scribo
mln_ch_value(I,bool)
otsu(const Image<I>& input_)
{
trace::entering("scribo::binarization::otsu");
mln_trace("scribo::binarization::otsu");
const I& input = exact(input_);
mln_precondition(input.is_valid());
......
......@@ -65,7 +65,7 @@ namespace scribo
mln_value(I)
otsu_threshold(const Image<I>& input_)
{
trace::entering("scribo::binarization::otsu_threshold");
mln_trace("scribo::binarization::otsu_threshold");
const I& input = exact(input_);
mln_precondition(input.is_valid());
......@@ -122,7 +122,6 @@ namespace scribo
}
}
trace::exiting("scribo::binarization::otsu_threshold");
return threshold;
}
......
......@@ -96,14 +96,13 @@ namespace scribo
mln_ch_value(I, bool)
sauvola(const Image<I>& input, unsigned window_size, double K)
{
trace::entering("scribo::binarization::sauvola");
mln_trace("scribo::binarization::sauvola");
mln_precondition(exact(input).is_valid());
internal::sauvola_functor<I> f(input, K, SCRIBO_DEFAULT_SAUVOLA_R);
internal::local_threshold_core(input, f, window_size);
trace::exiting("scribo::binarization::sauvola");
return f.output;
}
......
......@@ -805,7 +805,7 @@ namespace scribo
unsigned s,
image2d<mln::util::couple<double,double> >& integral_sum_sum_2)
{
trace::entering("scribo::binarization::sauvola_ms");
mln_trace("scribo::binarization::sauvola_ms");
const I& input_1 = exact(input_1_);
typedef mln_value(I) V;
......@@ -1000,7 +1000,6 @@ namespace scribo
scribo::debug::logger().stop_local_time_logging("5. Final binarization -");
scribo::debug::logger().start_local_time_logging();
trace::exiting("scribo::binarization::sauvola_ms");
return output;
}
......@@ -1017,7 +1016,7 @@ namespace scribo
sauvola_ms(const Image<I>& input_1_, unsigned w_1, unsigned s,
image2d<mln::util::couple<double,double> >& integral_sum_sum_2)
{
trace::entering("scribo::binarization::sauvola_ms");
mln_trace("scribo::binarization::sauvola_ms");
mln_precondition(exact(input_1_).is_valid());
// Gray level images ONLY.
......@@ -1028,7 +1027,6 @@ namespace scribo
output = impl::generic::sauvola_ms(exact(input_1_), w_1, s,
integral_sum_sum_2);
trace::exiting("scribo::binarization::sauvola_ms");
return output;
}
......@@ -1036,7 +1034,7 @@ namespace scribo
mln_ch_value(I,bool)
sauvola_ms(const Image<I>& input_1_, unsigned w_1, unsigned s)
{
trace::entering("scribo::binarization::sauvola_ms");
mln_trace("scribo::binarization::sauvola_ms");
mln_precondition(exact(input_1_).is_valid());
// Gray level images ONLY.
......@@ -1049,7 +1047,6 @@ namespace scribo
mln_ch_value(I,bool)
output = sauvola_ms(input_1_, w_1, s, integral_sum_sum_2);
trace::exiting("scribo::binarization::sauvola_ms");
return output;
}
......
......@@ -105,7 +105,7 @@ namespace scribo
unsigned s, unsigned min_ntrue, double k2,
double k3, double k4)
{
trace::entering("scribo::binarization::sauvola_ms_split");
mln_trace("scribo::binarization::sauvola_ms_split");
mln_precondition(exact(input_1_).is_valid());
mlc_is(mln_value(I), value::rgb8)::check();
......@@ -157,7 +157,6 @@ namespace scribo
++b_ptr;
}
trace::exiting("scribo::binarization::sauvola_ms_split");
return output;
}
......
......@@ -91,7 +91,7 @@ namespace scribo
sauvola_threshold(const Image<I>& input, unsigned window_size,
double K)
{
trace::entering("scribo::binarization::sauvola_threshold");
mln_trace("scribo::binarization::sauvola_threshold");
mln_precondition(mln_site_(I)::dim == 2);
mln_precondition(exact(input).is_valid());
......@@ -99,7 +99,6 @@ namespace scribo
internal::sauvola_threshold_functor<I> f(input, K, SCRIBO_DEFAULT_SAUVOLA_R);
internal::local_threshold_core(input, f, window_size);
trace::exiting("scribo::binarization::sauvola_threshold");
return f.output;
}
......
......@@ -89,14 +89,13 @@ namespace scribo
mln_ch_value(I, bool)
singh(const Image<I>& input, unsigned window_size, double K)
{
trace::entering("scribo::binarization::singh");