[Insight-developers] strange results with python wrapper
Gaetan Lehmann
gaetan.lehmann at jouy.inra.fr
Thu May 12 03:13:34 EDT 2005
Hi Brad,
I done some test after your mail, and it seems that I don't have this bug
when I build ITK with CableSwig in Insight/Utilities, but I have the bug
with cableswig installed on my system (!)
After a week of holidays, I have updated my copy of ITK and I'm now no
more able to build CableSwig in ITK (see previous mail on this list), so I
can't confirm this now.
I will try to get the same result as soon as possible.
Gaetan
On Thu, 28 Apr 2005 17:23:02 +0200, Brad King <brad.king at kitware.com>
wrote:
> Gaetan Lehmann wrote:
>> you just need to ask it ! :-)
>> attached : the same script without my module (WhiteTopHat2.py), the
>> file used to wrap SubtractImageFilter
>> (wrap_itkSubtractImageFilter.cxx), and the same pipeline in c++
>> (myProject.cxx)
>
> Okay, I just added the wrappers for SubtractImageFilter and
> MinimumMaximumImageFilter and ran your script with the
> MedianImageFilter.png input example used in your original message. I
> get this output:
>
> modules loaded
> 2 238
> 2 230
> 2 230
> 0 133
>
> Then I ran the C++ version of the code and got this output:
>
> chargement de l'image
> 2 238
> 2 230
> 2 230
> 0 133
>
> It seems I cannot reproduce the problem. Perhaps it was fixed since you
> reported it. Please update and try again.
>
> -Brad
--
Gaetan Lehmann <gaetan.lehmann at jouy.inra.fr>
Tel: +33 1 34 65 29 66
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
More information about the Insight-developers
mailing list