Click here to Skip to main content
15,121,505 members

Comments by SolarNigerija (Top 2 by date)

SolarNigerija 19-Nov-12 18:54pm View
Yes true ;) I know about WPF, it supports 128bit floats, and 64bit RGB, ... I even have Leadtools Medical PACS Imaging license but would need deployment/project license, and all that is pain in a$$, also too huge overhead == too big final exe (and yes they are that crazy, I can't even make library and expose only calls to my functions, if under hood I use their SDK without new project/deployment license).
And I am doing it old fashion way. Pure statically linked MFC, and all other libraries (so far ~450kb in relese version - supporting most of dicom datasets with different compression methods,...). So I can drop exe on any PC without any other requirements, licenses, fees and other things that annoys ppl ;) And in same time useful tool for me, my colleagues, and other ppl. That looks similar to ACDSee, and able to view/edit pure RAW formats + dicom, and possible some other digital image formats in radiology + I want this app to be free ;)

Conversion to 8 bit is eminent if I wish to display it on standard display monitors. But still seeking any solution to preserve more original image information in presentation/preview (not diagnostic). Current state of display monitors in World is that only ~5% may display more than 1000 (10-bit) levels of gray but should start soon to change, so I tend to explore some tricks how to expand dynamic range of current display monitors as much as I can if possible. Might be very useful later.

Also 1hr ago tried using BT.709 constants to build conversion->8bit RGB LUT that could satisfy at least 2048 (11-bit) levels of gray (with shifting in middle tones 1 or 2 components of RGB by 1) to gain better dynamics.
But to be honest I don't see any difference on my monitor compared with linear 8bit grayscale conversion, need to try this on some better display monitors to see if there is some actual gain from human perspective.

In any case thanks I love ideas, good or wrong,
just throw them all at me I always find something useful in them ;)
SolarNigerija 17-Nov-12 22:30pm View
So to put it simply two images is the only solution ?
- original 16-bit image in memory (and only in memory, all processing done on this image)
- cloned original 16-bit image as representation in 8-bit (less memory consummation) for displaying purposes only (is it faster or slower from 24/32 bit?, I guess I'll start using HighPerformanceCounter sooner than later)

I wonder how Adobe solved this problem in PS.
as I can load this raw images with "Open as -> Adobe RAW".

PS: final option would be Matrox Medical Grade GFX which is not a targeted client GFX (much less display), as app would work only on those GFX cards ;)