hello,
I want to detect the image is a blur or sharp depending on the threshold value. I am using OpenCV with C++. I used the Laplacian method to calculate the variance, compare this variance and one threshold value and I get the image is a blur or not. (For same image content )
But now the issue is this threshold value is not working for all images. when the image contents change the variance is going out of range. (It's obvious)
So I want one threshold value to differentiate image is blurry or Sharpe without depending on the content of images. Is there any method/algorithm/logic for this problem statement? Please give the suggetion.