[Insight-users] Python Error ITK Examples

Charl P. Botha c.p.botha at ewi.tudelft.nl
Tue Aug 17 05:10:39 EDT 2004


Dhanesh Ramachandram wrote:
> Hi all,
> 
> I've compiled ITK 1.6.0 on Linux with python wrapping set ON. When I run
> the Visualization example I get the following error :
> 
> vtkpython CannyEdgeDetectionImageFilterConnectVTKITK.py
> Traceback (most recent call last):
>   File "CannyEdgeDetectionImageFilterConnectVTKITK.py", line 42, in ?
>     CVIPy.ConnectVTKToITKF2(vtkExporter, itkImporter.GetPointer())
> TypeError: Type error. Expected
> _p_itk__VTKImageImportTitk__ImageTfloat_2_t_vtkFloatingPointType_t
> 
> 
> Can anyone pls help ? 
> dhanesh 

Could you try with ITK 1.8?  The ConnectVTKITK code was still relatively 
new with 1.6 and many fixes/improvements have been made since.

-- 
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/


More information about the Insight-users mailing list