[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] how to perform 2D convolution of two gsl_matrix
From: |
Brian Gough |
Subject: |
Re: [Help-gsl] how to perform 2D convolution of two gsl_matrix |
Date: |
Wed, 24 Dec 2008 08:26:43 +0000 |
User-agent: |
Wanderlust/2.14.0 (Africa) Emacs/22.2 Mule/5.0 (SAKAKI) |
At Fri, 19 Dec 2008 16:30:55 +0545,
Abhishek Dutta wrote:
> I want to perform the 2D convolution of two gsl_matrix (similar to the conv2
> method in matlab). Is there a single method to achieve this? Or should I
> perform the convolution using the following technique
> 1. take fft of these two signals
> 2. multiply the resulting fft
> 3. take inverse fft
>
> This method would be a good choice as both the matrices (gsl_matrix) have
> same dimensions. Is there any other method to achieve this task?
There is no single routine for it, you have to do the three steps
individually.
--
Brian Gough
(GSL Maintainer)
Support freedom by joining the FSF!
http://www.fsf.org/news/fall-2008-fundraiser