Attention! This forum will be made read-only by Dec-20. Please migrate to https://forum.opencv.org. Most of existing active users should've received invitation by e-mail.
Ask Your Question
0

How to remove glare from image

asked 2016-10-14 06:21:09 -0500

b2meer gravatar image

I am trying to detect circular object in image. I am not using hough circles as it gives many false outputs as well. I am converting the image into binary after applying median blur. For conversion into binary, I have used simple thresholding which works fine with me because the circular object is usually of white or some other color and it is placed on a black background. The only problem I face is that due to some liquid put on the black background, it reflects light which disturbs the thresh image and hence causes problem in the detection of circular object. Is there anyway I can remove the glare effect from my images ? I have attached a sample image for reference. Thanks

image description

edit retag flag offensive close merge delete

Comments

use a polarizer filter

LBerger gravatar imageLBerger ( 2017-05-11 07:38:30 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-05-11 03:39:58 -0500

Lavanya gravatar image

You can use hough circle transform for this image and try to block outside of hough circles. While applying hough transform you should very careful in choosing parameters. Or else try to use homomorphic filtering to overcome glare effect

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

2 followers

Stats

Asked: 2016-10-14 06:21:09 -0500

Seen: 3,544 times

Last updated: May 11 '17

Related questions