Re: Multi ROIs analysis / ROIs saving as .jpg
Posted by
Olivier Burri on
URL: http://imagej.273.s1.nabble.com/Multi-ROIs-analysis-ROIs-saving-as-jpg-tp5013731p5013734.html
Dear David,
I have written a small piece of code to help you in achieving option 1
https://gist.github.com/lacan/348ff4267addfcf99487If you run this, you will see that it is producing the same ROIs as you, just using for loops, so in case the imaging conditions change slightly, you can update the code as needed, rather than redrawing all the circles.
Secondly if you scroll all the way to the end, there is a short loop that will iterate through all the ROIs and run a function called runAnalysis.
In this function (line 49), you can add the macro commands that you use to measure a single yolk sac. The nice thing in imageJ is that once you have a selection made, Analyse Particles will only return objects found inside the area enclosed by that selection.
Hope this helps
Best
Oli
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html