[Qt-interest] 16-bit grayscale images

Judy Duncan jduncan at duncanimaging.com
Sun Apr 26 19:50:06 CEST 2009


I need to manipulate and display 16-bit grayscale images in an application.
something fairly common with scientific data.  I have been studying QImage,
QPixMap, and other graphics support in Qt and am not finding (or perhaps
just not recognizing) what I need.  None of the supported image formats I
see in the documentation will support high-bit depth, single channel images.


 

Displaying high-bit depth data is always sticky because you have to settle
on some mapping of the high-depth data to the (usually 8-bit) depth of the
screen.  Based on what I've seen in the docs I'm thinking I may have to
create my own data buffer and then map the pixels into an 8-bit grayscale
image.  Any suggestions, or easiest Qt approach for doing this?  As an
alternative, does anyone recommend a particular 3rd party plug-in? I'm
hesitant to go the 3rd party direction due to deadlines and the risks of an
unknown package - but if it comes with recommendations, it could save some
time.

 

Thanks in advance to all you incredibly helpful people.

 

Judy

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090426/088c3350/attachment.html 


More information about the Qt-interest-old mailing list