- 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
-
- 25 Sep, 2009 6 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
* 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 11 commits
-
-
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
-
Roland Levillain authored
* apps/constrained-connectivity/constrained-connectivity.cc (main): s/input.pbm/input.pgm/. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4544 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* apps/constrained-connectivity/test-constrained-connectivity.in: New. * apps/constrained-connectivity/Makefile.am (TESTS): New. Add test-constrained-connectivity. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4542 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* apps/constrained-connectivity/: New directory. * sandbox/roland/constrained-connectivity.cc, * sandbox/roland/soille.pgm: Move files... * apps/constrained-connectivity/constrained-connectivity.cc, * apps/constrained-connectivity/soille.pgm: ...here. * sandbox/roland/Makefile: Adjust. * apps/constrained-connectivity/Makefile.am: New. * apps/Makefile.am (SUBDIRS): Add constrained-connectivity. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4540 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* apps/graph-morpho/morpho.hh: Here. * apps/graph-morpho/make_complex2d.hh (unmake_complex2d): Adjust as well. * apps/graph-morpho/cplx2d.hh: Remove symlink. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4538 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* mln/world/inter_pixel/neighb2d.hh (mln::world::inter_pixel::c2c) (mln::world::inter_pixel::c2e) (mln::world::inter_pixel::e2c): Rename as... (mln::world::inter_pixel::v2v) (mln::world::inter_pixel::v2e) (mln::world::inter_pixel::e2v): ...this. * mln/world/inter_pixel/dim2/make_edge_image.hh (mln::world::inter_pixel::dim2::make_edge_image): Adjust. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4536 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* mln/world/inter_pixel/neighb2d.hh (mln::world::inter_pixel::c2c, mln::world::inter_pixel::c2e): New functions. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4534 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* mln/world/inter_pixel/neighb2d.hh (mln::world::inter_pixel::e2c, mln::world::inter_pixel::e2e): Here. Wrap long lines. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4533 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* mln/world/inter_pixel/compute.hh: Include mln/core/image/dmorph/image_if.hh and mln/trait/ch_value.hh. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4532 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* mln/morpho/watershed/topo_wst.hh: Rename as... * mln/morpho/watershed/topological.hh: ...this. Add documentation header. * mln/morpho/watershed/all.hh: Include mln/morpho/watershed/topological.hh. * tests/morpho/watershed/test_watershed_topo.cc: Adjust. Revamp. Add copyright and documentation headers. Rename as... * tests/morpho/watershed/topological.cc: ...this. * tests/morpho/watershed/Makefile.am (check_PROGRAMS): Add topological. (topological_SOURCES): New. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4530 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* mln/morpho/watershed/topo_wst.hh: New file, imported from sandbox/abraham/mln/morpho/topo_wst.hh. * tests/morpho/watershed/test_watershed_topo.cc: New file, imported from sandbox/abraham/tests/morpho/test_watershed_topo.cc. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4529 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 22 Sep, 2009 2 commits
-
-
Guillaume Lazzara authored
* mln/upscaling/art/scale2x.hh, * mln/upscaling/art/scale3x.hh: New routines. * tests/Makefile.am, * tests/upscaling/Makefile.am, * tests/upscaling/art/Makefile.am, * tests/upscaling/art/scale2x.cc, * tests/upscaling/art/scale3x.cc: New associated tests. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4525 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Guillaume Lazzara authored
git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4524 4aad255d-cdde-0310-9447-f3009e2ae8c0
-