1 / 24

How to Install ITK ? (Insight Segmentation and Registration Toolkit) Prepared by: Hussain Rahman

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.

emmy
Télécharger la présentation

How to Install ITK ? (Insight Segmentation and Registration Toolkit) Prepared by: Hussain Rahman

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


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

  2. Objectives • ITK introduction • ITK Installation • How to use ITK? • Reference

  3. Medical Image Processing Registration Segmentation What is ITK ? Open Source C++ Toolkit

  4. What do I need? • ITK Software • CMake • C++ Compiler • Visual Studio.NET 2010 etc

  5. Getting Started with ITK

  6. Step 1. Install C++ Compiler

  7. Step 2. Download ITK Use the address to download ITK Download For MS.Windows

  8. Step 3. Download CMake

  9. Step 4. Unzip ITK and CMake

  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

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

  12. Step 7. Build ITK • 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

  14. How to Use ITK ?

  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

  16. Step 1. Create a directory with two folders Create source and binary folders in the directory

  17. Step 2. Add CMakeLists.txt to source

  18. Step 3. Add Hello World.cxx to source

  19. Step 4. Run CMake

  20. Step 5. Generate

  21. Step 6. Open HelloWorld.sln R/C and select project from properties window

  22. Step 7. Compile the project

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

  24. !!Thanks!!

More Related