Skip to content

Error of multi-metric and multi-channel image registration #293

Description

@jslalu

I had a pair of images with 12 channels for bspline registration with a combined metric of "AdvancedNormalizedCorrelation" and "TransformBendingEnergyPenalty", but the following error occurred.

itk::ExceptionObject (00000015B8FCC430)
Location: "ElastixTemplate - Run()"
File: D:\a\im\build\cp310-cp310-win_amd64_deps\elx-src\Components\Registrations\MultiMetricMultiResolutionRegistration\itkMultiMetricMultiResolutionImageRegistrationMethod.hxx
Line: 523
Description: ITK ERROR: MultiMetricMultiResolutionRegistration(00000153BD5E2800): The number of fixed image pyramids should be >= the number of fixed images

Then I repeated the image pyramids 12 times, but another error occurred.

itk::ExceptionObject (000000ECF9FCC2A0)
Location: "ElastixTemplate - Run()"
File: D:\a\im\build\cp310-cp310-win_amd64_deps\elx-src\Components\Registrations\MultiMetricMultiResolutionRegistration\itkMultiMetricMultiResolutionImageRegistrationMethod.hxx
Line: 571
Description: ITK ERROR: MultiMetricMultiResolutionRegistration(000002CB7F090520): NumberOfFixedImagePyramids can not exceed the NumberOfMetrics in the CombinationMetric!
parameters.txt

These two errors are contradictory. Is there a solution for this case?

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