# Build my first ITK registration example

**URL:** <https://discourse.itk.org/t/build-my-first-itk-registration-example/597>\
**Category:** Beginner Questions\
**Tags:** gettingstarted, registration\
**Created:** [January 17, 2018, 3:07pm UTC](https://discourse.itk.org/t/build-my-first-itk-registration-example/597 "2018-01-17T15:07:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dzenanz](https://discourse.itk.org/user_avatar/discourse.itk.org/dzenanz/32/1093_2.png) [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Post date:** [January 17, 2018, 3:07pm UTC](https://discourse.itk.org/t/build-my-first-itk-registration-example/597/1 "2018-01-17T15:07:45Z")

</div>

**Question** (via private message):

As I am new to ITK software, I want to know how image registration is done in ITK as I want to do overlapping of 2 images. So please kindly tell me the procedure or steps to do the respective whether it be in command prompt or by using CMake.

**Answer:**

[Here](http://preshing.com/20170511/how-to-build-a-cmake-based-project/) is how to build a CMake-based project.

There are many examples of how to do registration using ITK. [Here](https://itk.org/Wiki/ITK/Examples/Included/Registration) is a list of built-in ones. [Here](https://itk.org/ITKExamples/src/Registration/Common/Perform2DTranslationRegistrationWithMeanSquares/Documentation.html) is a stand-alone example. [Here](https://itk.org/Wiki/ITK/Examples/Registration/ImageRegistrationMethod) is one from the wiki, which also includes CMakeLists.txt.

---

<div class="post-metadata">

**Author:** ![matt.mccormick](https://discourse.itk.org/user_avatar/discourse.itk.org/matt.mccormick/32/7_2.png) [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Post date:** [January 17, 2018, 3:39pm UTC](https://discourse.itk.org/t/build-my-first-itk-registration-example/597/2 "2018-01-17T15:39:25Z")

</div>

Also useful are the step by step guide for [Configuring and Building ITK and a Hello World Example](https://itk.org/ITKSoftwareGuide/html/Book1/ITKSoftwareGuide-Book1ch2.html#x22-130002) along with [more details on registration](https://itk.org/ITKSoftwareGuide/html/Book2/ITKSoftwareGuide-Book2ch3.html#x26-980003) from the ITK Software Guide.
