Related Objects
Related Objects
- Mentioned In
- T26385: build fails in MITK/Plugins/org.mitk.gui.qt.diffusionimaging.fiberprocessing/src/internal/QmitkFiberQuantificationView.cpp: error: ‘mitk::DICOMQIPropertyHandler’ has not been declared
rMITKf5af86777af9: Merge branch 'T25409-TractEnvDicomSeg'
rMITK34254971f27f: Merge branch 'T25409-DicomSeg' - Mentioned Here
- T1: testbug1
Event Timeline
Comment Actions
Test data: Fibers & DICOM T1 image.
Create multi-label:
- Open "Fiber quantification view"
- Select Fibers and DICOM T1 data nodes in input data checkboxes.
- Slect "Binary Envelope" in "Fiber-derived images" box
- Click "Generate Image" to create multi label segmentation
- Save segmentation as DICOM Seg --> crash
Location in code:
https://phabricator.mitk.org/source/mitk/browse/master/Plugins/org.mitk.gui.qt.diffusionimaging.fiberprocessing/src/internal/QmitkFiberQuantificationView.cpp$376
Comment Actions
The crash is caused by the duplicate creation of the layers:
multilabelImage->Initialize(m_SelectedImage);
multilabelImage->InitializeByLabeledImage(img);
The first initialization could be removed.
To get the referenced DICOM tag information (source image) xou have to add:
DICOMQIPropertyHandler::DeriveDICOMSourceProperties(m_SelectedImage, multilabelImage);