Hi,
I have a rgb8_image_t::view_t view, and I want to convert some part of it to
grayscale within its region,
for example: 0,0,100,100 (x,y,width,height)
How can I do this?
I try to do this but it can't be compiled.
typedef boost::gil::pixel<
typename boost::gil::channel_type<
boost::gil::rgb8_image_t::view_t>::type,
boost::gil::gray_layout_t> gray_pixel_t;
boost::gil::copy_pixels(
boost::gil::color_converted_view