[Insight-developers] strange results with python wrapper
Gaetan Lehmann
gaetan.lehmann at jouy.inra.fr
Tue May 17 04:21:29 EDT 2005
Hi Brad,
I'm not able to reproduce what I have described in previous mail (no
really surprising... it was quite strange): bug is still there :-(
I reproduced the same problem on another computer running redhat 9 to
exclude mandrake specific problem.
I really need help to solve it... I don't konw where to look.
Gaetan
PS: I attach the resulting image after execution of script given in one of
my previous mail... not really what I expect after a white top hat
On Thu, 12 May 2005 09:13:34 +0200, Gaetan Lehmann
<gaetan.lehmann at jouy.inra.fr> wrote:
>
> 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)
Web: http://voxel.jouy.inra.fr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: WhiteTopHat.png
Type: image/png
Size: 19222 bytes
Desc: not available
Url : http://www.itk.org/mailman/private/insight-developers/attachments/20050517/bc28d09b/WhiteTopHat.png
More information about the Insight-developers
mailing list