Skip to content

Segmentation fault in 64 bit systems #43

Description

@hgrecco

I have a working script in my 32 bit python that fails when running in a 64 bit python with segmentation fault. The function that fails is:

def _shift(image, template):
# Form the affine registration instance.
shift = register.Register(
model.Shift,
metric.Residual,
sampler.CubicConvolution
)

# Coerce the image data into RegisterData.
image = register.RegisterData(image)
template = register.RegisterData(template)

# Register.
params, warp, img, error = shift.register(
    image,
    template,
    verbose=False,
    )

return params, warp, img, error

In addition to this: should I use https://github.com/pyimreg/imreg or https://github.com/pyimreg/python-register

Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions