Hi, I'm completely new to ImageMagick and would like to know whether it is possible to use edge detection to count the number of edges appearing in an image?
My intention is to use this as part of a php script which will give a (very rough) estimate of the number of objects in an image. I have done lots of Googling and found some articles about edge detection, but cannot find anywhere how to actually count the number of edges in a given picture.
Appreciate if you could help point me in the right direction, please let me know if you need more information
Thanks
How to use edge detection to count number of edges / objects
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: How to use edge detection to count number of edges / obj
If you can distinguish them, you can count them.
It's difficult to say more than that without a specific example. Can you supply a relevant image?
It's difficult to say more than that without a specific example. Can you supply a relevant image?
snibgo's IM pages: im.snibgo.com