VHWINDOW

VisionX V4
NAME

vhwindow − window a DICOM CT image to a byte image

SYNOPSIS

vhwindow [if=infile] [of=ofile] [-v] [ch=] [cl=] [w=] [l=] [p=] [i=]

DESCRIPTION

Vhwindow windows a DICOM short integer image into a byte image. The window may be specificed in several ways. First it may be specified by a window (w=) and level (l=) paramters. Second it may be specified by high (ch=) and low (cl=) clip values. Third is may be set to a preset (p=) which implements the preset windows in vdview: lung, abd, byte, etc. The numerical window parameters are in houndsfield units (HU).

By default vhwindow requires a DICOM image and the interecpt is taken from the DICOM header. If an explicit intercept is specified (i=) then a DICOM header is not required (program works on processed images) and if present is ignored.

CONSTRAINTS

Currently only images in short integer format are supported.

OPTIONS

-v

The verbose option prints the windowing parameters. prior to execution.

if=<fname>

specifies the input DICOM image file name.

of=<fname>

This specifies the output file name

cl=<value>

This option sets the low value for the input window

ch=<value>

This option sets the high value for the input window

w=<value>

This option sets the window size. If the window is set to 1 then the operation is a threshold as specified by the level.

l=<value>

This option sets the level value.

p=<name>

This option sets a predefined window setting. Currently defiend windows are: lung, abd, head, bone, byte and nod.

i=<name>

This option explicity sets the intercets and ignore the DICOM header. By settimg i=0 non-dicom images may be windowed.

AUTHOR

A. P. Reeves

SEE ALSO

vdview(1)