horosproject / horos

Horos™ is a free, open source medical image viewer. The goal of the Horos Project is to develop a fully functional, 64-bit medical image viewer for OS X. Horos is based upon OsiriX and other open source medical imaging libraries. Horos is made freely available under the GNU Lesser General Public License, Version 3 (LGPL-3.0). Horos is linked against the Grok JPEG 2000 library, for fast viewing of JPEG 2000 images. This library is licensed under the terms of the GNU Affero General Public License.
http://www.horosproject.org
Other
464 stars 142 forks source link

Carestream Trophy Panoramic images #716

Open leonardorame opened 1 year ago

leonardorame commented 1 year ago

Hi, I'm looking to solve an issue that shows on almost all OpenSource viewers (Weasis, CornerstoneJs and DCMTK library), but in Horos is fixed!.

The issue is related to images generated by Carestream Trophy dental equipments, on Panoramic images. They show too bright.

You can take a look at my analysis here: https://github.com/nroduit/Weasis/discussions/335

Can you help me with this?, or better yet, point me to the source code that applies the correct VOI (or algorithm) to correctly display these images.

Regards, Leonardo.

aglv commented 1 year ago

any chance you could send me one of these files? I could try and figure out how Horos decides to use the 127/255 wl/ww, and how it gets to display it the way we assume is correct... Please send me one of these DICOM files at breaks-07vibrant@icloud.com

leonardorame commented 1 year ago

Hi @aglv, I've sent a sample image to your email, please confirm receipt.

aglv commented 1 year ago

@leonardorame In the Weasis forum you say Horos displays the image exactly like the acquisition software. I was only able to get an image close to that by applying the Opacity: Smooth Table adjustment. Is this how you got to show it correctly? Otherwise, without adjustments, Horos shows it like the other screenshots you put.

leonardorame commented 1 year ago

@aglv, you are right, the issue seems to be more complex than I originally thought. I got confused because the samples I received where taken in the same site, but using two different modalities.

Today I'll open the same study with the Carestream application and bring back the results.

nroduit commented 1 year ago

I found orthopantomograms produced by a Carestream modality and they have Window/Level values in the standard DICOM attributes.

The best approach to solve this problem is to modify the acquisition configuration to have Window/Level values or a VOI LUT in the standard DICOM attributes. It is up to the vendor to produce a correct file and not to the DICOM viewers to adapt to all the proprietary information (this is the primary objective of DICOM). Otherwise, the windowing has to be adjusted in the viewer.