Viewers icon indicating copy to clipboard operation
Viewers copied to clipboard

Lossy JPEG is not decompressed properly

Open vicOnGit75 opened this issue 7 years ago • 6 comments

DICOM image with Color Presentation YBRFull422 and lossy jpeg transfer syntax produces wrong iges after decompression- ~ gray biased to green/blue

vicOnGit75 avatar Jun 03 '19 12:06 vicOnGit75

Can you provide steps to reproduce this issue? Can you stand up a minimal example using a separate GitHub repository, CodeSandbox, or Codepen? What version are you using? Do you have side-by-side comparisons if the image in a known good viewer? (IE. Osirix)

dannyrb avatar Jun 03 '19 12:06 dannyrb

Was reproduced vs osimis/orthanc docker container after uploading few US (Echo) DICOM images with mentioned compression.Checked that there is no problem with non compressed syntax or with lossless Jpeg( gray images)

Screenshots attached below:

target actual

vicOnGit75 avatar Jun 03 '19 14:06 vicOnGit75

Looks like the problem was on server side- image arrived already decompressed. Sorry for misleading.

vicOnGit75 avatar Jun 03 '19 16:06 vicOnGit75

Glad you have sorted the issue out! Did you mean to re-open this?

swederik avatar Jun 04 '19 06:06 swederik

I didn't mean to reopen it- looks that the problem is not on OHIF side... Thanks, Victor

On Tue, Jun 4, 2019 at 9:27 AM Erik Ziegler [email protected] wrote:

Glad you have sorted the issue out! Did you mean to re-open this?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/OHIF/Viewers/issues/512?email_source=notifications&email_token=ADJFLMQZQ6347LI242E64FTPYYDL7A5CNFSM4HSHO4AKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODW3RTIY#issuecomment-498538915, or mute the thread https://github.com/notifications/unsubscribe-auth/ADJFLMQXUNVTRTJXRL6IPSTPYYDL7ANCNFSM4HSHO4AA .

vicOnGit75 avatar Jun 04 '19 08:06 vicOnGit75

@vicOnGit75 Can you elaborate how you solved the issue it on Orthanc? Also is it a similar issue to what I encountered in this post? https://github.com/OHIF/Viewers/issues/1361

jeffmartina avatar Jun 27 '20 13:06 jeffmartina