# Beginner in ITK, Averaging Image

**URL:** https://discourse.itk.org/t/beginner-in-itk-averaging-image/2328
**Category:** Beginner Questions
**Created:** [October 16, 2019, 5:38pm UTC](https://discourse.itk.org/t/beginner-in-itk-averaging-image/2328 "2019-10-16T17:38:36Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![banikr](https://discourse.itk.org/user_avatar/discourse.itk.org/banikr/32/3296_2.png) [@banikr](https://discourse.itk.org/u/banikr)
#### Post date: [October 21, 2019, 5:11pm UTC](https://discourse.itk.org/t/beginner-in-itk-averaging-image/2328/7 "2019-10-21T17:11:09Z")

</div>

Hello Matt,

Thanks for the reply. I have tried writing some codes and shared for help in another post.

> [@Affine Registration 3D for beginner](https://discourse.itk.org/t/affine-registration-3d-for-beginner/2337):
>
> Hello All, I have 21 3D MR brain images… as a format …/MPRAGE\_copy/KKI-2009-01-MPRAGE.nii for one image in MPRAGE\_copy folder… Out of the 21 images I would like to use the first image as fixed image and register the rest of the 20 images on that reference fixed image. I want to write the code in self-dependent where I do not have to provide any input. I am using GCC/6.0.0 compiler… have four folders: ITKAffReg3: where the code will be named ITKAffReg3.cxx and CMakeLists.txt which will c…

Could you take a look and may be suggest ?

Thanks

---

_[View the full topic](https://discourse.itk.org/t/beginner-in-itk-averaging-image/2328)._
