[ITK-users] python wrapping

Keraudren, Kevin kevin.keraudren10 at imperial.ac.uk
Mon Oct 12 16:29:31 EDT 2015


Hi,

A quick way is to use cython to interface python and c++, see cyITK there:
https://github.com/lantiga/cyitk

This is not the same as the SWIG bindings, but should be easier to setup.

Kind Regards,

Kevin


----- Reply message -----
From: "Soren Christensen" <sorench at gmail.com>
To: "insight-users at itk.org" <insight-users at itk.org>
Subject: [ITK-users] python wrapping
Date: Mon, Oct 12, 2015 19:14

Hi,
 I would like to export classes of my own that use ITK so that I can use them from python. What is the best way to go about this?  Should I focus on learning SWIG and wrapping my class that way or is there a way to use the mechanism that ITK uses for python wrapping directly (I realize this is SWIG too, but I figured there is some level of automation here)?  Any links and pointers appreciated!

Thanks!
Soren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-users/attachments/20151012/a0cec027/attachment.html>


More information about the Insight-users mailing list