1. 15 Mar, 2010 14 commits
    • Guillaume Lazzara's avatar
      Cleanup and avoid warnings in Sauvola related files. · ca034dd5
      Guillaume Lazzara authored
      	* scribo/binarization/sauvola_ms.hh,
      	* scribo/binarization/sauvola_threshold.hh,
      	* scribo/canvas/integral_browsing.hh,
      	* scribo/src/binarization/sauvola_ms.cc,
      	* scribo/src/binarization/sauvola_pgm.cc,x
      	* scribo/subsampling/integral_single_image.hh: Cleanup and avoir
      	warnings.
      ca034dd5
    • Guillaume Lazzara's avatar
      7c60810a
    • Guillaume Lazzara's avatar
      Add a new test for object_image. · 07c83125
      Guillaume Lazzara authored
      	* tests/Makefile.am,
      	* tests/core/Makefile.am: Update build system.
      
      	* tests/core/object_image.cc: New test.
      07c83125
    • Guillaume Lazzara's avatar
    • Guillaume Lazzara's avatar
      Fix object links filters. · 3151875d
      Guillaume Lazzara authored
      	* filter/object_links_bottom_aligned.hh,
      	* filter/object_links_center_aligned.hh,
      	* filter/object_links_non_aligned_simple.hh,
      	* filter/object_links_top_aligned.hh: Pass the proper dimension as
      	routine argument.
      3151875d
    • Guillaume Lazzara's avatar
      Cleanup Sauvola's binarization code. · 74ae8cb3
      Guillaume Lazzara authored
      	* binarization/sauvola_threshold.hh,
      	* binarization/sauvola.hh: Use fun::v2v::rgb_to_int_u8.
      
      	* binarization/sauvola_ms.hh: New. Sauvola multi-scale routine.
      
      	* src/binarization/sauvola.cc: Make the window size a program
      	argument.
      
      	* src/binarization/sauvola_ms.cc: Use Sauvola multi-scale routine.
      74ae8cb3
    • Guillaume Lazzara's avatar
    • Guillaume Lazzara's avatar
      Improve linking routines. · 906f2366
      Guillaume Lazzara authored
      	* core/anchors.hh: New. Add anchor types.
      
      	* filter/objects_thin.hh: Use filter::internal::compute.
      
      	* primitive/link/internal/find_several_links.hh,
      	* primitive/link/internal/find_link.hh,
      	* primitive/link/compute.hh: Update functor interface in order to
      	specify anchors.
      
      	* primitive/link/compute_several.hh: Fix an invalid namespace.
      
      	* primitive/link/internal/anchors_3.hh: Move...
      
      	* primitive/link/internal/compute_anchor.hh: ... here.
      
      	* primitive/link/internal/link_functor_base.hh: Use anchor type.
      
      	* primitive/link/internal/link_several_dmax_base.hh: New.
      
      	* primitive/link/internal/link_center_dmax_base.hh,
      	* primitive/link/internal/link_center_dmax_ratio_base.hh: Removed.
      
      	* primitive/link/with_several_right_links_overlap.hh: Fix includes.
      
      	* primitive/link/with_single_right_link_bottom.hh,
      	* primitive/link/with_single_right_link_top.hh,
      	* primitive/link/with_single_left_link.hh,
      	* primitive/link/with_single_right_link.hh: Use
      	link_single_dmax_base functor.
      
      	* src/debug/show_links_several_right_overlap.cc,
      	* src/debug/show_links_single_left.cc,
      	* src/debug/show_links_single_left_dmax_ratio.cc,
      	* src/debug/show_links_single_right.cc,
      	* src/debug/show_links_single_right_dmax_ratio.cc: Update functor
      	interface.
      906f2366
    • Guillaume Lazzara's avatar
      Add rbg_to_int_u function. · f7773bdb
      Guillaume Lazzara authored
      	* mln/fun/v2v/all.hh: Include the new header.
      
      	* mln/fun/v2v/rgb_to_int_u.hh: New.
      f7773bdb
    • Guillaume Lazzara's avatar
      Add an antialiased subsampling. · 97aadbd7
      Guillaume Lazzara authored
      	* mln/subsampling/antialiased.hh: New.
      97aadbd7
    • Guillaume Lazzara's avatar
      Add hooks for subclasses in labeled_image_base. · f70c8e0a
      Guillaume Lazzara authored
      	* mln/core/internal/labeled_image_base.hh: New methods which can
      	be overridden in subclasses.
      
      	* mln/core/image/imorph/labeled_image.hh: Add a missing header.
      f70c8e0a
    • Guillaume Lazzara's avatar
      Improve stats computation in Sauvola Multi-scale. · 542fcf95
      Guillaume Lazzara authored
      	* binarization/internal/first_pass_functor.hh: Use
      	sauvola_threshold routine.
      
      	* binarization/sauvola_threshold.hh: Remove debug and fix invalid
      	read in integral image.
      
      	* canvas/integral_browsing.hh,
      	* subsampling/integral_single_image.hh: Fix stats computation.
      
      	* src/binarization/sauvola_ms.cc: Fix window parameter and make
      	debug output optional.
      542fcf95
    • Guillaume Lazzara's avatar
      Optimize Sauvola's multiscale binarization. · 32e461a6
      Guillaume Lazzara authored
      	* core/init_integral_image.hh: New.
      
      	* src/binarization/sauvola_ms.cc: Optimize and make it more
      	robust.
      
      	* canvas/integral_browsing.hh: New canvas to browse and compute
      	data in an integral image.
      
      	* binarization/internal/first_pass_functor.hh: New functor to be
      	used in the integral browsing.
      
      	* binarization/sauvola_threshold.hh: Add new overloads.
      
      	* subsampling/integral_single_image.hh: Subsample an image and
      	compute integral images at the same time.
      32e461a6
    • Guillaume Lazzara's avatar
      Small fixes. · 4bfd663c
      Guillaume Lazzara authored
      	* mln/accu/count_value.hh: Fix doc.
      
      	* mln/convert/from_to.hxx,
      	* mln/value/int_u.hh,
      	* mln/value/qt/rgb32.hhL: Add new from_to overloads.
      
      	* mln/convert/to_qimage.hh: Add a missing include.
      
      	* mln/convert/to_qimage_nocopy.hh: Rename an overload.
      
      	* mln/core/concept/function.hh: Add new concept n2v.
      
      	* mln/geom/rotate.hh: rename center() to pcenter().
      
      	* mln/histo/compute.hh: Fix a namespace ambiguity.
      
      	* mln/io/magick/save.hh: Handle qt::rgb32.
      
      	* mln/io/plot/save.hh: Add an overload for histograms.
      
      	* mln/labeling/relabel.hh: Make 'nlabels' const.
      
      	* mln/topo/skeleton/crest.hh: Fix a bug.
      
      	* tests/core/other/box_runstart_piter.cc: Write a valid test.
      4bfd663c
  2. 11 Mar, 2010 1 commit
  3. 24 Feb, 2010 1 commit
  4. 17 Feb, 2010 1 commit
  5. 16 Feb, 2010 15 commits
  6. 18 Nov, 2009 5 commits
  7. 17 Nov, 2009 1 commit
    • Thierry Geraud's avatar
      Add some bench + canvas + subsampling + browsing code. · 785d4255
      Thierry Geraud authored
      	* bench: New directory.
      	* bench/input_iz.pgm.gz: New.
      	* bench/fastest_statistical_tour_browsing.cc: New.
      	* bench/fastest_forall_p_browsing.cc: New.
      	* bench/iz.cc: New.
      	* bench/fastest_statistical_tour_nbh_browsing.cc: New.
      	* bench/z_sub_browsing: New.
      	* bench/z_sub_browsing/fast.cc: New.
      	* bench/z_sub_browsing/debase.hh: New.
      	* bench/z_sub_browsing/integral.hh: New.
      	* bench/z_sub_browsing/+inc: New.
      	* bench/z_sub_browsing/in.pgm.gz: New.
      	* bench/z_sub_browsing/debase.cc: New.
      	* bench/z_sub_browsing/integral.cc: New.
      	* bench/z_sub_browsing/README: New.
      	
      	* theo/mln/morpho/canvas/lena_blurred.pgm.gz: New.
      	* theo/mln/morpho/canvas/lena.pgm.gz: New.
      	* theo/mln/morpho/canvas/g.pbm.gz: New.
      	* theo/mln/morpho/canvas/lena_min.pgm.gz: New.
      	* theo/mln/morpho/canvas/reconstruction_on_set.hh: Layout.
      	* theo/mln/morpho/canvas/f_and_g.pbm.gz: New.
      	* theo/mln/morpho/canvas/regminid.pbm.gz: New.
      	* theo/mln/morpho/canvas/one_domain.cc: New.
      	
      	* theo/mln/subsampling: New directory.
      	* theo/mln/subsampling/sizes.cc: New.
      	* theo/mln/subsampling/debase.hh: New.
      	* theo/mln/subsampling/integral.hh: New.
      	* theo/mln/subsampling/in.pgm.gz: New.
      	* theo/mln/subsampling/debase.cc: New.
      	* theo/mln/subsampling/integral.cc: New.
      	
      	* theo/mln/browsing: New directory.
      	* theo/mln/browsing/window_sliding.cc: New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4721 4aad255d-cdde-0310-9447-f3009e2ae8c0
      785d4255
  8. 10 Nov, 2009 1 commit
  9. 06 Nov, 2009 1 commit
    • Fabien Freling's avatar
      Update usage message. · 4e0811bf
      Fabien Freling authored
      	*  fabien/igr/clo_vol.cc,
      	fabien/igr/color/find_color.cc,
      	fabien/igr/crop.cc,
      	fabien/igr/dist_edges.cc,
      	fabien/igr/filter.cc,
      	fabien/igr/filter_morpho_us.cc,
      	fabien/igr/fun_labels.cc,
      	fabien/igr/grad.cc,
      	fabien/igr/graph.cc,
      	fabien/igr/label2gif.cc,
      	fabien/igr/maj.cc,
      	fabien/igr/mean_median_label.cc,
      	fabien/igr/mean_slices.cc,
      	fabien/igr/med.cc,
      	fabien/igr/min_max_float.cc,
      	fabien/igr/nbasins_finder.cc,
      	fabien/igr/norm.cc,
      	fabien/igr/thres.cc,
      	fabien/igr/time_max.cc,
      	fabien/igr/time_max_norm.cc,
      	fabien/igr/wst.cc,
      	fabien/igr/wst_edges.cc: Udate usage message.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4719 4aad255d-cdde-0310-9447-f3009e2ae8c0
      4e0811bf