VisionX V4VGENIMVisionX V4
NAME

vgenim − generate byte test images

SYNOPSIS

vgenim vgenim [-H] [of=<outile>] [s=<size>] [x=] [y=] [z=] [hi=] [g=] [xg=] [yg=] [zg=] [b=] [l=] [-im] [e=] [c=] [r=]

DESCRIPTION

Vgenim generates byte pixel test images. By default it generates an 8x8 image with zero valued pixels. The options allow different image sizes, 3D images, and test patterns to be generated.

CONSTRAINTS

Only generates single channel byte images

OPTIONS

s=<size>

this parameter specifies both the x and y dimensions of the image size.

x=<size>

this parameter specifies the x dimension of the image size.

y=<size>

this parameter specifies the y dimension of the image size.

z=<size>

this parameter specifies the z dimension of the image size. In this case a 3D image is generated (by default a 2D image is generated).

hi=<value>

The hi= parameter specifies the high pixel value which is used for the generated patterns. The default value is 255.

g=<distance>

The g= parameter specifies a grid size, one pixel lines (of the high pixel value> will be drawn in the x and y directions every <distance> pixels.

xg=<distance>

The xg= parameter specifies the x grid size, one pixel lines (of the high pixel value> will be drawn in the x direction every <distance> pixels.

yg=<distance>

The yg= parameter specifies the y grid size, one pixel lines (of the high pixel value> will be drawn in the y direction every <distance> pixels.

zg=<distance>

The zg= parameter specifies the z grid size for 3D images, one pixel lines (of the high pixel value> will be drawn in the z direction every <distance> pixels.

l=[x[,y[,z]]]

Specifies a location for a test feature (see options below) by default the feature will be generated at the center of the image structure.

-im

This option generates an impulse, one pixel in size (of the high pixel value) located in the center of the image.

e=[x[,y[,z]]]

Generate an ellipse (or ellipsoid for 3D images). By default the image space is filled. Optional size parameters specify half each axis sizes; e.g., the radius in the case of a circle.

c=[x[,y]]

Generate a circle or (cylinder for 3D images). By default the image space is filled. Optional size parameters specify half each axis sizes; i.e., the radius.

r=[x[,y[,z]]]

Generate a rectangle or (rectangular parallelpiped for 3D images). By default the image space is filled. Optional size parameters specify half each axis sizes; i.e., length/2.

AUTHOR

A. P. Reeves