[ITK] [ITK-users] Restrict parameters of a transformation to be optimized during registration

Marc michel Rohe marc-michel.rohe at inria.fr
Sun Sep 25 13:01:04 EDT 2016


Thanks a lot for both your answers. 

Indeed I think the method SetWeights for the optimizer is what I am looking for, and this might spare me the trouble of redefining a whole new subclass ! 

Best, 

Marc-Michel 

----- Mail original -----

> De: "brian avants" <stnava at gmail.com>
> À: "Dženan Zukić" <dzenanz at gmail.com>
> Cc: "Marc-Michel Rohé" <marc-michel.rohe at inria.fr>, "Insight-users"
> <insight-users at itk.org>
> Envoyé: Dimanche 25 Septembre 2016 17:59:55
> Objet: Re: [ITK-users] Restrict parameters of a transformation to be
> optimized during registration

> This use case is also what parameter weights are for

> On Sunday, September 25, 2016, Dženan Zukić < dzenanz at gmail.com > wrote:

> > Hi Marc-Michel,
> 

> > the classic solution for such a case is to derive a class from
> > itkTranslationTransform and re-implement the relevant methods
> > (TransformPoint, Translate etc). Then supply your transform class instead
> > of
> > itkTranslationTransform to itkImageRegistrationMethodv4.
> 

> > Regards,
> 
> > Dženan
> 

> > On Sat, Sep 24, 2016 at 2:54 PM, Marc-Michel Rohé <
> > marc-michel.rohe at inria.fr
> > > wrote:
> 

> > > Hello,
> > 
> 

> > > I am working with the registration pipeline of ITK using 3D images. What
> > > I
> > > would like to do is to register two images with translations but keeping
> > > the
> > > translation with respect to the third dimension at 0 (so find the best 2D
> > > translation on the axis X and Y mapping two images).
> > 
> 

> > > Is there a way to use the ITK classes "itkTranslationTransform" and
> > > "itkImageRegistrationMethodv4" ?
> > 
> 

> > > I have looked at multiple examples and documentation but could not find a
> > > way
> > > to do it easily if not coding a whole new class that performs 2D
> > > transform
> > > in 3D...
> > 
> 

> > > Thx !
> > 
> 
> > > _____________________________________
> > 
> 
> > > 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
> > 
> 

> --

> brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20160925/260f9a6c/attachment.html>
-------------- next part --------------
_____________________________________
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 Community mailing list