• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Circle Hough Transform

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can anyone show me how to take a BufferedImage in Java (something I've already done previous image processing on, blurring, edge detect, etc) and use a circle Hough Transform to locate the center points of a given number of circles at a set radius?

Once that's done, could anyone explain how to apply it at different given radii and then work out which circles are the 'clearest' from the 'accumulator'(?) table?

Thanks
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Rich UK,

Welcome to JavaRanch!

We ain't got many rules 'round these parts, but we do got one. Please change your display name to comply with The JavaRanch Naming Policy.

Is "UK" really your last name? If not, please use something else.

Thanks Pardner! Hope to see you 'round the Ranch!
 
Rich Midwinter
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That help?
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Maybe this would help.
 
Rich Midwinter
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the reply...

I've had trouble slimming it down to the core parts - things like it uses a MediaTracker which requires a 'component' which seems to mean I need a GUI of some variety to start with.

I'd like to gut the MediaTracker code out anyway because I have a BufferedImage I want to start with, but I can't seem to do that without breaking the code.

It's all designed to be an applet, painting results to the screen, etc... and I just haven't been able to adapt it without breaking it every time!

I have used it to test on my prepared images by first saving them to disk and then using it though - and the results are superb which is really frustrating!
 
If you send is by car it's a shipment, but if by ship it's cargo. This tiny ad told me:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic