Convert PFM to DCM

Turn PFM images into DICOM. Values from 0 to 1 are shown as black to white without a brightness curve, and values outside that range are clipped, so depth or disparity maps need scaling first.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop PFM files on the dialor turn it to pick what to do

A DICOM image from a floating-point map.The pixels become an uncompressed 8-bit DICOM secondary capture image.

  1. What you get

    One DCM file with the same pixels as the PFM, at 8 bits per channel. The image is stored as an uncompressed DICOM secondary capture image.

    Values from 0 to 1 are shown as black to white, with no brightness curve applied.

  2. What changes

    Values outside the range of 0 to 1 are clipped. A depth or disparity map needs scaling first, before you convert it.

    The patient and study fields are left empty. New study, series and image IDs are made up, so the file does not carry any identity from the source.

PFM and DCM.What each format is.

The formats

From · PFM

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
To · DCM

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

In your code.The same PFM to DCM conversion through the API, for your app or your agent.

terminal
$ cv convert photo.pfm photo.dcm
$ cv convert photo.pfm photo.dcm

Questions.What people ask about PFM to DCM.

01OF 04

Yes, but scale them first. Values outside 0 to 1 are clipped, so the map needs to be scaled before you convert it.

No. The patient and study fields are left empty. The study, series and image IDs are new ones that are made up.

Yes. The pixels are written at 8 bits per channel as an uncompressed DICOM secondary capture image.

Yes, with DCM to PFM. See also every DCM conversion for the other options.

More conversions.Other ways in and out of PFM and DCM.