Search found 5 matches
- Thu, 2018-10-25, 03:02
- Forum: DCMTK - General
- Topic: Failed to convert to presentation image via dcmpsmk
- Replies: 1
- Views: 1453
Failed to convert to presentation image via dcmpsmk
I received a few mammograms for research. However, these mammogram dicom images are for-processing, so they look quite dark and not optimized for on-screen display. I'm not able to get the paired for-presentation images. So I'm trying to convert them to for-presentation images. I'm trying to use the...
- Fri, 2015-01-09, 10:48
- Forum: DCMTK - General
- Topic: Display a dicom image
- Replies: 3
- Views: 3465
Re: Display a dicom image
Hi, Michael, I displayed the loaded image, which is only part of the original one. Do you have any idea?Michael Onken wrote:Hi,
probably you just loaded the wrong file ?
Best,
Michael
Thanks
Kyle
- Fri, 2015-01-09, 05:08
- Forum: DCMTK - General
- Topic: Display a dicom image
- Replies: 3
- Views: 3465
Display a dicom image
I have read a dicom image using the codes: #include "dcmtk/config/osconfig.h" #include "dcmtk/dcmimgle/dcmimage.h" int main(int argc, char *argv[]) { DicomImage *image = new DicomImage("test.dcm"); if (image != NULL) { if (image->getStatus() == EIS_Normal) { if (image->...
- Fri, 2015-01-09, 03:25
- Forum: DCMTK - General
- Topic: DCMTK problems in visual studio (c++) under windows 64bit
- Replies: 2
- Views: 4218
Re: DCMTK problems in visual studio (c++) under windows 64bi
I have figured out the solution: Character Set need to be "Not Set" since dcmtk doesn't support unicode as described in the document. Now comes the new problem, how can I display the image? Notice that Uint8 *pixelData = (Uint8 *)(image->getOutputData(8 /* bits */)); so pixelData should be...
- Thu, 2015-01-08, 20:55
- Forum: DCMTK - General
- Topic: DCMTK problems in visual studio (c++) under windows 64bit
- Replies: 2
- Views: 4218
DCMTK problems in visual studio (c++) under windows 64bit
I followed the instruction to compile and install the dcmtk, then tested the codes below: #include "dcmtk/config/osconfig.h" #include "dcmtk/dcmimgle/dcmimage.h" int main(int argc, char *argv[]) { DicomImage *image = new DicomImage("test.dcm"); if (image != NULL) { if (...