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
 Writing a lossless DICOM JPEG

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
Marius Posted - Feb 13 2013 : 10:41:38
I need to write a DICOM image file. That JPEG file needs to be a DICOM JPEG image. These can be objects of the following DICOM Transfer Syntaxes:
-1.2.840.10008.1.2.4.50 (JPEG Baseline encoding)
-1.2.840.10008.1.2.4.51 (JPEG Extended encoding)
-1.2.840.10008.1.2.4.70 (JPEG Lossless encoding, Non-Hierarchical)
Additionally, the JPEG files may contain one (monochrome) or three (RGB or YBR
color) channels. JPEG files with four color channels are not supported.

Does ImageEn 4.1.0 support this? Am I on the right way with the following code, or is this miles away from the intended format?

AToolbox.Io.LoadFromFile(SrcFile);
AToolbox.IO.Params.JPEG_Quality := 100; //No compression
AToolbox.IO.SaveToFileJpeg(DstFile);


Thanks,
Marius
1   L A T E S T    R E P L I E S    (Newest First)
fab Posted - Feb 16 2013 : 10:10:26
I'm sorry, ImageEn does not support DICOM writing, at the moment.