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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 How to save a DICOM file

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
yeohray2 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
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Mar 07 2021 : 18:48:05
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