HowTo: MATITK for Mac OS X, 64Bit, Matlab 2009b

23. November 2009

Quick and dirty: I compiled ITK 3.16.0 in 64Bit mode and MATITK on Mac OS X 10.5.8 64 Bit for Matlab 2009b. Get the matitk.mexmaci64 here:
[download#8#nohits]

A detailed description about how to compile the code is coming soon… So here we are:

Get and compile the ITK source code

You should get the ITK code, which can be found here:
http://www.itk.org

Configure and compile ITK with CMake. Set CMAKE_OSX_ARCHITECTURES to x86_64:

ccmake .
make

Get and compile the MATITK source code

I was looking for the latest source code of MATITK. The published code in the Insight Jorunal was from 2006. The latest code of MATITK I could found was published 2007 in the mailinglist of MATITK:
http://www.sfu.ca/~hamarneh/matitk-list/msg00012.html

Export your Matlab environment path: export MATLAB="/Applications/MATLAB_R2009b.app"
Configure MATITK with CMake: ccmake .
Set ITK_DIR to the root build tree of ITK, e.g. ~/Downloads/InsightToolkit-3.16.0
Set MATLAB_MEX_EXECUTABLE to where your mex-compiler can be found, e.g. /Applications/MATLAB_R2009b.app/bin/mex
All paths to the ITK Toolboxes should be set, e.g. ~/Downloads/InsightToolkit-3.16.0/bin/libITKBasicFilters.a

I had to edit the MATIK source code, since I got a few errors. Basically, I checked every *.inl for a FunctionCall. Within this call, the last argument ist mostly something like ITK...IMAGEFILTERDESC. I just set that argument into quotation marks, e.g. "ITKANTIALIASBINARYIMAGEFILTERDESC". Now, I could compile without errors:
make

Grab the library here:
[download#8#nohits]

micha | Newsblog | Kommentare | Trackback | Tags: , , , , , , , Zum Seitenbeginn springen

Ein Kommentar zu “HowTo: MATITK for Mac OS X, 64Bit, Matlab 2009b”

  1. so real 6in realistic dildo am 18. September 2018 um 02:56
    Zum Seitenbeginn springen

Kommentar schreiben

Mit der Nutzung dieses Formulars erklärst du dich mit der Speicherung und Verarbeitung deiner Daten durch diese Website einverstanden.

  •  
  •  
  •  

Verfolge neue Kommentare zu diesem Beitrag mit diesem Kommentar-Feed.

design, designer, designest

Zufallsbilder

[UPDATE] ORWO NP 20Alles Gute für 2012!TallinnAltes Stadtbad Leipzig #2Hamburg: Auf dem MichelAlltägliche GesprächeVEB ALDI #3Muuuhhhh363LE2008: Ein Jahr Leipzig um 12 Uhr #2Zion National Park: HurricaneMailänder Dom, ItalienNew York City: Riding the Subway
Alle Bilder im Fotoblog