27 #ifndef SCRIBO_PRIMITIVE_EXTRACT_LINES_H_THICK_HH
28 # define SCRIBO_PRIMITIVE_EXTRACT_LINES_H_THICK_HH
34 # include <mln/core/concept/image.hh>
35 # include <mln/core/concept/neighborhood.hh>
36 # include <mln/win/hline2d.hh>
38 # include <scribo/core/component_set.hh>
39 # include <scribo/primitive/extract/lines_thick.hh>
66 template <
typename I,
typename N,
typename V,
typename W>
67 component_set<mln_ch_value(I,V)>
70 unsigned line_length);
74 # ifndef MLN_INCLUDE_ONLY
80 template <
typename I,
typename N,
typename V>
82 lines_h_thick_tests(
const Image<I>& input,
86 mlc_equal(mln_value(I),
bool)::check();
87 mlc_bool(mln_site_(I)::dim == 2)::check();
90 mln_precondition(
exact(input).is_valid());
91 mln_precondition(
exact(nbh).is_valid());
92 mln_precondition(line_length % 2);
104 template <
typename I,
typename N,
typename V>
105 component_set<mln_ch_value(I,V)>
106 lines_h_thick(
const Image<I>& input,
108 unsigned line_length)
110 mln_trace(
"scribo::primitive::lines_h_thick");
112 internal::lines_h_thick_tests(input, nbh, nlines,
117 component_set<mln_ch_value(I,V)>
123 # endif // ! MLN_INCLUDE_ONLY
131 #endif // ! SCRIBO_PRIMITIVE_EXTRACT_LINES_H_THICK_HH