# Missing wrapper for LabelOverlapMeasuresImageFilter

**URL:** https://discourse.itk.org/t/missing-wrapper-for-labeloverlapmeasuresimagefilter/621
**Category:** Engineering
**Tags:** python
**Created:** [January 26, 2018, 12:56pm UTC](https://discourse.itk.org/t/missing-wrapper-for-labeloverlapmeasuresimagefilter/621 "2018-01-26T12:56:13Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![christophe.vandijck](https://discourse.itk.org/user_avatar/discourse.itk.org/christophe.vandijck/32/593_2.png) [@christophe.vandijck](https://discourse.itk.org/u/christophe.vandijck)
#### Post date: [January 26, 2018, 12:56pm UTC](https://discourse.itk.org/t/missing-wrapper-for-labeloverlapmeasuresimagefilter/621/1 "2018-01-26T12:56:13Z")

</div>

Hi,

Is it possible that no python wrapper exists for the LabelOverlapMeasuresImageFilter class?

If necessary, I can take a shot at adding the wrapper if someone would point me in the right direction.

Tested on itk 4.13.0 (pip installed and own build).

Thanks,  
Christophe

---

<div class="post-metadata">

### Author: ![blowekamp](https://discourse.itk.org/user_avatar/discourse.itk.org/blowekamp/32/79_2.png) [@blowekamp](https://discourse.itk.org/u/blowekamp)
#### Post date: [January 26, 2018, 1:42pm UTC](https://discourse.itk.org/t/missing-wrapper-for-labeloverlapmeasuresimagefilter/621/2 "2018-01-26T13:42:07Z")

</div>

Hello,

Yes, ITK Python does appear not to have a wrapping file:

> **[InsightSoftwareConsortium/ITK](https://github.com/InsightSoftwareConsortium/ITK/tree/master/Modules/Filtering/ImageStatistics/wrapping)**
>
> Insight Toolkit (ITK) -- Official Repository. Contribute to InsightSoftwareConsortium/ITK development by creating an account on GitHub.

The [ITK Software Guide](https://itk.org/ItkSoftwareGuide.pdf) contains a section (9.5 Wrapping) devoted to explain how wrapping can be done in ITK. It should not be a hard filter to wrap.

If you need immediate access to this filter, I will also shamelessly plug that SimpleITK [already has it](https://itk.org/SimpleITKDoxygen/html/classitk_1_1simple_1_1LabelOverlapMeasuresImageFilter.html). Additionally, there is a very nice SimpleITK notebook demonstrating its usage:  
[http://insightsoftwareconsortium.github.io/SimpleITK-Notebooks/Python\_html/34\_Segmentation\_Evaluation.html](http://insightsoftwareconsortium.github.io/SimpleITK-Notebooks/Python_html/34_Segmentation_Evaluation.html)

---

<div class="post-metadata">

### Author: ![christophe.vandijck](https://discourse.itk.org/user_avatar/discourse.itk.org/christophe.vandijck/32/593_2.png) [@christophe.vandijck](https://discourse.itk.org/u/christophe.vandijck)
#### Post date: [January 26, 2018, 3:12pm UTC](https://discourse.itk.org/t/missing-wrapper-for-labeloverlapmeasuresimagefilter/621/3 "2018-01-26T15:12:14Z")

</div>

Thank you Bradley for the quick reply. I’ll have a look at both resources!

Christophe
