On Monday 08 Sep 2014 18:41:17 giuseppe3 wrote:
> I had a play with your ROI smoothing macro and it works well for me.
>
> However, I don't understand what the code is doing in the second part of the
> macro when you check for overlapping coordinates.
> Could please explain.
Hi,
It gets rid of overlapping coordinates of the ROI that do not contribute to
the actual shown shape. If you run consecutively the macro several times you
end up with lots of repeated ROI points in the ROI chain that do not make a
difference to the ROI that you see. The code gets rid of those.
If there are no overlapping points it uses the original smoothed chain, if
there are, it uses the thinned chain.
Regards
Gabriel
--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
If you reply to this email, your message will be added to the discussion below:http://imagej.1557.x6.nabble.com/Smoothing-a-ROI-tp3685699p5009553.html
Free forum by Nabble | Disable Popup Ads | Edit this page |