The discussion below initially took place here: https://github.com/QIICR/dcmqi/issues/348.
From @mmromero on Tue Aug 07 2018 13:03:44 GMT+0000 (UTC)
Dear developers,
I am trying to create the structure report of a white matter hyper-intensity lesion segmentation with your docker container but no matter the Patient’s Name I always get the same error (see below). The actual value is “N2D_PATIENT”, but also tried with “xxx xxx” with the same result.
I can share the data with you, just let me know if you need it and I upload it.
Thank you very much.
Miguel.
docker run -v /Users/miguel/Workspace/RAPIDS/SR/dcmqi_test:/tmp/dcmqi qiicr/dcmqi itkimage2segimage --inputDICOMDirectory /tmp/dcmqi/input_data --inputMetadata /tmp/dcmqi/wmh_segmentation.json --inputImageList /tmp/dcmqi/output_nifti/18991230_000000nifti2dicom044s001a001.nii.gz --outputDICOM /tmp/dcmqi/wmh_segmentation.dcm
dcmqi repository URL: git@github.com:QIICR/dcmqi.git revision: 72869c3 tag: latest-2-g72869c3
Searching recursively /tmp/dcmqi/input_data for DICOM files
Input image size: [240, 240, 48]
W: PatientName (0010,0010) violates VR definition in PatientModule
W: PatientSex (0010,0040) violates VR definition in PatientModule
W: AccessionNumber (0008,0050) violates VR definition in GeneralStudyModule
W: InstitutionName (0008,0080) violates VR definition in GeneralEquipmentModule
W: PatientAge (0010,1010) violates VR definition in PatientStudyModule
W: PositionReferenceIndicator (0020,1040) absent in FrameOfReferenceModule (type 2)
Directions: 0.997303 -0.0502721 -0.0534678
-0.0229997 -0.905936 0.422789
0.0696929 0.42042 0.904649
Processing input label Image (0x1889550)
RTTI typeinfo: itk::Image<short, 3u>
Reference Count: 3
Modified Time: 184
Debug: Off
Object Name:
Observers:
none
Source: (none)
Source output name: (none)
Release Data: Off
Data Released: False
Global Release Data: Off
PipelineMTime: 48
UpdateMTime: 183
RealTimeStamp: 0 seconds
LargestPossibleRegion:
Dimension: 3
Index: [0, 0, 0]
Size: [240, 240, 48]
BufferedRegion:
Dimension: 3
Index: [0, 0, 0]
Size: [240, 240, 48]
RequestedRegion:
Dimension: 3
Index: [0, 0, 0]
Size: [240, 240, 48]
Spacing: [0.958333, 0.958333, 3]
Origin: [-107.096, 80.3152, -82.9768]
Direction:
0.997303 -0.0502721 -0.0534678
-0.0229997 -0.905936 0.422789
0.0696929 0.42042 0.904649
IndexToPointMatrix:
0.955749 -0.0481774 -0.160403
-0.0220414 -0.868189 1.26837
0.066789 0.402902 2.71395
PointToIndexMatrix:
1.04066 -0.0239997 0.072723
-0.0524578 -0.945325 0.438699
-0.0178226 0.14093 0.30155
Inverse Direction:
0.997303 -0.0229997 0.0696929
-0.0502721 -0.905936 0.42042
-0.0534678 0.422789 0.904649
PixelContainer:
ImportImageContainer (0x1884ec0)
RTTI typeinfo: itk::ImportImageContainer<unsigned long, short>
Reference Count: 1
Modified Time: 180
Debug: Off
Object Name:
Observers:
none
Pointer: 0x7f569bb8a010
Container manages memory: true
Size: 2764800
Capacity: 2764800
Found 2 label(s)
Skipping label 0
Processing label 1
Total non-empty slices that will be encoded in SEG for label 1 is 48
(inclusive from 0 to 48)
E: PatientName (0010,0010) violates VR definition in PatientModule
FATAL ERROR: Writing of the SEG dataset failed! Please report the problem to the developers, ideally accompanied by a de-identified dataset allowing to reproduce the problem!
```<br /><br /><i>Copied from original issue: https://github.com/QIICR/dcmqi/issues/348</i>