1. 03 Jun, 2010 1 commit
  2. 25 May, 2010 5 commits
  3. 21 May, 2010 1 commit
    • Edwin Carlinet's avatar
      Add MLN_WO_GLOBAL_VARS directive that prevents globals vars to be included. · 482527bb
      Edwin Carlinet authored and Guillaume Lazzara's avatar Guillaume Lazzara committed
      	* mln/border/thickness.hh,
      	* mln/core/alias/dpoint1d.hh,
      	* mln/core/alias/dpoint2d.hh,
      	* mln/core/alias/dpoint3d.hh,
      	* mln/fun/v2v/hsl_to_rgb.hh,
      	* mln/literal/black.hh,
      	* mln/literal/colors.hh,
      	* mln/literal/identity.hh,
      	* mln/literal/one.hh,
      	* mln/literal/origin.hh,
      	* mln/literal/white.hh,
      	* mln/literal/zero.hh,
      	* mln/tag/init.hh,
      	* mln/trace/entering.hh,
      	* mln/trace/quiet.hh,
      	* mln/value/sign.hh : Add MLN_WO_GLOBAL_VARS define.
      482527bb
  4. 30 Apr, 2010 3 commits
    • Guillaume Lazzara's avatar
      Add some code in my sandbox. · 902b12ce
      Guillaume Lazzara authored
      	* milena/sandbox/lazzara/scribo/binarization_naive/main.cc,
      	* milena/sandbox/lazzara/scribo/binarization_naive/toto.cc,
      	* milena/sandbox/lazzara/scribo/fill_holes/main.cc,
      	* milena/sandbox/lazzara/scribo/separateurs_materialises/lines_pattern.cc,
      	* milena/sandbox/lazzara/scribo/skeleton_crest/main.cc,
      	* milena/sandbox/lazzara/skeleton_crest/main.cc: New.
      902b12ce
    • Guillaume Lazzara's avatar
      Add fastest implementations in labeling::compute. · 79ee98c0
      Guillaume Lazzara authored
      	* mln/labeling/compute.hh: New fastest implementations.
      79ee98c0
    • Guillaume Lazzara's avatar
      Small fixes in Milena. · 669c38a5
      Guillaume Lazzara authored
      	* milena/mln/canvas/labeling/blobs.hh: Fill extension.
      
      	* milena/mln/data/paste_without_localization.hh: Check whether the
      	two images have the same domain.
      
      	* milena/mln/labeling/blobs_and_compute.hh: Rename members.
      
      	* milena/mln/labeling/colorize.hh: Add missing includes.
      
      	* milena/mln/world/binary_2d/enlarge.hh: use def::coord.
      669c38a5
  5. 13 Apr, 2010 2 commits
  6. 09 Apr, 2010 11 commits
  7. 19 Mar, 2010 2 commits
  8. 18 Mar, 2010 1 commit
    • Guillaume Lazzara's avatar
      Cleanup binarization tools. · e1a1cc37
      Guillaume Lazzara authored
      	* binarization/binarize.hh,
      	* binarization/simple.hh,
      	* binarization/sauvola_threshold.hh,
      	* src/binarization/simple.cc,
      	* src/binarization/sauvola_pgm.cc,
      	* src/binarization/sauvola_ms.cc,
      	* src/binarization/sauvola.cc: Rename as...
      
      
      	* binarization/local_threshold.hh,
      	* binarization/global_threshold_auto.hh,
      	* binarization/sauvola_threshold_image.hh,
      	* src/binarization/pgm_global_threshold_auto.cc,
      	* src/binarization/pgm_sauvola.cc,
      	* src/binarization/pgm_sauvola_ms.cc,
      	* src/binarization/ppm_sauvola.cc: ... this.
      
      	* binarization/global_threshold.hh,
      	* binarization/sauvola_ms_split.hh,
      	* src/binarization/ppm_fg_sauvola_ms.cc,
      	* src/binarization/ppm_sauvola_ms.cc,
      	* src/binarization/ppm_sauvola_ms_split.cc: New.
      
      	* binarization/internal/first_pass_functor.hh: Fix an include.
      
      	* binarization/sauvola.hh: Update code according to last renaming.
      
      	* binarization/sauvola_ms.hh: Invert threshold test and add
      	documentation.
      
      	* src/binarization/Makefile.am: Add new targets.
      
      	* tests/Makefile.am,
      	* tests/binarization/Makefile.am,
      	* tests/binarization/global_threshold.cc,
      	* tests/binarization/local_threshold.cc: New tests.
      e1a1cc37
  9. 17 Mar, 2010 1 commit
    • Guillaume Lazzara's avatar
      Update AFP's toolchain according to last changes in core classes. · 70d61a2d
      Guillaume Lazzara authored
      	* core/object_groups.hh: Add duplicate().
      
      	* primitive/group/apply.hh: Preserve components ids.
      
      	* draw/groups_bboxes.hh,
      	* filter/object_groups_with_holes.hh,
      	* primitive/regroup/from_single_left_link.hh: New.
      
      	* src/text_in_photo_ppm_fast.cc: Make it work with the new core
      	classes. Fix component ids issues when relabeling.
      70d61a2d
  10. 15 Mar, 2010 13 commits
    • Guillaume Lazzara's avatar
    • Guillaume Lazzara's avatar
      Add a new example for finding text in pictures. · b0562970
      Guillaume Lazzara authored
      	* src/Makefile.am: Add new target.
      
      	* src/text_in_photo_pbm_fast.cc: New.
      b0562970
    • Guillaume Lazzara's avatar
      First draft of the dematerialization wizard. · 4046dfe6
      Guillaume Lazzara authored
      	* demo/shared/icons/Symbols-Delete-icon.png,
      	* demo/shared/icons/accept-icon.png,
      	* demo/shared/icons/close.gif,
      	* demo/shared/icons/crop-icon.png,
      	* demo/shared/icons/image-add-icon.png,
      	* demo/shared/icons/image-edit-icon.png,
      	* demo/shared/icons/image-multi-icon.png,
      	* demo/shared/icons/image-next-icon.png,
      	* demo/shared/icons/image-remove-icon.png,
      	* demo/shared/icons/next-icon.png,
      	* demo/shared/icons/page-down-icon.png,
      	* demo/shared/icons/page-search-icon.png,
      	* demo/shared/icons/rotate_ccw.png,
      	* demo/shared/icons/rotate_cw.png,
      	* demo/shared/icons/search-add-icon.png,
      	* demo/shared/icons/search-remove-icon.png,
      	* demo/shared/shared.qrc,
      	* demo/shared/src/bak/crop_item.cc,
      	* demo/shared/src/bak/crop_item.hh,
      	* demo/shared/src/bak/image_viewer.cc,
      	* demo/shared/src/bak/image_viewer.hh,
      	* demo/shared/src/bak/types.hh,
      	* demo/shared/src/browse_widget.cc,
      	* demo/shared/src/browse_widget.hh,
      	* demo/shared/src/crop_item.cc,
      	* demo/shared/src/crop_item.hh,
      	* demo/shared/src/image_viewer.cc,
      	* demo/shared/src/image_viewer.hh,
      	* demo/shared/src/internal.bak/interactive_scene.cc,
      	* demo/shared/src/internal.bak/interactive_scene.hh,
      	* demo/shared/src/internal.bak/selection_rectangle.cc,
      	* demo/shared/src/internal.bak/selection_rectangle.hh,
      	* demo/shared/src/internal/interactive_scene.cc,
      	* demo/shared/src/internal/interactive_scene.hh,
      	* demo/shared/src/internal/selection_rectangle.cc,
      	* demo/shared/src/internal/selection_rectangle.hh,
      	* demo/shared/src/to_mln_image.hh,
      	* demo/shared/src/types.hh,
      	* demo/shared/ui/browse_widget.ui,
      	* demo/shared/ui/crop_widget.ui,
      	* demo/shared/ui/image_viewer.ui,
      	* demo/shared/ui/interactive_scene.cc,
      	* demo/shared/ui/interactive_scene.hh,
      	* demo/shared/ui/rotate_widget.ui,
      	* demo/wizard/images/dematerialization.png,
      	* demo/wizard/src/crop_page.cc,
      	* demo/wizard/src/crop_page.hh,
      	* demo/wizard/src/crop_widget.cc,
      	* demo/wizard/src/crop_widget.hh,
      	* demo/wizard/src/doc_type.hh,
      	* demo/wizard/src/doc_type_page.cc,
      	* demo/wizard/src/doc_type_page.hh,
      	* demo/wizard/src/doc_type_widget.cc,
      	* demo/wizard/src/doc_type_widget.hh,
      	* demo/wizard/src/load_page.cc,
      	* demo/wizard/src/load_page.hh,
      	* demo/wizard/src/load_widget.cc,
      	* demo/wizard/src/load_widget.hh,
      	* demo/wizard/src/main.cc,
      	* demo/wizard/src/main_window.cc,
      	* demo/wizard/src/main_window.hh,
      	* demo/wizard/src/mln_widgets.cc,
      	* demo/wizard/src/preprocessing_page.cc,
      	* demo/wizard/src/preprocessing_page.hh,
      	* demo/wizard/src/preprocessing_task.hh,
      	* demo/wizard/src/preprocessing_widget.cc,
      	* demo/wizard/src/preprocessing_widget.hh,
      	* demo/wizard/src/process_page.cc,
      	* demo/wizard/src/process_page.hh,
      	* demo/wizard/src/process_widget.cc,
      	* demo/wizard/src/process_widget.hh,
      	* demo/wizard/src/rotate_page.cc,
      	* demo/wizard/src/rotate_page.hh,
      	* demo/wizard/src/rotate_widget.cc,
      	* demo/wizard/src/rotate_widget.hh,
      	* demo/wizard/src/runner.cc,
      	* demo/wizard/src/runner.hh,
      	* demo/wizard/src/test.cc,
      	* demo/wizard/ui/doc_type_widget.ui,
      	* demo/wizard/ui/load_widget.ui,
      	* demo/wizard/ui/main_window.ui,
      	* demo/wizard/ui/preprocessing_widget.ui,
      	* demo/wizard/wizard.pro,
      	* demo/wizard/wizard.qrc: New.
      4046dfe6
    • Guillaume Lazzara's avatar
      Update examples. · cae5c856
      Guillaume Lazzara authored
      	* src/text_in_photo_ppm_fast.cc,
      	* src/debug/show_links_bottom_aligned.cc,
      	* src/debug/show_links_top_aligned.cc: Update calls to routines.
      
      	* src/preprocessing/trash.cc,
      	* src/text_in_photo_ppm_fast_2.cc,
      	* src/preprocessing/split_bg_fg_ms.cc,
      	* src/preprocessing/denoising.cc: Removed.
      
      	* src/preprocessing/denoise.cc,
      	* src/preprocessing/homogeneous_contrast.ccm,
      	* src/preprocessing/subsample.cc: New.
      
      	* src/preprocessing/Makefile.am: Add new files as target.
      
      	* src/preprocessing/split_bg_fg.cc: Fix usage.
      
      	* src/text_in_article.cc: Update processing chain.
      cae5c856
    • Guillaume Lazzara's avatar
      Improve text line merging algorithm. · de558e1f
      Guillaume Lazzara authored
      	* text/merging.hh: Change merge rules and improve integration with
      	Scribo line structures.
      de558e1f
    • Guillaume Lazzara's avatar
      Add a reconstruction algorithm. · ec5a4728
      Guillaume Lazzara authored
      	* primitive/internal/rd.hh: New.
      ec5a4728
    • Guillaume Lazzara's avatar
      Small fixes. · 2d5c9e76
      Guillaume Lazzara authored
      	* binarization/sauvola_ms.hh: Add a missing include.
      
      	* binarization/sauvola_threshold.hh: Remove debug and useless
      	comments.
      
      	* preprocessing/unskew.hh: Fix invalid guards.
      
      	* primitive/extract/components.hh: Fill image extension.
      
      	* primitive/extract/lines_pattern.hh: Adjust and fill image
      	extension.
      
      	* primitive/extract/lines_v_thick.hh: Fix traces.
      2d5c9e76
    • Guillaume Lazzara's avatar
      Add new preprocessing routines. · b8b44828
      Guillaume Lazzara authored
      	* preprocessing/denoise.hh,
      	* preprocessing/denoise_bg.hh,
      	* preprocessing/denoise_fg.hh,
      	* preprocessing/homogeneous_contrast.hh,
      	* preprocessing/rotate_90.hh: New routines.
      
      	* fun/v2b/label_to_bool.hh: New function.
      
      	* tests/preprocessing/Makefile.am,
      	* tests/preprocessing/rotate_90.cc: New test.
      b8b44828
    • Guillaume Lazzara's avatar
      Update code according to last changes in Scribo core classes. · 1e6a267b
      Guillaume Lazzara authored
      	* draw/bounding_box_links.hh,
      	* primitive/internal/init_link_array.hh,
      	* primitive/internal/is_link_valid.hh,
      	* primitive/link/internal/link_single_dmax_base.hh,
      	* src/afp/link.hh: Update the use of object_link class.
      
      	* draw/bounding_boxes.hh,
      	* filter/objects_with_holes.hh,
      	* src/afp/regroup.hh: Update for_all macro.
      
      	* estim/object_groups_v_thickness.hh,
      	* filter/object_groups_small.hh,
      	* filter/object_groups_v_thickness.hh,
      	* text/recognition.hh: Update access to component_set.
      
      	* filter/object_links_bbox_h_ratio.hh,
      	* filter/object_links_bbox_overlap.hh,
      	* filter/object_links_bbox_ratio.hh,
      	* filter/object_links_bottom_aligned.hh,
      	* filter/object_links_non_aligned_simple.hh,
      	* filter/object_links_top_aligned.hh,
      	* primitive/group/apply.hh,
      	* primitive/group/from_single_link.hh,
      	* primitive/link/merge_double_link.hh,
      	* primitive/link/with_single_right_link_bottom.hh,
      	* primitive/link/with_single_right_link_dmax_ratio.hh,
      	* primitive/link/with_single_right_link_top.hh: Improve routine
      	prototypes.
      
      	* primitive/link/internal/link_functor_base.hh: Make use of
      	separators if exist.
      1e6a267b
    • Guillaume Lazzara's avatar
      Improve debug routines in Scribo. · 3a3cd53c
      Guillaume Lazzara authored
      	* debug/bboxes_enlarged_image.hh,
      	* debug/looks_like_a_text_line_image.hh,
      	* debug/mean_and_base_lines_image.hh: New routines.
      
      	* debug/alignment_decision_image.hh,
      	* debug/decision_image.hh,
      	* debug/save_bboxes_image.hh: Update code according to last
      	changes in core classes.
      
      	* debug/usage.hh: Make the description optional.
      3a3cd53c
    • Guillaume Lazzara's avatar
      Improve core classes in Scribo. · 94a1f48d
      Guillaume Lazzara authored
      	* core/component_info.hh,
      	* core/component_set.hh: Add new methods and an output operator.
      
      	* core/line_info.hh: Add new methods and improve stats computation.
      
      	* core/line_set.hh: Add new methods.
      
      	* core/macros.hh: Add more specific macros.
      
      	* core/tag/component.hh,
      	* core/tag/line.hh: Add output operators.
      94a1f48d
    • Guillaume Lazzara's avatar
      Share internal data in groups and links structures. · cb3ec8ce
      Guillaume Lazzara authored
      	* core/object_groups.hh,
      	* core/object_links.hh: Share internal data using a tracked
      	pointer.
      cb3ec8ce
    • Guillaume Lazzara's avatar