logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

gdcm2pnm - off-screen rendering of DICOM images

Author

MathieuMalaterre
           Main developer

Description

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

Name

       gdcm2pnm - off-screen rendering of DICOM images

Options

specificoptionsgeneraloptions
             -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

Parameters

           file-in   DICOM input filename

           bitmap-out  Bitmap output filename

See Also

gdcm2vtk(1), gdcmimg(1)

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.

Synopsis

           gdcm2pnm [options] file-in bitmap-out

See Also