Hello all,
I would like to use a combination of two image-based metrics and a regularization term for the elastic registration of CT lung images. This is defined in the elastix parameter file as follows:
(Registration "MultiMetricMultiResolutionRegistration")
(Metric "AdvancedNormalizedCorrelation" "AdvancedNormalizedCorrelation" "TransformBendingEnergyPenalty")
(FixedImagePyramid "FixedRecursiveImagePyramid" "FixedRecursiveImagePyramid")
(MovingImagePyramid "MovingRecursiveImagePyramid" "MovingRecursiveImagePyramid")
(ImageSampler "Random" "Random")
(Interpolator "BSplineInterpolator" "BSplineInterpolator")
I provide elastix with two moving images (-m0 -m1) and two fixed images (-f0 -f1) as well as the typical input/output parameters, but I obtain an error at execution:
Description: itk::ERROR: itk::ERROR: MultiMetricMultiResolutionRegistration(0000025A5C22BED0): The NumberOfInterpolators should equal 1 or equal the NumberOfMetrics
If I try to add interpolator, image sampler and image pyramid descriptions for the penalty term it gives me another error:
Description: itk::ERROR: itk::ERROR: FixedRecursivePyramid(000002A2B81755C0): Input Primary is required but not set.
After giving a quick glance at the code, I suspect that the combination of penalty terms and more than one image-based metric is not supported, but I didn't find this information in the manual.
Can someone confirm if penalty terms can be used along more than one image-based metric in Elastix ?
Best,