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
325 stars 87 forks source link

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

Open AnkitaMohanty24 opened 6 months ago

AnkitaMohanty24 commented 6 months 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 6 months ago

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

AnkitaMohanty24 commented 6 months 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 6 months ago

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