-
Notifications
You must be signed in to change notification settings - Fork 22
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
register these two dicom file #272
Comments
@tanjia123456 You just not show the Specific error message or the whole error information |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, I have two Dicom data, how to carry out rigid registration?Or you can register these two to standard space
I reported an error with the following code
`
import itk
https://github.com/InsightSoftwareConsortium/ITKElastix/blob/main/examples/ITK_Example01_SimpleRegistration.ipynb
将两个图像注册到本地Python二进制文件中,传统上称为固定图像和移动图像:
fixed_image = itk.imread("CTA-GAN/PA2/SE1/IM66.IMA")
moving_image = itk.imread("CTA-GAN/PA1/SE1/IM66.IMA")
parameter_object = itk.ParameterObject.New()
default_rigid_parameter_map = parameter_object.GetDefaultParameterMap('rigid')
parameter_object.AddParameterMap(default_rigid_parameter_map)
registered_image, params = itk.elastix_registration_method(fixed_image, moving_image, parameter_object=parameter_object,log_to_console=True)
`
the error occur:
RuntimeError: D:\a\im_skbuild\win-amd64-3.10\cmake-build_deps\elx-src\Core\Main\itkElastixRegistrationMethod.hxx:380:
ITK ERROR: ElastixRegistrationMethod(000001D7DA47E920): Internal elastix error: See elastix log (use LogToConsoleOn() or LogToFileOn()).
the version is:
itk 5.4rc2
itk-core 5.4rc2
itk-elastix 0.19.1
itk-filtering 5.4rc2
itk-io 5.4rc2
itk-numerics 5.4rc2
itk-registration 5.4rc2
itk-segmentation 5.4rc2
The text was updated successfully, but these errors were encountered: