Open Cmcainiao opened 2 hours ago
fixed_image = itk.imread(r'fixed_CT.nii.gz', itk.F) moving_image = itk.imread(r'moving_MR.nii.gz', itk.F)
parameter_object = itk.ParameterObject.New() parameter_object.AddParameterFile( r'F:\FDS_file\Brain_Registration\model_Elastix\parameter_txt\Par0035.RIRE.MI.ri.ASGD.txt')
result_image, result_transform_parameters = itk.elastix_registration_method( fixed_image, moving_image, parameter_object=parameter_object, log_to_console=True )
Can run on their own computer, and print out the log, change a computer to run, there is this problem, anyone know what the reason?
fixed_image = itk.imread(r'fixed_CT.nii.gz', itk.F) moving_image = itk.imread(r'moving_MR.nii.gz', itk.F)
parameter_object = itk.ParameterObject.New() parameter_object.AddParameterFile( r'F:\FDS_file\Brain_Registration\model_Elastix\parameter_txt\Par0035.RIRE.MI.ri.ASGD.txt')
result_image, result_transform_parameters = itk.elastix_registration_method( fixed_image, moving_image, parameter_object=parameter_object, log_to_console=True )