27 #ifndef SCRIBO_PREPROCESSING_DENOISE_HH
28 # define SCRIBO_PREPROCESSING_DENOISE_HH
34 # include <scribo/preprocessing/denoise_fg.hh>
35 # include <scribo/preprocessing/denoise_bg.hh>
41 namespace preprocessing
60 template <
typename I,
typename N>
63 unsigned fg_min_card,
unsigned bg_min_card);
71 # ifndef MLN_INCLUDE_ONLY
77 namespace preprocessing
80 template <
typename I,
typename N>
83 unsigned fg_min_card,
unsigned bg_min_card)
85 mln_trace(
"scribo::preprocessing::denoise");
87 const I& input =
exact(input_);
88 const N& nbh =
exact(nbh_);
89 mlc_equal(mln_value(I),
bool)::check();
90 mln_precondition(input.is_valid());
106 # endif // ! MLN_INCLUDE_ONLY
108 # endif // SCRIBO_PREPROCESSING_DENOISE_HH