# itkSimpleFuzzyConnectednessScalarImageFilter.h

**URL:** https://discourse.itk.org/t/itksimplefuzzyconnectednessscalarimagefilter-h/1634
**Category:** Uncategorized
**Created:** [March 5, 2019, 4:20pm UTC](https://discourse.itk.org/t/itksimplefuzzyconnectednessscalarimagefilter-h/1634 "2019-03-05T16:20:26Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![zandarina](https://discourse.itk.org/letter_avatar_proxy/v4/letter/z/4af34b/32.png) [@zandarina](https://discourse.itk.org/u/zandarina)
#### Post date: [March 5, 2019, 4:20pm UTC](https://discourse.itk.org/t/itksimplefuzzyconnectednessscalarimagefilter-h/1634/1 "2019-03-05T16:20:26Z")

</div>

Dear all,

I installed the itk and i found that this file is not installed

itkSimpleFuzzyConnectednessScalarImageFilter.h

I read that it is a patented algorithm and there migh be a directory for patented algorithms  
but i do not find it. So can i add this file from somewhere else?.

is there any version which contains this cpp?

Or any similar code that does the same?

Thank you

---

<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: [March 6, 2019, 2:51pm UTC](https://discourse.itk.org/t/itksimplefuzzyconnectednessscalarimagefilter-h/1634/2 "2019-03-06T14:51:11Z")

</div>

It was removed from ITK 4.0 onwards. It can still be found in version 3.x, latest of which is [here](https://github.com/InsightSoftwareConsortium/ITK/tree/release-3.20/Code/Patented).

---

<div class="post-metadata">

### Author: ![zandarina](https://discourse.itk.org/letter_avatar_proxy/v4/letter/z/4af34b/32.png) [@zandarina](https://discourse.itk.org/u/zandarina)
#### Post date: [March 6, 2019, 3:32pm UTC](https://discourse.itk.org/t/itksimplefuzzyconnectednessscalarimagefilter-h/1634/3 "2019-03-06T15:32:28Z")

</div>

So i should replace the itk in order to use this function? Is there any easy way to add it in the new itk version?

Thanks

---

<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: [March 6, 2019, 6:12pm UTC](https://discourse.itk.org/t/itksimplefuzzyconnectednessscalarimagefilter-h/1634/4 "2019-03-06T18:12:40Z")

</div>

No, because ITK uses Apache license since version 4. Apache license can only be used for code which is free to use (no patent licencing fees). And patent right holders want to charge fees, as that is the main goal of patenting something.

So that code can be added only after the patent has expired.

---

<div class="post-metadata">

### Author: ![zandarina](https://discourse.itk.org/letter_avatar_proxy/v4/letter/z/4af34b/32.png) [@zandarina](https://discourse.itk.org/u/zandarina)
#### Post date: [March 6, 2019, 6:27pm UTC](https://discourse.itk.org/t/itksimplefuzzyconnectednessscalarimagefilter-h/1634/5 "2019-03-06T18:27:55Z")

</div>

ok, so i will try to use an older version. Although it seems to have many errors when i compile it with the newer visual c++ . I will check it.

Thank you

---

<div class="post-metadata">

### Author: ![Nayra\_Ahmed](https://discourse.itk.org/user_avatar/discourse.itk.org/nayra_ahmed/32/1439_2.png) [@Nayra\_Ahmed](https://discourse.itk.org/u/Nayra_Ahmed)
#### Post date: [November 16, 2020, 5:25am UTC](https://discourse.itk.org/t/itksimplefuzzyconnectednessscalarimagefilter-h/1634/6 "2020-11-16T05:25:30Z")

</div>

Hi @zandarina,

Did you succeed in compiling the old version of ITK ? As I am facing the same issue

---

<div class="post-metadata">

### Author: ![zandarina](https://discourse.itk.org/letter_avatar_proxy/v4/letter/z/4af34b/32.png) [@zandarina](https://discourse.itk.org/u/zandarina)
#### Post date: [November 16, 2020, 9:28am UTC](https://discourse.itk.org/t/itksimplefuzzyconnectednessscalarimagefilter-h/1634/7 "2020-11-16T09:28:53Z")

</div>

No i didn’t. i changed the method included in newer versions.

Missatge de Nayra Ahmed via ITK \<[noreply@discourse.itk.org](mailto:noreply@discourse.itk.org)\> del dia dl., 16 de nov. 2020 a les 6:26:
