Open imagejan opened 4 years ago
I just ran into this as well, via the following Groovy script:
#@ ConvertService cs
#@ Img img
import ij.ImagePlus
imp = cs.convert(img, ImagePlus.class);
print(imp)
After opening the Blobs image (which opens natively as an ImagePlus
, and is implicitly converted to Img
to fill the img
parameter here).
Another way to reproduce this, with the Blobs sample image opened in the legacy UI:
#@ Dataset input
#@ UIService ui
ui.show(input)
The following script:
throws: