Counting objects in RoiManager3D

Hi everyone,

I am currently working on a macro where I need to count the number of objects in the RoiManager3D from the 3D image suite. For the normal ROI manager I can use

nROIs = roiManager(“count”);
print(nROIs);

but how do I do this for the RoiManager3D?

Cheers,
Sreusch

Hi @Sreusch,

Yes there is no information about objects number in 3D Manager except when you first “add image”. I will try to add this information somewhere in the 3DManager panel in a next update.

Best

Thomas

Hi @ThomasBoudier

awesome! Thank you! I was also trying the tell a macro to select and merge multiple objects in the RoiManager3D. It seems that this is not possible. Maybe this could be useful to be included in an update as well. Just a suggestion from my part…

Cheers,
Sreusch

Hi @Sreusch,

I updated an intermediate release in Fiji, with the number of objects in the title bar. Regarding the Merge function, it is available as Ext.Manager3D_Merge(), it will merge the selected objects.

Best,

Thomas