NAME read CT slice - read a Computed Tomography (CT) data slice AUTHOR Greg Johnson San Diego Supercomputer Center SUMMARY Name read CT slice Type Input Inputs none Outputs field 2D 2-space scalar uniform Parameters Name Type Default Min / Max slice resolution in x typein "" unbounded slice resolution in y typein "" unbounded header size typein "3416" unbounded swap bytes toggle 0 0 / 1 filename browser "" unbounded DESCRIPTION The "read CT slice" module reads Computed Tomography slices in which each sample is represented by a 16-bit integer. This module assumes that the specified file contains one slice only. The CT data in a file may be preceded by a header of arbitrary size. This module ignores header information. INPUTS None. PARAMETERS slice resolution in x (typein) Specifies the width of the slice in terms of the number of sample points along the horizontal axis. slice resolution in y (typein) Specifies the height of the slice in terms of the number of sample points along the vertical axis. header size (typein) Specifies the number of bytes (comprising the slice header) that precede the actual CT sample points. swap bytes (toggle) Specifies that the two bytes representing each sample should be swapped as they are read in. This is to provide a means of avoiding platform byte-order dependencies. filename (browser) Specifies the pathname of the file containing the CT slice to read. OUTPUTS output (field 2D 2-space scalar uniform) An AVS field representation of the raw CT slice data. EXAMPLE NETWORKS The following network reads a CT slice, applies a thresholding operation, and displays the result in a window (useful for separating out specific tissue types contained in the raw CT slice). READ CT SLICE | | THRESHOLD | | IMAGE VIEWER RELATED MODULES Modules that can process "read CT slice" output: Any module that can operate on AVS field 2D scalar short data including but not limited to "contour to geom", "threshold", "image viewer", "write CT slices", and the "ip" series of modules. SEE ALSO The "write CT slices", "image viewer", and "ip" series of modules.