Login  Register

Re: Automate circular ROI selection

Posted by Krs5 on Jun 12, 2015; 8:42am
URL: http://imagej.273.s1.nabble.com/Automate-circular-ROI-selection-tp5013060p5013143.html

Dear Andrew,

The attached code assumes the ring is more or less in the centre and will try to find the best fitting circle. It also uses the Color Threshold to find the green areas but you probably have already better code to collect this info but maybe the first part is useful to find the ring in the image. At the moment you manually have to open an image.

Best wishes

Kees

-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of Andrew Sanchez
Sent: 11 June 2015 20:15
To: [hidden email]
Subject: Re: Automate circular ROI selection

Dear Kees,

Yes the rings are more or less in the same place.

Thank you for your comments, Charles.  Am I supposed to draw the circle on the last black and white image that pops up, titled "Results of a (green) (25%)?  or on the original image?




--
View this message in context: http://imagej.1557.x6.nabble.com/Automate-circular-ROI-selection-tp5013060p5013133.html
Sent from the ImageJ mailing list archive at Nabble.com.

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html

Macro_test.txt (5K) Download Attachment