|
Bugzilla – Bug 728 |
Analyze Particles / Add To Manager in BatchMode |
Last modified: 2014-04-30 03:44:50 CDT |
| ⚠ |
NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug. The Fiji project now uses GitHub Issues for issue tracking. Please file all new issues there. |
| Analyze Particles / Add To Manager in BatchMode | |
|
|
|
||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||
|
|||||
Created attachment 143 analyzeparticles_batchmode.ijm I think I found a bug in current ImageJ/Fiji: When running "Analyze Particles" from within a macro with the "add" parameter in Batch Mode, nothing is added to the ROI Manager. To reproduce, use the attached macro code - if you move the "setBatchMode(false);" statement below the "Analyze Particles" call the ROI Manager will remain empty. I came across this as suddenly one of my macros stopped working. If I remember correctly this still used to work like 3 or 4 weeks ago. Cheers NikoAnalyze Particles does work with the ROI Manager in batch mode but the ROI Manager is hidden and it is deleted when you exit batch mode. Your test macro will work as expected if you move "setBatchMode(false)" to the end of the macro, as follows: setBatchMode(true); run("Blobs (25K)"); setAutoThreshold("Default"); run("Analyze Particles...", "circularity=0.50-1.00 exclude clear add"); roiManager("Show All with labels"); setBatchMode(false); This behavior has not changed since ImageJ 1.41.