Macro Stops running when no object found 3D

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

Macro Stops running when no object found 3D

devya
Hello,
I am running imageJ 2. I want to count objects in a stack. For this I use 3D cell count. It works well when running from the plugin tool, even when there is no object found. In this case it just writes in the Log window that 0 objects were found.
Now I want to make a macro since I have lots of images to analyze. When the 3D objects counter finds objects, everything works fine. However, when no object is found in my stack, a dialogue box pops up saying "No object found" and the macro stopps.
I wonder why this message doesn't appear when I run it manually on one stack but only when I run my macro? And it is annoying since the macro stops, which I don't want.

thanks for the help!!