testim [ parameter=value ... ] [ outputfile ]
Parameters are: var_type, num_lines, num_samples, scale, offset, bad_value, master_file.
The function testim creates a two dimensional test image that contains a diagonal pattern. This can be used for testing palettes and the effects of different display enhancement options.
You can set the size of the dataset, and the scale, offset, and bad data value. You can also give its earth location attributes by giving a valid master file.
This is the data type of the output variable. The data can be either byte (unsigned 8-bit), short (16-bit signed integer), long (32-bit signed integer), float (32-bit real) or double (64-bit real).
Valid responses are [byte, short, long, float, or double]
There is no default.
The number of lines for the dataset variable.
Valid responses are any positive integer. There is no default.
The number of samples for the dataset variable.
Valid responses are any positive integer. There is no default.
The scale factor for an integer variable type (byte, short, or long).
Valid responses are any real number. The default is 1.
The offset for an integer variable type.
Valid responses are any real number. The default is 1.
The variable value to be considered a bad value.
Valid responses depend on the data type. The default is -9999.
This is the name of the master dataset used to specify the region for which a coast will be produced. See master for information on generating master datasets.
Valid responses are any TeraScan dataset that contains an earth transform. There is no default.
This is an example of making a test image that contains a diagonal pattern via testim.
\fClapaz% testim output file : char(255) ? test.image var_type : char( 6) ? byte num_lines : int ? 500 num_samples : int ? 500 scale_factor : real ? [1] offset : real ? [0] bad_value : real ? [-9999] master_file : char( 15) ? [] n12.93218.1515 lapaz%
Last Update: $Date: 1998/05/29 20:53:00 $