Skip to content

ITK - VTK : Segmention using ITK and Visualization using VTK

Notifications You must be signed in to change notification settings

Shubh023/itk-vtk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PROJET ITK-VTK : Kidney Segmentation & Visualization

Author :

Implementation :

  • Segmentation:

    • It is handled by ITK with Handle_ITK(params: OriginalFile), which is a function that takes care of the segmentation of kidneys from the abdomen.mha file
  • Visualization:

    • It is handled by VTK with Handle_VTK(params: OriginalFile, ResultFile, Mode), which is a function that takes care of the visualization of segmented kidneys as well as the abdomen itself as 3D volumes. OriginalFile is the abdomen.mha & ResultFile is the result.mha which will be generated once Handle_ITK(OriginalFile) is called.
    • You can select modes 0, 1, 2
      • Mode = 0 : Display segmented and original volumes (DEFAULT)
      • Mode = 1 : Display original volume
      • Mode = 2 : Display segmented volume resulting from Handle_ITK call

Results :

Rendering results were saved as images with png format and can be found in the results directory.

The file RENDU FINALE.png is the choosen final render for the projet.

In order to replicated the results the projet can be launched by following the instruction below:

  • virtualenv venv
  • source venv/bin/activate
  • pip install -r requirements.txt
  • python3 main.py (Please make sur abdomen.mha is located in the same directory as main.py as it was not included in this zip file)

Tested on machine using Python 3.8 This should launch a window and should display a 3D Volume of the abdomen among with the Kidneys displayed in a distinct purple color

About

ITK - VTK : Segmention using ITK and Visualization using VTK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages