-
Notifications
You must be signed in to change notification settings - Fork 239
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
Input harvesting not working with multiple ImgPluses #349
Comments
Related: imagej/imagej-legacy#171 |
OK part of the problem is definitely that registration of the If I open #@ ImgPlus in1
#@ ImgPlus in2
println(in1)
println(in2) Then I will actually get "An ImgPlus is required but none is available!" error. If I:
then both I'm guessing we're using a |
OK, right now the So whenever multiple image inputs are requested we need to make sure getImageDisplays is called. |
This is maybe not true. It just occurred to me to try non- |
Almost certainly because the converter we have is ImagePlusToDataset. The ConvertService looks for assignable converter output types and |
Regarding conversion of various image types, see also imagej/imagej-legacy#229 (and imagej/imagej-legacy#186 and imagej/imagej-ops#54 by extension). |
If I have a script with multiple
@ImgPlus
input parameters and multiple images open, the input harvester seems to only recognize the first image as an input option, although it knows there are two options.I would expect to see
blobs.gif
andblobs-1.gif
as options in the combo box. They do indeed seem to be the same options as I tried selecting both first and second entries as theoutImage
parameter and get a complaint fromOps
that the input and output params are the same. (slight chance it is non-deterministic and I just keep getting unlucky and picking the "first" image)The text was updated successfully, but these errors were encountered: