Re: Multi ROIs analysis / ROIs saving as .jpg
Posted by
dgxn88 on
URL: http://imagej.273.s1.nabble.com/Multi-ROIs-analysis-ROIs-saving-as-jpg-tp5013731p5013735.html
Dear Olivier,
Thanks a lot for this solution! However, the code you wrote works fine for plate A and B but not for plate C. For this one, the ROIs are shifted half a well downward. I tried to find where the mistake is, but the only pixel information I can find
in your code is at the beginning and every thing looks fine.
Thanks again,
Cheers
__________________________________________
Nusbaumer David, PhD student
UNIL- Biophore
Office 3223
+4121 692 4249
DEE - Department of ecology & evolution
CH - 1015 Lausanne
Le 24 juil. 2015 à 15:29, Olivier Burri [via ImageJ] <
[hidden email]> a écrit :
Dear David,
I have written a small piece of code to help you in achieving option 1
https://gist.github.com/lacan/348ff4267addfcf99487
If 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
To unsubscribe from Multi ROIs analysis / ROIs saving as .jpg,
click here.
NAML