Exemple #1
0
 inline void image_filter_short_run(Iter i, const Iter end, const int max_length, const Color& color) {
   for (; i != end; i++)
     filter_run(i.begin(), i.end(), max_length, std::less<size_t>(), color);
 }
Exemple #2
0
 inline void image_filter_long_run(Iter i, const Iter end, const int min_length, const Color& color) {
   for (; i != end; i++)
     filter_run(i.begin(), i.end(), min_length, std::greater<size_t>(), color);
 }