You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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: