Could anyone please tell me, how can I convert a JPEG2000LosslessOnly DICOM image using DCMTK?
When I used dcm2pnm application, I got the following error message.
Code: Select all
D:\CT3S1>dcm2pnm.exe -v -d 3E36692D 1.bmp
reading DICOM file: 3E36692D
preparing pixel data.
ERROR: cannot change to unencapsulated representation for pixel data !
$dcmtk: dcm2pnm v3.5.4 2005-12-20 $
dcm2pnm: Convert DICOM images to PGM/PPM or BMP
error: Invalid data value
Thanks and Regards
Alvin