-
Notifications
You must be signed in to change notification settings - Fork 23
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
Extremely slow (compared to SimpleITK - Elastix) #307
Comments
itk elastix is version 5.4.0 and sitk elastix is 2.0.0. Both on python 3.9 |
Yes, this is unexpected behavior. @gattia do you observe the behavior on the referenced example? Or just your own data / code? |
I only tried on my own data - I did briefly try seeing if it was a datatype issue by changing the data type in itk elastix, but that didnt seem to fix it in any way. I can try with the example data and report back. |
@gattia thanks -- it would be helpful to know if the example notebook also has the same behavior. |
Hi,
I am trying to use Elastix in python. I went with itk-elastix first as its the most maintained version that can be easily installed. However, it seems to be having some sort of issues. Im using python 3.9 and the example outline and parameter file from: https://github.com/InsightSoftwareConsortium/ITKElastix/blob/main/examples/ITK_Example03_Masked_3D_Registration.ipynb
When I run this code using SimpleElastix (https://pypi.org/project/SimpleITK-SimpleElastix/), I get a registration in ~5seconds. When I do it with itk-elastix it ran overnight and didnt complete. Both were installed in a fresh python 3.9 environment using pip. itk elastix is version 5.4.0 and sitk elastix is 2.0.0. Simple code is below.
I also tried other parameter files (e.g., default rigid in both versions) and it has the same result.
ITK ELASTIX:
SITK ELASTIX:
The text was updated successfully, but these errors were encountered: