Download presentation
Presentation is loading. Please wait.
Published byJasmine Johnston Modified over 9 years ago
1
How to Install ITK ? (Insight Segmentation and Registration Toolkit) Prepared by: Hussain Rahman MS (CS) 1 st semester hussainuom05@gmail.com Supervised By: Dr. Engr. Sami Ur Rahman Department of CS &IT University of Malakand, KPK, Pakistan Date: 25.04.2013 1
2
Objectives Objectives ITK introduction ITK Installation How to use ITK? Reference 2
3
What is ITK ? 3 Registration Open Source C++ Toolkit Medical Image Processing Segmentation
4
What do I need? What do I need? ITK Software CMake C++ Compiler Visual Studio.NET 2010 etc 4
5
Getting Started with ITK 5
6
Step 1. Install C++ Compiler 6
7
Step 2. Download ITK 7 Download For MS.Windows Use the address to download ITK
8
Step 3. Download CMake 8
9
Step 4. Unzip ITK and CMake 9
10
Step 5. Create a Directory Create a clean new directory with the following three folders Source Binary CMake Copy CMake data we have unzipped to CMake folder Copy the data inside unzipped itk to source folder 10
11
Step 6. Run CMake Select ITK Source Select ITK Binary Disable Examples Testing Configure Select Compiler Generate Wait … 11 Select Binary Select Source Generate when configuration completed
12
Step 7. Build ITK 12 Open ITK.dsw/.sln in ITK binary directory Build Wait… Right click on “All_BUILD” And Build
13
Step 8. Verify the Build The following libraries should be there ITKCommon ITK IO ITKBasicFilters ITKAlgorithms ITKNumerics ITKFEM ITKStatistics ITKMetaIO Itkpng itkzlib 13
14
How to Use ITK ? 14
15
ITK Hello World Example Visual studio, CMake and ITK should be installed Create a new directory Create two files in the directory for source and object code Source binary Create two files in source which are: CMakeLists.txt Program.cxx Configure Build Run 15
16
Step 1. Create a directory with two folders 16 Create source and binary folders in the directory
17
Step 2. Add CMakeLists.txt to source 17
18
Step 3. Add Hello World.cxx to source 18
19
Step 4. Run CMake 19
20
Step 5. Generate 20
21
Step 6. Open HelloWorld.sln 21 R/C and select project from properties window
22
Step 7. Compile the project 22
23
Reference: Reference: 23 http://www.itk.org/ItkSoftwareGuide.pdf http://www.itk.org/Doxygen/html/index.html http://www.itk.org/HTML/Download.htm http://www.sci.utah.edu/~cates Users Mailing List
24
!! Thanks!! 24
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.