InsightSoftwareConsortium / InsightSoftwareConsortium/ITKElastix

Error of multi-metric and multi-channel image registration

Open
#293 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
281
Forks
29
Avg merge
16h 28m
Merged PRs (30d)
8

Description

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](https://github.com/user-attachments/files/15531640/parameters.txt)

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.