Thank you so much! Understood now.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.
Search found 5 matches
- Wed, 2018-05-30, 10:58
- Forum: DCMTK - General
- Topic: Image output
- Replies: 2
- Views: 1981
Re: Image output
- Wed, 2018-05-30, 09:48
- Forum: DCMTK - General
- Topic: Image output
- Replies: 2
- Views: 1981
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...
- Mon, 2018-05-07, 19:31
- Forum: DCMTK - General
- Topic: Image display
- Replies: 4
- Views: 6539
Re: Image display
Thank you!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.
- Mon, 2018-05-07, 11:25
- Forum: DCMTK - General
- Topic: Image display
- Replies: 4
- Views: 6539
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...
- Mon, 2018-05-07, 09:35
- Forum: DCMTK - General
- Topic: Image display
- Replies: 4
- Views: 6539
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!
Thank you!