Search found 5 matches

by PandOS
Wed, 2018-05-30, 10:58
Forum: DCMTK - General
Topic: Image output
Replies: 2
Views: 1983

Re: Image output

J. Riesmeier wrote:DicomImage::getOutputData() does not always return RGB pixel data, e.g. in case the DICOM image is monochrome. Also padding and the like is not as expected by the Windows API. I would therefore suggest that you use DicomImage::createWindowsDIB() instead.
Thank you so much! Understood now.
by PandOS
Wed, 2018-05-30, 09:48
Forum: DCMTK - General
Topic: Image output
Replies: 2
Views: 1983

Image output

Good afternoon! Can not output image .. Help please void MainDlg::OnOpen() { CFileDialog fileDlg(TRUE, NULL, (CString)"*.dcm"); INT_PTR result = fileDlg.DoModal(); if (result==IDOK) { CString str1 = fileDlg.GetPathName(); char *str; str = str1.GetBuffer(str1.GetLength()); str1.ReleaseBuffe...
by PandOS
Mon, 2018-05-07, 19:31
Forum: DCMTK - General
Topic: Image display
Replies: 4
Views: 6541

Re: Image display

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!
by PandOS
Mon, 2018-05-07, 11:25
Forum: DCMTK - General
Topic: Image display
Replies: 4
Views: 6541

Re: Image display

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 neces...
by PandOS
Mon, 2018-05-07, 09:35
Forum: DCMTK - General
Topic: Image display
Replies: 4
Views: 6541

Image display

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!