Questions tagged [blur]

31 questions
27
votes
4 answers

Gaussian Blur - Standard Deviation, Radius and Kernel Size

I've implemented a gaussian blur fragment shader in GLSL. I understand the main concepts behind all of it: convolution, separation of x and y using linearity, multiple passes to increase radius... I still have a few questions though: What's the…
LodeRunner
  • 373
  • 1
  • 3
  • 5
24
votes
3 answers

How do I remove motion blur?

Is there a generically accepted method of removing motion blur from an image. For a simple case, we can assume that motion happens in a straight line. I assume that it's a two part process composed of motion estimation and then deconvolution, but…
Phonon
  • 4,938
  • 3
  • 34
  • 60
13
votes
2 answers

Deconvolution - Richardson Lucy vs. Wiener Filter

I am studying some deconvolution techniques, In order to remove motion blur, like: Richardson-Lucy Wiener Are there any pros / cons of using one versus another? For example which are the pros / cons of Richardson-Lucy technique?
10
votes
2 answers

Isolate the non blurred part of foucsed image

I have an image taken by a mobile phone camera with focus on a part of it let say a face or whatever. I want to know -approximately- where is the focused area. For example, a bounding box around the focused area. example :
Humam Helfawi
  • 256
  • 4
  • 14
7
votes
2 answers

How to locally quantify the 'sharpness' of an image?

I am trying to quantify how much sharpness (or acutance) is in a picture which has some bokeh (out of focus background). I am using the Python scikit image for that. Here is my naive approach: import matplotlib.pyplot as plt from skimage import…
FZNB
  • 173
  • 1
  • 1
  • 5
7
votes
2 answers

Gaussian Blur In MATLAB and Connection to Image Resolution

I am calling fspecial() in MATLAB to create a Guassian blur of an image. For example, %Create Gaussian Filter G = fspecial('gaussian', [5 5], 2); % Blur Image blurredImage = imfilter(nonBlurredImage,G,'same') The parameter [5 5] is hsize which…
gsandhu
  • 173
  • 1
  • 1
  • 3
6
votes
1 answer

Deblurring algorithm to precede thresholding - speed over accuracy

I'm writing an app that recognizes Sudoku puzzles from a camera input. I'd like to remove camera blur from the images to improve recognition. Here is an example image: Since I'm processing a continuous camera feed, I'm concerned about speed,…
6
votes
1 answer

Degraded image: Wiener Filter vs Wiener deconvolution

I am studying methods for recovering images (that has been blurred and noised). Can someone explain the difference between: http://en.wikipedia.org/wiki/Wiener_deconvolution http://en.wikipedia.org/wiki/Wiener_filter I can understand that wiener…
dynamic
  • 295
  • 1
  • 6
5
votes
3 answers

How to denoise a video stream from poor CCTV lighting

I have grainy CCTV footage that will need some amount of clean up. I request for ideas on the best way to clean out the noise. I am attaching a frame extracted from the video here for hints on the specific noise cleaning I will need. Just for…
James Bond
  • 51
  • 1
5
votes
2 answers

How to approximate gaussian kernel for image blur

From wiki, a $3 \times3$ gaussian kernel is approximated as: $$\frac{1}{16}\begin{bmatrix}1&2&1\\2&4&2\\1&2&1 \end{bmatrix}.$$ Applying this kernel in an image equals to applying an one-dimensional kernel in x-direction then again in y-direction, so…
Finley
  • 153
  • 1
  • 6
5
votes
2 answers

How to Calculate Gaussian Kernel for a Small Support Size?

How to calculate the values of Gaussian kernel? I think I understand the principle of it weighting the center pixel as the means, and those around it according to the $\sigma$ but what would each value be if we should manually calculate a $3\times…
asd
  • 51
  • 1
  • 1
  • 3
4
votes
1 answer

Blurring Non-Uniform Areas

I have an image with arbitrary area (the boundary is shown in gray): I would like to blur just the image within boundaries. Ordinary blur causes the background proliferating to image and vice versa. This results in dark areas near boundaries of the…
Libor
  • 4,135
  • 21
  • 37
4
votes
2 answers

blur detection using opencv

I'm writing a script to detect blur images using OpenCV by applying Laplacian filter and calculate the std but there is a problem the std for images that contain motion blur is very close to those images which contain any other type of blur. (my…
3
votes
2 answers

What Is the Relation Between Deblurring and Deconvolution in Computer Vision and Image Processing?

The deblurring problem can be modelled as follows $$ f = \phi u + \epsilon, \; \epsilon \sim N(0, \sigma) $$ where $\phi$ is a filter (e.g. a low-pass filter) and $\epsilon$ is a Gaussian noise. In computer vision, what is the relation between…
user40095
3
votes
2 answers

Fastest Available Algorithm to Blur an Image (Low Pass Filter)

Iam working with a camera that produces ugly artifacts: by using ANY blur filter on the camera's output the visual quality improves drastically: The above image was created using OpenCV's cv::medianBlur with a kernel size of 3. I identified…
Crigges
  • 135
  • 1
  • 4
1
2 3