Somethings changed in ctkDICOMAppWidget2.
- When ctkDICOMAppWidget is doing scaning a path with a lot of non-DICOM files, it will take a lot of time to print out error messages. Because it could not find out whether the file is a DICOM file before checking all its DICOM tags. I changed it that if a file is not a DICOM file, it will ignore it directly instead of checking all its DICOM tags.
-
As for my another program, QVTKProject, I added a few functions for doing reading images.
e.g. Exporting is for emit a signal with DICOM sequences(A
QStringLists
contains all DICOM files' paths. ) for my another program to accept. Multiple selection can export a few sequences a time.
-DCMAKE_CXX_MP_FLAG:BOOL=ON
-DBUILD_DOCUMENTATION:BOOL=OFF
-DCTK_BUILD_EXAMPLES:BOOL=OFF
-DCTK_BUILD_SHARED_LIBS:BOOL=${BUILD_SHARED_LIBS}
-DBUILD_TESTING:BOOL=OFF
# -DCTK_APPctkDICOM:BOOL=ON
# -DCTK_APPctkDICOM2:BOOL=ON
-DCTK_ENABLE_DICOM:BOOL=ON
-DCTK_LIB_DICOM/Core:BOOL=ON
-DCTK_LIB_DICOM/Widgets:BOOL=ON
-DCTK_QT_VERSION:STRING=5
-DQt5_DIR:PATH=${Qt5_DIR}
The above arguements was tried in MSVC2015 and GCC 6.3 and succeed.