C.20.3 Deformable Spatial Registration Module
Prev | C.20 Spatial Registration | Next

### C.20.3 Deformable Spatial Registration Module

Table C.20.3-1 defines the general Attributes of the Deformable Spatial Registration Module.

Table C.20.3-1. Deformable Spatial Registration Module Attributes

Attribute Name | Tag | Type | Attribute Description
--- | --- | --- | ---
Content Date | (0008,0023) | 1 | The date the vector grid data creation started.
Content Time | (0008,0033) | 1 | The time the vector grid data creation started.
Include Table 10-12 “Content Identification Macro Attributes” |
Deformable Registration Sequence | (0064,0002) | 1 | A sequence of registration items. Each item defines a spatial registration to the referenced images in that item. At least one item shall have a Deformable Registration Grid Sequence (0064,0005) with one item. See Section C.20.3.1.1. One or more Items shall be included in this sequence.
>Source Frame of Reference UID | (0064,0003) | 1 | Identifies the Frame of Reference of a Source RCS. The Source RCS may or may not include an image set (e.g., atlas). See Section C.7.4.1.1.1 for further explanation.
>Referenced Image Sequence | (0008,1140) | 1C | Identifies the set of images registered in this sequence item. One or more Items shall be included in this sequence. Required if the registration applies to a subset of images within the specified Source Frame of Reference UID (0064,0003). All referenced images shall be in the same spatial frame of reference.
>>Include Table 10-3 “Image SOP Instance Reference Macro Attributes” |
>Frame of Reference Transformation Comment | (3006,00C8) | 3 | User description or comments about the registration.
>Registration Type Code Sequence | (0070,030D) | 2 | Describes the method used for the registration process. Zero or one Item shall be included in this sequence.
>>Include Table 8.8-1 “Code Sequence Macro Attributes” | Baseline CID 7100 “RCS Registration Method Type”.
>Pre Deformation Matrix Registration Sequence | (0064,000F) | 1C | A sequence that specifies one spatial registration to be applied prior to the deformation. Only a single Item shall be included in this sequence. Required if a matrix transformation is to be applied prior to deformation.
>>Frame of Reference Transformation Matrix | (3006,00C6) | 1 | A 4x4 homogeneous transformation matrix.Matrix elements shall be listed in row-major order. See Section C.20.2.1.1.
>>Frame of Reference Transformation Matrix Type | (0070,030C) | 1 | Type of Frame of Reference Transformation Matrix (3006,00C6). Enumerated Values: RIGID RIGID_SCALE AFFINE See Section C.20.2.1.2
>Post Deformation Matrix Registration Sequence | (0064,0010) | 1C | A sequence that specifies one spatial registration to be applied after the application of the deformation. Only a single Item shall be included in this sequence. Required if matrix transformation is to be performed after application of the deformation.
>>Frame of Reference Transformation Matrix | (3006,00C6) | 1 | A 4x4 homogeneous transformation matrix. Matrix elements shall be listed in row-major order. See Section C.20.2.1.1.
>>Frame of Reference Transformation Matrix Type | (0070,030C) | 1 | Type of Frame of Reference Transformation Matrix (3006,00C6). Defined Terms: RIGID RIGID_SCALE AFFINE See Section C.20.2.1.2
>Deformable Registration Grid Sequence | (0064,0005) | 1C | Describes the deformation grid used to sample into the Source RCS. Only a single Item shall be included in this sequence. Required if deformation is performed. See Section C.20.3.1.2.
>>Image Orientation (Patient) | (0020,0037) | 1 | The direction of cosines of the first row and first column of the Vector Grid Data (0064,0009) with respect to the patient. See Section C.7.6.2.1.1 for further explanation.
>>Image Position (Patient) | (0020,0032) | 1 | The x, y, and z coordinates of the upper left hand voxel (center of the first voxel transmitted) of the grid, in mm in the Registered Frame of Reference. See Section C.7.6.2.1.1 for further explanation.
>>Grid Dimensions | (0064,0007) | 1 | The dimensions of the grid, in voxels. A triple representing the number of voxels along the X, Y, and Z axes.
>>Grid Resolution | (0064,0008) | 1 | The resolution of the grid voxels. A triple representing the size of a deformation voxel in along the X, Y, and Z dimension, in mm.
>>Vector Grid Data | (0064,0009) | 1 | A data stream of vectors. See Section C.20.3.1.3 for further explanation.
>Used Fiducials Sequence | (0070,0314) | 3 | The fiducials used to determine the registration. One or more Items are permitted in this sequence.
>>Include Table 10-11 “SOP Instance Reference Macro Attributes” | Reference to the Spatial Fiducial SOP Instance identifying the Used Fiducial(s)
>>Fiducial UID | (0070,031A) | 1 | The UID that identifies the fiducial used as registration input.

#### C.20.3.1 Deformable Spatial Registration Module Attribute Descriptions

##### C.20.3.1.1 Deformable Registration Sequence Application

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 Equation C.20.3-1 (this assumes that the center position of each deformation voxel will be transformed).

Equation C.20.3-1.

Where:

| The spatial coordinate in the Source RCS.
| The start coordinate, in the Registered RCS, of the deformation grid as specified in Image Position (Patient) (0020,0032).
| The values from the row (X) direction cosine of Image Orientation (Patient) (0020,0037).
| The values from the column (Y) direction cosine of Image Orientation (Patient) (0020,0037).
| The cross product between the row (X) direction cosine and the column (Y) direction cosine of Image Orientation (Patient) (0020,0037).
| The index into the deformation grid in the X, Y, and Z dimension.
| The resolution of the deformation grid in the X, Y, and Z dimension as specified in Grid Resolution (0064,0008).
| The deformation specified at index (i,j,k) in the deformation grid. If the Deformation Registration Grid Sequence (0064,0005) has no items, the D values are zero.
MPre | The transformation matrix specified in the Pre Deformation Matrix Registration Sequence (0064,000F).
MPost | The transformation matrix specified in the Post Deformation Matrix Registration Sequence (0064,0010).

##### C.20.3.1.2 Deformable Registration Grid Sequence

The vector represents the deformation at the center of the voxel. Deformations between voxel centers shall be determined through interpolation of the surrounding vectors in an implementation dependent manner.

##### C.20.3.1.3 Vector Grid Data

Vector Grid Data (0064,0009) contains the vector data. Each voxel in Vector Grid Data (0064,0009) is represented by an

vector. The vector describes the direction and magnitude of the deformation at the center of the deformation voxel.

The order of vectors sent for each vector plane shall be left to right, top to bottom, i.e., the upper left vector (labeled 1,1) is sent first followed by the remainder of row 1, followed by the first vector of row 2 (labeled 2,1) then the remainder of row 2 and so on.

A vector triple with values of (NaN,NaN,NaN) shall indicate that the transformation at that point of the deformation grid is undefined.

The size of this attribute value is determined by the dimensions specified in Grid Dimensions (0064,0007). For dimensions of XD\YD\ZD, the size of the attribute value can be calculated with Equation C.20.3-2.

Equation C.20.3-2.

Number of Bytes = XD * YD * ZD * 3 * 4

Prev | Up | Next
C.20.2 Spatial Registration Module | Home | C.21 Spatial Fiducials