<div dir="ltr"><div>Hi,</div><div>Nope, sorry. We can't distribute the package with FFTW because its license does not allow it. What you can do is put an itkStreamingImageFilter after the fft ramp to process one projection at a time. Or add one empty projection after you 23d.</div><div>Let me know if we can help with one of the two options.</div><div>Simon<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 7, 2020 at 7:24 PM Jerome Lesaint <<a href="mailto:lesaint.jerome@gmail.com">lesaint.jerome@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I am trying to use the ramp filter FFTRampImageFilter and it fails at Update time with the error message :</div><div><br></div><div>itk::ERROR: VnlRealToHalfHermitianForwardFFTImageFilter(00000230EC986BA0): Cannot compute FFT of image with size [1024, 512, 23]. VnlRealToHalfHermitianForwardFFTImageFilter operates only on images whose size in each dimension has a prime factorization consisting of only 2s, 3s, or 5s.<br></div><div><br></div><div>I already read Simon's answer to a previous similar issue, saying that he recommends using FFTW by turning <span style="color:rgb(0,0,0);white-space:pre-wrap">ITK_USE_FFTW when building ITK. But I did not compile ITK (on this computer). I simply installed the pre-compiled Python package.</span></div><div><font color="#000000"><span style="white-space:pre-wrap">My question : can I turn any parameter in Python to force the ramp filter to use this library ?</span></font></div><div><br></div><div>Thanks in advance for your help,</div><div><br></div><div>Jérome </div></div>
_______________________________________________<br>
Rtk-users mailing list<br>
<a href="mailto:Rtk-users@public.kitware.com" target="_blank">Rtk-users@public.kitware.com</a><br>
<a href="https://public.kitware.com/mailman/listinfo/rtk-users" rel="noreferrer" target="_blank">https://public.kitware.com/mailman/listinfo/rtk-users</a><br>
</blockquote></div>