[ITK] [ITK-users] SimpleITK: Pass Image from C++ to Python

Klaus drechsler at gmx.net
Sat Jun 27 09:24:37 EDT 2015


Hi,

I have a C++ application which I use to do all major image processing
stuff, UI and so on.  I embedded python as scripting language to quickly
test new ideas. Currently I am using temporary files and pass file paths
back and forth as a quick and dirty solution to pass images from one
language to the other.  However, I would like to directly pass a sitk
(or itk) image from c++ as parameter to a python method/function call.

Is there a straight forward (and efficient) way to achieve this?

Thank you!

Klaus
_____________________________________
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