Skip to content

Commit 3795971

Browse files
committed
Update src/schema/objects/entities.yaml
1 parent 57be6ea commit 3795971

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

src/schema/objects/entities.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,17 @@ direction:
8484
Therefore, if the `dir-<label>` entity is present in a filename,
8585
`"PhaseEncodingDirection"` MUST be defined in the associated metadata.
8686
87-
If the `<label>` is `AP`, `PA`, `LR`, `RL`, `SI`, or `IS`,
87+
Labels need not follow any particular convention,
88+
and JSON metadata MUST take precedence in interpreting an image.
89+
Generic labels, such as `dir-reference` and `dir-reversed` avoid any possible inconsistency.
90+
`dir-j0` and `dir-j1` can indicate `"PhaseEncodingDirection": "j"` and `"j-"` (or vice versa),
91+
identifying the phase-encoding axis while avoiding indicating polarity.
92+
93+
To avoid inconsistency, if the `<label>` is `AP`, `PA`, `LR`, `RL`, `SI`, or `IS`,
8894
then the `"PhaseEncodingDirection"` SHOULD correspond to the data
8995
axis that most closely aligns with the cardinal direction and orientation.
90-
For example, `dir-AP` for an image in RAS+ orientation SHOULD have
91-
`"PhaseEncodingDirection": "j-"`.
96+
For example, `dir-PA` and `dir-AP` for an image in RAS+ orientation SHOULD have
97+
`"PhaseEncodingDirection": "j"` and `"j-"`, respectively.
9298
type: string
9399
format: label
94100
echo:

0 commit comments

Comments
 (0)