I have a dicom image which has multiple frames.
I'm trying to convert the image to multiple bitmaps.
What is the best way to achieve this?
dcm2pnm.exe +Fa +ob TEST29 out.bmp
returns this:
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 in advance,
Much apprieciated.
Getting DCM2PNG to work for images with multiple frames.
Moderator: Moderator Team
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
Try dcmj2pnm since the image probably uses JPEG compression.
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
You need to register the Decoders not the Encoders (see source code of dcm2pnm.cc and examples for module dcmjpeg ).
Who is online
Users browsing this forum: Google [Bot] and 1 guest