1. 23 Jan, 2009 6 commits
    • 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 4 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
    • Guillaume Lazzara's avatar
      Rename histo::data as histo::array. · 90ec03ac
      Guillaume Lazzara authored
      	* mln/histo/data.hh: rename file as...
      	* mln/histo/array.hh: ... this.
      
      	* mln/accu/histo.hh,
      	* mln/convert/to_image.hh,
      	* mln/histo/all.hh,
      	* mln/histo/compute.hh,
      	* mln/histo/compute.spe.hh,
      	* mln/level/sort_psites.hh: update use of histo::array.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3160 4aad255d-cdde-0310-9447-f3009e2ae8c0
      90ec03ac
    • Matthieu Garrigues's avatar
      Work on reconstruction. · 0f83ad35
      Matthieu Garrigues authored
      
      	* garrigues/union_find/canvas/reconstruction_on_function.hh: Remove
                useless escape value.
      	* garrigues/union_find/canvas/reconstruction_on_set.hh: Optimizations.
      	* garrigues/union_find/canvas/self_dual_reconstruction.hh: .
      	* garrigues/union_find/images/marker_to_dilate.pbm: Fix it.
      	* garrigues/union_find/reconstructions_on_function.hh: .
      	* garrigues/union_find/reconstructions_on_set.cc: Add bench.
      	* garrigues/union_find/reconstructions_on_set.hh: .
      	* garrigues/union_find/self_dual_reconstruction.cc: Add bench.
      	* garrigues/union_find/self_dual_reconstruction.hh: Likewise.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3159 4aad255d-cdde-0310-9447-f3009e2ae8c0
      0f83ad35
  6. 15 Jan, 2009 3 commits
    • Dalila Benboudjema's avatar
      Commit test. · 485c8704
      Dalila Benboudjema authored
      	* igr/code/test.cc: New test.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3158 4aad255d-cdde-0310-9447-f3009e2ae8c0
      485c8704
    • Dalila Benboudjema's avatar
      Add images for Dalila and create IGR directories . · 056f23e5
      Dalila Benboudjema authored
      	* igr,
      	* igr/images,
      	* igr/images/s7.ppm,
      	* igr/out,
      	* igr/code: Add IGR directories.
      
      	* scribo/10_00000002.pbm_text2cell.ppm,
      	* scribo/8_00000002.pbm_lbl-grouped-boxes.pgm,
      	* scribo/2_00000002.pbm_horizontal-erosion.pbm,
      	* scribo/11_00000002.pbm_out.ppm,
      	* scribo/6_00000002.pbm_lbl-small-comps-removed.pgm,
      	* scribo/5_00000002.pbm_table.ppm,
      	* scribo/demat.hh: .
      	* scribo/00000002.pbm,
      	* scribo/demat_v2.hh,
      	* scribo/facture2-neg.pbm,
      	* scribo/+out.txt,
      	* scribo/1_00000002.pbm_vertical-erosion.pbm,
      	* scribo/9_00000002.pbm_cells-labels.ppm,
      	* scribo/00000002-neg.pbm,
      	* scribo/3_00000002.pbm_vertical-and-horizontal-erosion.ppm,
      	* scribo/4_00000002.pbm_after-alignment.ppm,
      	* scribo/7_00000002.pbm_character-bboxes.ppm,
      	* scribo/demat31Oct2008.hh,
      	* scribo/facture-neg.pbm,
      	* scribo/Makefile,
      	* dalila/images,
      	* dalila/dematOld.hh,
      	* dalila/plop.cc: Add scribo stuff.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3157 4aad255d-cdde-0310-9447-f3009e2ae8c0
      056f23e5
    • Thierry Geraud's avatar
      Split ismm2009 into routines and main. · ff25cc5f
      Thierry Geraud authored
      	* laurent/ismm2009.cc: Copy to...
      	* laurent/ismm2009.v0.cc: ...this new file (memorization).
      	* laurent/ismm2009.cc: Copy routines to...
      	* laurent/ismm2009.hh: ...this new file.
      	* laurent/ismm2009.cc: Remove routines.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3156 4aad255d-cdde-0310-9447-f3009e2ae8c0
      ff25cc5f
  7. 14 Jan, 2009 1 commit