<div dir="ltr"><div><div><div>Hello Nicolas,<br><br></div>The mailing list exists for people to ask question :)<br></div><div>The filter you are trying to use was moved out of the review directory a few months ago, but its corresponding wrapping file was forgotten in the review directory.<br></div><div>I just submitted a patch to address this issue [1]. It should be merged soon in ITK. In the meantime, if you really need to use this filter in Python, a workaround this issue is to compile ITK with Python wrapping on your computer and to enable the Review module.<br><br></div><div>Hope this helps,<br></div><div>Francois<br></div><br>[1] <a href="http://review.source.kitware.com/#/c/22237/">http://review.source.kitware.com/#/c/22237/</a><br><br></div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 27, 2017 at 8:10 AM, Nicolas Cedilnik <span dir="ltr"><<a href="mailto:nicolas.cedilnik@inria.fr" target="_blank">nicolas.cedilnik@inria.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I can't find the Frangi's objectness filter as a python function:<br>
<br>
Illustration:<br>
<br>
In [3]: itk.HessianToObjectnessMeasure<wbr>ImageFilter<br>
------------------------------<wbr>------------------------------<wbr>---------------<br>
AttributeError Traceback (most recent call last)<br>
<ipython-input-3-26323df60cc8> in <module>()<br>
----> 1 itk.HessianToObjectnessMeasure<wbr>ImageFilter<br>
<br>
/opt/ncedilni/miniconda3.6/env<wbr>s/py35-latest/lib/python3.5/<wbr>site-packages/itkLazy.py in __getattribute__(self, attr)<br>
38<br>
39 def __getattribute__(self, attr):<br>
---> 40 value = types.ModuleType.__getattribut<wbr>e__(self, attr)<br>
41 if value is not_loaded:<br>
42 module = self.__belong_lazy_attributes[<wbr>attr]<br>
<br>
AttributeError: module 'itk' has no attribute 'HessianToObjectnessMeasureIma<wbr>geFilter'<br>
<br>
I compiled ITK with all wrapping options checked.<br>
Is this filter normally available via python?<br>
Is it called differently?<br>
Did I do something wrong at compile time?<br>
<br>
PS: I did not want to spam with unnecessary emails, but thanks a lot Bradley and Francois for helping me with my previous (somehow related) question.<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Nicolas<br>
______________________________<wbr>_________________<br>
Community mailing list<br>
<a href="mailto:Community@itk.org" target="_blank">Community@itk.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/community" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/community</a><br>
</font></span></blockquote></div><br></div>