[ITK] [ITK-users] Suggestions about Python wrapping of cpp project
Matt McCormick
matt.mccormick at kitware.com
Tue Jul 29 09:52:41 EDT 2014
Hi,
I'm a little late to the party on this thread, but I would recommend
creating the .wrap files for ITK module code. For code that is not as
highly templated, XDress [1] is another option to keep in mind.
Matt
[1] http://xdress.org/
On Wed, Jul 23, 2014 at 11:11 AM, Satyananda Kashyap
<ksatyananda at gmail.com> wrote:
> Hello,
>
> I am looking for your expert opinions here. I have a relatively large C++
> project I am working on which uses ITK mainly (hence the question here) and
> to some extent VTK and OpenCV. I do think that my code is fairly well
> written. I was thinking of wrapping my code to python using either SWIG or
> boost.python. Here are my questions :
>
>
> 1. I am led to believe that prototyping and code development is much faster
> in Python. Given that I have such a big cpp base code is it really worth the
> effort to wrap into python and then continue there.
>
> 2. From what I have read ITK uses SWIG wrappings for wrapping into Python
> while VTK uses the boost.python route. My initial attempts with both have
> been relatively unsuccessful. Any opinion on which one is more user
> friendly/better when I have to wrap my own custom classes which use a
> combination of both ITK and VTK in them.
>
> 3. Any suggestion on a road map as to how to proceed. I am not sure at what
> base class level I should wrap them and rewrite the dependencies in python.
>
> Thanks,
> Regards,
> Kashyap
>
> _____________________________________
> 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
>
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/mailman/listinfo/community
>
_____________________________________
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