Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dctopgx(1) [debian man page]

DCTOPGX(1)						DICOM PS3 - DICOM image to PGX file						DCTOPGX(1)

NAME
dctopgx - ACR/NEMA DICOM PS3 ... DICOM PS3 - DICOM image to PGX file SYNOPSIS
dctopgx [ -v|verbose ] [ -quiet|silent ] DESCRIPTION
dctopgx reads the named dicom or acr-nema input file and copies the raw image pixel data to a PGX file as used for the JPEG 2000 Verifica- tion Model. A PGX file contains of a single text header line of the form "PG <byte order> [+|-]<bit-depth> <cols> <rows> immediately by the raw binary data. There may be 1, 2 or 4 bytes per sample corresponding to bit depths from 1 to 32. Byte order is "LM" (little endian) or "ML" (big endian). The signed or unsigned pixel representation is indicated by '+' or '-' character before the bit depth. If the '+' is omitted, unsigned is implied. The input file must be unencapsulated. PGX supports big or little endian byte order in the case of > 8 bit data. The output byte order is always in the same as the input, since the raw bytes are copied from input to output without any conversion. Use dccp(1) first to change the encoding if necessary. PGX also supports signed data, so the Pixel Representation of the input is used to specify whether the output is signed or unsigned. OPTIONS
The PGX output goes where it is specified or standard out. The verbose output goes to standard error. The basic input switches are described in dcintro(1). Options specific to this program are: -quiet|silent Suppress the normal description of image parameters. -verbose Display byte offset from file start and message start, in hexadecimal, and dump contents while reading, once read, during replace- ment, and before writing. ENVIRONMENT
EXAMPLES
FILES
SEE ALSO
dccp(1), pnmtodc(1), dctopnm(1), rawtodc(1), dctoraw(1), dcintro(1) AUTHOR
Copyright (C) 1993-2010. David A. Clunie DBA PixelMed Publishing. All rights reserved. BUGS
DICOM PS3 04 March 1999 DCTOPGX(1)

Check Out this Related Man Page

DCSORT(1)					      DICOM PS3 - Make sorted list of images						 DCSORT(1)

NAME
dcsort - ACR/NEMA DICOM PS3 ... DICOM PS3 - Make sorted list of images SYNOPSIS
dcsort " inputfile1 [ inputfile2 ... ]" [ -v|verbose ] [ -vv|veryverbose ] [ -vvv|veryveryverbose ] [ -index ] [ -show ] [ -interval ] [ -tolerance mm ] [ -check ] [ -checkFoR ] [ -descending ] [ -sortby|k attributename ] DESCRIPTION
dcsort reads the named dicom input files and sorts them by the specified sort key. The sort key should be a single valued numeric attribute, with the exception of ImageOrientationPatient and ImagePositionPatient which are handled as special cases. There is no output by default unless the index or verbose options are specified. OPTIONS
The output and errors go to standard error. The basic input switches are described in dcintro(1). Options specific to this program are: -index Creates a first column of output that is the index in the sort order, starting from 0, and a second column that is the filename. -show Show the value of the sort key after the file name with the -index option -interval Show the interval between values of the sort key, or an error if not equal -tolerance mm The tolerance value in mm to use when comparing intervals between slices; defaults to +/- 0.01 mm if unspecified -check Check that all the images are from the same series. -checkFoR Check that all the images have the same Frame of Reference (UID). -descending Sort in descending, rather than the default ascending, order. -sortby|k attributename Specify attributename as the sort key. ENVIRONMENT
EXAMPLES
% dcsort -index -sortby SliceLocation ./1/[0-9]* 0 ./1/1 1 ./1/2 FILES
SEE ALSO
dcintro(1) AUTHOR
Copyright (C) 1993-2010. David A. Clunie DBA PixelMed Publishing. All rights reserved. BUGS
DICOM PS3 22 December 2006 DCSORT(1)
Man Page