Table C.20.1-1 defines the general Attributes of the Spatial Registration Series Module.

Table C.20.1-1SPATIAL REGISTRATION SERIES MODULE ATTRIBUTES

Attribute Name | Tag | Type | Attribute Description |

Modality | (0008,0060) | 1 | Modality type. Enumerated Value: REG |

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

Table C.20.2-1SPATIAL REGISTRATION MODULE ATTRIBUTES

Attribute Name | Tag | Type | Attribute Description |

Content Date | (0008,0023) | 1 | The date the content creation started. |

Content Time | (0008,0033) | 1 | The time the content creation started. |

Include Content Identification Macro Table 10-12 | |||

Registration Sequence | (0070,0308) | 1 | A sequence of registration items. Each item defines a spatial registration of the images referenced in that item to the Registered RCS established by this SOP instance. All referenced images are in the same spatial frame of reference or atlas. One or more Items shall be included in this sequence. |

>Frame of Reference UID | (0020,0052) | 1C | Identifies the Frame of Reference of the referenced data, that may or may not be an image set (e.g. atlas or physical space). See C.7.4.1.1.1 for further explanation. Required if Referenced Image Sequence (0008,1140) is absent. May be present otherwise. |

>Referenced Image Sequence | (0008,1140) | 1C | Identifies the set of images of the referenced data, registered in this sequence item. One or more Items shall be included in this sequence. Required if Frame of Reference UID (0020,0052) is absent. May be present otherwise. |

>>Include 'Image SOP Instance Reference Macro' Table 10-3 | |||

>Matrix Registration Sequence | (0070,0309) | 1 | A sequence that specifies one spatial registration. Only a single Item shall be included in this sequence. |

>>Frame of Reference Transformation Comment | (3006,00C8) | 3 | User description or comments about the registration. |

>>Registration Type Code Sequence | (0070,030D) | 2 | Describes the information input into the registration process. Zero or one Item shall be included in this Sequence. |

>>>Include ‘Code Sequence Macro’ Table 8.8-1 | Baseline CID 7100 | ||

>>Matrix Sequence | (0070,030A) | 1 | Specifies one transformation, that registers the Source RCS/images to the Registered RCS. It is expressible as multiple matrices, each in a separate item of the sequence. One or more Items shall be included in this sequence. The item order is significant and corresponds to matrix multiplication order. See C.20.2.1.1. |

>>>Frame of Reference Transformation Matrix | (3006,00C6) | 1 | A 4x4 homogeneous transformation matrix that registers a coordinate system A to B. 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 |

>Used Fiducials Sequence | (0070,0314) | 3 | The fiducials used to determine the Frame of Reference Transformation Matrix. One or more Items are permitted in this sequence. |

>>Include ‘SOP Instance Reference Macro' Table 10-11 | 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 Frame of Reference Transformation Matrix (3006,00C6)
^{
A
}
M
_{
B
}
describes how to transform a point (
^{
B
}
x,
^{
B
}
y,
^{
B
}
z) with respect to RCS
_{
B
}
into (
^{
A
}
x,
^{
A
}
y,
^{
A
}
z) with respect to RCS
_{
A
}
according to the equation below.

[pic]

The Matrix Registration is expressible as multiple matrices, each in a separate item of the Matrix Sequence (0070,030A). The equation below specifies the order of the matrix multiplication where
*
M
*
*
_{
1
}
*
,

[pic]

where [pic] = [pic]

Registration often involves two or more RCS, each with a corresponding Frame of Reference Transformation Matrix. For example, another Frame of Reference Transformation Matrix
^{
A
}
M
_{
C
}
can describe how to transform a point (
*
^{
C
}
*

[pic]

There are three types of Registration Matrices:

RIGID: This is a registration involving only translations and rotations. Mathematically, the matrix is constrained to be orthonormal and describes six degrees of freedom: three translations, and three rotations.

RIGID_SCALE: This is a registration involving only translations, rotations and scaling. Mathematically, the matrix is constrained to be orthogonal and describes nine degrees of freedom: three translations, three rotations and three scales. This type of transformation is sometimes used in atlas mapping.

AFFINE: This is a registration involving translations, rotations, scaling and shearing. Mathematically, there are no constraints on the elements of the Frame of Reference Transformation Matrix, so it conveys twelve degrees of freedom. This type of transformation is sometimes used in atlas mapping.

See the PS 3.17 Annex on Transforms and Mappings for more detail.

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