Hi Sergio,

yes, this sounds reasonable.

Since you mentioned calling commandline tools, I'd like to point you to the Command Line Modules that are supported by one of the MitkWorkbench views and could solve part of your needs:

http://www.commontk.org/index.php/Documentation/Command_Line_Interface
http://docs.mitk.org/nightly/org_mitk_views_cmdlinemodules.html

Regards
Daniel

On 08.10.2015 12:50, Sergio Vera wrote:
Thanks Daniel

I was trying to interface with a command line tool. Guess best solution is to write the the image back to disk before calling the executable.

Regards

On 8 October 2015 at 11:49, Daniel Maleike <d.male...@mint-medical.de <mailto:d.male...@mint-medical.de>> wrote:

    On 08.10.2015 11:42, Sergio Vera wrote:
    Dear mitk-users

    I'm looking for the filename of an image loaded into MITKWorkbench.

    I want to know the path and filename of an image, but the
    datanode that is sent to my plugin knows only the path and name
    properties.

    Is there a way to discover the filename of the image with
    extension included?

    Hi Sergio,

    I think there is no way implemented yet.

    A challenge for having a simple "filename" property is that some
    image formats have two or more files per image (header and raw
    data or one file per slice).

    Kind regards,
    Daniel

-- Dr. Daniel Maleike, Mint Medical GmbH
    Friedrich-Ebert-Straße 2, 69221 Dossenheim/Heidelberg
    Geschäftsführer: Dr. Matthias Baumhauer, Registergericht Mannheim, HRB 
709351


    
------------------------------------------------------------------------------

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




--
Sergio Vera

 Alma IT Systems
 C/ Vilana, 4B, 4º 1ª
 08022 Barcelona
 T. (+34) 932 380 592
www.alma3d.com <http://www.alma3d.com>

--
Dr. Daniel Maleike, Mint Medical GmbH
Friedrich-Ebert-Straße 2, 69221 Dossenheim/Heidelberg
Geschäftsführer: Dr. Matthias Baumhauer, Registergericht Mannheim, HRB 709351

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

Reply via email to