Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Wed, 2018-08-15, 21:54

All times are UTC + 1 hour

Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Fri, 2010-08-13, 17:13 

Joined: Fri, 2010-08-13, 16:52
Posts: 2

I have a question related to the compression of signed pixel data with lossless jpeg. Offis brings the pixeldata in the unsigned range before the compression, modifies the Modality LUT, and sets the PixelRepresentation to unsigned.

My question is if it is legal to have image compressed with JPEG Lossless having signed PixelRepresentation, and how should it be decoded?

I can think of two different ways of decompression of such images:
- considering that after decompression the pixel data is already signed (that would mean that the compression rate is horrible, because small differences between signed values around 0 (as 0xffff and 0) would be seen as huge differences)
- or considering that pixeldata was brought to the unsigned range for better compression rate, so that i have to substract 0x8000 (or maybe 2^HighBit ?) to obtain the original pixel data.


Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group