Convert NDPI to PFM

Turn NDPI images into PFM. An overview of the whole slide is read, at most 4096 pixels on its longer side; a smaller slide keeps its own size.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

A float image from a slide scan.Each color is a 32-bit float, stored uncompressed in one PFM file.

  1. What you get

    One PFM file. It is a Portable Float Map, where each color is a 32-bit float and nothing is compressed.

    The values keep their original 8- or 16-bit scale. They run up to 255 or 65535 rather than from 0 to 1, so a program that expects 0 to 1 needs to scale them.

  2. What to expect from size

    An NDPI file holds a full-resolution pyramid, and that is far too large to fit in one picture. The output is a single image, so it does not hold the whole pyramid.

NDPI and PFM.What each format is.

The formats

From · NDPI

Hamamatsu NDPI

Whole-slide microscopy images from Hamamatsu scanners.

Extensions
.ndpi
MIME type
image/x-ndpi
Kind
Images
To · 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

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

terminal
$ cv convert photo.ndpi photo.pfm
$ cv convert photo.ndpi photo.pfm

Questions.What people ask about NDPI to PFM.

01OF 04

No. They keep the 8- or 16-bit scale of the source, so they go up to 255 or 65535.

No. Each color is stored as an uncompressed 32-bit float.

One file. The conversion gives a single PFM.

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