27 #ifndef SCRIBO_PRIMITIVE_EXTRACT_LINES_V_THICK_HH
28 # define SCRIBO_PRIMITIVE_EXTRACT_LINES_V_THICK_HH
34 # include <mln/core/concept/image.hh>
35 # include <mln/core/concept/neighborhood.hh>
36 # include <mln/win/vline2d.hh>
38 # include <scribo/primitive/extract/lines_thick.hh>
65 template <
typename I,
typename N,
typename V,
typename W>
66 component_set<mln_ch_value(I,V)>
69 unsigned line_length);
73 # ifndef MLN_INCLUDE_ONLY
79 template <
typename I,
typename N,
typename V>
81 lines_v_thick_tests(
const Image<I>& input,
85 mlc_equal(mln_value(I),
bool)::check();
86 mlc_bool(mln_site_(I)::dim == 2)::check();
89 mln_precondition(
exact(input).is_valid());
90 mln_precondition(
exact(nbh).is_valid());
91 mln_precondition(line_length % 2);
103 template <
typename I,
typename N,
typename V>
104 component_set<mln_ch_value(I,V)>
105 lines_v_thick(
const Image<I>& input,
107 unsigned line_length)
109 mln_trace(
"scribo::primitive::extract::lines_v_thick");
111 internal::lines_v_thick_tests(input, nbh, nlines,
116 component_set<mln_ch_value(I,V)>
122 # endif // ! MLN_INCLUDE_ONLY
130 #endif // ! SCRIBO_PRIMITIVE_EXTRACT_LINES_V_THICK_HH