Convert DCM to TXT

Turn DCM images into TXT. 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

Text read from a DICOM image.Only words that appear in the picture are kept. Everything else is dropped.

  1. What you get

    One TXT file with the text found in the DICOM image. It is plain text with no formatting.

    The text is read from the pixels with OCR, so the result depends on there being readable text in the picture.

  2. What it leaves behind

    Layout, tables and pictures are dropped. Only the text remains.

    The patient and study tags stored alongside the pixels are left out. They do not appear in the TXT file.

    If the picture has no readable text, the conversion stops with unsupported_elements.

  3. Language option

    Set Language to the languages the text is in, so OCR knows which letters to expect. This matters most for Korean, Japanese and Chinese. Separate several languages with commas, such as en,ko.

DCM and TXT.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 · 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
To · TXT

Plain Text

Plain text with no formatting at all. The smallest, most portable form of a document.

Extensions
.txt .log
MIME type
text/plain
Kind
Text and data

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

terminal
$ cv convert photo.dcm photo.txt
$ cv convert photo.dcm photo.txt

Questions.What people ask about DCM to TXT.

01OF 04

No. The patient and study tags are left out. Only text read from the picture is kept.

The picture has no readable text. The conversion stops with this code in that case.

No. Layout, tables and pictures are dropped, and the output is plain text.

Set Language to the right language, such as ko. To name more than one, separate them with commas, such as en,ko.

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