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 »

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 »

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 »

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: 2501
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: Image display

#4 Post by J. Riesmeier »

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 »

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: Ahrefs [Bot] and 1 guest