DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Sat, 2017-09-23, 19:10

All times are UTC + 1 hour


Search found 4 matches
Search these results:

Author Message

 Forum: DCMJP2K   Topic: Creating uncompressed image from JPEG 2000 stream

Posted: Tue, 2015-09-15, 22:01 

Replies: 2
Views: 7956


Thank you for this solution. I now ensure the data I use begins at the JPEG 2000 codestream by searching for: const std::string jp2k_data("FF4F"); (And ends at FFD9.) I then insert the offset table to the pixel sequence: DcmPixelItem *offsetTable = new DcmPixelItem(DcmTag(DCM_Item, EVR_OB)...

 Forum: DCMJP2K   Topic: Creating uncompressed image from JPEG 2000 stream

Posted: Thu, 2015-09-10, 18:49 

Replies: 2
Views: 7956


I have a JPEG 2000 byte stream, which, if I dump to disk with a 'jp2' extension, reads as a JPEG image. I'd like though to create an uncompressed (EXS_LittleEndianExplicit) DICOM file. So far, I can only create a compressed Dicom file, which reads in fine in Matlab, but gives the following error usi...

 Forum: DCMTK - General   Topic: Decompress a JPEG DICOM image starting from PixData

Posted: Wed, 2015-09-09, 18:08 

Replies: 15
Views: 4141


Actually, I have the solution: just use the insertEncapsulatedPixelData private method as an example of how to do this.

 Forum: DCMTK - General   Topic: Decompress a JPEG DICOM image starting from PixData

Posted: Tue, 2015-09-08, 21:37 

Replies: 15
Views: 4141


You have to create a DcmPixelSequence, insert the pixel items with the JPEG data (the first item always contains the basic offset table), and then use DcmPixelData::putOriginalRepresentation() to put the pixel sequence to the DICOM PixelData element. Code examples can be found both in "dump2dc...
Sort by:  
Page 1 of 1 [ Search found 4 matches ]


All times are UTC + 1 hour


Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group