3D Fourth Order Nonlinear Transformation


Transformation

Given a coordinate (x,y,z) in the standard file, the coordinates of the corresponding voxel in the reslice file (x',y',z') are given by the equations:

x'=k001+k002x+k003y+k004z+k005x2+k006xy+k007y2+k008xz+k009yz+k010z2+k011x3+k012x2y+k013xy2+k014y3+k015x2z+k016xyz+k017y2z+k018xz2+k019yz2+k020z3+k021x4+k022x3y+k023x2y2+k024xy3+k025y4+k026x3z+k027x2yz+k028xy2z+k029y3z+k030x2z2+k031xyz2+k032y2z2+k033xz3+k034yz3+k035z4

y'=k036+k037x+k038y+k039z+k040x2+k041xy+k042y2+k043xz+k044yz+k045z2+k046x3+k047x2y+k048xy2+k049y3+k050x2z+k051xyz+k052y2z+k053xz2+k054yz2+k055z3+k056x4+k057x3y+k058x2y2+k059xy3+k060y4+k061x3z+k062x2yz+k063xy2z+k064y3z+k065x2z2+k066xyz2+k067y2z2+k068xz3+k069yz3+k070z4

z'=k071+k072x+k073y+k074z+k075x2+k076xy+k077y2+k078xz+k079yz+k080z2+k081x3+k082x2y+k083xy2+k084y3+k085x2z+k086xyz+k087y2z+k088xz2+k089yz2+k090z3+k091x4+k092x3y+k093x2y2+k094xy3+k095y4+k096x3z+k097x2yz+k098xy2z+k099y3z+k100x2z2+k101xyz2+k102y2z2+k103xz3+k104yz3+k105z4

where:

k001-k105 are independent parameters.


Representation in initialization files

Initialization files consist of k001-k105 in an ascii text file.


Default initialization

If no initialization file is specified, the default initialization is:

where:

This results in the exact centers of the two files being aligned to one another.


Modified: June 3, 1998

© 1995-98 Roger P. Woods, M.D.(rwoods@ucla.edu)