.TH "gdcmviewer" 1 "Mon Sep 5 2016" "Version 2.4.4" "GDCM" \" -*- nroff -*- .ad l .nh .SH NAME gdcmviewer \- Simple DICOM viewer\&. .SH "SYNOPSIS" .PP .PP .nf gdcmviewer [options] file-in .fi .PP .SH "DESCRIPTION" .PP The \fBgdcmviewer\fP is a simple tool that show how to use \fBvtkGDCMImageReader\fP\&. The class that use gdcm to make a layer to VTK\&. \fBgdcmviewer\fP is basically only just a wrapper around VTK/GDCM\&. .PP This tool is meant for testing integration of GDCM in VTK\&. You should see it as a demo tool\&. It does compile with VTK ranging from 4\&.2 to 5\&.10, but only with VTK 5\&.2 (or above) can play with the widgets (as described below)\&. .SH "PARAMETERS" .PP .PP .nf file-in DICOM input filename .fi .PP .SH "OPTIONS" .PP .SS "OPTIONS" .PP .nf --force-rescale force rescale (advanced users) --force-spacing force spacing (advanced users) -r --recursive Recusively descend directory .fi .PP .SS "general options" .PP .nf -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 .fi .PP .SH "Typical usage" .PP .SH "Simple usage" .PP For now gdcmviewer should be started from a command line prompt\&. The next argument should be the name of the DICOM file you wish to read\&. For instance: .PP .PP .nf $ gdcmviewer -V 012345.002.050.dcm .fi .PP .PP gdcmviewer will try to read your file, and then print the vtk information associated with this file\&. Basically what kind of image you are looking at\&. .PP .PD 0 .IP "\(bu" 2 ScalarType is the DICOM Real World Value type .IP "\(bu" 2 Dimensions is the dimension of the image .IP "\(bu" 2 Spacing is the spacing of the image .IP "\(bu" 2 NumberOfScalarComponents should be 1 for grayscale & PALETTE COLOR and 3 for RGB, YBR data\&. .PP .SH "Wiki Link" .PP The wiki page, with color pictures can be found at: http://gdcm.sourceforge.net/wiki/index.php/Gdcmviewer .SH "SEE ALSO" .PP \fBgdcmdump\fP(1), \fBgdcm2vtk\fP(1) .SH "COPYRIGHT" .PP Copyright (c) 2006-2011 Mathieu Malaterre