-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ants.convolve_image bug #498
Comments
I'm running into issues with the code/input data:
|
Sorry, I did mistake when I save the file. Unzip the new one, then:
|
Okay, it would appear that the underlying interface to ITK's convolution image filter is completely absent. So this doesn't work for any image of any dimensionality. This problematic code has been here for awhile so it's obvious that it's not used at all or it would've been discovered previously. You're welcome to work on a pull request to fix it or I might get around to it at some point. |
Ok, thanks for clarification. |
Running ants.convolve_image gives error:
File ".../venv/lib/python3.9/site-packages/ants/utils/invariant_image_similarity.py", line 247, in convolve_image
libfn = utils.get_lib_fn('convolveImageF%i' % image.dimension)
File ".../venv/lib/python3.9/site-packages/ants/utils/process_args.py", line 29, in get_lib_fn
return lib.dict[string]
KeyError: 'convolveImageF3'
To reproduce the error use the code below and npz file I uploaded:
I used antspyx 0.3.8 and python 3.9.
junction_im_thr.npz.zip
The text was updated successfully, but these errors were encountered: