Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am working on a project and my goal is to load DICOM images into QT GUI, read DICOM information from header and segment the image to process it. Since QT libraries doesn't support DICOM images we thought to integrate with ITK which we use for segmenting and process the image, VTK to visualize the image on QT widget.

TOOLS USED:
QT: 5.2.1
CMAKE : 2.8.12.2
ITK : 4.5.1
VTK : 6.1.0

Steps:
We installed QT and cmake on windows7.

Build ITK and VTK:
For building ITK and VTK we followed same procedure. We opened ITK project in QT using cmakelists.txt file and in the build arguments we specified -DCMAKE_BUILD_TYPE=DEBUG and using nmake generator we have built both ITK and VTK.

Next we created a cmake project in QT and in cmakelists file we imported ITK and VTK packages. The actual problem comes here. When we try to build this project we get exceptions like _ITERATOR_DEBUG_LEVEL value '2' doesn't match value '0' etc...

Can anyone please help with the integration of QT, ITK and VTK. Also I could not find any clear documentation for the integration of these three using cmake. It would be helpful if anyone can provide us some helpful links for these. Thanks
Posted
Updated 13-Apr-14 11:02am
v2
Comments
Legor 14-Apr-14 4:34am    
Hello have you tried using QT4 instead? I think QT5 and ITK/VTK aren't working together very well up to now. But i know that QT4 is working very good with those libraries. See for example MITK which has a sophisticated GUI build on QT4 and is using ITK/VTK.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900