[ITK-users] Registration: Fix transform parameter?

Matt McCormick matt.mccormick at kitware.com
Mon Feb 23 13:24:39 EST 2015


Hi Tobias,

Welcome to ITK!

Yes, SetWeights can be used to fix a parameter.  See the class
documentation here [1].

HTH,
Matt

[1] http://www.itk.org/Doxygen/html/classitk_1_1ObjectToObjectOptimizerBaseTemplate.html

On Mon, Feb 23, 2015 at 1:00 PM, Nöbauer,Tobias
<tobias.noebauer at imp.ac.at> wrote:
> Hi all,
>
> is there a simple/generic way to exclude a transform parameter from getting optimized during a registration process, i.e. just hold it at its initial value? I would for example like to allow for rotations around x, but not y, in a VersorRigid3DTransform, because I know the latter can't happen. Would it make sense to set the corresponding optimizer scale value to an extremely high value? -- This would not really disable this DOF, but just make larg values unlikely, correct?
>
> I'm using the current alpha version of SimpleITK 0.9 (Python wrapped), so it would be even greater if a solution existed within SimpleITK...
>
> Thanks a lot (also, for the great software),
> Tobias
> _____________________________________
> 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