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
4
votes
1 answer

Why isn't this Conv2d_Transpose / deconv2d returning the original input in tensorflow?

weights = tf.placeholder("float",[5,5,1,1]) imagein = tf.placeholder("float",[1,32,32,1]) conv = tf.nn.conv2d(imagein,weights,strides=[1,1,1,1],padding="SAME") deconv = tf.nn.conv2d_transpose(conv, weights, [1,32,32,1],…
4
votes
0 answers

What are the constraints on the divisor argument of scipy.signal.deconvolve to ensure numerical stability?

Here is my problem: I am going to process data coming from a system for which I will have a good idea of the impulse response. Having used Python for some basic scripting before, I am getting to know the scipy.signal.convolve and…
4
votes
1 answer

How can I implement deconvolution layer for a CNN in numpy?

I try to implement Deconvolution layer for a Convolution Network. What I mean by deconvolution is that suppose I have 3x227x227 input image to a layer with filters in size 3x11x11 and stride 4. Hence the resulting feature map has size 55x55. What I…
erogol
  • 13,156
  • 33
  • 101
  • 155
4
votes
2 answers

Deconvolution Between Matrix and Sub Matrix

I have a matrix a=[[1 2 3]; [4 5 6]; [7 8 9]] and a submatrix b=[[5 6];[8 9]]. Is there a method in matlab for deconvolving (a,b) ? I am looking for a method fo recognize the presence of a submatrix in a possible giant matrix. By a sort of…
no_name
  • 1,315
  • 2
  • 16
  • 20
3
votes
0 answers

Image Deconvolution

to practice Wiener deconvolution, I'm trying to perform a simple deconvolution: def div(img1 ,img2): res = np.zeros(img2.shape, dtype = 'complex_') for i in range (img2.shape[0]): for j in range (img2.shape[0]): if (np.abs(img2[i][j])…
3
votes
3 answers

Does R have a way to figure out which numbers contributed to a sum? (deconvolution?)

I am working with data from a meta-analysis of studies, where not every study had data for every genetic variant. I am trying to solve the following problem: I have a data frame ("studies") with information about 10 studies, which includes the…
TiredSquirrel
  • 253
  • 1
  • 6
3
votes
1 answer

MATLAB: How to apply ifft correctly to bring a "filtered" signal back to the time doamin?

I am trying to get the output of a Gaussian pulse going through a coax cable. I made a vector that represents a coax cable; I got attenuation and phase delay information online and used Euler's equation to create a complex array. I FFTed my Gaussian…
3
votes
0 answers

Using Scipy's deconvolve function to deconvolve electrodermal activity data

I wish to deconvolve an EDA (electrodermal activity) signal using a Bateman function as the filter as described here, using Scipy's deconvolve function. However, when I attempt this, the deconvolution graph does not look how I expect it to. Namely,…
eLillie
  • 653
  • 9
  • 17
3
votes
1 answer

Getting incompatible shapes between op input and calculated input gradient when minimizing the AdamOptimizer

I am getting the following error while running my tensorflow code: Traceback (most recent call last): File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/tensor_shape.py", line 579, in merge_with …
Srikrishna Bhat
  • 125
  • 1
  • 9
3
votes
1 answer

Finding for convolution kernel if many 0's for FFT?

I know that original_image * filter = blur_image, where * is the convolution. Thus, filter = ifft(fft(blur)/fft(original)) I have an original image, the known filter, and the known blurred image. I tried the following code. I just want to compare…
user5739619
  • 1,748
  • 5
  • 26
  • 40
3
votes
2 answers

Does a Convolutional Layer Have an Exact Inverse

...and if so under what circumstances? A Convolutional Layer usually yields an output of lesser size. Is it possible to reverse/invert such an operation by flipping/transposing the used kernel and providing padding or likewise? Just looking at the…
3
votes
3 answers

How to visualize (and understand) transposed convolutions?

I have seen two ways of visualizing transposed convolutions from credible sources, and as far as I can see they conflict. My question boils down to, for each application of the kernel, do we go from many (e.g. 3x3) elements with input padding to…
3
votes
0 answers

Determination of PSF via deconvolution in MATLAB

I'm trying to determine the point-spread-function (PSF) of a certain microscope by a deconvolution process of a measurement of a test pattern (representing the blurred image) and a simulation of this measurement (representing the non-blurred image).…
JoshLo
  • 31
  • 2
3
votes
3 answers

Tensorflow conv2d_transpose output_shape

I want to implement a Generative adversarial network (GAN) with unfixed input size, like 4-D Tensor (Batch_size, None, None, 3). But when I use conv2d_transpose, there is a parameter output_shape, this parameter must pass the true size after…
3
votes
0 answers

Caffe vs Tensorflow Deconv Results

I'm converting an autoencoder model from Caffe to TensorFlow. After transferring the weights, the network performs as expected through the convolutions until it reaches the deconvolutions. The output feature maps are different than expected with the…
Sam P
  • 1,821
  • 13
  • 26
1 2
3
13 14