Table of Contents

NAME

rawtoicb - converts raw file to image cube

SYNOPSIS

rawtoicb [-s] [-bpv bits_per_voxel] [-bsq] [-bil] [-bip] [-bend] [-lend] num_rows num_cols num_frames rawfile icbfile

OPTIONS

-s
Indicates raw file contains signed values. Default: raw file contains unsigned values.
-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 16-bit integers stored in big-endian format. This is the default.
-lend
Indicates raw file contains 16-bit integers stored in little-endian format.

DESCRIPTION

rawtoicb converts a raw file containing a 3D array of integer samples (voxels) into a ICB-format file. The size of the raw file must be given as num_rows, num_cols, and num_frames (num_frames = number of spectral bands).

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. The option -s indicates that the raw file contains signed values; unsigned is assumed if the -s option is absent. The options -bend and -lend indicate whether the raw file is 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

icbtoraw(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