27 #ifndef SCRIBO_CORE_ERASE_OBJECTS_HH
28 # define SCRIBO_CORE_ERASE_OBJECTS_HH
34 # include <mln/core/concept/image.hh>
35 # include <mln/core/site_set/box.hh>
36 # include <mln/data/fill.hh>
37 # include <mln/pw/all.hh>
38 # include <mln/util/array.hh>
40 # include <scribo/core/component_set.hh>
41 # include <scribo/core/macros.hh>
54 template <
typename I,
typename L>
59 # ifndef MLN_INCLUDE_ONLY
62 template <
typename I,
typename L>
65 const component_set<L>& comps)
67 mln_trace(
"scribo::erase_objects");
69 mlc_equal(mln_value(I),
bool)::check();
71 I& input =
exact(input_);
72 mln_precondition(input.is_valid());
75 != pw::cst(literal::zero))).rw(),
81 # endif // ! MLN_INCLUDE_ONLY
85 #endif // ! SCRIBO_CORE_ERASE_OBJECTS_HH