<div dir="ltr"><div>Hi Brad,</div><div><br></div><div>I'm trying to use SimpleITK's FFTConvolution from python:</div><div><br></div><div>  import SimpleITK as sitk</div><div>  img = sitk.ReadImage("/tmp/cthead1.png")</div><div>  kernel = sitk.ReadImage("/tmp/kernel2.png")</div><div>  conv = sitk.FFTConvolution(img, kernel)</div><div><br></div><div>the last line fails with the error:</div><div><br></div><div>Traceback (most recent call last):</div><div>  File "/tmp/test.py", line 5, in <module></div><div>    conv = sitk.FFTConvolution(img, kernel)</div><div>  File "/Users/glehmann/Library/Python/2.7/lib/python/site-packages/SimpleITK/SimpleITK.py", line 17771, in FFTConvolution</div><div>    return _SimpleITK.FFTConvolution(*args, **kwargs)</div><div>RuntimeError: Exception thrown in SimpleITK FFTConvolution: /scratch/dashboards/SimpleITK-OSX10.7-intel-pkg/SimpleITK/Code/Common/include/sitkMemberFunctionFactory.hxx:193:</div><div>sitk::ERROR: Pixel type: vector of 8-bit unsigned integer is not supported in 2D byN3itk6simple25FFTConvolutionImageFilterE</div><div><br></div><div>I get the same error when building from source and when installing SimpleITK with</div><div><br></div><div>  pip install --user SimpleITK</div><div><br></div><div>This is on a mac running yosemite.</div><div><br></div><div>Would you have an idea of what is wrong?</div><div><br></div><div>Thanks,</div><div><br></div><div>Gaëtan</div><div><br></div></div>