Header Display

The KUIM image header contains all information about the image except the pixels. Specifically, it has (1) the number of dimensions in an image, (2) the size of the image in each dimension, (3) the data type of the pixels (BYTE, SHORT, INT, FLOAT, DOUBLE, COMPLEX, COLOR, PSEUDO, JPEG_BYTE or JPEG_COLOR), (4) the image title, and (5) the color map used with PSEUDO color images. In addition, there are private fields which indicate which version of KUIM created the image, and which type of machine created the image (for byte swapping). The header program prints all of this information except the colormap on the screen. The range of intensity values in the image is also calculated and displayed. Other commands can be used to change the size of the image or convert data types. (see code)

Command Usage

header [options] infile
       [-d]    Print debugging information

Example

header input.im

HEADER Program - KUIM Version 1.0
Image Name = input.im
Image Dimensions = 256,256
Image Type = SHORT
Image Range = [74,255]