1. 23 Jan, 2009 12 commits
    • Guillaume Lazzara's avatar
      Fix tutorial ref files. · f138adac
      Guillaume Lazzara authored
      	* doc/tutorial/figures/tuto3_rw_image-1.ppm,
      	* doc/tutorial/figures/tuto3_rw_image-2.ppm,
      	* doc/tutorial/figures/tuto3_rw_image-3.ppm,
      	* doc/tutorial/figures/tuto4_genericity_and_algorithms-1.ppm,
      	* doc/tutorial/figures/tuto4_genericity_and_algorithms-2.ppm,
      	* doc/tutorial/figures/tuto4_genericity_and_algorithms-4.ppm,
      	* doc/tutorial/figures/tuto4_genericity_and_algorithms-5.ppm,
      	* doc/tutorial/figures/tuto4_genericity_and_algorithms-6.ppm,
      	* doc/tutorial/figures/tuto4_genericity_and_algorithms-7.pgm,
      	* doc/tutorial/figures/tuto4_genericity_and_algorithms-8.ppm,
      	* doc/tutorial/figures/tuto4_genericity_and_algorithms-9.ppm: update.
      
      	* doc/tutorial/figures/tuto4_genericity_and_algorithms-10.ppm: delete,
      	not needed anymore.
      
      	* doc/tutorial/samples/tuto3_rw_image.cc,
      	* doc/tutorial/samples/tuto4_genericity_and_algorithms.cc: Use rgb8
      	instead of rgb16.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3200 4aad255d-cdde-0310-9447-f3009e2ae8c0
      f138adac
    • Matthieu Garrigues's avatar
      Fix Fix connectivity number values for c4. · fd3034fb
      Matthieu Garrigues authored
      
      	* inim/ocr/simple_point.hh: Report change due to the patch 2900.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3199 4aad255d-cdde-0310-9447-f3009e2ae8c0
      fd3034fb
    • Matthieu Garrigues's avatar
      Add another version of self dual reconstruction. · e5430fb8
      Matthieu Garrigues authored
      
      	* garrigues/union_find/self_dual_reconstruction.hh,
      	* garrigues/union_find/self_dual_reconstruction.cc: Add a new version
      	of self dual reconstruction.
      	* garrigues/union_find/Makefile: New, Add a simple Makefile.
      	* garrigues/union_find/canvas/find_root.hh,
      	* garrigues/union_find/canvas/reconstruction_on_function.hh,
      	* garrigues/union_find/canvas/reconstruction_on_set.hh,
      	* garrigues/union_find/canvas/self_dual_reconstruction.hh: Move
      	find_root implementation in find_root.hh.
      	* garrigues/union_find/images/marker.pbm: Rename as...
      	* garrigues/union_find/images/marker_to_erode.pbm: ...this.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3198 4aad255d-cdde-0310-9447-f3009e2ae8c0
      e5430fb8
    • Thierry Geraud's avatar
      Allow to construct 3D neighborhoods from C arrays. · 95226b1b
      Thierry Geraud authored
      	* mln/core/alias/neighb3d.hh: Upgrade file doc style.
      	(from_to_): New overload.
      	* mln/convert/from_to.hxx (from_to_): New fwd decl.
      	* mln/make/box3d.hh (todo): New.
      	Warning: FIX the unconsistency!!!
      	* mln/morpho/tree/compute_attribute_image.hh: Disambiguate.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3197 4aad255d-cdde-0310-9447-f3009e2ae8c0
      95226b1b
    • Thierry Geraud's avatar
      Add perfect fusion grid neighborhoods from 2D and 3D. · ccf8035d
      Thierry Geraud authored
      	* theo/esiee: New directory.
      	* theo/esiee/jean: New directory.
      	* theo/esiee/jean/pfg2d.cc: New.
      	* theo/esiee/jean/pfg3d.cc: New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3196 4aad255d-cdde-0310-9447-f3009e2ae8c0
      ccf8035d
    • Guillaume Lazzara's avatar
      configure.ac: Configure milena/tests/io/raw. · 8395a38d
      Guillaume Lazzara authored
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3195 4aad255d-cdde-0310-9447-f3009e2ae8c0
      8395a38d
    • Guillaume Lazzara's avatar
      Add io::raw::save and io::raw::load routines. · efdf6433
      Guillaume Lazzara authored
      	* headers.mk: add new headers to distribution.
      
      	* mln/io/raw/all.hh: include new headers.
      
      	* mln/io/raw/load.hh,
      	* mln/io/raw/save.hh: new io routines. Dump/load Olena images into a
      	file.
      
      	* tests/io/Makefile.am,
      	* tests/io/raw/Makefile.am,
      	* tests/io/raw/pbm.cc,
      	* tests/io/raw/raw.cc: add new tests.
      
      	* tests/unit_test/Makefile.am,
      	* tests/unit_test/mln_io_raw_all.cc,
      	* tests/unit_test/mln_io_raw_load.cc,
      	* tests/unit_test/mln_io_raw_save.cc: add new unit tests.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3194 4aad255d-cdde-0310-9447-f3009e2ae8c0
      efdf6433
    • Guillaume Lazzara's avatar
      Use extract::* routines in tutorial examples. · befb6e64
      Guillaume Lazzara authored
      	* milena/doc/tutorial/figures/tuto4_genericity_and_algorithms-10.ppm
      	* milena/doc/tutorial/figures/tuto4_genericity_and_algorithms-7.pgm
      	* milena/doc/tutorial/figures/tuto4_genericity_and_algorithms-7.ppm
      	* milena/doc/tutorial/figures/tuto4_genericity_and_algorithms-8.pgm
      	* milena/doc/tutorial/figures/tuto4_genericity_and_algorithms-8.ppm
      	* milena/doc/tutorial/figures/tuto4_genericity_and_algorithms-9.pgm
      	* milena/doc/tutorial/figures/tuto4_genericity_and_algorithms-9.ppm:
      	new reference files.
      
      	* milena/doc/tutorial/samples/tuto4_genericity_and_algorithms.cc:
      	uncomment code using extract::* routines.
      
      	* milena/doc/tutorial/tutorial.tex: include code and images related to
      	extract::* routines. More explanations need to be written.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3193 4aad255d-cdde-0310-9447-f3009e2ae8c0
      befb6e64
    • Guillaume Lazzara's avatar
      Introduce literal::min and literal::max. · 3eba104e
      Guillaume Lazzara authored
      	* milena/headers.mk: add new headers to distribution.
      
      	* milena/mln/literal/all.hh: include new headers.
      
      	* milena/mln/literal/max.hh,
      	* milena/mln/literal/min.hh: New literals. They use mln_{max,min}
      	internaly.
      
      	* milena/tests/unit_test/Makefile.am,
      	* milena/tests/unit_test/mln_literal_max.cc,
      	* milena/tests/unit_test/mln_literal_min.cc: new unit tests.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3192 4aad255d-cdde-0310-9447-f3009e2ae8c0
      3eba104e
    • Guillaume Lazzara's avatar
      Fix various operator issues with value::shell. · f59e67a2
      Guillaume Lazzara authored
      	* mln/value/shell.hh: make it inherit from Proxy.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3191 4aad255d-cdde-0310-9447-f3009e2ae8c0
      f59e67a2
    • Guillaume Lazzara's avatar
      configure.ac: Configure milena/tests/extract. · 3dfa22f1
      Guillaume Lazzara authored
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3190 4aad255d-cdde-0310-9447-f3009e2ae8c0
      3dfa22f1
    • Guillaume Lazzara's avatar
      Add routines to work on a specific color component. · 12bc673f
      Guillaume Lazzara authored
      	* headers.mk: add new headers to distribution.
      
      	* mln/all.hh,
      	* mln/essential/routine.hh,
      	* mln/extract/all.hh,
      	* mln/extract/essential.hh: include the new headers.
      
      	* mln/extract/blue.hh,
      	* mln/extract/green.hh,
      	* mln/extract/red.hh: new routines. Create a fun_image to work on a
      	specific color component.
      
      
      	* tests/extract/Makefile.am,
      	* tests/extract/blue.cc,
      	* tests/extract/green.cc,
      	* tests/extract/red.cc: add new tests.
      
      	* tests/unit_test/Makefile.am,
      	* tests/unit_test/mln_extract_all.cc,
      	* tests/unit_test/mln_extract_blue.cc,
      	* tests/unit_test/mln_extract_essential.cc,
      	* tests/unit_test/mln_extract_green.cc,
      	* tests/unit_test/mln_extract_red.cc,
      	* tests/unit_test/mln_opt_element.cc: add unit tests.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3189 4aad255d-cdde-0310-9447-f3009e2ae8c0
      12bc673f
  2. 21 Jan, 2009 14 commits
  3. 20 Jan, 2009 5 commits
  4. 19 Jan, 2009 7 commits
    • Thierry Geraud's avatar
      Augment code for Laurent. · b8e76425
      Thierry Geraud authored
      	* theo/color/sum_pix.hh (take): Remove useless +1.
      	* theo/color/segment.cc: Add unactivated code.
      	* theo/color/blen_pix.hh (sum_len): New.
      	(take): Use it.
      	* laurent/ismm2009.cc: UPdate.
      	* laurent/ismm2009.v0.cc: Fix utf8.
      	* laurent/playing_with_attributes.cc: New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3169 4aad255d-cdde-0310-9447-f3009e2ae8c0
      b8e76425
    • Guillaume Lazzara's avatar
      Remove images from repository. · f7eeeb50
      Guillaume Lazzara authored
      	* scribo/00000002-neg.pbm,
      	* scribo/00000002.pbm,
      	* scribo/10_00000002.pbm_text2cell.ppm,
      	* scribo/11_00000002.pbm_out.ppm,
      	* scribo/1_00000002.pbm_vertical-erosion.pbm,
      	* scribo/2_00000002.pbm_horizontal-erosion.pbm,
      	* scribo/3_00000002.pbm_vertical-and-horizontal-erosion.ppm,
      	* scribo/4_00000002.pbm_after-alignment.ppm,
      	* scribo/5_00000002.pbm_table.ppm,
      	* scribo/6_00000002.pbm_lbl-small-comps-removed.pgm,
      	* scribo/7_00000002.pbm_character-bboxes.ppm,
      	* scribo/8_00000002.pbm_lbl-grouped-boxes.pgm,
      	* scribo/9_00000002.pbm_cells-labels.ppm,
      	* scribo/facture-neg.pbm,
      	* scribo/facture2-neg.pbm: delete. Should not be there.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3168 4aad255d-cdde-0310-9447-f3009e2ae8c0
      f7eeeb50
    • Guillaume Lazzara's avatar
      Rename histo::data as histo::array. · ca12212c
      Guillaume Lazzara authored
      	* tests/core/other/var.cc,
      	* tests/histo/compute.cc,
      	* tests/histo/to_image1d.cc: rename here.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3167 4aad255d-cdde-0310-9447-f3009e2ae8c0
      ca12212c
    • Guillaume Lazzara's avatar
      Improve soft heap interface. · 4da17c47
      Guillaume Lazzara authored
      	* mln/util/soft_heap.hh: rename take() as push().
      
      	* tests/util/soft_heap.cc: update test.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3166 4aad255d-cdde-0310-9447-f3009e2ae8c0
      4da17c47
    • Guillaume Lazzara's avatar
      Add implementation of Fibonacci heap. · 1dc16918
      Guillaume Lazzara authored
      	* headers.mk: add a new header to distribution.
      
      	* mln/util/fibonacci_heap.hh: new file. The implementation.
      
      	* tests/unit_test/Makefile.am,
      	* tests/unit_test/mln_util_fibonacci_heap.cc: new unit test.
      
      	* tests/util/Makefile.am,
      	* tests/util/fibonacci_heap.cc: new test.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3165 4aad255d-cdde-0310-9447-f3009e2ae8c0
      1dc16918
    • Thierry Geraud's avatar
      Cleanup extension with image, forcing it to be const. · 5011b2c1
      Thierry Geraud authored
      	* mln/core/image/extension_ima.hh (todo): Remove; obsolete.
      	(ctor): Add const for extension.
      	(change_extension): Remove.
      	(extension): Remove the mutable version.
      	(init_): Remove the mutable version.
      	(init_): Make it robust to constness.
      	* mln/core/routine/extend.hh: Upgrade file doc style.
      	(extend): Remove overload for mutable extension.
      
      	Misc.
      	
      	* mln/core/site_set/p_priority.hh: Upgrade file doc style.
      	(insert): New overload for a priority queue.
      	* mln/make/double_neighb2d.hh: Upgrade file doc style.
      	* mln/make/box2d.hh (todo): New.
      	* mln/labeling/compute.hh: Fix commentary.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3164 4aad255d-cdde-0310-9447-f3009e2ae8c0
      5011b2c1
    • Thierry Geraud's avatar
      Update Laurent's ISMM code. · 94996ead
      Thierry Geraud authored
      	* laurent/ismm2009.cc: Update.
      	* laurent/ismm2009.v1.cc: New.
      	* laurent/ismm2009.hh (is_not_point): New.
      	(find_root): Remove.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3163 4aad255d-cdde-0310-9447-f3009e2ae8c0
      94996ead
  5. 16 Jan, 2009 2 commits
    • Guillaume Lazzara's avatar
      Small fixes. · beddc3b8
      Guillaume Lazzara authored
      	* headers.mk: add new headers to distribution.
      
      	* mln/core/internal/site_relative_iterator_base.hh: avoid a warning.
      
      	* mln/labeling/blobs.hh,
      	* mln/draw/line.hh: use trace::warning.
      
      	* mln/trace/warning.hh: always print warnings.
      
      	* mln/fun/x2x/rotation.hh: fix a precondition.
      
      	* mln/morpho/tree/data.hh: add a missing method.
      
      	* tests/level/median.cc: add a missing include.
      
      	* tests/unit_test/Makefile.am,
      	* tests/unit_test/mln_accu_transform_line.cc,
      	* tests/unit_test/mln_convert_impl_from_double_to_value.cc,
      	* tests/unit_test/mln_opt_value.cc: add missing unit_tests.
      
      	* tests/unit_test/mln_histo_data.cc: rename as...
      	* tests/unit_test/mln_histo_array.cc: ... this.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3162 4aad255d-cdde-0310-9447-f3009e2ae8c0
      beddc3b8
    • Guillaume Lazzara's avatar
      Add soft heap implementation. · a56c027c
      Guillaume Lazzara authored
      	* headers.mk: add new headers to distribution.
      
      	* mln/util/soft_heap.hh: new file. New implementation. New members may
      	be added later.
      
      	* mln/util/tracked_ptr.hh: Fix an issue while assigning a null
      	tracked_ptr to another tracked_ptr. An internal pointer was not
      	initialized but dereferenced and led to a segfault.
      
      	* tests/unit_test/Makefile.am,
      	* tests/unit_test/mln_util_soft_heap.cc: add a new unit test.
      
      	* tests/util/Makefile.am,
      	* tests/util/soft_heap.cc: add a new test.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3161 4aad255d-cdde-0310-9447-f3009e2ae8c0
      a56c027c