[Insight-users] Can you block some parameters from being optimized

Dan Mueller dan.muel at gmail.com
Thu Nov 20 06:53:11 EST 2008


Hi,

> Can SetScaling() be used for that in any way? E.g. by setting very large
> values (or zero) to the elements I don't want optimized?

This is exactly how to do it.

Alternatively you may consider using the transforms successively --
first translation, then rotation, then rigid, then affine, then
deformable, etc. -- at each step getting closer to the desired
outcome.

HTH

Cheers, Dan

2008/11/20 Urlek <crapie at email.si>:
>
> Hi,
>   is it possible to stop some parameters in a set from being optimized by
> the ITK's optimizers? For example, can you run an affine transformation
> based registration and first optimize only the last three elements
> (translation), then include the affine matrix diagonal (elements 1, 4 and 7
> - scaling factors) and optimize the rest of the matrix only at the end? Or
> do I really have to initialize 3 different transformations and sequentially
> plug them into optimization process?
>
> Thanks!
>
>
> PS: Can SetScaling() be used for that in any way? E.g. by setting very large
> values (or zero) to the elements I don't want optimized?
> --
> View this message in context: http://www.nabble.com/Can-you-block-some-parameters-from-being-optimized-tp20348811p20348811.html
> Sent from the ITK - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>


More information about the Insight-users mailing list