Table C.20.11 defines the general Attributes of the Spatial Registration Series Module.
Table C.20.11. Spatial Registration Series Module Attributes
Attribute Name 
Tag 
Type 
Attribute Description 

Modality 
(0008,0060) 
1 
Modality type. Enumerated Values:

Table C.20.21 defines the general Attributes of the Spatial Registration Module.
Table C.20.21. Spatial 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 Table 1012 “Content Identification Macro Attributes” 

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 Section 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 Table 103 “Image SOP Instance Reference Macro Attributes” 

>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 Table 8.81 “Code Sequence Macro Attributes” 
Baseline CID 7100 “RCS Registration Method Type”. 

>>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 Section C.20.2.1.1. 
>>>Frame of Reference Transformation Matrix 
(3006,00C6) 
1 
A 4x4 affine transformation matrix that registers a homogeneous coordinate system A to B. Matrix elements shall be listed in rowmajor 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:

>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 Table 1011 “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. 
>Used Segments Sequence 
(0062,0012) 
3 
The segments used to determine the Frame of Reference Transformation Matrix. One or more Items are permitted in this sequence. 
>>Include Table 1011 “SOP Instance Reference Macro Attributes” 
Reference to the Segmentation or Surface Segmentation SOP Instance identifying the Used Segments. 

>>Referenced Segment Number 
(0062,000B) 
1 
Uniquely identifies the segment described in Segment Sequence (0062,0002) by reference to Segment Number (0062,0004). Referenced Segment Number (0062,000B) shall not be multivalued. 
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.
The Matrix Registration is expressible as multiple matrices, each in a separate item of Matrix Sequence (0070,030A). The equation below specifies the order of the matrix multiplication where M_{1} , M_{2} and M_{3} are the first, second and third items in the sequence.
where=
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}x,^{C}y,^{C}z) with respect to RCS _{C} into ( ^{A}x,^{A}y,^{A}z) with respect to RCS_{A}. It is straightforward to find the Frame of Reference Transformation Matrix ^{B} M _{C} that describes how to transform the point ( ^{C}x,^{C}y,^{C}z) with respect to RCS_{C} into the point ( ^{B}x,^{B}y,^{B}z) with respect to RCS_{B}. The solution is to invert ^{A}M_{B} and multiply by ^{A}M_{C}, as shown below:
If two or more transformation matrices describe the relation between Patient coordinates and a devicecentric Wellknown Frame of Reference, any calculations assuming transitivity via the Wellknown Frame of Reference must be performed with great care to assure that both registrations reflect the same positioning of the patient with respect to the common Wellknown Frame of Reference.
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 other than that the last row shall be (0,0,0,1) to preserve the homogeneous coordinates, so it conveys twelve degrees of freedom. This type of transformation is sometimes used in atlas mapping.
The AFFINE value for Frame of Reference Transformation Matrix Type (0070,030C) has the same meaning as the use of the HOMOGENEOUS value for Frame of Reference Transformation Type (3006,00C4) in the Structure Set module. See Section C.8.8.5.
See Annex P “Transforms and Mappings (Informative)” in PS3.17 for more detail.
Table C.20.31 defines the general Attributes of the Deformable Spatial Registration Module.
Table C.20.31. 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 1012 “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 103 “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. 
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 rowmajor 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:

>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 rowmajor 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:

>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 1011 “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. 
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)
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. 
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.
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 X_{D}\Y_{D}\Z_{D}, the size of the attribute value can be calculated with the equation: