# SimpleITK examples of registration whose transform with Shift, Rotation and Scale for 3D

**URL:** <https://discourse.itk.org/t/simpleitk-examples-of-registration-whose-transform-with-shift-rotation-and-scale-for-3d/3196>\
**Category:** Uncategorized\
**Tags:** simpleitk\
**Created:** [June 17, 2020, 12:32pm UTC](https://discourse.itk.org/t/simpleitk-examples-of-registration-whose-transform-with-shift-rotation-and-scale-for-3d/3196 "2020-06-17T12:32:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luis\_Carlos\_Carneiro](https://discourse.itk.org/user_avatar/discourse.itk.org/luis_carlos_carneiro/32/1486_2.png) [@Luis\_Carlos\_Carneiro](https://discourse.itk.org/u/Luis_Carlos_Carneiro)\
**Post date:** [June 17, 2020, 12:32pm UTC](https://discourse.itk.org/t/simpleitk-examples-of-registration-whose-transform-with-shift-rotation-and-scale-for-3d/3196/1 "2020-06-17T12:32:42Z")

</div>

Dear All,

Can you please suggest SimpleITK examples for 3D (.mhd images) for registration whose transform supports Shift, Rotation and Scaling?

I am using the example below which supports Shift and Rotation.

Thanks,

Luis Gonçalves

[http://insightsoftwareconsortium.github.io/SimpleITK-Notebooks/Python\_html/60\_Registration\_Introduction.html](http://insightsoftwareconsortium.github.io/SimpleITK-Notebooks/Python_html/60_Registration_Introduction.html)

---

<div class="post-metadata">

**Author:** ![zivy](https://discourse.itk.org/user_avatar/discourse.itk.org/zivy/32/1726_2.png) [@zivy](https://discourse.itk.org/u/zivy)\
**Post date:** [June 17, 2020, 12:42pm UTC](https://discourse.itk.org/t/simpleitk-examples-of-registration-whose-transform-with-shift-rotation-and-scale-for-3d/3196/2 "2020-06-17T12:42:32Z")

</div>

Hello @Luis_Carlos_Carneiro,

Just use a [Similarity3DTransform](https://simpleitk.org/doxygen/latest/html/classitk_1_1simple_1_1Similarity3DTransform.html) as the optimized transform (composition of isotropic scaling and rigid transformation) or use an [AffineTransform](https://simpleitk.org/doxygen/latest/html/classitk_1_1simple_1_1AffineTransform.html) if your scaling is non-isotropic.
