Detect noise for Auto Tolerance

asked 2015-06-25 09:46:12 -0500

Hey guys, I have an image that is being thresholded based on a seekBar in Android. The threshold changes based on the lighting. I was wanting to make the threshold change automatically based on the amount of the noise in the picture.

For example, in an image with a threshold of 150 with bad lighting there will be a lot of background noise from an ID. I want to be able to detect if there is a good amount of noise and increase the threshold therefore reducing the noise. I was thinking maybe the findContours method might be able to help. Does anyone have any ideas or suggestions?

edit retag flag offensive close merge delete