Results 1 to 2 of 2

Thread: How to display 16 bit image in QGraphicsview

  1. #1
    Join Date
    Oct 2016
    Qt products

    Default How to display 16 bit image in QGraphicsview

    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
    with regards
    Design ImageProcessing

  2. #2
    Join Date
    Jan 2008
    Alameda, CA, USA
    Thanked 808 Times in 797 Posts
    Qt products
    Windows Android

    Default Re: How to display 16 bit image in QGraphicsview

    Add a QGraphicsPixmapItem to your QGraphicsScene. If your image is in DICOM format, there is LGPL-licensed code available 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.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

Similar Threads

  1. Replies: 1
    Last Post: 18th October 2015, 12:06
  2. how to remove previous image to display new image in QImage
    By iswaryasenthilkumar in forum Newbie
    Replies: 6
    Last Post: 5th January 2015, 10:53
  3. Replies: 1
    Last Post: 18th January 2012, 10:00
  4. Display an image in a QGraphicsview
    By emilio in forum Newbie
    Replies: 8
    Last Post: 6th December 2011, 06:55

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.