Tag | (0040,A808) |
---|---|
Type | Required (1) |
Keyword | CellValuesSequence |
Value Multiplicity | 1 |
Value Representation | Sequence (SQ) |
The values of each populated cell in the table, identified by row and column.
One or more Items shall be included in this Sequence.
The table may be sparse (i.e., not every cell is required to be populated).
Entire rows may be specified in a single Item if all the columns have the same VR.
Entire columns may be specified in a single Item if all the rows have the same VR.
Items of this Sequence shall be in row-major order, then sorted by column.
See Section C.18.10.1.2.
The table cell values are encoded in Items of Cell Values Sequence (0040,A808) either:
in individual Items, one for each cell, as a single valued Attribute (and may be sparse and of different VR per cell)
in a single Item for entire columns, one for each column, as a multi-valued Attribute (and hence be of the same VR for all the cells in a particular column)
in a single Item for entire rows, one for each row, as a multi-valued Attribute (and hence be of the same VR for all the cells in a particular row)
For example,
Example 1. A two-column table, consisting of multiple rows describing forty values of datetime and X-Ray tube current, as described in Section C.18.10.1.1 Example 1, could encode its values as follows:
>Cell Values Sequence (0040,A808)
>Item 1
>>Table Column Number (0040,A805) = 1
>>Selector Attribute VR (0072,0050) = DT
>>Selector DT Value (0072,0063) = 20200401163901.01\20200401163901.02\...\20200401163901.40 (forty values)
>Item 2
>>Table Column Number (0040,A805) = 2
>>Selector Attribute VR (0072,0050) = FL
>>Selector FL Value (0072,0076) = 100.1, 90.2, ..., 60.5 (forty 32-bit binary floating-point values)
Example 2. A four by four matrix representing an identity affine transformation between two frames of reference, as described in Section C.18.10.1.1 Example 2, could encode its values as follows:
>Cell Values Sequence (0040,A808)
>Item 1
>>Table Column Number (0040,A805) = 1
>>Selector Attribute VR (0072,0050) = FD
>>Selector FD Value (0072,0074) = 1, 0, 0, 0 (four 64-bit binary floating-point values)
>Item 2
>>Table Column Number (0040,A805) = 2
>>Selector Attribute VR (0072,0050) = FD
>>Selector FD Value (0072,0074) = 0, 1, 0, 0 (four 64-bit binary floating-point values)
>Item 3
>>Table Column Number (0040,A805) = 3
>>Selector Attribute VR (0072,0050) = FD
>>Selector FD Value (0072,0074) = 0, 0, 1, 0 (four 64-bit binary floating-point values)
>Item 4
>>Table Column Number (0040,A805) = 4
>>Selector Attribute VR (0072,0050) = FD
>>Selector FD Value (0072,0074) = 0, 0, 0, 1 (four 64-bit binary floating-point values)
Example 3. A four-column table, consisting of multiple (ten) measurements along an artery, as described in Section C.18.10.1.1 Example 3, could encode its values as follows:
>Cell Values Sequence (0040,A808)
>Item 1
>>Table Column Number (0040,A805) = 1
>>Selector Attribute VR (0072,0050) = DS
>>Selector DS Value (0072,0072) = 0\1\2\3 ...\9 (ten decimal string values)
>Item 2
>>Table Column Number (0040,A805) = 2
>>Selector Attribute VR (0072,0050) = DS
>>Selector DS Value (0072,0072) = 1.4\1.5\1.5\1.4 ...\1.2 (ten decimal string values)
>Item 3
>>Table Column Number (0040,A805) = 3
>>Selector Attribute VR (0072,0050) = DS
>>Selector DS Value (0072,0072) = 1.54\1.77\1.77\1.54 ...\1.13 (ten decimal string values)
>Item 4
>>Table Column Number (0040,A805) = 4
>>Selector Attribute VR (0072,0050) = DS
>>Selector DS Value (0072,0072) = 10\0\0\10 ...\20 (ten decimal string values)