#include "boost/gil.hpp" using namespace std; using namespace boost::gil; void simplethreshold(const gray8c_view_t& src, const gray8s_view_t& dst, int thresh){ gray8c_view_t::xy_locator src_loc = src.xy_at(0,0); for (int y=0; y(-src.width(),1); } }