1. 29 May, 2009 3 commits
    • Guillaume Lazzara's avatar
      Do not use essential/2d.hh in doc samples anymore. · d2e43b31
      Guillaume Lazzara authored
      	* doc/examples/accu-right-instanciation.cc,
      	* doc/examples/borderthickness.cc,
      	* doc/examples/box2d-bbox.cc,
      	* doc/examples/domain-display.cc,
      	* doc/examples/dpoint-1.cc,
      	* doc/examples/estim-sites.cc,
      	* doc/examples/extend.cc,
      	* doc/examples/extension-ignore.cc,
      	* doc/examples/fill-call-1.cc,
      	* doc/examples/fill-part-image.cc,
      	* doc/examples/fill-subdomain-shorter.cc,
      	* doc/examples/fill-subdomain.cc,
      	* doc/examples/fill-subimage-cfun.cc,
      	* doc/examples/fill.cc,
      	* doc/examples/forall-piter.cc,
      	* doc/examples/fun-p2v-1.cc,
      	* doc/examples/graph-data.cc,
      	* doc/examples/graph-iter.cc,
      	* doc/examples/ima-has.cc,
      	* doc/examples/ima-load.cc,
      	* doc/examples/ima-save.cc,
      	* doc/examples/ima-size.cc,
      	* doc/examples/ima2d-1.cc,
      	* doc/examples/ima2d-2.cc,
      	* doc/examples/ima2d-4.cc,
      	* doc/examples/ima2d-5.cc,
      	* doc/examples/ima2d-6-clone.cc,
      	* doc/examples/ima2d-7.cc,
      	* doc/examples/ima2d-rot.cc,
      	* doc/examples/labeling-compute.cc,
      	* doc/examples/logical-not.cc,
      	* doc/examples/mln_var.cc,
      	* doc/examples/parray-append.cc,
      	* doc/examples/parray-bbox.cc,
      	* doc/examples/paste-call-1.cc,
      	* doc/examples/paste.cc,
      	* doc/examples/point-1.cc,
      	* doc/examples/predicate-1.cc,
      	* doc/examples/tuto2_first_image.cc,
      	* doc/examples/tuto3/first_routine.cc,
      	* doc/examples/tuto3_rw_image.cc,
      	* doc/examples/tuto4_genericity_and_algorithms.cc,
      	* doc/examples/win-create-1.cc,
      	* doc/examples/win-create-2.cc: replace essential/2d.hh by the proper
      	includes.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3917 4aad255d-cdde-0310-9447-f3009e2ae8c0
      d2e43b31
    • Guillaume Lazzara's avatar
      Improve global_vars test. · 1b5e2f8d
      Guillaume Lazzara authored
      	* tests/global_vars1.cc,
      	* tests/global_vars2.cc: check potential global symbols duplications.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3916 4aad255d-cdde-0310-9447-f3009e2ae8c0
      1b5e2f8d
    • Guillaume Lazzara's avatar
      Add a pretty_check target for tests. · 6934c09b
      Guillaume Lazzara authored
      	* tests/Makefile.am: new target pretty_check.
      
      	* tests/tools/pretty_check.sh: new. Script processing tests output.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3915 4aad255d-cdde-0310-9447-f3009e2ae8c0
      6934c09b
  2. 28 May, 2009 17 commits
    • Fabien Freling's avatar
      Add tools for plotting multiple points in an image. · b57474eb
      Fabien Freling authored
      	* fabien/igr/min_max_float.cc: Return min and max values of an image.
      	* fabien/igr/plot_points/Makefile: New Makefile for plot tools.
      	* fabien/igr/plot_points/README: Explain how tools works.
      	* fabien/igr/plot_points/main.cc: Plot all points in an image.
      	* fabien/igr/plot_points/plot_points_of_label.cc: Plot all points of
      	a specific label.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3914 4aad255d-cdde-0310-9447-f3009e2ae8c0
      b57474eb
    • Guillaume Lazzara's avatar
      configure.ac: Configure scribo/src/* directories. · 56caa4e9
      Guillaume Lazzara authored
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3913 4aad255d-cdde-0310-9447-f3009e2ae8c0
      56caa4e9
    • Guillaume Lazzara's avatar
      Small fixes in Scribo. · 83dda417
      Guillaume Lazzara authored
      	* preprocessing/all.hh,
      	* all.hh: fix includes.
      
      	* binarization/simple.hh: fix documentation and warnings.
      
      	* make/text.hh: add routine signature.
      
      	* preprocessing/unskew.hh: remove useless debug.
      
      	* scribo.mk: update path to milena directory.
      
      	* tests/preprocessing/unskew.cc: new test for unskew routine.
      
      	* tests/unit_test/unit-tests.mk: update unit test list.
      
      	* text/clean.hh: enlarge the image before cleaning it up.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3912 4aad255d-cdde-0310-9447-f3009e2ae8c0
      83dda417
    • Guillaume Lazzara's avatar
      Update samples in Scribo. · ea52bddd
      Guillaume Lazzara authored
      	* src/Makefile.am,
      	* src/extract/Makefile.am,
      	* src/extract/primitive/Makefile.am,
      	* src/filter/Makefile.am,
      	* src/preprocessing/Makefile.am,
      	* src/table/Makefile.am: update build system.
      
      	* src/binarization/simple.cc,
      	* src/dmap.cc,
      	* src/extract_text_single_link.cc,
      	* src/recognition.cc:
      	  Make them standalone programs
      	  - Improve 'usage' output,
      	  - cleanup includes
      	  - add a header.
      
      	* src/extract/primitive/extract_discontinued_hlines.cc,
      	* src/extract/primitive/extract_discontinued_vlines.cc,
      	* src/extract/primitive/extract_thick_hlines.cc,
      	* src/extract/primitive/extract_thick_vlines.cc,
      	* src/filter/large_objects.cc,
      	* src/filter/small_objects.cc,
      	* src/filter/thick_objects.cc,
      	* src/filter/thin_objects.cc,
      	* src/negate.cc,
      	* src/preprocessing/unskew.cc,
      	* src/superpose.cc: new samples.
      
      	* src/table_erase.cc,
      	* src/table_extract.cc: move...
      
      	* src/table/erase.cc,
      	* src/table/extract.cc: ... here.
      	  Make them standalone programs:
      	  - Improve 'usage' output,
      	  - cleanup includes
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3911 4aad255d-cdde-0310-9447-f3009e2ae8c0
      ea52bddd
    • Guillaume Lazzara's avatar
      Add new test images for Scribo. · 3840cb29
      Guillaume Lazzara authored
      	* tests/img/table_to_be_repaired.pbm,
      	* tests/img/table_to_be_repaired2.pbm,
      	* tests/img/table_to_be_repaired3.pbm,
      	* tests/img/text_to_group.pbm,
      	* tests/img/text_to_group_and_clean.pbm: new.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3910 4aad255d-cdde-0310-9447-f3009e2ae8c0
      3840cb29
    • Guillaume Lazzara's avatar
      Improve and fix tests in Scribo. · fbc774c6
      Guillaume Lazzara authored
      	* tests/filter/small_and_large_bboxes.cc: add real tests.
      
      	* tests/table/extract_lines_with_rank.cc: update routine calls.
      
      	* tests/table/repair_lines.cc: replace 'essential' include.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3909 4aad255d-cdde-0310-9447-f3009e2ae8c0
      fbc774c6
    • Guillaume Lazzara's avatar
      Cleanup object filters in Scribo. · ca13e939
      Guillaume Lazzara authored
      	* filter/large_components.hh,
      	* filter/small_components.hh,
      	* filter/thick_bboxes.hh,
      	* filter/thin_bboxes.hh: Move...
      
      	* filter/large_objects.hh,
      	* filter/small_objects.hh,
      	* filter/thick_objects.hh,
      	* filter/thin_objects.hh: ... here. Make use of labeled_image type and
      	cleanup comments.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3908 4aad255d-cdde-0310-9447-f3009e2ae8c0
      ca13e939
    • Guillaume Lazzara's avatar
      Make use of labeled_image type in Scribo. · e8596539
      Guillaume Lazzara authored
      	* text/extract_bboxes.hh,
      	* core/component_bboxes.hh: useless so removed.
      
      	* core/object_image.hh: new. Define a macro wrapping labeled_image
      	type.
      
      	* table/extract_lines_with_opening.hh: removed. Replaced by
      	lines_*_thick.
      
      	* table/extract_lines_with_rank.hh: removed. Replaced by
      	lines_*_discontinued.
      
      	* extract/primitive/lines_discontinued.hh,
      	* extract/primitive/lines_h_discontinued.hh,
      	* extract/primitive/lines_h_thick.hh,
      	* extract/primitive/lines_thick.hh,
      	* extract/primitive/lines_v_discontinued.hh,
      	* extract/primitive/lines_v_thick.hh,
      	* extract/primitive/objects.hh,
      	* table/extract.hh,
      	* text/grouping/group_from_double_link.hh,
      	* text/grouping/group_from_graph.hh,
      	* text/grouping/group_with_several_left_links.hh,
      	* text/grouping/group_with_several_right_links.hh,
      	* text/grouping/internal/find_left_link.hh,
      	* text/grouping/internal/find_right_link.hh,
      	* text/recognition.hh: make use of labeled_image type.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3907 4aad255d-cdde-0310-9447-f3009e2ae8c0
      e8596539
    • Guillaume Lazzara's avatar
      Small fixes. · d8b68d94
      Guillaume Lazzara authored
      	* doc/Doxyfile.in: Enable JAVADOC_AUTOBRIEF.
      
      	* doc/groups/images.hh: create a new modules for morphers.
      
      	* tests/unit_test/unit-tests.mk,
      	* headers.mk: update auto-generated lists.
      
      	* mln/convert/from_to.hxx,
      	* mln/value/label.hh: add from_to overload for conversion from
      	label<n> to bool.
      
      	* mln/core/image/bgraph_image.hh,
      	* mln/core/image/complex_image.hh,
      	* mln/core/image/edge_image.hh,
      	* mln/core/image/flat_image.hh,
      	* mln/core/image/image1d.hh,
      	* mln/core/image/image2d.hh,
      	* mln/core/image/image3d.hh,
      	* mln/io/pbm/all.hh,
      	* mln/pw/image.hh: update doc.
      
      	* mln/core/macros.hh: fix mln_box macro.
      
      	* mln/labeling/colorize.hh: do not call next() member on label type.
      
      	* mln/make/relabelfun.hh: image value type does not need to be a
      	label type anymore.
      
      	* mln/subsampling/subsampling.hh: fix invalid use of mln_coord.
      
      	* mln/tag/init.hh: cleanup.
      
      	* mln/util/array.hh: fix infinite recursion.
      
      	* mln/util/eat.hh,
      	* mln/util/ignore.hh,
      	* mln/util/nil.hh,
      	* mln/util/tracked_ptr.hh,
      	* mln/util/yes.hh: Add these objects in util module.
      
      	* apps/statues/trimesh/misc.hh: avoid warnings.
      
      	* mln/core/image/all.hh: fix includes.
      
      	* mln/core/site_set/p_transformed.hh: rename transform routine to
      	ptransform (name conflict with a namespace).
      
      	* mln/morpho/tree/propagate_representative.hh: add missing includes.
      
      	* tests/transformation/rotate.cc: fix reference image.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3906 4aad255d-cdde-0310-9447-f3009e2ae8c0
      d8b68d94
    • Guillaume Lazzara's avatar
      configure.ac: Configure new test directories. · 272579d4
      Guillaume Lazzara authored
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3905 4aad255d-cdde-0310-9447-f3009e2ae8c0
      272579d4
    • Guillaume Lazzara's avatar
      Add world::binary_2d::enlarge. · 0fa3df26
      Guillaume Lazzara authored
      	* mln/world/binary_2d/enlarge.hh: new routine.
      
      	* tests/world/Makefile.am,
      	* tests/world/binary_2d/Makefile.am: new makefiles.
      
      	* tests/world/binary_2d/enlarge.cc: new associated test.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3904 4aad255d-cdde-0310-9447-f3009e2ae8c0
      0fa3df26
    • Guillaume Lazzara's avatar
      Add debug::superpose. · 847fbe46
      Guillaume Lazzara authored
      	* mln/debug/all.hh: update includes.
      
      	* mln/debug/superpose.hh: new routine.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3903 4aad255d-cdde-0310-9447-f3009e2ae8c0
      847fbe46
    • Guillaume Lazzara's avatar
      Add labeled_image type. · cfea1c6b
      Guillaume Lazzara authored
      	* mln/core/image/imorph/labeled_image.hh: new image type.
      
      	* mln/trait/ch_value.hh: Specialize ch_value trait for this type.
      
      	* tests/core/image/imorph/labeled_image.cc: new associated test.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3902 4aad255d-cdde-0310-9447-f3009e2ae8c0
      cfea1c6b
    • Guillaume Lazzara's avatar
      Update image includes in sandbox. · cd5dee50
      Guillaume Lazzara authored
      	* abraham/tests/core/image/fun_image_const.cc,
      	* abraham/tests/core/image/fun_image_norm.cc,
      	* abraham/tests/core/image/fun_image_v2v.cc,
      	* abraham/tests/core/image/thru_const.cc,
      	* abraham/tests/core/image/thru_norm.cc,
      	* abraham/tests/core/image/thru_v2v.cc,
      	* abraham/tests/core/image/thru_v2w2v.cc,
      	* abraham/tests/core/image/violent_cast_image.cc,
      	* abraham/tests/fun/meta/red.cc,
      	* abraham/tests/morpho/levelings.cc,
      	* abraham/tests/morpho/red_erosion.cc,
      	* abraham/tests/morpho/red_erosion3.cc,
      	* aroumougame/skeleton/sedt.hh,
      	* aroumougame/skeleton/test.cc,
      	* aroumougame/skeleton/test_image2d.cc,
      	* beguin/fusion_graph.hh,
      	* beguin/irm.cc,
      	* beguin/irm_g.cc,
      	* bugs/piter_slice.cc,
      	* bugs/piter_slice.solved.cc,
      	* delmon/minsurf/main.cc,
      	* duhamel/chamfer.cc,
      	* duhamel/color_sub.cc,
      	* duhamel/graph_labeling.hh,
      	* duhamel/labeling_algo.cc,
      	* duhamel/labeling_algo.hh,
      	* duhamel/main.cc,
      	* duhamel/main_mesh_image.cc,
      	* duhamel/slow_seed2tiling.cc,...
      cd5dee50
    • Guillaume Lazzara's avatar
      Move morphers in core/image subdirectories. · 961c2975
      Guillaume Lazzara authored
      
      	Special headers:
      
      	* mln/core/image/essential.hh,
      	* mln/core/image/all.hh: update.
      
      	* mln/core/image/dmorph/all.hh,
      	* mln/core/image/imorph/all.hh,
      	* mln/core/image/morph/all.hh,
      	* mln/core/image/vmorph/all.hh: new.
      
      
      	Makefiles:
      
      	* tests/core/image/Makefile.am: add new subdirs.
      
      	* tests/core/image/dmorph/Makefile.am,
      	* tests/core/image/imorph/Makefile.am,
      	* tests/core/image/morph/Makefile.am,
      	* tests/core/image/vmorph/Makefile.am: new.
      
      
      	Domain morphers:
      
      	* mln/core/image/extended.hh
      	* mln/core/image/extension_fun.hh
      	* mln/core/image/extension_ima.hh
      	* mln/core/image/extension_val.hh
      	* mln/core/image/hexa.hh
      	* mln/core/image/hexa_piter.hh
      	* mln/core/image/image2d_h.hh
      	* mln/core/image/image_if.hh
      	* mln/core/image/p2p_image.hh
      	* mln/core/image/slice_image.hh
      	* mln/core/image/sub_image.hh
      	* mln/core/image/sub_image_if.hh
      	* mln/core/image/unproject_image.hh: move...
      
      	* mln/core/image/dmorph/extended.hh
      	* mln/core/image/dmorph/extension_fun.hh
      	* mln/core/image/dmorph/extension_ima.hh
      	* mln/core/image/dmorph/extension_val.hh
      	* mln/core/image/dmorph/hexa.hh
      	* mln/core/image/dmorph/hexa_piter.hh
      	* mln/core/image/dmorph/image2d_h.hh
      	* mln/core/image/dmorph/image_if.hh
      	* mln/core/image/dmorph/p2p_image.hh
      	* mln/core/image/dmorph/slice_image.hh
      	* mln/core/image/dmorph/sub_image.hh
      	* mln/core/image/dmorph/sub_image_if.hh
      	* mln/core/image/dmorph/unproject_image.hh: ... here.
      
      
      	Identity morphers:
      
      	* mln/core/image/decorated_image.hh
      	* mln/core/image/interpolated.hh
      	* mln/core/image/lazy_image.hh
      	* mln/core/image/plain.hh
      	* mln/core/image/safe.hh
      	* mln/core/image/tr_image.hh: Move...
      
      	* mln/core/image/imorph/decorated_image.hh
      	* mln/core/image/imorph/interpolated.hh
      	* mln/core/image/imorph/lazy_image.hh
      	* mln/core/image/imorph/plain.hh
      	* mln/core/image/imorph/safe.hh
      	* mln/core/image/imorph/tr_image.hh: ... here.
      
      
      	Image morpher:
      
      	* mln/core/image/t_image.hh: Move...
      	* mln/core/image/morph/t_image.hh: ... here.
      
      
      	Value morphers:
      
      	* mln/core/image/cast_image.hh
      	* mln/core/image/fun_image.hh
      	* mln/core/image/thru_morpher.hh
      	* mln/core/image/thrubin_morpher.hh
      	* mln/core/image/violent_cast_image.hh: Move...
      
      	* mln/core/image/vmorph/cast_image.hh
      	* mln/core/image/vmorph/fun_image.hh
      	* mln/core/image/vmorph/thru_image.hh
      	* mln/core/image/vmorph/thrubin_image.hh
      	* mln/core/image/vmorph/violent_cast_image.h: ... here.
      
      
      	Tests:
      
      	* tests/core/image/hexa.cc ,
      	* tests/core/image/image2d_h.cc ,
      	* tests/core/image/image_if.cc ,
      	* tests/core/image/p2p_image.cc ,
      	* tests/core/image/slice_image.cc ,
      	* tests/core/image/sub_image.cc,
      	* tests/core/image/unproject_image.cc,
      	* tests/core/image/decorated_image.cc,
      	* tests/core/image/interpolated.cc ,
      	* tests/core/image/safe_image.cc ,
      	* tests/core/image/tr_image.cc,
      	* tests/core/image/t_image.cc,
      	* tests/core/image/cast_image.cc: Move...
      
      
      	* tests/core/image/dmorph/hexa.cc,
      	* tests/core/image/dmorph/image2d_h.cc,
      	* tests/core/image/dmorph/image_if.cc,
      	* tests/core/image/dmorph/p2p_image.cc,
      	* tests/core/image/dmorph/slice_image.cc,
      	* tests/core/image/dmorph/sub_image.cc,
      	* tests/core/image/dmorph/unproject_image.cc,
      	* tests/core/image/imorph/decorated_image.cc,
      	* tests/core/image/imorph/interpolated.cc,
      	* tests/core/image/imorph/safe_image.cc,
      	* tests/core/image/imorph/tr_image.cc,
      	* tests/core/image/morph/t_image.cc,
      	* tests/core/image/vmorph/cast_image.cc: ... here.
      
      
      	Includes.
      
      	* tests/core/image/plain.cc,
      	* tests/core/image/image_if_interval.cc,
      	* mln/convert/impl/from_site_set_to_image.hh,
      	* mln/core/routine/extend.hh,
      	* mln/debug/slices_2d.hh,
      	* mln/draw/line.hh,
      	* mln/extract/blue.hh,
      	* mln/extract/green.hh,
      	* mln/extract/hue.hh,
      	* mln/extract/lum.hh,
      	* mln/extract/red.hh,
      	* mln/extract/sat.hh,
      	* mln/labeling/fill_holes.hh,
      	* mln/level/replace.hh,
      	* mln/make/image3d.hh,
      	* mln/registration/icp.hh,
      	* mln/transformation/rotate.hh,
      	* mln/world/inter_pixel/dim2/make_edge_image.hh,
      	* mln/world/inter_pixel/display_edge.hh,
      	* mln/world/inter_pixel/is_pixel.hh,
      	* mln/world/inter_pixel/is_separator.hh,
      	* tests/arith/minus_full.cc,
      	* tests/arith/plus_full.cc,
      	* tests/arith/revert_full.cc,
      	* tests/arith/times_full.cc,
      	* tests/border/find.cc,
      	* tests/border/find_full.cc,
      	* tests/border/get.cc,
      	* tests/border/get_full.cc,
      	* tests/border/resize_image_if.cc,
      	* tests/border/resize_sub_image.cc,
      	* tests/canvas/chamfer.cc,
      	* tests/convert/to_p_set.cc,
      	* tests/convert/to_window.cc,
      	* tests/labeling/level.cc,
      	* tests/level/abs_full.cc,
      	* tests/level/compare_full.cc,
      	* tests/level/compute.cc,
      	* tests/level/compute_full.cc,
      	* tests/level/transform.cc,
      	* tests/level/transform_full.cc,
      	* tests/level/transform_inplace.cc,
      	* tests/morpho/elementary/gradient.cc,
      	* tests/morpho/elementary/gradient_external.cc,
      	* tests/morpho/elementary/gradient_internal.cc,
      	* tests/morpho/laplacian.cc,
      	* tests/morpho/meyer_wst_long.cc,
      	* tests/morpho/skeleton_constrained.cc,
      	* tests/morpho/tree/compute_parent.cc,
      	* tests/opt/at.cc,
      	* tests/trait/image/images.cc,
      	* tests/core/routine/duplicate.cc,
      	* tests/core/routine/extend.cc,
      	* tests/core/routine/initialize.cc,
      	* tests/core/routine/primary.cc,
      	* tests/data/fill_full.cc,
      	* tests/data/fill_with_image.cc,
      	* tests/data/fill_with_value.cc,
      	* tests/data/paste.cc,
      	* tests/data/paste_full.cc,
      	* tests/draw/line.cc,
      	* tests/extension/fill.cc,
      	* tools/seed2tiling.cc: update includes.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3900 4aad255d-cdde-0310-9447-f3009e2ae8c0
      961c2975
    • Edwin Carlinet's avatar
      Update configure.ac. · e51e68d7
      Edwin Carlinet authored
      	* configure.ac: Update configure.ac.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3899 4aad255d-cdde-0310-9447-f3009e2ae8c0
      e51e68d7
    • Edwin Carlinet's avatar
      Move tests for component tree filtering. · 4c5c7a51
      Edwin Carlinet authored
      	* mln/morpho/tree/filter/filter.hh:
      	Special increasing attribute filtering routine.
      
      	* tests/morpho/tree/Makefile.am,
      	* tests/morpho/tree/filter/Makefile.am,
      	* tests/morpho/tree/filter/filter.cc,
      	* tests/morpho/tree/filter,
      	* tests/unit_test/unit-tests.mk,
      	Tests for tree filtering.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3898 4aad255d-cdde-0310-9447-f3009e2ae8c0
      4c5c7a51
  3. 27 May, 2009 20 commits