-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ROI Manager does not work headless #153
Comments
One reason we have not implemented this patching yet is because you can use overlays as a workaround. For example, the following code adds ROIs to an overlay, transfers the overlay to another image, and then measures the mean of each ROI in the overlay. run("Blobs (25K)");
setAutoThreshold("Default");
run("Analyze Particles...", " show=Overlay");
Overlay.copy
newImage("Untitled", "8-bit ramp", 256, 254, 1);
Overlay.paste
for (i=0; i<Overlay.size; i++) {
Overlay.activateSelection(i);
List.setMeasurements;
mean = List.getValue("Mean");
print(i+" "+mean);
} See this forum thread for details and discussion. |
This issue has been mentioned on Image.sc Forum. There might be relevant details there: https://forum.image.sc/t/redirect-imagej-fiji-print-macro-to-console/47012/1 |
This issue has been mentioned on Image.sc Forum. There might be relevant details there: https://forum.image.sc/t/headless-roimanager-open-file-path/46561/2 |
The ROI Manager cannot work headless, since it extends
PlugInFrame
, and unlikeGenericDialog
, this library does not runtime patch it. We could do so.For example, any of the following macro calls:
will throw an exception like:
The text was updated successfully, but these errors were encountered: