Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jslalu opened this issue Jun 3, 2024 · 1 comment
Open

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

jslalu opened this issue Jun 3, 2024 · 1 comment

Comments

@jslalu
Copy link

jslalu commented Jun 3, 2024

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?

@jslalu
Copy link
Author

jslalu commented Jun 15, 2024

@thewtex Hi, any suggestions on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant