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.
- 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.
- 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.
- 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.
- The UI is designed using PyQt5, providing an intuitive and user-friendly environment.
Demo.mp4
- Launch the application.
- Click the "Load" button to select a DICOM series folder.
- Choose the rendering technique using the radio buttons.
- Adjust parameters such as iso value or shading properties based on the selected rendering method.
- Enable "Real-Time Rendering" for dynamic updates.
- Explore the rendered volume using the interactive UI.
- Install the required dependencies using
pip install -r requirements.txt
- Run the application using
python app.py