Ask Your Question
0

How can I detect "blur" in images?

asked 2016-03-07 19:49:15 -0600

Im new here in OPENCV and also a beginner in image processing.. I want to develop a system that could detect if an image is blurry cause by FOG, RAIN or SMUDGES on transparent surfaces or reflective surfaces (e.g. mirrors and Glass doors/windows). I would like to know if you could share the technique and the math? thanks guys..

edit retag flag offensive close merge delete

Comments

you can read this post and many others post...and this

LBerger gravatar imageLBerger ( 2016-03-08 01:25:10 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-05-06 08:29:36 -0600

phluxx gravatar image

Your question sounds like blurryness is not really the property you are searching for. Blur means that pixels colors are smearing into their neighbours, so you never have big differences in color values for neighboring pixels. Typical blur detection takes that into account, it always measures differences between pixel neighbors.

Raindrops or smudges are not blur per se (except when they are directly on the camera lens). You might have pretty sharp raindrops, in fact. Probably you should start with a collection of typical examples which should be detected as "blurry" and categorize them. Fog is clearly blur, so a simple blur detection may be one component. Maybe you need to detect artifacts as raindrops in a different step?

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-03-07 19:49:15 -0600

Seen: 1,193 times

Last updated: May 06 '17