VisionX V4VFIXVisionX V4
NAME

vfix − change the image format of a VisionX image file

SYNOPSIS

vfix [-H] [if=<inputfile>] [of=<outputfile>] [-byte] [-int] [-float] [-double] [-sbyte] [-bit] [-long] [-a] [-b] [-d]

DESCRIPTION

Vfix converts a VisionX image file to a file of a different base type. The new base type is selected by a command line type option. Conversions are only possible where there is an existing defined VisionX format that differs from the input file only in the base type. No transformation or clipping of the data values is performed except for the -a and -b options. It is the responsibility of the user to ensure that the input data is within the range of the output data type (except with the -b option, where the range is clipped).

CONSTRAINTS

Vfix affects all numeric pixel images in the inputfile.

OPTIONS

-byte

select unsigned byte output data type

-a

select unsigned byte output data type and scale the data to fit the full byte range (0-255). Each image is scaled individually.

-b

select unsigned byte output data type, but clip pixels greater than 255 to 255 and pixels less than 0 to 0.

-int

select short (signed 16-bit) output data type

-float

select floating point (32-bit) output data type

-double

select floating point (64-bit) output data type

-sbyte

select signed byte output data type

-long

select long integer (signed 32-bit) output data type

-bit

select bitplane (1-bit) output data type

-d

print some debugging information

AUTHOR

A. P. Reeves