imagej-ops icon indicating copy to clipboard operation
imagej-ops copied to clipboard

CreateOutputFFTMethods requires a image creator that can take an ImgFactory

Open gselzer opened this issue 2 years ago • 1 comments

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:)

gselzer avatar Jan 27 '23 19:01 gselzer

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

imagesc-bot avatar Jan 27 '23 19:01 imagesc-bot