Image display

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
PandOS
Posts: 5
Joined: Mon, 2018-04-23, 08:33

Image display

#1 Post by PandOS » Mon, 2018-05-07, 09:35

Good day! Just started to study this library. Is it possible to display an image from the dicom format without foreign libraries? On the C ++ Win32 project.


Thank you!

Jan Schlamelcher
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 318
Joined: Mon, 2014-03-03, 09:51
Location: Oldenburg, Germany

Re: Image display

#2 Post by Jan Schlamelcher » Mon, 2018-05-07, 11:15

As long as you can create a Window that allows displaying the image (e.g. render RGB pixel data), this should be possible. I would perhaps use something like QT in addition, though (for making the software portable to other operating systems etc.).

PandOS
Posts: 5
Joined: Mon, 2018-04-23, 08:33

Re: Image display

#3 Post by PandOS » Mon, 2018-05-07, 11:25

Jan Schlamelcher wrote:As long as you can create a Window that allows displaying the image (e.g. render RGB pixel data), this should be possible. I would perhaps use something like QT in addition, though (for making the software portable to other operating systems etc.).
Instead of prompt what function to use it is necessary?

J. Riesmeier
DCMTK Developer
Posts: 2297
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: Image display

#4 Post by J. Riesmeier » Mon, 2018-05-07, 14:20

The DicomImage class provides various methods that create rendered pixel data, e.g. getOutputData(). Also see the module's documentation for a very simple code example.

PandOS
Posts: 5
Joined: Mon, 2018-04-23, 08:33

Re: Image display

#5 Post by PandOS » Mon, 2018-05-07, 19:31

J. Riesmeier wrote:The DicomImage class provides various methods that create rendered pixel data, e.g. getOutputData(). Also see the module's documentation for a very simple code example.
Thank you!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest