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:
MATITK Mac OS X 10.5.8 (64Bit) Matlab 2009b: matitk.mexmaci64

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:

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

ccmake .

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:

Export your Matlab environment path: export MATLAB="/Applications/"
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/
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:

Grab the library here:
MATITK Mac OS X 10.5.8 (64Bit) Matlab 2009b: matitk.mexmaci64

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

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

  1. 01

    A multi high dollar project of your five star hotel
    inside middle with the desert will not show to be profitable which means you
    should research regarding the potential with the region as well.
    At the minute there‘ s an enormous shift towards becoming a lot more environmentally conscious and most families are trying to do their
    part in relation to living much more sustainable and making less influence
    about the planet. Lastly, you will must effect installation of the
    control unit or system. am 29. November 2017 um 18:05
    Zum Seitenbeginn springen
  2. 02

    Villa rental accommodation, presently, will let you have
    a feel for the ambient atmosphere on this haunting novel, that has been also
    adapted into an Oscar winning film. It is the second largest in the
    islands so when it’s quieter than its famous neighbour Mallorca,
    it is more fitted to greater discerning traveller.

    Walk down the main street with the medieval town, the Corso Vittorio Emanuele,
    and take note with the gothic, baroque, and neoclassic styles in the buildings that coincide for the ages by which they were built. am 30. November 2017 um 07:18
    Zum Seitenbeginn springen

Kommentar schreiben


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

design est!


Paris: MontmartreTür der Kathedrale von Florenz, ItalienLas Vegas: The MirageLos Angeles: My town this is!Paris: Île de la Cité & SeineWerk2: Eröffnung Halle D – Sonic Boom FoundationLichtfest #4: LichtkugelFraser Island: Blick nach obenVolterra: BalkonParis: Cathédrale Notre-Dame de Paris #1VEB ALDI #5Glen Canyon: Wand aus Stein
Alle Bilder im Fotoblog