250 likes | 441 Views
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. Objectives.
E N D
How to Install ITK ? (Insight Segmentation and Registration Toolkit) Prepared by: Hussain Rahman MS (CS) 1st semester hussainuom05@gmail.com Supervised By: Dr. Engr. Sami Ur Rahman Department of CS &IT University of Malakand, KPK, Pakistan Date: 25.04.2013
Objectives • ITK introduction • ITK Installation • How to use ITK? • Reference
Medical Image Processing Registration Segmentation What is ITK ? Open Source C++ Toolkit
What do I need? • ITK Software • CMake • C++ Compiler • Visual Studio.NET 2010 etc
Step 2. Download ITK Use the address to download ITK Download For MS.Windows
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
Step 6. Run CMake • Select ITK Source • Select ITK Binary • Disable • Examples • Testing • Configure • Select Compiler • Generate • Wait … Select Source Select Binary Generate when configuration completed Configure after selecting directories
Step 7. Build ITK • Open ITK.dsw/.sln in ITK binary directory • Build • Wait… Right click on “All_BUILD” And Build
Step 8. Verify the Build • The following libraries should be there ITKCommon ITK IO ITKBasicFilters ITKAlgorithms ITKNumerics ITKFEM ITKStatistics ITKMetaIO Itkpng itkzlib
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
Step 1. Create a directory with two folders Create source and binary folders in the directory
Step 6. Open HelloWorld.sln R/C and select project from properties window
Reference: • 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