ITKElastix icon indicating copy to clipboard operation
ITKElastix copied to clipboard

itk.elastix_registration_method does not produce any output and reports the error message "-1073741819(0xC0000005)"

Open Cmcainiao opened this issue 1 year ago • 2 comments

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 )

Cmcainiao avatar Sep 23 '24 10:09 Cmcainiao

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?

Cmcainiao avatar Sep 23 '24 10:09 Cmcainiao

Hello @Cmcainiao ,

Is this issue reproducible with the latest Python package, itk-elastix 0.22.0?

thewtex avatar Mar 10 '25 17:03 thewtex