Hi Stefan, I am using .mhd/.raw files for exchange mith Matlab.
Matlab code for loading/writing is included in my CSITOOLS package which is available at http://hci.iwr.uni-heidelberg.de/download3/csitools.php. You can extract the code from csitools\inout\loadmhdvol.m and savemhdvol.m. Best, Michael. Siemens AG Corporate Technology CT T DE TC4 Günther-Scharowsky-Str. 1 91058 Erlangen, Deutschland Tel.: +49 (9131) 7-34627 Fax: +49 (9131) 7-33190 Mobil: +49 (173) 6974642 mailto:[email protected] Siemens Aktiengesellschaft: Vorsitzender des Aufsichtsrats: Gerhard Cromme; Vorstand: Peter Löscher, Vorsitzender; Wolfgang Dehen, Heinrich Hiesinger, Joe Kaeser, Barbara Kux, Hermann Requardt, Siegfried Russwurm, Peter Y. Solmssen; Sitz der Gesellschaft: Berlin und München, Deutschland; Registergericht: Berlin Charlottenburg, HRB 12300, München, HRB 6684; WEEE-Reg.-Nr. DE 23691322 > -----Ursprüngliche Nachricht----- > Von: Dänzer, Stefan [mailto:[email protected]] > Gesendet: Montag, 22. März 2010 16:13 > An: 'Marco Nolden'; [email protected]; 'Schwarz Tobias' > Betreff: Re: [mitk-users] MITK Data I/O supported file formats > > Hi, > > I've found entries about available file formats in the > mitkImageWriter class (see code below), but wasn't able to > save images to, for example .gipl file format. GIPL is also > in the ITK file I/O list (http://www.itk.org/Wiki/ITK_File_Formats). > > Basically I'm looking for a 3D-image file format which I can > easily Import/Export to/from Matlab. I've discovered that > there is a GIPL image I/O for Matlab available, but I'm > missing the export functionality in MITK. > > > std::vector<std::string> > mitk::ImageWriter::GetPossibleFileExtensions() > { > std::vector<std::string> possibleFileExtensions; > possibleFileExtensions.push_back(".pic"); > possibleFileExtensions.push_back(".bmp"); > possibleFileExtensions.push_back(".dcm"); > possibleFileExtensions.push_back(".DCM"); > possibleFileExtensions.push_back(".dicom"); > possibleFileExtensions.push_back(".DICOM"); > possibleFileExtensions.push_back(".gipl"); > possibleFileExtensions.push_back(".gipl.gz"); > possibleFileExtensions.push_back(".mha"); > possibleFileExtensions.push_back(".nii"); > possibleFileExtensions.push_back(".nrrd"); > possibleFileExtensions.push_back(".nhdr"); > possibleFileExtensions.push_back(".png"); > possibleFileExtensions.push_back(".PNG"); > possibleFileExtensions.push_back(".spr"); > possibleFileExtensions.push_back(".mhd"); > possibleFileExtensions.push_back(".vtk"); > possibleFileExtensions.push_back(".vti"); > possibleFileExtensions.push_back(".hdr"); > possibleFileExtensions.push_back(".png"); > possibleFileExtensions.push_back(".tif"); > possibleFileExtensions.push_back(".jpg"); > return possibleFileExtensions; > } > > Grüße, > > Tisch > > ______________________________________________________________ > _________ > Dipl. Inform. Stefan Daenzer > Research Associate | Working Group - Scientific Methods > > Universität Leipzig | Faculty of Medicine > Innovation Center Computer Assisted Surgery (ICCAS) > Semmelweisstr. 14 > D - 04103 Leipzig > Germany > > Phone: ++49 (0) 341 / 97 - 1 20 03 > Fax: ++49 (0) 341 / 97 - 1 20 09 > Email: [email protected] > > -----Ursprüngliche Nachricht----- > Von: Marco Nolden [mailto:[email protected]] > Gesendet: Montag, 22. März 2010 15:50 > An: [email protected] > Betreff: Re: [mitk-users] MITK Data I/O supported file formats > > Hi, > > for some reason "mhd" is not listed separately, only in the > "all" list. > In general everything that ITK reads is supported as well. If > the file > extension is not recognized try drag'n'drop of the file in > the renderwindow. > > Best. > Marco > > > Am 22.03.2010 15:41, schrieb Schwarz Tobias: > > Hi Tisch, > > > > you can see a list in the file open menu. Attached it as image. > > It is from the 3M3 version of MITK, but should be the same > for nightly. > > Afaik there is no complete list in the documentation. > > > > Grüße, > > Tobi > > > > ________________________________ > > Von: Dänzer, Stefan [[email protected]] > > Gesendet: Dienstag, 16. März 2010 13:44 > > An: '[email protected]' > > Betreff: [mitk-users] MITK Data I/O supported file formats > > > > Dear list, > > > > I was wondering if there is a complete list of data files > which the current MITK version (nightly) can import/export. > > > > Regards, > > > > Stefan > > > > > > > ______________________________________________________________ > _________ > > Dipl. Inform. Stefan Daenzer > > Research Associate | Working Group - Scientific Methods > > > > Universität Leipzig | Faculty of Medicine > > Innovation Center Computer Assisted Surgery (ICCAS) > > Semmelweisstr. 14 > > D - 04103 Leipzig > > Germany > > > > Phone: ++49 (0) 341 / 97 - 1 20 03 > > Fax: ++49 (0) 341 / 97 - 1 20 09 > > Email: [email protected] > > > > > > > -- > ---------------------------------------------------------------------- > Dipl.-Inform. Med. Marco Nolden > Deutsches Krebsforschungszentrum (German Cancer Research Center) > Div. Medical& Biological Informatics Tel: (+49) 6221-42 2325 > Im Neuenheimer Feld 280 Fax: (+49) 6221-42 2345 > D-69120 Heidelberg eMail: [email protected] > > > -------------------------------------------------------------- > ---------------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > mitk-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mitk-users > > -------------------------------------------------------------- > ---------------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > mitk-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mitk-users > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
