Click here to Skip to main content
15,894,017 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: It's Great To Be Young Again! Pin
Roger Wright29-Dec-18 6:16
professionalRoger Wright29-Dec-18 6:16 
GeneralRe: It's Great To Be Young Again! Pin
Eytukan30-Dec-18 4:22
Eytukan30-Dec-18 4:22 
GeneralRe: It's Great To Be Young Again! Pin
Rage6-Jan-19 22:57
professionalRage6-Jan-19 22:57 
GeneralThe Maths will be vanquished! Pin
Super Lloyd28-Dec-18 17:07
Super Lloyd28-Dec-18 17:07 
GeneralRe: The Maths will be vanquished! Pin
Jim Meadors28-Dec-18 18:16
Jim Meadors28-Dec-18 18:16 
GeneralRe: The Maths will be vanquished! Pin
Super Lloyd28-Dec-18 18:30
Super Lloyd28-Dec-18 18:30 
GeneralRe: The Maths will be vanquished! Pin
Jim Meadors29-Dec-18 5:43
Jim Meadors29-Dec-18 5:43 
GeneralRe: The Maths will be vanquished! Pin
GuyThiebaut29-Dec-18 1:10
professionalGuyThiebaut29-Dec-18 1:10 
Nice work Thumbs Up | :thumbsup:

Following up on a reply I posted a week or so ago to your original post:

Here is a hand-drawn image of rectangles and circles done by my pet arthritic hamster - pet hamster's drawing of circles and rectangles[^] and here is the result of a weekend or so of work done on detecting rectangles and circles - Computer generated guess of rectangles and circles[^]

What I am trying to do is much simpler than your examples - for my blob detection I however don't rely on math(that spelling will annoy a few people Poke tongue | ;-P ) but, to put it simply, I use a method where I scan the page several times looking for how close edges are to each other in order to distinguish blobs.

For circle detection I draw a box around the blobs and then cut off each of the four corners, of the boxes, with a triangle and the code determines how many pixels are within each triangle - hamster's drawing with detected blobs in rectangles with triagles at edges[^].

Then using a pre-determined sensitivity the code guesses at what is a circle and what is a rectangle.

One recommended way of detecting circles is to measure how close the borders are to the centre of the blob, however I found that with my arthritic hamster's circles being so poor, in some cases circles were being detected as rectangles - my usual go for a walk and think of how to solve the problem led to the triangle solution.
“That which can be asserted without evidence, can be dismissed without evidence.”

― Christopher Hitchens

GeneralRe: The Maths will be vanquished! Pin
Super Lloyd29-Dec-18 3:35
Super Lloyd29-Dec-18 3:35 
GeneralRe: The Maths will be vanquished! Pin
GuyThiebaut29-Dec-18 3:53
professionalGuyThiebaut29-Dec-18 3:53 
GeneralRe: The Maths will be vanquished! Pin
Super Lloyd29-Dec-18 20:05
Super Lloyd29-Dec-18 20:05 
GeneralNew Year's resolutions ? Pin
BillWoodruff28-Dec-18 15:47
professionalBillWoodruff28-Dec-18 15:47 
GeneralRe: New Year's resolutions ? Pin
theoldfool29-Dec-18 4:15
professionaltheoldfool29-Dec-18 4:15 
GeneralRe: New Year's resolutions ? Pin
Mycroft Holmes29-Dec-18 11:51
professionalMycroft Holmes29-Dec-18 11:51 
GeneralRe: New Year's resolutions ? Pin
Jacquers29-Dec-18 4:43
Jacquers29-Dec-18 4:43 
GeneralGenerally speaking Pin
kalberts28-Dec-18 12:43
kalberts28-Dec-18 12:43 
GeneralAnd another free game. Pin
OriginalGriff28-Dec-18 5:00
mveOriginalGriff28-Dec-18 5:00 
GeneralRe: And another free game. Pin
Mark_Wallace28-Dec-18 5:25
Mark_Wallace28-Dec-18 5:25 
GeneralRe: And another free game. Pin
RickZeeland28-Dec-18 8:26
mveRickZeeland28-Dec-18 8:26 
GeneralRe: And another free game. Pin
Mark_Wallace28-Dec-18 8:28
Mark_Wallace28-Dec-18 8:28 
GeneralRe: And another free game. - And another Pin
Nelek28-Dec-18 11:06
protectorNelek28-Dec-18 11:06 
GeneralRe: And another free game. - And another Pin
OriginalGriff28-Dec-18 11:45
mveOriginalGriff28-Dec-18 11:45 
GeneralRe: And another free game. Pin
Super Lloyd28-Dec-18 16:58
Super Lloyd28-Dec-18 16:58 
GeneralRe: And another free game. Pin
RickZeeland28-Dec-18 19:46
mveRickZeeland28-Dec-18 19:46 
GeneralRe: And another free game. Pin
Super Lloyd28-Dec-18 20:09
Super Lloyd28-Dec-18 20:09 

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.