2

I have two images which are quite similar but one of them is a little bit blurred. In image processing, is there any parameter or way to detect the blurred image and separate it from the other one?

Javier Lim
  • 149
  • 1
  • 14
Mehdi
  • 1,146
  • 1
  • 14
  • 27

1 Answers1

5

One of the ways to find a blurred image is by using Laplacian operator.

Steps:

1) Read image1 and image2 and convert them to grayscale

2) Use Laplacian operator to get the edge image.

3) Find the variance of the Laplacian image.

4) Compare the variances of image1 and image2.

5) The image which has the least variance is blurred.

Check this link for additional information

janu777
  • 1,940
  • 11
  • 26