The registrations in this module are applied to the Registered RCS coordinates in the following order. First, transform the coordinates using the matrix described in the Pre Deformation Matrix Registration Sequence (0064,000F). Next apply the deformation offsets to the resulting coordinates. Finally, transform those coordinates using the matrix described in the Post Deformation Matrix Registration Sequence (0064,0010). The resulting coordinate addresses the sample point within the Source RCS.

Thus a source coordinate may be calculated using the following equation:

(This assumes that the center position of each deformation voxel will be transformed)

[pic]

Where:

[pic] The spatial coordinate in the Source RCS.

[pic] The start coordinate, in the Registered RCS, of the deformation grid as specified in the Image Position (Patient) attribute (0020,0032).

[pic] The values from the row (X) direction cosine of the Image Orientation (Patient) (0020,0037) attribute.

[pic] The values from the column (Y) direction cosine of the Image Orientation (Patient) (0020,0037) attribute.

[pic] The cross product between the row (X) direction cosine and the column (Y) direction cosine of the Image Orientation (Patient) (0020,0037) attribute.

[pic]

[pic] The index into the deformation grid in the X, Y, and Z dimension.

[pic] The resolution of the deformation grid in the X, Y, and Z dimension as specified in the Grid Resolution attribute (0064,0008).

[pic] The deformation specified at index (i,j,k) in the deformation grid. If the Deformation Registration Grid Sequence (0064,0005) has no items, the ( values are zero.

*
M
*
*
_{
Pre
}
*
The transformation matrix specified in the Pre Deformation Matrix Registration Sequence (0064,000F).

*
M
*
*
_{
Post
}
*
The transformation matrix specified in the Post Deformation Matrix Registration Sequence (0064,0010).