VisionX V4 | V3WARP | VisionX V4 |
v3warp - 3D piecewise-linear warping |
v3warp [-H] [if=<inputfile>] [gf=<inputfile2>] [pf=<value>] [of=<outputfile>] [df=<value>] [-v] [-d] [-bbx] [-m] [b=] |
v3warp does 3D piecewise linear warping given an input image, a set of control points (.pts file) and a tessellation (.grid file) of the control points. The -bbx option recalculates a tight bounding box for the output image. Otherwise, the warped image is the same size as the input image. The algorithm uses trilinear interpolation. Pixels that cannot be interpolated are set to the background value (default=0). The debugging file contains the tetrahedron map. The -m option forces to the output to be a pixel map with each coordinate stored in a separate channel. |
if= |
input file : image to be warped |
||
gf= |
grid file : Tesselation of points file |
||
pf= |
point file : Control points file -- feature points and warped points |
||
of= |
output file : warped image |
||
df= |
debugging file |
||
-v |
verbose debug |
||
-d |
value debug: print values to screen |
||
-bbx |
calculate a tight bounding box for warped image |
||
-m |
output a pixel map instead of a warped image |
||
b= |
background value (default=0) |
* |
only works on 3D byte, short or float images |
-- |
v3gengrid, v3vgrid |
A. B. Chan, M.Eng Project 2000-01 |