OpenChemistry / tomviz

Cross platform, open source application for the processing, visualization, and analysis of 3D tomography data
https://tomviz.org/
BSD 3-Clause "New" or "Revised" License
316 stars 84 forks source link

I can’t find the registration option under data transformer tab #2296

Open AnkitaMohanty24 opened 1 month ago

AnkitaMohanty24 commented 1 month ago

Previously I used the registration from data transform tab to do my volume registration for all of my datasets , keeping one as fixed. I used it in linux -version 1.10.0. However, due to some issue I downloaded it into the windows laptop (same version) , I dnt see the registration option anymore. Where can I find it?

psavery commented 1 month ago

I can't remember when it was added. Can you try downloading the prerelease from here? That definitely has the operator.

AnkitaMohanty24 commented 1 month ago

I installed this prerelease version. Also, I found the registration option in this. But it fails to do registration and displays error. Is it a script bug?

Error- Could not import the necessary modules Traceback (most recent call last): File "Registration", line 10, in transform ImportError: cannot import name 'elastix_registration_method' from 'itk' (unknown location) critical: In unknown, line 0 critical: Failed to execute the script. Could not import the necessary modules Traceback (most recent call last): File "Registration", line 10, in transform ImportError: cannot import name 'elastix_registration_method' from 'itk' (unknown location) critical: In unknown, line 0 critical: Failed to execute the script.

psavery commented 1 month ago

You need to pip install itk-elastix. Follow the setup instructions here.