Hi,

it's hard to tell without more information about how you are using MITK and 
what's your actual hurdle preventing you from doing so?

In general, if you developed a plugin, chances are high that you put your 
functional/algorithmic code also in your plugin and hence it is not accessible 
in a command-line app.

If that's the case, you would need to refactor your code by creating an MITK 
module where you basically move as much of your code as possible into it. I 
would recommend to even split your code into at least two modules, like one 
module for all GUI independent code and another module for GUI dependent code 
(which itself has dependencies to Qt in contrast to the former module).

Your plugins then depend on these modules and contain as less code as possible, 
which usually means you can reduce them to some boilerplate code to interface 
BlueBerry, which is only available on plugin level.

Disclaimer: Unfortunately we have many counter examples in MITK which contain 
also too much code in plugins instead of modules.

Long story short: as soon as all of your functional/algorithmic code is located 
in its own module(s) there's nothing preventing you from using it in 
command-line apps.

Best,
Stefan 
________________________________________
Von: Demet Yuksel Dal <demetyuksel1...@gmail.com>
Gesendet: Dienstag, 16. Juli 2024 15:39
An: mitk-users@lists.sourceforge.net
Betreff: [Extern] - [mitk-users] run external plugin via command line

Dear All,

I am currently using the 2015 version of MITIK for my PhD research. I have 
developed a plugin that runs with the GUI, but I would like to run it solely 
from the command line. However, I am unable to do so. Is there any way to 
achieve this?


Best,

Demet Yuksel Dal
Electrical & Electronics Engineering  Dept.
Bogazici University,
Istanbul, Turkey



_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to