views:

772

answers:

2

Hi!

I'm looking for a Java library for circle recognition in a supplied bitmap. My Java knowledge is too basic to implement eg. Hough transform efficiently (Java newbie).

Thanks!

+2  A: 

You might want to have a look at the implementation in ImageJ, see here.

Ian Hopkinson
+1  A: 

If you can't transform a well-known algorithm like the Hough transfrom into Java code you should probably concentrate on learning the Java basics prior to even thinking about using a library for your image processing tasks. I mean, the basics really aren't that hard to learn and without them you won't be able to create anything that goes beyond a simple library call. And besides, implementing the Hough transform in Java is basically the same as implementing it in any other language.

No offense, just my opinion.

Smasher
I've learned Java enough, I think, to implement this; however I need efficient implementation as it is to be used on mobile dev.
Marcin Gil
Have you tried it? The main key to efficiency is the choice of the algorithm, so perhaps it will work great even with a very straight-forward implementation of the Hough transform. Give it a try and if it really performs bad, feel free to ask again.
Smasher
I just saw that you seem to have a lot of experience, so my answer might have been a bit inappropriate. I expected a beginner and I don't think that rushing into things without knowing the basics is a good way to go.
Smasher
;) I can do basic stuff now in Java; the only problem is that I have a lot of C++ thinking in the head - and same things are done differently in C++ and Java. My C++ impl. is fast enough; my Java one - not.
Marcin Gil