Questions tagged [deconvolution]

An algorithmic process to reverse the effects of a convolution, which is a linear form of signal or image filtering.

Deconvolution is the process of estimating an original signal (or image) from recorded data. Usually, the process of recording the signal involves a transfer function (in imaging, a point spread function), which is convolved with the original signal and blurs it. Deconvolution can then be applied to improve the signal quality. For example, in fluorescence microscopy deconvolution can be used together with special illumination configurations to obtain super-resolved images. If the transfer function cannot be measured, bind deconvolution can be used to estimate both the original signal and the transfer function simultaneously.

Deconvolution typically involves regularization and iterative optimization methods.


Related tags

203 questions
1
vote
0 answers

How will filter(kernel) size affect the Transpose Convolution operation(ConvTranspose2d in Pytorch)?

Will larger kernel help upsample with better detail or a small sized kernel? And how would padding fit in this scenario?
Vortex
  • 57
  • 6
1
vote
0 answers

Problems with Deconvolution with R (deamer package)

I am having particular difficulty with a deconvolution problem in R. I have a set of weights in pounds of a product that are contaminated with measurement error. There are 72 data points. I also have a measurement standard deviation for scale used…
boeinguy2
  • 21
  • 3
1
vote
1 answer

How can I properly reconstruct a signal using signal.deconvolve applied to a signal convolved with a ricker wavelet using signal.convolve?

So, I have an array stored in a matrix with dimensions (251, 240). Next I created a ricker wavelet which I convolve with each column (time series). This seems to work fine. The next step in my process would be to deconvolve the outcome of the…
1
vote
1 answer

A question about deconvolution of a signal using Python scipy

I am trying to learn a bit of signal processing , specifically using Python. Here's a sample code I wrote. import numpy as np import matplotlib.pyplot as plt from scipy.signal import deconvolve a = np.linspace(-1,1,50) b = np.linspace(-1,1,50)**2 c…
1
vote
1 answer

domain of inverse fourier transform after operation

Background: I observe a sample of a variable z that is the sum of two independent and identically distributed variables x and y. I'm trying to recover the distribution of x, y (call it f) from the distribution of z (call it g), under the assumption…
BVJ
  • 568
  • 4
  • 18
1
vote
0 answers

Matlab Fourier Deconvolution

I tried to deconvolute a measured spectrum (Sm) with the pure spectrum (S0) to get the apodization and instrument line shape. Here are the files: Sm and S0 However, I found that the result of my ifft of Sm and S0 are similar. It should give me…
1
vote
1 answer

Iterative reconvolution fitting with measured irf using python and lmfit

I am trying to fit an exponential decay function with convolution to a measured instrument response using python and lmfit. I am new to python and I am trying to follow the code in…
Crops
  • 5,024
  • 5
  • 38
  • 65
1
vote
1 answer

Determining relative contribution of two components to a measured spectrum

I would like to apologise in advance for how wordy this problem is: I have experience with MATLAB but am relatively new to Python, and as such I am unable to express this problem in code where it would be more appropriate than describing using…
sglander
  • 21
  • 3
1
vote
1 answer

How is it possible to encode an input with one 2D Convolution and applying the opposite 2D DeConv / Transposed Conv to get the same dimension back?

I am working on an autoencoder and I have an issue with reproducing the input in the same size. If I am using transposed convolution / deconvolution operation with the same parameters, I got a different output size then the original input was. For…
1
vote
1 answer

Calculating scaling constants for two curves using lmfit minimize or scipy optimize

I have a relatively complex plot which I would like to model. The model consists of two 'phases'/components which have been measured experimentally, however the ratio of these components is unknown. The data is shown in the image: where some…
1
vote
2 answers

How to find the arguments for torch.nn.conv_transpose2d and max_unpool2d?

In a given forward function of a convolutional layer I have: def forward(self, x): c = torch.nn.functional.conv2d(x) a,i = torch.maxpool2d(c) o = torch.relu(a) return a,i I'm looking to undo this function with…
Thomas
  • 121
  • 8
1
vote
0 answers

Calculating output after convolution and transpose convolution

I was going through a research paper to understand GANs. As I have recently studied CNNs I wanted to determine the output shape at each step after convolution and then after transpose convolution. The following image describes the Generator network…
1
vote
1 answer

The added layer must be an instance of class Layer. Found: keras.layers.convolutional.Conv2DTranspose

Can you help me with this error? TypeError: The added layer must be an instance of class Layer. Found: I get this when I try to execute the following line …
cakeBoy
  • 27
  • 5
1
vote
0 answers

Consideration of Two Steps of Up & Down sampling Operation

nice to meet you! I have a one question about Up & Down sampling in CNN. For example, Method 1. conv1 = nn.Conv2Transpose2d(10, 10, kernel_size = 3, stride = 2, padding = 1 ) conv2 = nn.Conv2d(10, 5, kernel_size = 3, stride = 1, padding = 1…
ih s
  • 71
  • 7
1
vote
1 answer

Finding the optimal number of peaks in curve fitting ( or graph deconvolution), automatically

I am trying to deconvolute graph in a way that captures the most characteristics of the original graph. There are two main issues when I am using the following code: def Gaussian(x, mean, sd): Gaussian = [] for i in range(x.size): norm +=…
Brian Lee
  • 173
  • 3
  • 14