Click here to Skip to main content
15,887,596 members
Home / Discussions / Algorithms
   

Algorithms

 
QuestionExtract Circle Features From Image Pin
Karl Sanford19-Jul-12 9:42
professionalKarl Sanford19-Jul-12 9:42 
AnswerRe: Extract Circle Features From Image Pin
Luc Pattyn19-Jul-12 9:58
sitebuilderLuc Pattyn19-Jul-12 9:58 
GeneralRe: Extract Circle Features From Image Pin
Karl Sanford19-Jul-12 10:06
professionalKarl Sanford19-Jul-12 10:06 
GeneralRe: Extract Circle Features From Image Pin
Legor23-Aug-12 1:06
Legor23-Aug-12 1:06 
GeneralRe: Extract Circle Features From Image Pin
Karl Sanford20-Jul-12 8:49
professionalKarl Sanford20-Jul-12 8:49 
AnswerRe: Extract Circle Features From Image Pin
Alan Balkany23-Jul-12 4:14
Alan Balkany23-Jul-12 4:14 
GeneralRe: Extract Circle Features From Image Pin
Karl Sanford23-Jul-12 4:17
professionalKarl Sanford23-Jul-12 4:17 
GeneralRe: Extract Circle Features From Image Pin
Alan Balkany23-Jul-12 4:26
Alan Balkany23-Jul-12 4:26 
The Wikipedia article makes it look harder than it is. Erosion (binary) can be easily implemented as only shifts and ANDs.

To recognize a circle:

1. Take an arc that's half the circle's circumference, and divide it into N segments. Each segment is a short vector.

2. For each vector, shift the image by that vector and AND it with the original image.

3. When you're done, pixels will remain only at the regions that were at the center of (at least) a circle of the original size.

4. Starting at the higher diameters will enable you to remove them first, so you can recognize the smaller diameters later.
"Microsoft -- Adding unnecessary complexity to your work since 1987!"

GeneralRe: Extract Circle Features From Image Pin
Karl Sanford23-Jul-12 4:29
professionalKarl Sanford23-Jul-12 4:29 
GeneralRe: Extract Circle Features From Image -- clarification Pin
Alan Balkany23-Jul-12 13:44
Alan Balkany23-Jul-12 13:44 
AnswerRe: Extract Circle Features From Image Pin
Andrew Kirillov24-Aug-12 12:44
Andrew Kirillov24-Aug-12 12:44 
GeneralRe: Extract Circle Features From Image Pin
Karl Sanford27-Aug-12 7:31
professionalKarl Sanford27-Aug-12 7:31 
GeneralRe: Extract Circle Features From Image Pin
Erik Rude4-Sep-12 3:59
Erik Rude4-Sep-12 3:59 
QuestionRecognizing Chart Trends Pin
Newbie188-Jul-12 5:51
Newbie188-Jul-12 5:51 
AnswerRe: Recognizing Chart Trends Pin
Tony Richards8-Jul-12 21:16
Tony Richards8-Jul-12 21:16 
AnswerRe: Recognizing Chart Trends Pin
BobJanova9-Jul-12 1:47
BobJanova9-Jul-12 1:47 
GeneralRe: Recognizing Chart Trends Pin
Newbie189-Jul-12 8:00
Newbie189-Jul-12 8:00 
GeneralRe: Recognizing Chart Trends Pin
Matty2212-Jul-12 20:35
Matty2212-Jul-12 20:35 
GeneralRe: Recognizing Chart Trends Pin
BobJanova12-Jul-12 23:34
BobJanova12-Jul-12 23:34 
GeneralRe: Recognizing Chart Trends Pin
Newbie1814-Jul-12 3:00
Newbie1814-Jul-12 3:00 
AnswerRe: Recognizing Chart Trends Pin
Eddy Vluggen14-Jul-12 3:25
professionalEddy Vluggen14-Jul-12 3:25 
GeneralRe: Recognizing Chart Trends Pin
Newbie1815-Jul-12 1:34
Newbie1815-Jul-12 1:34 
AnswerRe: Recognizing Chart Trends Pin
Eddy Vluggen15-Jul-12 5:24
professionalEddy Vluggen15-Jul-12 5:24 
AnswerRe: Recognizing Chart Trends Pin
Kenneth Haugland24-Jul-12 10:44
mvaKenneth Haugland24-Jul-12 10:44 
Generalalgorithmic approach to calculating number of full moon since a certain date ? Pin
BillWoodruff1-Jul-12 1:39
professionalBillWoodruff1-Jul-12 1:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.