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

Table C.20.3-1DEFORMABLE 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 Content Identification Macro Table 10-12 | |||

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 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 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 'Image SOP Instance Reference Macro' Table 10-3 | |||

>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 ‘Code Sequence Macro’ Table 8.8-1 | Baseline CID 7100 | ||

>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 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 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 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 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 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 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 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 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 'Image SOP Instance Reference Macro' Table 10-3 | 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. |

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).

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.

The Vector Grid Data attribute (0064,0009) contains the vector data. Each voxel in the Vector Grid Data attribute (0064,0009) is represented by an [pic] 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 the Grid Dimensions attribute (0064,0007). For dimensions of X
_{
D
}
\Y
_{
D
}
\Z
_{
D
}
, the size of the attribute value can be calculated with the equation:

Number of Bytes = X
_{
D
}
* Y
_{
D
}
* Z
_{
D
}
* 3 * 4