Table of Contents

NAME

icbtoraw - converts image cube to raw file

SYNOPSIS

icbtoraw [-bpv bits_per_voxel] [-bsq] [-bil] [-bip] [-bend] [-lend] icbfile rawfile

OPTIONS

-bpv
Indicates the number of bits per each voxel (sample) value. Default is 16.
-bsq
Indicates raw file is stored in band-sequential (BSQ) order. This is the default.
-bil
Indicates raw file is stored in band-interleaved-by-line (BIL) order.
-bip
Indicates raw file is stored in band-interleaved-by-pixel (BIP) order.
-bend
Indicates raw file contains integers stored in big-endian format. This is the default.
-lend
Indicates raw file contains integers stored in little-endian format.

DESCRIPTION

icbtoraw converts an image cube (ICB-format) into a raw-format file consisting of a 3D array of integer samples (voxels).

The option -bpv specifies the number of bits that each voxel value contains. bits_per_voxel must be between 1 and 32. If bits_per_voxel is <= 8, then each sample is stored in rawfile as the least significant bits in a single byte; otherwise, if bits_per_voxel is <= 16, then each sample is stored in rawfile as the least significant bits of two consecutive bytes (the default); otherwise, if bits_per_voxel is <= 32, then each sample is stored in rawfile as the least significant bits of four consecutive bytes. -bend and -lend indicate whether the raw file is to be written in big-endian or little-endian format, respectively. If neither is specified, big-endian is assumed.

The options -bsq, -bil, and -bip indicate the scanning order of the rawfile; see QccHYPRaw(3) . If none of -bsq, -bil, or -bip are present, BSQ is assumed.

SEE ALSO

rawtoicb(1) , QccHYPRaw(3) , QccPackHYP(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