Skip to content

Experience seamless visualization of DICOM medical images with our DICOM Viewer with Volume Rendering. Powered by VTK and PyQt, this application offers surface and ray casting rendering options, allowing users to load DICOM files and fine-tune rendering parameters for precise analysis.

Notifications You must be signed in to change notification settings

Hazem-Raafat/DICOM-Viewer-with-Volume-Rendering

Repository files navigation

DICOM Viewer with Volume Rendering

Overview

This project is a DICOM viewer with volume rendering capabilities, implemented using VTK (Visualization Toolkit) and pyQt. The application allows users to load DICOM files, choose between surface rendering and ray casting rendering, and adjust parameters such as iso value for surface rendering and shading properties for ray casting rendering.

Features

1. Loading DICOM Files

  • Click the "Load" button to open a file dialog and select a DICOM series folder.
  • The application uses the vtkDICOMImageReader to load DICOM series data.

2. Surface Rendering

  • Choose the "Surface Rendering" radio button.
  • Adjust the iso value using the iso slider to control the appearance of the rendered surface.
  • Real-time rendering updates are available with the "Real-Time Rendering" checkbox.

3. Ray Casting Rendering

  • Choose the "Ray Casting Rendering" radio button.
  • Adjust ambient, diffuse, and specular properties using sliders.
  • Real-time rendering updates are available with the "Real-Time Rendering" checkbox.

User Interface

  • The UI is designed using PyQt5, providing an intuitive and user-friendly environment.

Demo

Demo.mp4

How to Use

  1. Launch the application.
  2. Click the "Load" button to select a DICOM series folder.
  3. Choose the rendering technique using the radio buttons.
  4. Adjust parameters such as iso value or shading properties based on the selected rendering method.
  5. Enable "Real-Time Rendering" for dynamic updates.
  6. Explore the rendered volume using the interactive UI.

How to Run

  1. Install the required dependencies using
pip install -r requirements.txt
  1. Run the application using
python app.py

About

Experience seamless visualization of DICOM medical images with our DICOM Viewer with Volume Rendering. Powered by VTK and PyQt, this application offers surface and ray casting rendering options, allowing users to load DICOM files and fine-tune rendering parameters for precise analysis.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages