Issue30

Title Bad colorspace if using OpenSlide
Priority bug Status resolved
Superseder Nosy List admin
Assigned To
Keywords Whole-slide imaging

Created on 2017-01-20.13:12:15 by admin, last changed by admin.

Files
File name Uploaded Type Edit Remove
unnamed.jpg admin, 2020-06-29.15:18:19 image/jpeg
Messages
msg125 (view) Author: admin Date: 2017-01-20.13:12:15
[BitBucket user: Sébastien Jodogne]
[BitBucket date: 2017-01-20.12:12:15]

From abdou.matthew@gmail.com on 2016-01-19:

After converting whole slide image files with the DICOMizer command line tool, the slide viewed in Orthanc's WSI web viewer (and those seen on the WSI demo site) are a deep purple instead of the usual H&E colors (pink/red & purple/blue). See attached photo (left side is normal H&E color of original WSI file, right side shows DICOMizer converted slide color interpretation).

This color interpretation is not accurate.

I believe this is due to the (PhotometricInterpretation) set as YBR_FULL_422 instead of RBG. I have tried using multiple (including RGB) icc color profiles with the DICOMizer, however all converted slides have the same deep purple result.

Is there a way to change the default DICOMizer conversion to use an RGB color interpretation/representation? How can I achieve accuracte color representation with the DICOMizer command line tool? Otherwise all DICOMizer converted slides will not be usable from a pathologist's standpoint. Thank you!

Matthew
msg126 (view) Author: admin Date: 2020-06-29.15:18:19
[Bugzilla user: s.jodogne@gmail.com]
[Bugzilla date: 2020-06-29T13:18:19+00:00]

Created attachment 85
unnamed.jpg
msg127 (view) Author: admin Date: 2017-01-20.13:17:07
[BitBucket user: Sébastien Jodogne]
[BitBucket date: 2017-01-20.12:17:07]

The problem was that the "R" and the "B" color channels were swapped when decoding images using OpenSlide.

This is fixed by the following changelist:
https://hg.orthanc-server.com/orthanc-wsi/changeset/16b8e1cc9bbfeec5c2cd4e601e6259edec5a0d85
History
Date User Action Args
2026-07-29 15:51:19admincreate