[ITK-users] 2D rigid transformation

Bradley Lowekamp blowekamp at mail.nih.gov
Fri May 15 14:39:22 EDT 2015


Hello,

You should be able to use the ExhaustiveOptimizer to do this. Here is a SimpleITK examples which does it [1], I it should be easy enough to write it into native C++ ITK code as needed.

HTH,
Brad

[1] http://www.itk.org/SimpleITKDoxygen/html/ImageRegistrationMethodExhaustive_8py-example.html

On May 15, 2015, at 2:13 PM, Pietro Nardelli <p.nardelli at umail.ucc.ie> wrote:

> Hello guys,
> 
> is there a way to have a 2D rigid registration that uses a specific number of rotations and chooses the best one? I have two images that are simply rotated with respect to each other, and I would like to register them using for example 36 rotations (therefore computing the mean squared error every 10 degrees). At the moment I am using the 2DRigidTransform with a specified center, with a regular step descent optimizer and the ImageRegistrationMethodv4. I saw that the transform has the function SetFixedParameters() but I am not really sure whether I understand correctly that that would tell the optimizer the angles (and translations) to use at every iteration. Could anyone please clarify this?
> 
> Thank you very much,
> Pietro
> 
> 
> _____________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
> 
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/insight-users



More information about the Insight-users mailing list