dattoicp converts dataset datfile, in DAT format, to a ICP-format image component, icpfile. Each one-dimensional vector in datfile is assembled into a two-dimensional tile and then placed in icpfile. The tiles are read sequentially from datfile and placed into icpfile in raster-scan order. The options -tw and -th are used to specify that rectangular tiles of dimension tilewidth x tileheight are written to icpfile from vectors of the same size from datfile. In the absence of -tw and -th, square tiles of sqrt(v) x sqrt(v) are written to icpfile, where v is the vector dimension of the vectors in datfile (v must be a perfect square). Note: both -tw and -th must be specified for rectangular tiles, and, if specified, tilewidth * tileheight must be equal to v.
imagewidth and imageheight give the size of the image component icpfile and must be specified. If imagewidth or imageheight are not multiples of the requested tile size, additional rows and/or columns are appended to the bottom and/or right of the image as necessary to meet the requested size. These rows and/or columns are duplicates of the last full row or column available in the image component.
dattoicp calls QccIMGDatasetToImageComponent(3) .