MedImGVisual is a visualization tool for exploring MRI, CT, and digitized pathology images in 3D. It supports files with extensions such as:
- DICOM series (
.DCM
) - MHA
- VTI
The tool has been tested with datasets from The Cancer Imaging Archive (TCIA).
-
3D Visualization:
- Render volumetric images in 3D with real-time interaction.
-
Multi-Planar Views:
- Explore axial, coronal, and sagittal views.
-
Interactive Widgets:
- Interact with 2D images and customize segmentation of body parts using your preferred colors, based on the Hounsfield scale.
- Programming Language: C++
- Libraries:
- ITK for image processing.
- VTK for rendering, with Qt integration for GUI development.
- QT for GUI development.
- Rendering: Uses VTK built with Qt integration to manage different OpenGL views seamlessly.
-DCMAKE_EXPORT_COMPILE_COMMANDS=1
is used for exportingcompile_commands.json
for theclangd
LSP.
mkdir build
cmake ../source -DCMAKE_EXPORT_COMPILE_COMMANDS=1
mkdir build
cmake ../source -DCMAKE_TOOLCHAIN_FILE=$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1
vcpkg.json
{
"dependencies": [
{
"name": "itk",
"features": [
"vtk"
]
},
{
"name": "vtk",
"features": [
"opengl",
"qt"
]
}
]
}
Problem with vcpkg and Qt usage:
Use the command
'/vcpkg/installed/x64-windows/tools/Qt6/bin/windeployqt.exe ./{executable}'
for importing appropriate libraries.
Important: Compile in release mode because it won't work in debug mode.
cmake --build . --config Release