Skip to content

2D-3D registration #24

@vv4alekseev

Description

@vv4alekseev

Hello,

I want to implement a 2D-3D registration case with parameters from this page: http://elastix.bigr.nl/wiki/index.php/Par0013#Application.

For this task, I have to use:
params.Metric = 'GradientDifference'

I have faced the following error:
"Description: itk::ERROR: GradientDifferenceMetric(0x56530c3cd800): Metric can only be used for 2D-3D registration. FixedImageSize[2] must be 1"

But my im2 (FixedImage) is a 3D NumPy array with 2200, 2200, 1 shape.
What should I do?

I tried to put only a 2D NumPy array with 2200, 2200 shape.
But in this case, I get the following message:
ERROR: problem defining fixed image dimension.; The parameter file says: 3; The fixed image header says: 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions