IM_TYPE *im_open(Name, PixType, Xdim,Ydim,Zdim, DimCnt) char *Name; int *PixType, *Xdim,*Ydim,*Zdim, *DimCnt;
Name - This is a null-terminated string containing the pathname of the file to be opened.
PixType - This is a value which specifies the type of pixel data stored in the image. Valid values for this field are: BYTE, SHORT, INT, FLOAT, DOUBLE, COMPLEX, COLOR, PSEUDO (all defined in IM.h).
Xdim - This is the number of pixels in the X dimension in the image. For all 1D, 2D and 3D images this value will be greater than 1.
Ydim - This is the number of pixels in the Y dimension in the image. For 1D images, this value will be 1. For 2D and 3D images, it will be greater than 1.
Zdim - This is the number of pixels in the Z dimension in the image. For 1D and 2D images, this value will be 1. For 3D images, it will be greater than 1.
DimCnt - This is the number of dimensions in the image. This value will be between 1 and 3. Higher dimension KUIM images are not supported.