Convert NDPI to DXF

Turn NDPI images into DXF. 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

Slide tones traced into a DXF drawing.Darker areas become outlines in one DXF file, in pixel units.

  1. What you get

    One DXF drawing. The picture is split into darker and lighter tones at the level that best separates them, and the darker areas are traced into outlines. Clear areas count as white.

    The drawing is in pixel units, so its coordinates follow the picture's pixels.

  2. What it leaves behind

    Colors. Only the split between dark and light is kept, so the result has no color information.

    Logos, line art and scanned drawings trace cleanly. Photos, small text and tiny icons come out rough.

    The full-resolution pyramid is far too large for one picture.

  3. When it fails

    A picture of one flat tone has nothing to trace, and the conversion stops with unsupported_elements. A white logo on a clear background is an example, because clear areas count as white.

NDPI and DXF.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 · DXF

AutoCAD DXF

AutoCAD's drawing exchange format. Vector geometry that CAD programs share.

Extensions
.dxf
MIME type
image/vnd.dxf
Kind
Documents

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

terminal
$ cv convert photo.ndpi photo.dxf
$ cv convert photo.ndpi photo.dxf

Questions.What people ask about NDPI to DXF.

01OF 04

No. Colors are dropped. The drawing holds outlines of the darker areas only.

Logos, line art and scanned drawings trace cleanly. Photos, small text and tiny icons come out rough.

The picture is one flat tone, so there is nothing to trace. A white logo on a clear background is one case.

You get one DXF file.

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