yeohray2
Malaysia
108 Posts |
Posted - Mar 05 2021 : 10:30:29
|
I was going to try the suggestion in this post (https://www.imageen.com/ieforum/topic.asp?TOPIC_ID=3740), but ran into issues saving a DICOM file.
Using the attached DICOM file (source.dcm), I used the following code:
imageenview1.IO.LoadFromFileDicom(myfile); imageenview1.IO.SaveToFileDicom(myrenamedfile);
I have attached the ImageEn-saved file too (saved.dcm).
One commercial DICOM viewer is unable to open the saved file, another can open it but reports a WindowCenter value of 65536 and WindowLevel of 32768, yet another opens it and reports a WindowCenter value of 65535 and WindowLevel of 32768.
As per the post I referenced earlier, the BitsAllocated and BitsStored value have changed from 16/12 to 16/16 in the ImageEn-saved file.
The compression level of both files is iedcUncompressed.
What do I need to do in order to be able to save a DICOM file using ImageEn so that it's recognized by other DICOM viewers? My aim is to be able to change some DICOM tag values, then save the modified DICOM file.
Thanks in advance.
attach/yeohray2/202135102838_files.zip 175.97 KB |
|