# Free Form Deformation Registration

**URL:** <https://discourse.slicer.org/t/free-form-deformation-registration/22058>\
**Category:** Support\
**Tags:** registration\
**Created:** [February 18, 2022, 9:57pm UTC](https://discourse.slicer.org/t/free-form-deformation-registration/22058 "2022-02-18T21:57:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vir](https://avatars.discourse-cdn.com/v4/letter/v/9d8465/32.png) [@Vir](https://discourse.slicer.org/u/Vir)\
**Post date:** [February 18, 2022, 9:57pm UTC](https://discourse.slicer.org/t/free-form-deformation-registration/22058/1 "2022-02-18T21:57:24Z")

</div>

Hello .  
I’m trying to register two lung CT volume from the same patient (baseline and post ) using the B-spline free form deformation algorithm where my initial transformation is a composition of Affine and Initial B-spline followed by the regular b-spline algorithm .  
So my question is is there any documentation for registration about this method using 3D Slicer .

Thank you for your help.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [February 19, 2022, 12:10am UTC](https://discourse.slicer.org/t/free-form-deformation-registration/22058/2 "2022-02-19T00:10:53Z")

</div>

Would you like to know how you can do affine+bspline image registration in Slicer? See instructions [here](https://slicer.readthedocs.io/en/latest/user_guide/registration.html#automatic-image-registration).

---

<div class="post-metadata">

**Author:** ![Vir](https://avatars.discourse-cdn.com/v4/letter/v/9d8465/32.png) [@Vir](https://discourse.slicer.org/u/Vir)\
**Post date:** [February 19, 2022, 5:56pm UTC](https://discourse.slicer.org/t/free-form-deformation-registration/22058/3 "2022-02-19T17:56:32Z")

</div>

Thank you  
So I was following the instructions , but it mentions

- Select Preset: `generic (all)` performs deformable registration; `generic rigid (all)` performs rigid registration

Can you please tell me what generic (all ) means , to perform deformable registration as I’m not able to locate this .

Thank you

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [February 19, 2022, 7:58pm UTC](https://discourse.slicer.org/t/free-form-deformation-registration/22058/4 "2022-02-19T19:58:09Z")

</div>

These registration settings are available in [`General registration (Elastix)` module](https://github.com/lassoan/SlicerElastix#slicerelastix) (provided by SlicerElastix extension) in the “Inputs” section:

[![](https://raw.githubusercontent.com/lassoan/SlicerElastix/master/Screenshot01.jpg) ](https://raw.githubusercontent.com/lassoan/SlicerElastix/master/Screenshot01.jpg)

---

<div class="post-metadata">

**Author:** ![Vir](https://avatars.discourse-cdn.com/v4/letter/v/9d8465/32.png) [@Vir](https://discourse.slicer.org/u/Vir)\
**Post date:** [February 19, 2022, 8:16pm UTC](https://discourse.slicer.org/t/free-form-deformation-registration/22058/5 "2022-02-19T20:16:43Z")

</div>

Thank you very much . I didn’t installed the extension for the Elastix module and that why I was unable to locate it .
