Click here to Skip to main content
15,891,859 members
Home / Discussions / C#
   

C#

 
QuestionObject shape recognition Pin
viki8919-Jan-10 0:48
viki8919-Jan-10 0:48 
AnswerRe: Object shape recognition Pin
Keith Barrow19-Jan-10 0:55
professionalKeith Barrow19-Jan-10 0:55 
GeneralRe: Object shape recognition Pin
viki8919-Jan-10 0:59
viki8919-Jan-10 0:59 
GeneralRe: Object shape recognition Pin
Keith Barrow19-Jan-10 1:13
professionalKeith Barrow19-Jan-10 1:13 
GeneralRe: Object shape recognition Pin
viki8919-Jan-10 1:14
viki8919-Jan-10 1:14 
AnswerRe: Object shape recognition Pin
Ennis Ray Lynch, Jr.19-Jan-10 8:19
Ennis Ray Lynch, Jr.19-Jan-10 8:19 
GeneralRe: Object shape recognition Pin
viki8919-Jan-10 8:31
viki8919-Jan-10 8:31 
AnswerRe: Object shape recognition Pin
Eddy Vluggen19-Jan-10 10:44
professionalEddy Vluggen19-Jan-10 10:44 
An alternative, not sure if it fits the question; Draw a square box around it, and stretch the image until one of the edges of the irregular shape hits the box.

The center of the box would be easy to find, and you could take that as the center of the irregular shape. Next, draw lines from the center to the edge of the irregular shape; that would give you a List<Radius>. For a "real" circle, the radius would be half the length of the box.

I think that you'd want the standard deviation, not the mean. Remember that the line-thickness of the irregular shape also has an influence on the outcome, you'd have to experiment a bit to determine the appropriate margins as to what would be called a "circle", and what not.

I are Troll Suspicious | :suss:

QuestionIP Address Error Pin
kk.tvm19-Jan-10 0:41
kk.tvm19-Jan-10 0:41 
AnswerRe: IP Address Error PinPopular
Keith Barrow19-Jan-10 0:50
professionalKeith Barrow19-Jan-10 0:50 
AnswerRe: IP Address Error Pin
Migounette19-Jan-10 12:39
Migounette19-Jan-10 12:39 
Questionhow to create object for a visio document. Pin
NarVish19-Jan-10 0:28
NarVish19-Jan-10 0:28 
AnswerRe: how to create object for a visio document. Pin
Your Display Name Here19-Jan-10 2:52
Your Display Name Here19-Jan-10 2:52 
QuestionPassing Class objects from a web service to COM object Pin
hem-insphire19-Jan-10 0:26
hem-insphire19-Jan-10 0:26 
AnswerRe: Passing Class objects from a web service to COM object Pin
KarstenK19-Jan-10 1:10
mveKarstenK19-Jan-10 1:10 
GeneralRe: Passing Class objects from a web service to COM object Pin
hem-insphire19-Jan-10 1:18
hem-insphire19-Jan-10 1:18 
GeneralRe: Passing Class objects from a web service to COM object Pin
KarstenK19-Jan-10 2:46
mveKarstenK19-Jan-10 2:46 
QuestionMCTS 7-536 Dumps Pin
Sunil G18-Jan-10 23:38
Sunil G18-Jan-10 23:38 
AnswerMessage Closed Pin
18-Jan-10 23:53
stancrm18-Jan-10 23:53 
GeneralRe: MCTS 7-536 Dumps Pin
Sunil G19-Jan-10 0:02
Sunil G19-Jan-10 0:02 
AnswerRe: MCTS 7-536 Dumps Pin
mrcooll19-Jan-10 0:11
mrcooll19-Jan-10 0:11 
GeneralRe: MCTS 70 - 536 Dumps Pin
Sunil G19-Jan-10 0:21
Sunil G19-Jan-10 0:21 
GeneralRe: MCTS 70 - 536 Dumps Pin
mrcooll19-Jan-10 2:01
mrcooll19-Jan-10 2:01 
AnswerRe: MCTS 7-536 Dumps Pin
#realJSOP19-Jan-10 4:32
mve#realJSOP19-Jan-10 4:32 
GeneralRe: MCTS 7-536 Dumps Pin
Sunil G19-Jan-10 4:36
Sunil G19-Jan-10 4:36 

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.