Convolution is a mathematical operation on two functions f and g, producing a third function that is typically viewed as a modified version of one of the original functions.

learn more… | top users | synonyms

1
vote
1answer
31 views

applying convolution theorem swaps quadrants

For educational purposes I implemented the DFT and inverse DFT for images using OpenCV. Applying the DFT to an image and taking the inverse DFT of the spectrum yields the original image, so this ...
0
votes
0answers
24 views

Are convolution and deconvolution kernel the same?

I need to clarify this and rather confused by this. Lets say: x = h * g x - measured data h - raw data g - instrument response function (convolution kernel) . So lets say I have x and h. So ...
2
votes
0answers
15 views

Analytical expression for convolution of two 2D DFTs

I am trying to do an image analysis problem on some images, and I want to calculate some things in the frequency domain which are giving me problems. Say I have an (discrete) image $I(x,y)$ of size ...
2
votes
2answers
38 views

convolution matrix for image scaling

Is there any way how to compute convolution matrix for Nearest Neighbor (bicubic, bilinear) image scaling (upscale/downscale)?
3
votes
1answer
41 views

Implementing overlap add method for convolution with a slice of the filter

In overlap add method for convolution a filter $x$ of length $M$ will get convolved with a signal $y$ of length $N$ where $M << N$, i.e., $z = x * y $. Here the signal $y$ is sliced into ...
0
votes
0answers
18 views

Equivalence of transfer functions based on identical input and output

We have two transfer functions which are functions of frequency. No matter the frequency value of the input, which is of the form $e^{jwn}$ or the value of n, the output will be identical. Are the two ...
0
votes
0answers
18 views

Convolution / Correlation correct implementation in java

I have a java programm which is manipulating an RGB picture which comes in a 3dimensional matrix. I tried to implement an apply Convolution and an apply Correlation function, which applies a kernel ...
0
votes
0answers
18 views

N-point circular convolution with n > length of sequence

If I want to take an n-point circular convolution and both of my sequences are less than n length, how do I do this? Do I cutoff the terms that don't fit? For example, say I want to perform 4-point ...
0
votes
1answer
35 views

Prove that time-reverse yields inverse filter for deconvolution?

In reading literature on the construction of impulse responses from sine sweeps (e.g. papers by Farina), I see it stated over & over that the way the impulse response is constructed from a ...
0
votes
1answer
77 views

How to show that y[n] = x[n] * h[n] turns into the Y(z) = X(z).H(z)?

I'm trying to show that $y[n]=x[n]*h[n]$ turns into $Y(z) = X(z)H(z)$ in Z-domain by first applying convolution then by taking the inverse Z-transform of the $Y(z)$, stating that it's the same ...
0
votes
1answer
44 views

Efficient algorithm for computing area under convolution?

Consider $N$ discrete signals $x_1(n), x_2(n), \ldots,x_N(n)$ each a bounded support of size $M$. To convolve them, we can zero-pad each of them, multiply their FFTs, and take the result's inverse ...
0
votes
2answers
31 views

How can you intutively figure what the impulse response will behave like?

I was trying to understand convolution from this book and came across this figure: Here, the input signal is a combination of a sine wave and a ramp. In fig a, the input signal is convolved with a ...
1
vote
0answers
31 views

Size obtained by applying Linear convolution

We know that applying a filter on an image is called correlation or convolution depending on the filter angle. In Gonzalez I have read that we can apply linear convolution on an image. Here I have a ...
1
vote
0answers
21 views

What is the difference between Time-Frequency Represenation and TF Decomposition

I'm asking as I'm looking at Wavelet transforms, and I see that it is possible to have a TF decomposition or a representation of the signal. Looking for example at the code here we can see that the ...
2
votes
1answer
75 views

2D deconvolution of recorded electron beam data

I'm currently working on a project that involves using an electron gun and it would be really nice to know the spot shape of the electrons coming out of the gun (the frequency of electrons at some x,y ...
-1
votes
1answer
60 views

Difference between correlation/convolution and matrix multiplication

Can anyone please clarify the difference between correlation/convolution and matrix multiplication? As I thought either convolution or correlation is similar to matrix multiplication. I read this ...
0
votes
4answers
217 views

What is convolution of two sine waves (tones)?

Convolution of two sine waves (or tones as called in audio) is theoretically not defined as the integral is infinite. Taking finite duration windowed sine waves and doing there convolution ...
2
votes
1answer
54 views

Avoiding edge repeats in a FFT convolution

I am trying to use FFT as a fast way to convolve a image, however one of the downsides of this is that the "kernel" image will repeat when reaching the edges of the sample. Is there a way to avoid ...
0
votes
1answer
21 views

Different results for seperable filtering v/s direct filtering on 2-D image in MATLAB

I compared the difference between seperable and direct filtering for MATLAB's cameraman image. The difference is huge. I would like to understand the reason for this. Code below. ...
0
votes
1answer
40 views

Convolution of h(n) & x(n)

can anyone please help me with finding Convolution for following problem ..... 1) $h(n) = \delta[\sin(1 + |n|)]\quad \text{and}\quad x(n) = \sin(n^2)$ 2) $h(n) = \delta[\sin(2\pi n/N)] \quad ...
0
votes
2answers
67 views

Convolving Room Impulse Response with a Wav File (python)

I have written the following code which is supposed to put echo over an available sound file. Unfortunately the output is a very noisy result which I don't exactly understand. Can anybody help me with ...
0
votes
1answer
72 views

How to derive the answer to this convolution problem?

I came across this below question, (which was a homework assignment question for Signal Processing class, which my friend mailed me for help solving), mulled over it for an hour and had no idea how to ...
-1
votes
1answer
70 views

understanding discrete-time convolution in LTI systems

I'm trying to understand the discrete-time convolution for LTIs and its graphical representation. standard explanations (like: this one) start with the idea of decomposing an input signal $x[t]$ into ...
2
votes
2answers
102 views

Difference between convolution and multiplication of freq. response and freq. spectrum

Suppose I have impulse response like [1/25,2/25,3/25,4/25,5/25,4/25,3/25,2/25,1/25]. I did convolution with 600 samples of test signal (it seems that I did some filtering). Then I calculated the ...
0
votes
0answers
16 views

Extraction of a decision boundary (LDA) after a systematic querying of the feature space and convolution with Sobel filter (examples in numpy)

I am doing some experiments with LDA (Linear Discriminant Analysis), in python. Now I am at the point in which I would like to display the separation planes in the 3-dimensional feature space. I ...
1
vote
1answer
77 views

Writing a Discrete Fourier Transform program

I would like to write a DFT program using FFT. This is actually used for very large matrix-vector multiplication (10^8 * 10^8), which is simplified to a vector-to-vector convolution, and further ...
0
votes
0answers
39 views

Convolution: 2D kernel to full matrix

We know that a convolution can be replaced by a multiplication with a toeplitz circulant matrix. Meaning, assume I have convolution kernel $h$ and matrix $I$ (of size $m \times m$ for example), then ...
2
votes
0answers
100 views

Convolving two complex signals - relationship between phase

Suppose two continuous complex domain signals are convolved, how is the magnitude and phase of the resultant signal related to the magnitudes and phase of the original signals?
3
votes
1answer
94 views

Confusion about result of FIR All-pass filter design

I try to design a FIR All-pass filter with random phase in the frequency domain. I am a bit confused by my result and am not sure if the reason is a programming error or a misconception about ...
0
votes
1answer
66 views

Discrete Fourier Transform and Opposite Convolution Theorem

I am reading the Wiki for DFT. There is a part for circular convolution theorem which sounds a bit odd saying: $$ \mathcal{F} \left \{ \mathbf{x\cdot y} \right \}_k \ \stackrel{\mathrm{def}}{=} ...
0
votes
2answers
58 views

Convolution theorem

As stated by the convolution theorem, a convolution in spatial domain is equivalent to a multiplication in the frequency domain.Nevertheless, when should the first be preferred over the latter?
2
votes
2answers
338 views

How to calculate step and impulse response at multiple sampling rates

I'm struggling with a basic concept. Suppose I have a system $y(t)=e^{-at}u(t)\ast x(t)$ and I want to plot impulse response and step response using Matlab conv() function at various sampling rates. ...
1
vote
1answer
49 views

Why does the odd multiple of $\frac{\pi}{4}$ on Gaussian cause loss in repeatability under image rotations?

I couldn't figure out below paragraph on SURF paper and hope that someone can help me to understand it. Why image rotations around odd multiples of $\frac{\pi}{4}$ lead to a loss of repeatability? ...
3
votes
2answers
464 views

Deconvolution by convolution

This is now a second time I am attempting to ask this very important but simple question here. What I want to know is can you do deconvolution by convolving a signal. It is often stated that, for ...
0
votes
0answers
39 views

Impact of different padding schemes in Frequency domain image filtering

I understand, that image padding is necessary in order to prevent wrap-around effects due to circular convolution. My set of questions are related to different padding schemes. Zero Padding is easy ...
1
vote
1answer
72 views

Finding linear convolution of two time series

PROBLEM Two real, causal time series $$f_k = a^k \quad \text{and} \quad g_k = b^k$$ where $a \neq b$, $|a| < 1$, and $|b| < 1$, are given for $k = 0,1,2,...$ Find the linear convolution ...
1
vote
2answers
43 views

Why the delta at the end of the approximation?

The equation to approximate an input signal with a unit impulse in Continuous Time, is shown below, before we take the limit ...
0
votes
0answers
31 views

Fast convolution with striding step

I want to convolve two discrete functions $f$ and $g$ using convolution stride size $a$ to get the result as $s_{a, i}$: $$s_{i,a} = \sum_i g_k f_{ai-k}$$ I know that simple convolution with $a=1$ ...
0
votes
0answers
30 views

Normalisation of delay-addition comb filter implementation

I'm trying to write a tempo detection algorithm for analysis of audio samples. I'm roughly following the approach described in Scheirer, the first stages of which give me some very nice beat onset ...
0
votes
1answer
42 views

Convolution from bottom right [closed]

I want to do a convolution from the bottom right and not as usual from the top left. I think conv2 of Matlab only does from the top left. How can I do a convolution in Matlab from the bottom right? ...
0
votes
1answer
106 views

circular Convolution

Multiplications of time domain vectors of two signals is equivalent to convolutions in frequency domain and also use circular convolutions for when FIR filter design using window method in frequency. ...
0
votes
1answer
95 views

Convolution sum vs auto-correlation problem

I had an exam one of these days and one of the questions was: "Knowing that an auto-correlation estimator of a sinal x[n] could be defined by: $$ R_{xx}[k] = \sum_{n=-\infty}^{+\infty}h[n].x[n+k] , ...
0
votes
0answers
35 views

DFT method for a sequence defined by recursion

I encountered the following interesting computational problem in the field of computational statistical mechanics. https://www.dropbox.com/s/8yimd9uy5u0jrdj/dftpr.pdf thank you :)
1
vote
1answer
130 views

Continuous-time mathematical formula for deconvolution filters

I have an elementary function $p:\mathbb{R}^2\rightarrow\mathbb{R}$ which (locally) represents an image. It's a polynomial, and its the result of the following 2D convolution: $$p=f\star G\star ...
0
votes
2answers
63 views

How to create a convolution matrix with a variable condition number(CN)

I want to know the performance of a deconvolution algorithm with different CN, so I'm convolving my signal with different convolution matrices(different CNs) and then applying the deconvolution ...
0
votes
0answers
26 views

Operaion on Simple Discrete Time Signal , Very Simple Question

I got this simple Discrete time signal question on which i have to perform shifting and multiplication.But I have some Doubt regarding the answer this book shows. Please see the uploaded image.
0
votes
1answer
74 views

Convolve a minimum phase wavelet with delta peak

let's assume I have two time series: one with a delta peak at position $x$ and another time series with a minimum phase wavelet that starts at time $y$ with a maximum peak at position $z$. Now, when ...
1
vote
3answers
81 views

Connection between filter equation in frequency domain and difference equation in time domain?

I know that the frequency response of a filter is described by equation: H(w) = 1-1.176*e^(-jw) + e^(-j2w) , where w is the angular frequency. Then in time domain ...
1
vote
1answer
129 views

How to calculate the zero state response?

In the following question and answer I kind of get it how it is calculated at surface but I don't get it fully. Can someone please explain the answer in depth?
1
vote
2answers
595 views

Convolution in the frequency domain

We often hear that "convolution in time is the same as multiplication in frequency", and vice versa, that "convolution in frequency is the same as multiplication in time". So in a typical windowing ...