Table of Contents

NAME

dattoicp - converts dataset to image component

SYNOPSIS

dattoicp [-tw tilewidth] [-th tileheight] imagewidth imageheight datfile icpfile

OPTIONS

-tw tilewidth
Integer. Horizontal width of rectangular tiles
-th tileheight
Integer. Vertical height of rectangular tiles

DESCRIPTION

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) .

SEE ALSO

icptodat(1) , QccIMGDatasetToImageComponent(3) , QccPackIMG(3) , QccPack(3)

AUTHOR

Copyright (C) 1997-2021 James E. Fowler


Table of Contents



Get QccPack at SourceForge.net. Fast, secure and Free Open Source software downloads