gdcm2pnm(1)

gdcm2pnm1

Off-screen rendering of dicom images

Usage

gdcm2pnm [options] file-in bitmap-out

Overview

The gdcm2pnm command line program takes as input a DICOM file and produces a rendered bitmap file.

Parameters

file-in   DICOM input filename
bitmap-out  Bitmap output filename

Options

specific options


    

general options

  -h   --help
         print this help text and exit
  -v   --version
         print version information and exit
  -V   --verbose
         verbose mode (warning+error).
  -W   --warning
         warning mode, print warning information
  -E   --error
         error mode, print error information
  -D   --debug
         debug mode, print debug information

Simple usage

gdcm2pnm will take as input DICOM and render it into a bitmap file using the window/level attributes value.

$ gdcm2pnm input.dcm output.png

It is much different from the gdcmraw or gdcmimg command line tool as it will render a DICOM image. This means that the output will be rendered in 8bits ready for display.

Releases

7 releases since Debian 7 (Wheezy); the text changed 6 times.

  1. 7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12
  7. 13

Author

Mathieu Malaterre

Main developer

From libvtkgdcm-tools 3.0.24-5+b3 in Debian 13 (Trixie). Parsed by carta from the page's man source.