WA - Warp an image/volume

(5/6/11)

PURPOSE

Three pass, three dimensional mesh warping generalized to three dimensions starting from two dimensional algorithm in Wolberg. Works on images and volumes. Can be used for morphing a series of image/volumes also.   Example.

USAGE

.OPERATION: WA

.WARP COORDINATES DOC FILE: DOCWARP
[Doc. file needs a comment key: 1 with x, y,& z dimensions of the warping specifications.e.g.:
; 1 3 5.0000 5.0000 5.0000

This comment key is followed by x*y*z lines containing the coordinates for input points and their difference in the output file. A positive 'y' difference will move an original point upwards . A positive 'x' difference will move an original point to the left . ]

.INPUT FILE: VOL001
[Enter name of the input image/volume.]

.OUTPUT FILE: VOL002
[Enter name for output image/volume.]

NOTES

  1. The warping coordinates must have each dimension >= 3.

  2. Reference: George Wolberg, Digital Image Warping, 1994, ISBN:0818689447 Publisher: IEEE Computer Society Press Los Alamitos, CA, USA (has several bugs in the source code there!)

  3. Implemented by: ArDean Leith

  4. See Volume Correlation for instructions on how to make a 'WARP COORDINATES DOC FILE' from two similar volumes.

SUBROUTINES

WARP3, AKIMA

CALLER

DRIV2