- 30 Sep, 2009 21 commits
-
-
Roland Levillain authored
* mln/border/fill.hh (fill_dispatch(category::primary, speed::any, I&, const mln_value(I)&)): Here. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4585 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* apps/graph-morpho/morpho.hh (impl::dilation_e2v(const mln::bin_1complex_image2d&)) (impl::erosion_v2e(const mln::bin_1complex_image2d&)) (impl::erosion_e2v(const mln::bin_1complex_image2d&)) (impl::dilation_v2e(const mln::bin_1complex_image2d&)) (impl::dilation_e2v(const mln::image2d<T>&)) (impl::erosion_v2e(const mln::image2d<T>&)) (impl::erosion_e2v(const mln::image2d<T>&)) (impl::dilation_v2e(const mln::image2d<T>&)): Remove. (dilation_e2v(const mln::Image<I>&)) (erosion_v2e(const mln::Image<I>&)) (erosion_e2v(const mln::Image<I>&)) (dilation_v2e(const mln::Image<I>&)): Reimplement using Milena's dilation and erosion as well as graph traits. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4584 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* apps/graph-morpho/morpho.hh (trait::graph<I>): New (empty) traits class. (trait::graph< mln::image2d<T> >) (trait::graph< mln::complex_image<1, G, V> >): New traits class specializations. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4583 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* mln/world/inter_pixel/neighb2d.hh (mln::world::inter_pixel::dbl_window2d): New typedef. Use to shorten the definition of... (mln::world::inter_pixel::dbl_neighb2d): ...this typedef. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4582 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* apps/graph-morpho/morpho.hh (impl::dilation_e2v(const mln::bin_1complex_image2d&)) (impl::erosion_v2e(const mln::bin_1complex_image2d&)) (impl::erosion_e2v(const mln::bin_1complex_image2d&)) (impl::dilation_v2e(const mln::bin_1complex_image2d&)): Here. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4581 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* apps/graph-morpho/io.hh (println): Here. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4580 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* mln/util/tracked_ptr.hh (mln::util::tracked_ptr<T>::tracked_ptr(T*)) (mln::util::tracked_ptr<T>::operator=(T*)) (mln::util::tracked_ptr<T>::run_() const): Remove useless typedefs. (mln::util::tracked_ptr<T>::operator=(const tracked_ptr<T>&)) (mln::util::tracked_ptr<T>::operator=(T*)) (mln::util::operator<<(std::ostream& ostr, const tracked_ptr<T>&)): Check invariants in more places. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4579 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* mln/util/multi_site.hh (operator< (const multi_site<P>& lhs, const multi_site<P>& rhs)): New. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4578 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* mln/topo/is_n_face.hh (is_n_face<N>::operator()(const mln::complex_psite<D, G>& p) const): Turn into... (is_n_face<N>::operator()(const P& p) const): ...this. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4577 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* mln/core/image/complex_neighborhood_piter.hh (complex_window_fwd_piter<I, G, W>::init_) (complex_window_bkd_piter<I, G, W>::init_): s/center_at/this->center_at/ Misc. documentation changes. * mln/core/image/complex_window_piter.hh (complex_neighborhood_fwd_piter(const Neighborhood<N>&, const Pref&)) (complex_neighborhood_bkd_piter(const Neighborhood<N>&, const Pref&)): Move the initializations... (complex_neighborhood_fwd_piter<I, G, N>::init_) (complex_neighborhood_bkd_piter<I, G, N>::init_): ...here (new method). Misc. documentation changes. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4576 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* mln/core/internal/complex_neighborhood_base.hh (mln::internal::complex_neighborhood_base<D, G, F, B, E>): Turn class into... (mln::internal::complex_neighborhood_base<W, E>): ...this. (mln::internal::complex_neighborhood_base<W, E>::complex_fwd_iter) (mln::internal::complex_neighborhood_base<W, E>::complex_bkd_iter) (mln::internal::complex_neighborhood_base<W, E>::psite) (mln::internal::complex_neighborhood_base<W, E>::site) (mln::internal::complex_neighborhood_base<W, E>::window): Depend on W. (mln::internal::complex_neighborhood_base<W, E>::G): New typedef. (mln::internal::complex_neighborhood_base<W, E>::win) (mln::internal::complex_neighborhood_base<W, E>::is_valid): Provide actual implementations. (mln::internal::complex_neighborhood_base<W, E>::win_): New attribute. * mln/core/image/complex_neighborhoods.hh (mln_gen_complex_neighborhood(Nbh,Fwd_Complex_Iter,Bkd_Complex_Iter)): Turn macro into... (mln_gen_complex_neighborhood(Nbh,Win)): ...this. Adjust callers. * mln/core/internal/complex_window_base.hh: Typo in comment. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4575 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* mln/core/internal/p_complex_piter_base.hh (p_complex_piter_base<I, S, P, E>::p_complex_piter_base_(const S&)): Move the underlying iterator's (target) complex assignment... (p_complex_piter_base<I, S, P, E>::change_target_): ...here (new method). git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4574 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* mln/core/concept/pseudo_site.hh (change_target(Pseudo_Site<P>&, const typename P::target_t&)): Remove useless declaration. Wrap long lines. * mln/core/internal/site_set_iterator_base.hh (mln::internal::site_set_iterator_base<S, E>::change_target_): New method. Call its exact version... (mln::internal::site_set_iterator_base<S, E>::change_target): ...here. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4573 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* mln/core/image/complex_image.hh (mln::internal::bool_proxy): New class. (mln::internal::unbool<V>:): New trait class. (mlc_unbool): New (local) shortcut macro. (mln::internal::data< complex_image<D, G, V> >::values_): Change type from metal::vec< D + 1, std::vector<V> > to metal::vec< D + 1, std::vector< mlc_unbool(V) > >. (mln::complex_image<D, G, V>::lvalue) (mln::complex_image<D, G, V>::rvalue): Adjust typedefs. (mln::complex_image<D, G, V>::values() const): Adjust method. (data< complex_image<D, G, V> >::data): Adjust ctor. Simplify precondition. (complex_image<D, G, V>::complex_image(const p_complex<D, G>&)): Simplify. (init_(image_t, complex_image<D,G,V>&, const complex_image<D,G,W>&)): Depend on model's domain instead of its values to compute the number of n-faces. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4572 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* mln/core/internal/complex_window_base.hh: Add missing inline keywords. (complex_window_base<D, G, F, B, E>::geom): New typedef. (complex_window_base<D, G, F, B, E>::is_valid): Improve documentation. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4571 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* mln/core/image/complex_windows.hh (mln_gen_complex_window): New (generator) macro. (complex_lower_window) (complex_higher_window) (complex_lower_higher_window) (complex_lower_dim_connected_n_face_window) (complex_higher_dim_connected_n_face_window) (complex_m_face_window): New classes. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4570 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* mln/core/image/complex_windows.hh (mln_gen_complex_window_with_base): New macro. Use it to factor... (mln_gen_complex_window_p): ...this macro. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4569 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* mln/core/image/complex_windows.hh: Here. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4568 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* mln/core/internal/complex_window_p_base.hh (complex_window_p_base): Inherit from complex_window_p_base. (trait::window_< mln::internal::complex_window_p_base<D, G, F, B, E>) Adjust traits. Remove all typedefs and methods. (complex_window_p_base::complex_window_p_base): New ctor. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4567 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* mln/core/internal/complex_window_base.hh: New. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4566 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* apps/graph-morpho/morpho.hh (dilation(const mln::Image<I>&, const mln::Neighborhood<N>&)) (erosion(const mln::Image<I>&, const mln::Neighborhood<N>&)): Remove functions. (dilation_e2v(const mln::Image<I>&)) (erosion_v2e(const mln::Image<I>&)) (erosion_e2v(const mln::Image<I>&)) (dilation_v2e(const mln::Image<I>&)): Use mln::dilation and mln::erosion instead of these ad hoc dilation and erosion routines. Use mln::image_if and mln::extend instead of the ad hoc image_if_large. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4565 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 29 Sep, 2009 2 commits
-
-
Yann Jacquelet authored
Fix bugs, add hooks for tracing convergence. * green/mln/clustering/kmean1d.hh: Evict k parameter from template and replace it by a constructor parameter. Add printing for debugging. * green/mln/clustering/kmean1d.hh (update_variance): Fix bugs. * green/mln/clustering/kmean1d.hh (build_all_dbg, build_mean_dbg, update_cnv, finalize_cnv): New methods. * green/mln/clustering/kmean1d.hh (launch_one_time): Fix bugs. * green/mln/clustering/kmean1d.hh (launch_n_times): Add hooks. Do some works for managing shell parameters while executing the binary. * green/demo/clustering/kmean1d/kmean1d.cc (main, char_to_string, char_to_unsigned, demo, do_demo): New methods. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4564 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Fabien Freling authored
* fabien/README: Explain hierarchy of the sandbox. * fabien/TODO: Remove. * fabien/bin/dumpl16_to_colorize.cc: New bin tool. * fabien/bin/dumpl8_to_colorize.cc: New bin tool. * fabien/igr/color/find_color.cc: Update color detection. * fabien/magick/tiled_image.cc: Add draft of tiled image using ImageMagick. * fabien/mln/test/conversion.hh: Update conversion test. * fabien/tests/core/image/Makefile, * fabien/tests/core/image/bench.hh, * fabien/tests/core/image/bench.sh, * fabien/tests/core/image/disk_ima.cc, * fabien/tests/core/image/ima2d.cc, * fabien/tests/core/image/tiled2d.cc: Update performance benchmark for different types of image. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4563 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 28 Sep, 2009 7 commits
-
-
Yann Jacquelet authored
* green/mln/clustering/kmean1d.hh: New library file. * green/demo/clustering/kmean1d: New directory. * green/demo/clustering/kmean1d/Makefile.am: New makefile. * green/demo/clustering/kmean1d/kmean1d.cc: New demo. * green/tests/clustering/kmean1d: New directory. * green/tests/clustering/kmean1d/Makefile.am: New makefile. * green/tests/clustering/kmean1d/kmean1d.cc: New unitary tests. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4562 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Guillaume Lazzara authored
git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4561 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Guillaume Lazzara authored
* src/multi_scale/Makefile.am, * src/multi_scale/find_lines.cc: New. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4560 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Guillaume Lazzara authored
* src/text/Makefile.am, * src/Makefile.am, * src/filter/Makefile.am, * src/table/Makefile.am, * src/preprocessing/Makefile.am: Add new targets. * src/dmap.cc, * src/extract/Makefile.am, * src/extract/Makefile.am, * src/extract/primitive/Makefile.am, * src/extract/primitive/Makefile.am, * src/extract/primitive/extract_discontinued_hlines.cc, * src/extract/primitive/extract_discontinued_lines.cc, * src/extract/primitive/extract_discontinued_vlines.cc, * src/extract/primitive/extract_thick_hlines.cc, * src/extract/primitive/extract_thick_vlines.cc, * src/extract/primitive/find_discontinued_lines.cc, * src/extract/primitive/find_pattern_lines.cc, * src/extract/primitive/find_single_lines.cc, * src/extract/primitive/find_thick_and_single_lines.cc, * src/extract/primitive/find_thick_lines.cc, * src/filter/large_objects.cc, * src/filter/small_objects.cc, * src/filter/thick_objects.cc, * src/filter/thin_objects.cc, * src/morpho.cc, * src/negate.cc, * src/preprocess.cc, * src/recognition.cc, * src/rectangularity.cc, * src/superpose.cc, * src/table_rebuild_opening.cc, * src/table_rebuild_rank.cc, * src/text/grouping/Makefile.am, * src/text/grouping/group_from_double_link.cc, * src/text/grouping/group_from_double_link_filter_non_aligned.cc, * src/text/grouping/group_from_double_several_links.cc, * src/text/grouping/group_from_graph.cc, * src/text/grouping/group_from_several_graph.cc, * src/text/grouping/group_from_several_left_links.cc, * src/text/grouping/group_from_single_link.cc: Move ... * src/filter/objects_large.cc, * src/filter/objects_small.cc, * src/filter/objects_thick.cc, * src/filter/objects_thin.cc, * src/misc/Makefile.am, * src/misc/dmap.cc, * src/misc/morpho.cc, * src/misc/negate.cc, * src/misc/rectangularity.cc, * src/misc/superpose.cc, * src/preprocessing/preprocess.cc, * src/primitive/Makefile.am, * src/primitive/extract/Makefile.am, * src/primitive/extract/extract_discontinued_hlines.cc, * src/primitive/extract/extract_discontinued_lines.cc, * src/primitive/extract/extract_discontinued_vlines.cc, * src/primitive/extract/extract_thick_hlines.cc, * src/primitive/extract/extract_thick_vlines.cc, * src/primitive/find/Makefile.am, * src/primitive/find/find_discontinued_lines.cc, * src/primitive/find/find_pattern_lines.cc, * src/primitive/find/find_single_lines.cc, * src/primitive/find/find_thick_and_single_lines.cc, * src/primitive/find/find_thick_lines.cc, * src/primitive/group/Makefile.am, * src/primitive/group/group_from_double_link.cc, * src/primitive/group/group_from_double_link_filter_non_aligned.cc, * src/primitive/group/group_from_double_several_links.cc, * src/primitive/group/group_from_graph.cc, * src/primitive/group/group_from_rag.cc, * src/primitive/group/group_from_several_graph.cc, * src/primitive/group/group_from_several_left_links.cc, * src/primitive/group/group_from_single_link.cc, * src/table/rebuild_opening.cc, * src/table/rebuild_rank.cc, * src/text/recognition.cc: ... here. * src/table_old.cc: Remove. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4559 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Guillaume Lazzara authored
* filter/objects_h_thin.hh, * filter/objects_v_thin.hh: New objects filters. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4558 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Guillaume Lazzara authored
* binarization/sauvola.hh: Fix an invalid precondition. * filter/objects_size_ratio.hh: Add a "using namespace". * primitive/extract/lines_h_pattern.hh, * primitive/extract/lines_v_pattern.hh: Add a parameter. * primitive/extract/lines_pattern.hh: Add a todo. * tests/unit_test/unit-tests.mk: Regen. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4557 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
* text/recognition.hh (recognition): Fix typo in commentary. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4556 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 25 Sep, 2009 9 commits
-
-
Edwin Carlinet authored
* core/site_set/p_transformed.cc: Add inverse and typedefs. * morpho/tree/Makefile.am, * morpho/tree/dual_input_tree.cc, Add dual input tree tests. * morpho/tree/filter/filter.cc: Minor changes. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4555 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Edwin Carlinet authored
* morpho/tree/all.hh: Update. * morpho/tree/compute_parent_dual_input.hh: Remove. * morpho/tree/data.hh: Fix constructors. * morpho/tree/dual_input_tree.hh: Add dispatches for generic / low quantized algorithms. * morpho/tree/impl/dual_hqueue.hh: New. * morpho/tree/impl/dual_union_find.hh: New. * morpho/tree/impl: New. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4554 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Edwin Carlinet authored
* core/image/imorph/tr_image.hh, * core/site_set/p_transformed.hh, * core/site_set/p_transformed_piter.hh: Make them less strict with function return type. Allow functions having values that can be converted in the requested site. (ex: vector<1, u> -> point1d). * fun/p2p/translation.hh: Add argument type definition. * fun/x2x/translation.hh: Add inverse function. * geom/translate.hh: Fix non generic stuff and bug. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4553 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Edwin Carlinet authored
* core/site_set/p_queue_fast.hh: Add empty method. * util/all.hh: Update. * util/hqueues.hh: New. * value/all.hh: Update. * value/value_array.hh: New. Create an array indexed by a given type. (Similar to histo::array but the values are not limited to unsigned type). git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4552 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4551 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Guillaume Lazzara authored
* src/extract/primitive/Makefile.am, * src/preprocessing/Makefile.am: Add new examples as target. * src/extract/primitive/find_pattern_lines.cc, * src/preprocessing/split_bg_fg.cc: New examples. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4550 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Guillaume Lazzara authored
* filter/object_groups_size_ratio.hh, * filter/objects_size_ratio.hh: New filters. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4549 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Guillaume Lazzara authored
* demo/src/mainwindow.cc: Do not always resize pics. * filter/object_groups_small.hh: Add missing traces. * preprocessing/split_bg_fg.hh: Fix type ambiguities. * src/table/extract.cc, * src/text/grouping/group_from_double_link_filter_non_aligned.cc, * src/text/grouping/group_from_rag.cc: Cosmetic changes. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4548 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Guillaume Lazzara authored
* doc/examples/Makefile.am: Fix invalid source filename. * mln/fun/from_accu.hh: Fix guard. * mln/linear/gaussian_directional_2d.hh: Fix a warning. * tests/accu/pair.cc: revamp header. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4547 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 24 Sep, 2009 1 commit
-
-
Fabien Freling authored
* mln/fun/v2v/hsl_to_rgb.hh: Add correct reference for HSL to RGB conversion. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4546 4aad255d-cdde-0310-9447-f3009e2ae8c0
-