Hi,
please can somebody help me with circle detection (center and radius) in color image (ring, coin,...) In image is only coin or ring.
Thanks to everyone
Circle detectionHow can I detect a circle (center and radius) in color image
Page 1 of 1
5 Replies - 4115 Views - Last Post: 20 January 2010 - 04:26 AM
Replies To: Circle detection
#2
Re: Circle detection
Posted 19 January 2010 - 09:21 AM
Are you trying to find circles in a image file?
[rules] [/rules]
[rules] [/rules]
This post has been edited by SwiftStriker00: 19 January 2010 - 09:21 AM
#3
Re: Circle detection
Posted 19 January 2010 - 09:35 AM
Yes,
Iīm trying to find circle in image file.
This isnīt a homework. It is my hobby.
I have more images with coins (1 coin in image file).
I had wrote an algorithm for transform the coin (ring) into the cartesian coordles (circle -> plain).
But I need for this algorithm x and y coordles of the center and radius. (So i must this data send to the algorithm myself).
So now I need to auto-detect the circle (center and radius) But I donīt know how to do it.
Thank you
Iīm trying to find circle in image file.
This isnīt a homework. It is my hobby.
I have more images with coins (1 coin in image file).
I had wrote an algorithm for transform the coin (ring) into the cartesian coordles (circle -> plain).
But I need for this algorithm x and y coordles of the center and radius. (So i must this data send to the algorithm myself).
So now I need to auto-detect the circle (center and radius) But I donīt know how to do it.
Thank you
#4
Re: Circle detection
Posted 19 January 2010 - 02:45 PM
One way will be is to have an algorithm itterate throught the pixels, setting that pixel to the given point and your going take a breadth first seach that will conitue to grow for some given param, untill you find like a majority of silver pixels
#5
Re: Circle detection
Posted 19 January 2010 - 04:55 PM
Easier to use a image library like AForge.Net and use a Blob object.
#6
Re: Circle detection
Posted 20 January 2010 - 04:26 AM
Yes, BlobObject is good. But How can I detect with it a circle?
Rectangle I can, but circle?
Thanks
Rectangle I can, but circle?
Thanks
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote





|