how to install itk ? (insight segmentation and registration toolkit) prepared by: hussain rahman

24
How to Install ITK ? (Insight Segmentation and Registration Toolkit) Prepared by: Hussain Rahman MS (CS) 1 st semester [email protected] Supervised By: Dr. Engr. Sami Ur Rahman Department of CS &IT University of Malakand, KPK, Pakistan Date: 25.04.2013 1

Upload: emmy

Post on 22-Feb-2016

69 views

Category:

Documents


0 download

DESCRIPTION

How to Install ITK ? (Insight Segmentation and Registration Toolkit) Prepared by: Hussain Rahman MS (CS) 1 st semester [email protected] Supervised By: Dr. Engr. Sami Ur Rahman Department of CS &IT University of Malakand, KPK, Pakistan Date: 25.04.2013. Objectives. - PowerPoint PPT Presentation

TRANSCRIPT

PowerPoint

How to Install ITK ?(Insight Segmentation and Registration Toolkit)Prepared by:Hussain RahmanMS (CS) 1st [email protected] By:Dr. Engr. Sami Ur RahmanDepartment of CS &ITUniversity of Malakand, KPK, Pakistan Date: 25.04.2013

11 ObjectivesITK introductionITK InstallationHow to use ITK?Reference

2What is ITK ?3RegistrationOpen Source C++ ToolkitMedical ImageProcessingSegmentation3 What do I need?ITK Software

CMakeC++ CompilerVisual Studio.NET 2010 etc4

Getting Started with ITK5Step 1. Install C++ Compiler6

Step 2. Download ITK7

Download For MS.WindowsUse the address to download ITKStep 3. Download CMake8

Step 4. Unzip ITK and CMake 9

Step 5. Create a DirectoryCreate a clean new directory with the following three foldersSource BinaryCMakeCopy CMake data we have unzipped to CMake folderCopy the data inside unzipped itk to source folder

10Step 6. Run CMakeSelect ITK SourceSelect ITK BinaryDisable ExamplesTestingConfigureSelectCompilerGenerate Wait

11

Select BinarySelect SourceConfigure after selecting directoriesGenerate when configuration completedStep 7. Build ITK12Open ITK.dsw/.sln in ITK binary directoryBuild Wait

Right click on All_BUILDAnd BuildStep 8. Verify the BuildThe following libraries should be thereITKCommon ITK IO ITKBasicFilters ITKAlgorithms ITKNumerics ITKFEM ITKStatistics ITKMetaIO Itkpng itkzlib13 How to Use ITK ?14ITK Hello World ExampleVisual studio, CMake and ITK should be installedCreate a new directoryCreate two files in the directory for source and object codeSourcebinaryCreate two files in source which are:CMakeLists.txtProgram.cxxConfigureBuild Run

15Step 1. Create a directory with two folders 16

Create source and binary folders in the directoryStep 2. Add CMakeLists.txt to source 17

Step 3. Add Hello World.cxx to source18

Step 4. Run CMake19

Step 5. Generate20

Step 6. Open HelloWorld.sln21

R/C and select project from properties windowStep 7. Compile the project22

Reference:23http://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/~catesUsers Mailing List

!!Thanks!!24