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

generative adversarial network generating image with some random pixels

I am trying to generate images using Generative Adversarial Networks(GANs) on CelebA aligned data set with each image resized to 64*64 in .jpeg format. My network definition is like this def my_discriminator(input_var= None): net =…
2
votes
1 answer

Matlab : Convolution and deconvolution results weird

Data x is input to an autoregreesive model (AR) model. The output of the AR model is corrupted with Additive White Gaussian Noise at SNR = 30 dB. The observations are denoted by noisy_y. Let there be close estimates h_hat of the AR model (these are…
SKM
  • 959
  • 2
  • 19
  • 45
2
votes
4 answers

tf.nn.conv2d_transpose output_shape dynamic batch_size

The documentation of tf.nn.conv2d_transpose says: tf.nn.conv2d_transpose( value, filter, output_shape, strides, padding='SAME', data_format='NHWC', name=None ) The output_shape argument requires a 1D tensor specifying…
Animesh Karnewar
  • 416
  • 1
  • 8
  • 17
2
votes
2 answers

How to perform a 2D deconvolution in Scilab

I want to perform a 2D deconvolution in Scilab on an Image. I can't seem to find an inbuilt function for it. Can anyone point me in the right direction?
xSooDx
  • 493
  • 1
  • 5
  • 19
2
votes
2 answers

What is the difference between tensorflow conv2d_transpose and conv2d_backprop_filter?

Can someone please explain in simple terms and examples on how these work after performing the conv2d forward pass. Let me add to this question - What is the difference between conv2d_backprop_filter and tf.nn.conv2d_backprop_input?
2
votes
1 answer

Caffe Segmentation Net - softmax_loss_layer ERROR

I am trying to implement a segmentation net for images using caffe. For each image having dimension 3x256x256, I have a 256x256 ground truth images. when I launch a train I got this error: I1019 08:50:55.831014 5847 layer_factory.hpp:74] Creating…
2
votes
2 answers

What does it mean by deconvolution (backwards convolution)?

What does it mean by deconvolution or backwards convolution in convolutional neural nets? I understand convolution, if we consider a 3x3 window W and a kernel k of same size the result of the convolution W*K will be one value. Here k is a matix with…
user570593
  • 3,420
  • 12
  • 56
  • 91
2
votes
1 answer

How can I give a variable batch_dim in output_shape argument of deconv2d in tensorflow?

I am trying to use the tf.nn.deconv2d() op on a variable-sized batch of data. However, it appears that I need to set the output_shape argument as follows: tf.nn.deconv2d(x, filter, output_shape=[12, 24, 24, 5], strides=[1, 2, 2, 1], …
Shaban
  • 113
  • 2
  • 11
1
vote
0 answers

Python how to deconvolve two Gaussian distributions

The distribution of the sum of two normal independent random variables can be computed with aconvolution. I.e. Z=X+Y and f_z = convolution(f_x, f_y). I know that the convolution of two normal distributions is also a normal distribution with mean…
1
vote
0 answers

computing convolution kernel from smoothed and original image

I need to recover the sigma of a gaussian blur. I have both the original image and the smoothed image. I tried a deconvolution type approach: import numpy as np nz = 141 nx = 681 h = 25 x = [i*h / 1000 for i in range(nx)] z = [i*h / 1000 for i in…
1
vote
0 answers

why do I get: "unsupervised_wiener() got an unexpected keyword argument 'max_num_iter'" when using skimage.restoration.unsupervised_wiener?

i am playing around with scikit image restoration package and successfully ran the unsupervised_wiener algorithm on some made up data. In this simple example it does what I expect, but on my more complicated dataset it returns a striped pattern with…
Bende
  • 91
  • 8
1
vote
1 answer

Negative values after Limma's batch effect correction

I have several RNA-seq data sets. Using a deconvolution approach, I conducted a cell type enrichment analysis for each one of them and then combined the results into one dataframe, yielding 1000+ samples in columns and 38 cell types in rows. The…
Programming Noob
  • 1,232
  • 3
  • 14
1
vote
1 answer

Deconvolution doesn't seem to work (fft2; scipy)

I'm convolving a signal f, with a kernel h, in spatial domain, then, I'm deconvolving in frequency domain. Since I know the kernel h, in theory I should be able to get f back without any problem, however, it's not working. This is what I have: …
Tony Power
  • 1,033
  • 11
  • 23
1
vote
0 answers

How to Determine the Output Shape of a Conv2DTranspose of an AutoEncoder

I am building an autoencoder for learning 28 ultrasound time signals of shape [262144,2] i.e. 262144 pairs of time and voltage points concatenated to form a [262144x2] tensor as input data to a stacked convolutional encoder. The latent space is set…
1
vote
1 answer

Is there a function in Python similar to Matlab's deconvblind?

I'm working on blind deconvoltuion. In iterating L2norm reguralization, I want to update the PSF at the same time, and when I looked it up, I found a function called deconvblind in Matlab: l[J,PSF] = deconvblind(I,INITPSF) deconvolves image I using…