|
Boost : |
Subject: [boost] [GIL] kth_channel_view
From: fabien.castan_at_[hidden]
Date: 2010-06-22 14:01:45
Hi,
I have some difficulties using kth_channel_view.
I'm trying to modify the "convolution.cpp" example, like that:
#include <boost/gil/gil_all.hpp>
...
kernel_1d<float> kernel2(gaussian_1,9,4);
convolve_rows<rgb32f_pixel_t>(kth_channel_view<0>(const_view(img)),kernel2,kth_channel_view<0>(view(img)));
jpeg_write_view("out-convolution2.jpg", view(img));
...
This doesn't compile.
Regards,
Fabien
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk