Unable to create DICOM element of type UN with values of type Dicom.DicomUID

77 views
Skip to first unread message

Ahmed Sherien

unread,
Dec 11, 2014, 9:10:13 AM12/11/14
to fo-d...@googlegroups.com
I got this message while creating a dicom object from a dicom file "Unable to create DICOM element of type UN with values of type Dicom.DicomUID"


var dicomFilePath = imageFileName.ToString();

var dcmimage = new DicomImage(dicomFilePath); //<= here




Hesham Desouky

unread,
Dec 19, 2014, 6:58:12 AM12/19/14
to fo-d...@googlegroups.com
it seems you have a corrupted DICOM file. 

I suggest to find out which element is causing the problem by digging deeper through the exception information.

You can also use a tool like DicomBrowser to list the file attribute.
Reply all
Reply to author
Forward
0 new messages