bettar / miele-lxiv

DICOM Viewer 64-bit fully open source
https://itunes.apple.com/us/app/miele-lxiv/id988332475
GNU General Public License v3.0
110 stars 30 forks source link

Bit Depth Display/Image Compression #102

Open ghost opened 8 months ago

ghost commented 8 months ago

Looking at TEE images, it seems that the image displaed in Miele is extremely compressed or is being shown at a lower bit depth than the image was acquired. This only seems to apply to cine acquisitions...not individual image acquisitions. See screenshots attached below. Top image is Miele, bottom is in a web viewer. Images are from same acquisition. I have all image compression turned off in the General settings.

Screenshot Miele-lxiv Screenshot PACS Web Viewer
ghost commented 8 months ago

Also want to note that when using a demo version of Osirix that this issue does not exist.

bettar commented 8 months ago

Honestly, to my untrained eyes from those screenshots alone I cannot perceive a clear difference in quality, also my guess is that you are not showing the same "frame" of the series, which makes it harder to compare. Finally, are we sure that the same WL/WW is used for both ?

ghost commented 8 months ago

They are literally a few frames off...I'm trying to scroll on a web viewer so it's not a precise. The large dark chamber in the middle of the screen is the Left Atrium, but the amount of gray in that dark space should be equal on both. Looking at both images, you can notice there are more shades of gray on the lower image than the top image. Yes, the same WL/WW is used...but even when trying to manual adjust the WW (which would increase the amount of gray values), I can't ever get it where it should be. Opening this in Osirix or even Horos has no issues whatsoever.

bettar commented 8 months ago

Also, try changing the settings in Preferences, Viewers, Miscellaneous, "No interpolation for zoom" which might make it look better or worse for you. It will smooth out the pixels giving the impression of higher resolution.

bettar commented 8 months ago

Opening this in Osirix or even Horos has no issues whatsoever.

I don't know if it accounts for the differences you are perceiving, but it's worth saying that Miele-LXIV is rendering images with OpenGL Core (4.1) while Horos uses OpenGL Legacy (2.1). I am not sure about OsiriX because they are no longer open source, but when they were open source they were also using Open GL Legacy.

bettar commented 8 months ago

Opening this in Osirix or even Horos has no issues whatsoever.

To help me understand what the real issue is, can you provide comparative screenshots, this time using the same frame number ?