Is it possible to use pdf2dcm and have pixel data in the image?

131 views
Skip to first unread message

joeymich...@gmail.com

unread,
Apr 27, 2022, 11:08:39 PM4/27/22
to dcm4che
Hello, 

As stated in the title, I was wondering if it was possible to use pdf2dcm using the dcm4che toolkit to create a dicom image from a pdf file, and have that file be viewable in a dicom viewer (such as weasis, OHIF,  Radiant, the magnifying glass in dcm4chee).

I've been able to create dicom images using the pdf2dcm tool and can see the image if i open it in this site: "https://rawgit.com/cornerstonejs/dicomParser/master/examples/encapsulatedPDF/index.html"

But the image is always blank/empty when using a different viewer such as the ones i stated above. The Dicom image is created with a SOPClassUID of DICOM Encapsulated PDF.

I've already succeeded in converting the PDF to JPEG and using jpg2dcm and this type of dicom image can be seen in dicom viewers normally. However, for some reasons regarding printing the dicom image (which is a report in this case) the format was requested to be a PDFDicom. Any help regarding this would be appreciated. 

Thank you

Reply all
Reply to author
Forward
0 new messages