DATAMANIP commands


PROGRAM NAME

kgconst - Generate Object Containing Constant Value Data

DESCRIPTION

kgconst creates a data object with a constant valued value segment of dimension Width * Height * Depth * Time * Elements. The data type of the value segment can be bit, byte, unsigned byte, short, unsigned short, integer, unsigned integer, long, unsigned long, float, double, complex and double complex. The real, and imaginary constant levels are specified using the level parameters (real, imag).

REQUIRED ARGUMENTS

-o
type: outfile
desc: Output file containing constant value data

OPTIONAL ARGUMENTS

-wsize
type: integer
desc: Width size of constant value data
default: 1
bounds: value > 0
-hsize
type: integer
desc: Height size of constant value data
default: 1
bounds: value > 0
-dsize
type: integer
desc: Depth size of constant value data
default: 1
bounds: value > 0
-tsize
type: integer
desc: Time size of constant value data
default: 1
bounds: value > 0
-esize
type: integer
desc: Element dimension size of constant value data
default: 1
bounds: value > 0
-real
type: double
desc: Real constant level
default: 0
bounds: no range checking
-imag
type: double
desc: Imaginary constant level
default: 0
bounds: no range checking
-type
type: list
desc: Data type of constant value data
default: 10 "float"

EXAMPLES

kgconst -o const -wsize 256 -hsize 256 -esize 3 -type integer -real 10

Creates a data object called const of size width = 256, height = 256 where each vector contains 3 elements. The data storage type is integer, and the constant is 10.

SEE ALSO

RESTRICTIONS

REFERENCES

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.