Smoothing an Noisy Image in OpenCV
Hi All,
I am developing an AOI system as a part of my research project. After doing pre-processing of PCB images i transformed the input image to a different color model. There i normally process 0th channel,since it gives me clear and distinct view of the components. But the images some time comes with this type of noisy as the image i have attached here and upto now i couldn't come up with a proper solution to remove black regions between the components.
Is there any adaptive or better way of removing these dark areas? I would be very thankful to you if you can give me any hint to come up with a solution. Thanks.