[Elastix] TransformRigidityPenalty

M.Staring at lumc.nl M.Staring at lumc.nl
Fri Apr 5 09:13:11 CEST 2013

Hi Lei,

Yes elastix could be more intuitive in this respect. When we made it we wanted to keep it as general as possible.
What you can do now is to feed elastix with your input images multiple times, using -f0 -f1 etc.

HTH, Marius

-----Original Message-----
From: elastix-bounces at bigr.nl [mailto:elastix-bounces at bigr.nl] On Behalf Of Lei Wang
Sent: donderdag 4 april 2013 21:32
To: elastix at bigr.nl
Subject: [Elastix] TransformRigidityPenalty


My problem is that when multi Metric,like MutualInformation and TransformRigidityPenalty are used for one pair of fixed and moving image, only the metric itself need to be changed.
However, when I have two pairs of fixed and moving image and try to register them as multi band, the metric combination I want to try is MutualInformation + MutualInformation + TransformRigidityPenalty. Then I need to match the number of Interpolator, Sampler, Pyramid with the number of the metric. In this case, the number of the input images is two pairs but the number of metric is three, so if I only use two Interpolator, Sampler and Pyramid, Elastix will complain that the number is not matching the metric, but if I use three, then I do not have enough input images. How can I fix this problem?

Thanks for your time.

Best Regards,


Elastix mailing list
Elastix at bigr.nl

More information about the Elastix mailing list