Hi.
Few days ago I was forced to introduce compression of images due to dwindling free space on our HDDs.
So far I ran into 2 issues and after 2 days of debugging attempts I just ran out of ideas and decided to ask smarter people for help... hence this post.
____________________
Lets start with some environment details:
- 5 diagnostic machines ( 2x MRI, 2x CT, 1x USG), all sending images to 3 dgates (on 3 different ports) on one server.
- soft version 1.4.17c
- all incoming images are compressed using j2 ( dicom.ini: "IncomingCompression = j2")
_____________________
Issue nr 1:
MOST of studies an just fine... but sadly few of them are not and by "few" I mean 3 out of 100ish.
In 1st study there are 2 images (different series) which look like there was some problem in the middle of compression.. upper part of image is fine but lower is garbage.
In 2nd study there are 4 images (same series) of which 2 look like 'compression went wrong' and 2 look like they do not belong to this study.
In 3rd study there is 1 image that just does not belong there. This study was of a HEAD.. and 1 of images shows CHEST.
How an image from completely different study landed inside another study is a mystery I just cant solve.
Those 'alien' images have all tags of the study they landed in (I mean patient name/machine name, date etc.. all).
Resending the study to the server fixes the issue, so the study itself is OK.
No log entries indicate any problems. I looked everywhere.. dicom logs, system logs, database logs. Everything looks fine.
20131206 09:18:47 Written file: f:\Data\50082507638\1.3.12.2.1107.5.1.4.54058.30000013120907061896800003599_0008_000043_1386577127073c.dcm
20131206 09:18:47 [recompress]: recompressed with mode = j2 (strip=0)
And that's it... no errors.
Please help. I have absolutely no idea how this is happening. I suspect it might be related to the amount of incoming images at the same time... but the amount of devices sending them did NOT change. All I did was turning on the j2 compression.
____________________
Issue nr 2 (unrelated to nr 1, or at least I think so)
I was experimenting with how the dicom viewer ( Merge EFILM in this case) will handle compressed images.
Images are already compressed on the server (with j2).
When I use the 'un' for outgoing images everything is fine, so decompressing on the fly works.
When I use 'j2' for outgoing images (by setting it in a arcnema.map) all I get on EFILM is garbage. Every single image looks like random black and white pixels.
At first I thought it's a bug in the viewer but then I consulted their support team and they told me something like this:
Quote
There was a problem with transfer syntax UID - it was set to IMPLICIT_LE, but the incoming pixels were compressed. We edited it manually to .70 and then the study was displayed just fine. To put it simply - it looks like the server told us that images will be uncompressed but sent us compressed ones (with wrong tag)
____________________
For me 2nd one is minor.. It's just a slight performance issue on server side (decompressing on the fly).. but the first one just kills me