Convert NDPI to ALTO

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

Text from a slide, as ALTO XML.One NDPI file becomes one ALTO file with the position and confidence of every word.

  1. What you get

    One ALTO XML file. ALTO is OCR output in the XML that libraries and newspaper archives use, with the position and confidence of every word on the page.

    The source is a Hamamatsu NDPI file, a whole-slide microscopy image from a Hamamatsu scanner.

  2. What changes

    The full-resolution pyramid of an NDPI file is far too large for one picture. The conversion gives you a single file, not one file per level.

  3. Setting the language

    Set Language to the languages the text is in, so OCR knows which letters to expect. Without it the text is read as English, so letters such as é, ß and ł come out wrong and other scripts, such as Cyrillic, Arabic, Thai, Korean or Chinese, are not read.

    Separate several languages with commas, such as fr,en.

NDPI and ALTO.What each format is, and the options this conversion takes.

  1. 01 · language

    Language

    The languages the text is in, so OCR knows which letters to expect. Without it the text is read as English, so letters such as é, ß and ł come out wrong and other scripts, such as Cyrillic, Arabic, Thai, Korean or Chinese, are not read. Separate several with commas, such as fr,en.

The formats

From · NDPI

Hamamatsu NDPI

Whole-slide microscopy images from Hamamatsu scanners.

Extensions
.ndpi
MIME type
image/x-ndpi
Kind
Images
To · ALTO

ALTO XML

OCR output in the XML that libraries and newspaper archives use, with the position and confidence of every word on the page.

Extensions
.alto.xml
MIME type
application/x-alto+xml
Kind
Text and data

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

terminal
$ cv convert photo.ndpi photo.alto.xml
$ cv convert photo.ndpi photo.alto.xml

Questions.What people ask about NDPI to ALTO.

01OF 04

One. The result is a single ALTO XML file.

The text that OCR reads, with the position and confidence of every word on the page.

Without Language, the text is read as English. Set Language to the right languages, such as fr,en, so OCR knows which letters to expect.

Yes, when you set Language to match. Without it, those scripts are not read.

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