ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 How to save a DICOM file
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

yeohray2

Malaysia
100 Posts

Posted - Mar 05 2021 :  10:30:29  Show Profile  Reply
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

xequte

38175 Posts

Posted - Mar 07 2021 :  18:48:05  Show Profile  Reply
Thanks for the report. We can reproduce the issue and will investigate.

We have an update that allows tags to be injected into single frame DICOM files. You can email me to test it if you like.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: