p.s.: I forgot to say that the Python Service class is what you actually use to 
embed python in MITK. The class documentation can be found here:
http://docs.mitk.org/nightly-qt4/classmitk_1_1PythonService.html



Von: Ben Ben [mailto:[email protected]]
Gesendet: Dienstag, 9. Juli 2013 17:29
An: [email protected]
Betreff: [mitk-users] embedding python in an MITK application

Hi all,

I've just started going through the MITK tutorials (very nice tutorial) so 
apologies for what may be a basic question.

I would like to know how easy it is to embed existing python code into an MITK 
application. Would someone be able to give me a basic example of how to pass an 
image from MITK to python, process as a numpy array and pass it back to MITK. I 
can't find any examples online.


Notes:

This shows promise but I'm not sure how to use it:
http://docs.mitk.org/nightly-qt4/mitkPython_Overview.html

Alternatively there is the standard python embedding of c++
http://docs.python.org/2/extending/embedding.html
But I'm hoping MITK has a better interface with python
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to