[ITK] [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/community/attachments/20151012/a0cec027/attachment-0001.html>
-------------- next part --------------
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list