File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Circle Hough Transform

 
Rich Midwinter
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That help?
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24204
34
Chrome Eclipse IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe this would help.
 
Rich Midwinter
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • 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!
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic