Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I would like to get a "blurness" value after using the cannyfilter on a siemensstar image, to check the blurness level. After usind the canny filter you can identify that the sharper image has more lines than the blurry one. So what would be the next step after the canny filtering?


Question:
How can I determine now which image is sharper? Do I need to check the mean value of the histogram or…?

Thanks


What I have tried:

I tried to use the mean value of the histogram after the canny filter but the value does not correspond to the image at all.
Posted
Updated 21-Jun-23 3:38am

1 solution

See canny filter - Google Search[^] for further information.
 
Share this answer
 
Comments
Member 15902014 21-Jun-23 9:58am    
The question is NOT what the canny filter is, rather HOW to identify AFTER using the canny filter which image is more in focus (sharper).
Richard MacCutchan 21-Jun-23 10:05am    
I understand that, so you need to go and read some of those links to find out which is the best option.
Member 15902014 23-Jun-23 3:05am    
well ok, but this is actually my question at the end
Richard MacCutchan 23-Jun-23 3:12am    
At the risk of repeating myself, "yes, I understand that". But it is a "how to" question, not a specific error in some lines of code that you have written. So you need to research the different features of image processing to find out how to do it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900