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

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

4 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.

    https://batdongsanban.info 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.

    trangnhadat24h.info am 30. November 2017 um 07:18
    Zum Seitenbeginn springen
  3. 03

    This even implies that the profession of a plot surveyor is
    a tough one as well as dedication and commitment.
    Baroda also ranks between the top three cities internet marketing the
    safest cities to reside in. Godrej Garden City presented by Godrej Properties
    is just located inside the North-West region of Ahmedabad considered Jagatpur.

    https://duanecolifetayho.net am 15. Januar 2018 um 20:20
    Zum Seitenbeginn springen
  4. 04

    Goregaon East that is just 15 mins from International Airport which is close to western express highway.

    Benefitted with up-to-the-mark infrastructure and tremendous
    commercial development, the town is really a spectator of some of the prestigious residential and commercial projects.

    There is going to be certain houses that fall in your price
    range and some which may be too expensive.

    duanthemanorcentralparks.com am 27. Januar 2018 um 20:41
    Zum Seitenbeginn springen

Kommentar schreiben

  •  
  •  
  •  

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

design est!

Zufallsbilder

Trømso, NorwegenTriumphbogen in FlorenzGlen Canyon: Wand aus SteinNew York City: Hochhaus am Ground ZeroJamboree ShootingNew York City: Radio City Music HallLichtfest #2: HauptbahnhofParis: Panthéon #2GardaseeMailand: Galleria Emanuele #2Graz: Chinesischer PavillonOffroad: Kurzweil
Alle Bilder im Fotoblog