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
 Writing a lossless DICOM JPEG
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Marius

Netherlands
21 Posts

Posted - Feb 13 2013 :  10:41:38  Show Profile  Reply
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

fab

1310 Posts

Posted - Feb 16 2013 :  10:10:26  Show Profile  Reply
I'm sorry, ImageEn does not support DICOM writing, at the moment.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: