diff --git a/libsrc/Itk2DicomConverter.cpp b/libsrc/Itk2DicomConverter.cpp index e090ed68..0002da20 100644 --- a/libsrc/Itk2DicomConverter.cpp +++ b/libsrc/Itk2DicomConverter.cpp @@ -136,7 +136,7 @@ namespace dcmqi { OFVector srcimgItems; OFVector dcmDatasets_ofvector(dcmDatasets.begin(), dcmDatasets.end()); - derimgItem->addSourceImageItems(dcmDatasets, + derimgItem->addSourceImageItems(dcmDatasets_ofvector, CodeSequenceMacro(code_seg.CodeValue,code_seg.CodingSchemeDesignator, code_seg.CodeMeaning), srcimgItems, OFTrue /*skip file errors */); for(size_t src_image_cnt=0;src_image_cnt