Convert DCM to PNM
Turn DCM images into PNM. Only the first frame is read, its contrast stretched from the darkest to the brightest pixel rather than the window stored in the file.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop DCM files on the dialor turn it to pick what to do
A Netpbm picture from a DICOM scan.The pixels are the same. The file is uncompressed and large.
What you get
One PNM file with the same pixels as the DCM image. PNM is the simplest raster format, and it covers PBM, PGM and PPM.
The file is uncompressed, so it is large.
What it leaves behind
The patient and study tags are left out. A DCM file carries them alongside the pixels, and the PNM file holds only the picture.
If you need the tags, keep the original DCM file. PNM to DCM goes the other way, from a PNM picture back to a DCM file.
DCM and PNM.What each format is.
The formats
DICOM
Medical images from CT, MRI, X-ray and ultrasound, with the patient and study tags alongside the pixels.
- Extensions
- .dcm .dicom
- MIME type
- application
/dicom - Kind
- Images
Portable Anymap
Portable anymap images, the simplest raster format: PBM, PGM and PPM.
- Extensions
- .pnm .ppm .pgm .pbm
- MIME type
- image
/x -portable -anymap - Kind
- Images
In your code.The same DCM to PNM conversion through the API, for your app or your agent.
$ cv convert photo.dcm photo.pnm$ cv convert photo.dcm photo.pnmQuestions.What people ask about DCM to PNM.
No. The patient and study tags are left out. Only the picture is kept.
No. The PNM has the same pixels as the DCM image.
PNM is stored uncompressed. That makes the file large.
Yes. Each conversion produces one file.