[Insight-users] WrapITK and python : FFT computation
Gaetan Lehmann
gaetan.lehmann at jouy.inra.fr
Wed Apr 5 10:06:36 EDT 2006
Vincent,
The warning "Not wrapped:
itk::Image<(itk::VariableLengthVector<(double)>,3)>" comes from a recent
bug fix in ITK. If you don't plan to use the VectorImage, I think you can
just ignore it. If you want to use it, or don't want to see that warning,
please apply the patch in the directory "patch/required" to your ITK
installed header -the patch is only the diff bitween the 2.6.0 class, and
the current class in cvs.
And you're right, it's WRAP_rgb_unsigned_short and not
WRAP_rgb_unsigned_int.
I'll push the patch to solve that last bug in the "patch/required"
directory.
hope it will work now :-)
Gaetan
On Wed, 05 Apr 2006 11:38:20 +0200, Vincent Page <vpage at univ-ag.fr> wrote:
> Well, sorry for the delay, yesterday was a "no-research day"...
>
> So tanks for the answers :
> - Gaetan : rgb_unsigned_int is not set to ON (indeed, I cannot
> set it. But rgb_unsigned_short is, and I guess it is the same)
> So I set it to OFF and I am re-building the whole stuff.
> I'll give you the result in a few hours...
>
> I have already some messages like these two :
> ----------------------------
> Warning
> itk::SmartPointer<itk::BSplineInterpolateImageFunction<itk::Image<double,
> 3>, double, double> > seems to be wrapped twice.
> and
> Warning itk::VectorImage<double,3>
> has a class hierarchy that has wrapping gaps.
> The class hierarchy wrapping is as follows:
> Not wrapped: itk::Image<(itk::VariableLengthVector<(double)>,3)>
> Wrapped: itk::ImageBase<(3)>
> Wrapped: itk::DataObject
> Wrapped: itk::Object
> Wrapped: itk::LightObject
> ----------------------------
>
>
>
> Zachary : Some answers,
> . my version of ITK is 2.6.0.
> . libITKCommon.so :
> -------------------------------------------
> [vpage at grimaag librairies]$ objdump -t
> /usr/local/lib/InsightToolkit/libITKCommon.so | grep NumericTraits |
> grep RGB
> 0000000000000000 l df *ABS* 0000000000000000
> itkNumericTraitsRGBPixel.cxx
> 00000000000fedbc l F .text 0000000000000015
> _GLOBAL__I__ZN3itk13NumericTraitsINS_8RGBPixelIhEEE4ZeroE
> 00000000002ca4f4 g O .bss 0000000000000003
> _ZN3itk13NumericTraitsINS_8RGBPixelIhEEE4ZeroE
> 00000000002ca4f7 g O .bss 0000000000000003
> _ZN3itk13NumericTraitsINS_8RGBPixelIhEEE3OneE
> -------------------------------------------
>
> . libITKCommon.so :
> [vpage at grimaag librairies]$ ldd
> /usr/local/lib/InsightToolkit/WrapITK/Python-SWIG/_ITKCommonAPython.so
> ----------------------
> libITKCommon.so => /usr/local/lib/InsightToolkit/libITKCommon.so
> (0x00002aaaad235000)
> ----------------------
>
>
> To be continued....
>
> Vincent.
>
--
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66 fax: 01 34 65 29 09
http://voxel.jouy.inra.fr
More information about the Insight-users
mailing list