I'm not sure if there's an ImageJ package for this, but it's a
nontrivial topic from computational geometry called inscribed circles,
particularly the Largest Empty Circle Problem.
Doing a quick google, here's a nice java implementation
http://www.nirarebakun.com/graph/elc.htmlThere's two more here
http://scicomp.npl.co.uk/eurometros/gen_report.php?category=test+data&pkey=13&subform=yeshttp://www.cs.mcgill.ca/~cs507/projects/1998/vperep/Asphera.javaThe opposite, smallest bounding circle, is called circumcircles and there's
a nice java package here for it:
http://lab.polygonal.de/2007/02/17/bounding-circle-computation/Hope this helps.
On 2/15/08, meastwood98 <meastwood98@yahoo.co.uk> wrote:
>
> Hi, i've got some BINARY images with shapes on them that are not quite
> circular, i want to write a plug-in for imageJ using java that will find
> the
> biggest circle that can fit in the shapes and then select and cut the
> circle.
>
> Im not sure how to go about this, i.e. finding the shapes automatically
> and
> then trying different circles in them.
>
> Any suggestions or help would be very much appriciated,
>
> Thankyou,
> Mark
> --
> View this message in context:
>
http://www.nabble.com/Circles-Questions-tp15502977p15502977.html> Sent from the ImageJ mailing list archive at Nabble.com.
>