Dear Ben,

from the module documentation page:
Build Instructions

 *   Install Python 2.x
 *   Activate MITK_USE_Python in the superbuild process of MITK
 *   Provide CMake<http://docs.mitk.org/nightly-qt4/namespaceCMake.html> with 
the correct Python paths (if not found automatically)
 *   Build MITK: All wrapping will be setup by the MITK superbuild routine
Please do also carefully read the known issues and workarounds 
http://docs.mitk.org/nightly-qt4/mitkPython_Overview.html.
There is one bug related to the last release. A fix will be merged tomorrow. So 
update your sources and proceed as described above.

Best
Michael

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