Concatenates DICOM file meta information and DICOM data set to one and returns it. Aim of this method is to ease the use of AcrNemaFile and DicomFile without differentiation. But be careful! Resulting data set will always use the default transfer syntax!
If an exception occurres, because of duplicate key ids (DICOM tags), DICOM tag uniqueness overall data sets will not be given. This exception is not supposed to be thrown. DICOM data sets for concatenation are supposed to complement one another. The differences in transfer syntaxes cannot be processed. Thus, the default transfer syntax is defined for concatenation.
DicomFile Class | openDicom.File Namespace