[GIL] 2D kernel convolution

I looked at the documentation and examples of GIL, but if I have well understood, the extension "numeric convolve" does not allow to do a convolution with a 2D kernel ? Is there another extension ? Or has someone a good code sample (with convolve_boundary_option, etc.) ? Best regards, Fabien

On 27/05/10 10:51, fabien.castan@free.fr wrote:
I looked at the documentation and examples of GIL, but if I have well understood, the extension "numeric convolve" does not allow to do a convolution with a 2D kernel ?
AFAIU, yes it is 1D only.
Is there another extension ?
I have no knowledge about any such.
Or has someone a good code sample (with convolve_boundary_option, etc.) ?
This is not a code sample, but should be a helpful recipe: http://sourceforge.net/projects/adobe-source/forums/forum/648138/topic/33251... p.s. AFAIK, Christian is travelling now and will be offline for a couple of weeks, thus he may not be able to actively participate in GIL discussions here. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net

Hi Fabien -- GIL convolution is 1D. I am not aware any GIL extension that works with 2D kernels. Hailin -----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of fabien.castan@free.fr Sent: Thursday, May 27, 2010 2:52 AM To: boost@lists.boost.org Subject: [boost] [GIL] 2D kernel convolution I looked at the documentation and examples of GIL, but if I have well understood, the extension "numeric convolve" does not allow to do a convolution with a 2D kernel ? Is there another extension ? Or has someone a good code sample (with convolve_boundary_option, etc.) ? Best regards, Fabien _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
participants (3)
-
fabien.castan@free.fr
-
Hailin Jin
-
Mateusz Loskot