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 😁)
As described in this forum post,
CreateOutputFFTMethodswill fail when it is asked to create a large image, as it always assumes that the image can be anArrayImg.We need an Op that can take an
ImgFactoryas a parameter, so thatCreateOutputFFTMethodscan decide whether to make aCellImgor anArrayImg. Or, at least, we can delegate theImgFactorychoice toUtil.getSuitableImgFactory. And thenCreateOutputFFTMethodsneeds to call it.(And we should also make this change in ImageJ-Ops2 😁)