Results 1 to 2 of 2

Thread: How to display 16 bit image in QGraphicsview

  1. #1
    Join Date
    Oct 2016
    Posts
    1
    Qt products
    Qt5
    Platforms
    Windows

    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
    VISHNU T
    Design ImageProcessing

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,229
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    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, 13: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, 11:53
  3. Replies: 1
    Last Post: 18th January 2012, 11:00
  4. Display an image in a QGraphicsview
    By emilio in forum Newbie
    Replies: 8
    Last Post: 6th December 2011, 07:55

Tags for this Thread

Bookmarks

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.