Is there an ImageJ Op for the “Images to Stack” command, specifically with the “Copy (center)” method to handle images of different sizes? I couldn’t find anything using the ImageJ2 “Find Commands” plugin or by searching and figured I ought to ask here before re-inventing the wheel.
If it doesn’t exist, I’d like to get some input to avoid re-inventing other wheels also. Excuse me for the barrage of questions - I’m somewhat new to the ImageJ2 architecture and ecosystem and still don’t quite understand how the parts interact. If there are any high-level diagrams to explain things, please point me at them!
“Images to Stack” requires an arbitrary number of input images and the IJ1 command does this using pattern matching on the titles of all open images. This is a very crude approach and doesn’t really fit in with the IJ2 way of doing things. However, what is the IJ2 way to approach this? SciJava @Parameter doesn’t (currently) support an arbitrary number of images as input, e.g., a Dataset parameter.
In order to add support for a Dataset parameter, is it just a matter of implementing a new InputWidget, WidgetModel and UIComponent, or are there a number of other things to consider? Is there any documentation (other than the source code) on how to go about this?
Would arrays of parameters like this work with input harvesting for macros and headless usage? I’m not at all familiar with how those systems work.