View Full Version : How to display 16 bit image in QGraphicsview
VISHNU T
6th October 2016, 14:45
I am working in radiologycal image procewssing.In this i am having 16 bit image and my monitor display capacity also 16 bit so how to display my image using Qgraphicsview.
Thanks in advance
d_stranz
6th October 2016, 17:47
Add a QGraphicsPixmapItem to your QGraphicsScene. If your image is in DICOM format, there is LGPL-licensed code available (http://qtdcm.gforge.inria.fr/) for reading it into QImage, which you then convert into a QPixmap for display. If it is in some other format, Qt may support it already (built-in or using an image plugin) or you can ask your friend Google for help.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.