SuperElastix / SimpleElastix

Multi-lingual medical image registration library
http://simpleelastix.github.io
Apache License 2.0
507 stars 149 forks source link

Unable to run ElastikImageFilter #461

Open CS-Rorita opened 2 years ago

CS-Rorita commented 2 years ago

Hi, I am using google colab to process my images

when I run SimpleITK filters command , an error apears "AttributeError: module 'SimpleITK' has no attribute 'ElastixImageFilter'"

I installed the package using this line: !pip install SimpleITK==1.1.0

Then ,I tried using these lines !sudo apt-get install git cmake build-essential \

However, the download of the library continued for more than two hours, then the connection to Collab was disconnected, and this happens every time I run this command

Any help plz

Thanks in advans

image

thomasjtaylor commented 2 years ago

SimpleITK doesn't include SimpleElastix. Instead, try[^1]

pip install SimpleITK-SimpleElastix

[^1] https://pypi.org/project/SimpleITK-SimpleElastix/