Convert DCM to PFM
Turn DCM images into PFM. 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
Float pixels from a medical scan.A DICOM image becomes a Portable FloatMap with 32-bit float colors.
What you get
One PFM file. Each color value is a 32-bit float, and the file is uncompressed.
The values keep the scale of the source, which is 8-bit or 16-bit. They run up to 255 or up to 65535, not from 0 to 1.
What it leaves behind
The patient and study tags are left out. The PFM holds the pixels only, so none of the tag data from the DCM file comes along.
Going the other way
To turn a PFM back into a DICOM image, use PFM to DCM. You can also browse every DCM conversion.
DCM and PFM.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 FloatMap
Floating-point pixels in the PNM family, used for HDR and depth maps.
- Extensions
- .pfm
- MIME type
- image
/x -portable -floatmap - Kind
- Images
In your code.The same DCM to PFM conversion through the API, for your app or your agent.
$ cv convert photo.dcm photo.pfm$ cv convert photo.dcm photo.pfmQuestions.What people ask about DCM to PFM.
They keep the 8- or 16-bit scale of the source, up to 255 or up to 65535. They are not rescaled to 0 to 1.
No. The patient and study tags are left out, and only the pixels are written.
No. It is uncompressed, with each color stored as a 32-bit float.
One file.