ROI manager and batch mode

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

ROI manager and batch mode

Fabrice Senger
Hi there,

I'm writing a macro wich extracts nuclei from an image. For each nucleus
the macro generates a single image.
To do this the macro performs a simple segmentation, binarisation...next
"analyze particles" allows to select the nuclei and adds them to the
"ROI-manager".
Then the macro cycles through the "ROI-manager" and each nucleus will be
saved generating a new image.
I finally managed to run that macro in batch mode.

Next step of my analysis is to measure some features within each
nucleus. To do so I have a second macro.
Here again everything relies on segmentation ... "Analyze-particles"
..."ROI-manager", then the macro performs measurments and creates a
custom table
with some results.
This macro again runs in batch mode.

Therefore to run the whole analysis, I have to run the first macro and
create say folder 1 and the I run the second macro, selecting folder 1
to generate my result table.

To make this "smarter" I try to combine both codes, but it seems that,
as both macros rely on the use of "ROI-manager" and batch_mode
processing, there some conflicts in my method.

Has someone allready tried such an approach, or maybe someone could
suggest me some documentation about that ?

Thanks,

Fabrice.

--
Senger Fabrice