# New metric for registration

**URL:** https://discourse.itk.org/t/new-metric-for-registration/1338
**Category:** Beginner Questions
**Created:** [October 8, 2018, 12:30pm UTC](https://discourse.itk.org/t/new-metric-for-registration/1338 "2018-10-08T12:30:29Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![sz20b5](https://discourse.itk.org/letter_avatar_proxy/v4/letter/s/e68b1a/32.png) [@sz20b5](https://discourse.itk.org/u/sz20b5)
#### Post date: [October 8, 2018, 12:30pm UTC](https://discourse.itk.org/t/new-metric-for-registration/1338/1 "2018-10-08T12:30:30Z")

</div>

Hello,

my question is that how can I use/implement a new metric for registration in ITK if that metric is currently not available?

thanks,  
Jim

---

<div class="post-metadata">

### Author: ![jhlegarreta](https://discourse.itk.org/user_avatar/discourse.itk.org/jhlegarreta/32/476_2.png) [@jhlegarreta](https://discourse.itk.org/u/jhlegarreta)
#### Post date: [October 8, 2018, 1:59pm UTC](https://discourse.itk.org/t/new-metric-for-registration/1338/2 "2018-10-08T13:59:01Z")

</div>

Hi Jim,  
looks awesome. Contributing to the toolkit is much appreciated.

If you did not have a look at the [ITK Software Guide](https://itk.org/ItkSoftwareGuide.pdf), part III Development Guidelines. The most straightforward way to add a new metric would be looking at how existing metrics have been built concerning the inheritance, required templates, methods, etc. and stick to that philosophy.

If no remote module or IJ article is required due to a single class contribution, then following the [CONTRIBUTING](https://github.com/InsightSoftwareConsortium/ITK/blob/master/CONTRIBUTING.md) guidelines would be required for a revision and approval of the contribution.

Also, note that testing and example data will be required to ensure that the metric works as expected.

We will help you through the process.

Happy Thanksgiving !
