Skip to content

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

Description

@Cmcainiao

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
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions