# Where can I get code for the FuzzyConnectednessImageFilter?

**URL:** https://discourse.itk.org/t/where-can-i-get-code-for-the-fuzzyconnectednessimagefilter/1154
**Category:** Algorithms
**Created:** [July 26, 2018, 4:20am UTC](https://discourse.itk.org/t/where-can-i-get-code-for-the-fuzzyconnectednessimagefilter/1154 "2018-07-26T04:20:13Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![adjuric](https://discourse.itk.org/letter_avatar_proxy/v4/letter/a/51bf81/32.png) [@adjuric](https://discourse.itk.org/u/adjuric)
#### Post date: [July 26, 2018, 4:20am UTC](https://discourse.itk.org/t/where-can-i-get-code-for-the-fuzzyconnectednessimagefilter/1154/1 "2018-07-26T04:20:14Z")

</div>

I’m interested in implementing a fuzzy connectedness filter but I can’t seem to find the relevant classes in the current documentation. There is a category under region-based segmentation for fuzzy connectedness [here](https://itk.org/Doxygen/html/group__FuzzyConnectednessSegmentation.html) but no classes are listed. Is there any material intent to add some in the near future? (I could be willing to help develop one if not)

Also, in the old documentation I can find the class [here](https://itk.org/Doxygen312/html/classitk_1_1SimpleFuzzyConnectednessImageFilterBase.html) including the header file however the .cpp file is nowhere to be found.

---

<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: [July 26, 2018, 1:37pm UTC](https://discourse.itk.org/t/where-can-i-get-code-for-the-fuzzyconnectednessimagefilter/1154/2 "2018-07-26T13:37:20Z")

</div>

If I remember correctly, fuzzy connectedness was removed due to being patented, see [https://github.com/InsightSoftwareConsortium/ITKSoftwareGuide/blob/master/SoftwareGuide/Latex/DesignAndFunctionality/HybridSegmentationMethods.tex](https://github.com/InsightSoftwareConsortium/ITKSoftwareGuide/blob/master/SoftwareGuide/Latex/DesignAndFunctionality/HybridSegmentationMethods.tex)

---

<div class="post-metadata">

### Author: ![adjuric](https://discourse.itk.org/letter_avatar_proxy/v4/letter/a/51bf81/32.png) [@adjuric](https://discourse.itk.org/u/adjuric)
#### Post date: [July 26, 2018, 3:23pm UTC](https://discourse.itk.org/t/where-can-i-get-code-for-the-fuzzyconnectednessimagefilter/1154/3 "2018-07-26T15:23:20Z")

</div>

Ah that’s unfortunate. Do you know of anything I could use as a substitute?

I’m currently looking into the the [skfuzzy](https://pythonhosted.org/scikit-fuzzy/overview.html) library, but it’s not really intended for image segmentation.
