imagej-ops
imagej-ops copied to clipboard
CreateOutputFFTMethods requires a image creator that can take an ImgFactory
As described in this forum post, CreateOutputFFTMethods
will fail when it is asked to create a large image, as it always assumes that the image can be an ArrayImg
.
We need an Op that can take an ImgFactory
as a parameter, so that CreateOutputFFTMethods
can decide whether to make a CellImg
or an ArrayImg
. Or, at least, we can delegate the ImgFactory
choice to Util.getSuitableImgFactory
. And then CreateOutputFFTMethods
needs to call it.
(And we should also make this change in ImageJ-Ops2 :grin:)
This issue has been mentioned on Image.sc Forum. There might be relevant details there:
https://forum.image.sc/t/error-when-correlating-large-images-in-ops/75433/4