A comprehensive medical imaging application for 3D visualization and analysis of medical data including DICOM, MRI, and CT scans. Built with ITK and VTK libraries for professional-grade medical image processing and rendering.
- Volume Rendering: High-performance 3D visualization of brain and CT bone data using GPU ray casting
- DICOM Series Viewer: Interactive slice-by-slice navigation through medical image series
- Medical Segmentation:
- Confidence Connected segmentation for brain white matter extraction
- Watershed segmentation for advanced image analysis
- Multi-format Support: DICOM directories, MetaImage files (.mha), MRI, and CT data
- Interactive Navigation: Mouse wheel and keyboard controls for 3D manipulation
- Real-time Rendering: GPU-accelerated volume rendering with customizable transfer functions
- Visual Studio 2015 or later
- CMake 3.0+
- VTK (Visualization Toolkit) - Installation Guide
- ITK (Insight Segmentation and Registration Toolkit) - Installation Guide
- GCC 7.0+ or Clang 6.0+
- CMake 3.0+
- VTK development libraries
- ITK development libraries
- OpenGL development libraries
# Ubuntu/Debian
sudo apt-get update
sudo apt-get install build-essential cmake
sudo apt-get install libvtk9-dev libinsighttoolkit5-dev
sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev- Xcode Command Line Tools
- CMake 3.0+
- VTK and ITK (via Homebrew recommended)
# Install Homebrew if not already installed
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Install dependencies
brew install cmake vtk itk-
Clone the repository
git clone <repository-url> cd Medical-Data-Visualization-3D
-
Build with CMake
mkdir build cd build cmake ../src -
Compile
- Open the generated
.slnsolution file in Visual Studio - Run Visual Studio as Administrator
- Build the solution
- Executable will be generated in
/bin/debug/
make -j$(nproc) # Linux make -j$(sysctl -n hw.ncpu) # macOS
- Open the generated
-
Run the application
# Windows ./bin/debug/PROJECT.exe # Linux/macOS ./PROJECT
The application provides a console-based menu with 5 main operations:
- Volume Rendering for Brain Data: Render 3D brain volumes from DICOM or MetaImage files
- Volume Rendering for CT Bone Data: Specialized CT bone visualization
- Medical Data Watershed Segmentation: Advanced image segmentation using watershed algorithm
- DICOM Series Viewer: Navigate through DICOM image series slice by slice
- Confidence Connected Segmentation: Extract brain white matter regions
- Mouse Wheel: Navigate through image slices
- Arrow Keys: Up/Down for slice navigation
- Right Mouse + Drag: Zoom and rotate in 3D view
- Trackball Camera: Interactive 3D navigation
- Language: C++
- Medical Image Processing: ITK (Insight Toolkit)
- 3D Visualization: VTK (Visualization Toolkit)
- Build System: CMake
- Platform: Cross-platform (Windows, Linux, macOS)
The application uses a modular header-only design with specialized modules for different medical imaging tasks, featuring ITK-to-VTK pipeline integration for seamless data processing and visualization.
This project is part of a medical imaging research initiative. Contributions are welcome for:
- Additional medical image format support
- Performance optimizations
- UI/UX enhancements
- Documentation improvements
windows.h, dos.h) that may require modification for full Linux/macOS compatibility. The build instructions above assume these dependencies can be conditionally compiled or replaced with cross-platform alternatives.
Please refer to the project's license file for usage rights and restrictions.



