Skip to content

Commit

Permalink
Merge pull request #253 from thewtex/axis-anatomical-orientation
Browse files Browse the repository at this point in the history
RFC-4: Axis Anatomical Orientation
  • Loading branch information
joshmoore authored Sep 13, 2024
2 parents 10b4fb0 + 8694c64 commit 570e865
Show file tree
Hide file tree
Showing 13 changed files with 2,947 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rfc/4/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# GitHub syntax highlighting
pixi.lock linguist-language=YAML linguist-generated=true
7 changes: 7 additions & 0 deletions rfc/4/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# pixi environments
.pixi
*.egg-info

markdown/types
markdown/index.md
orientation.py
9 changes: 9 additions & 0 deletions rfc/4/comments/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Comments

Additional comments of RFC-4:

```{toctree}
:maxdepth: 1
:glob:
*/index
```
319 changes: 319 additions & 0 deletions rfc/4/index.md

Large diffs are not rendered by default.

26 changes: 26 additions & 0 deletions rfc/4/markdown/Orientation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
orphan: true
---

# Enum: Orientation

Anatomical orientation refers to the specific arrangement and directional alignment of anatomical structures within an imaging dataset. It is crucial for ensuring accurate alignment and comparison of images to anatomical atlases, facilitating consistent analysis and interpretation of biological data.

URI: [ngff:Orientation](https://w3id.org/ome/ngff/Orientation)


## Permissible Values

| Text | Description | Meaning | Other Information |
| :--- | :---: | :---: | ---: |
| left-to-right | Describes the directional orientation from the left side to the right side of an anatomical structure or body. | | |
| right-to-left | Describes the directional orientation from the right side to the left side of an anatomical structure or body. | | |
| anterior-to-posterior | Describes the directional orientation from the front (anterior) to the back (posterior) of an anatomical structure or body. | | |
| posterior-to-anterior | Describes the directional orientation from the back (posterior) to the front (anterior) of an anatomical structure or body. | | |
| inferior-to-superior | Describes the directional orientation from the lower (inferior) to the upper (superior) part of an anatomical structure or body. | | |
| superior-to-inferior | Describes the directional orientation from the upper (superior) to the lower (inferior) part of an anatomical structure or body. | | |
| dorsal-to-ventral | Describes the directional orientation from the back (dorsal) to the front (ventral) of an anatomical structure or body. | | |
| ventral-to-dorsal | Describes the directional orientation from the front (ventral) to the back (dorsal) of an anatomical structure or body. | | |
| rostral-to-caudal | Describes the directional orientation from the front (rostral) to the back (caudal) end of an anatomical structure, typically used in reference to the central nervous system. | | |
| caudal-to-rostral | Describes the directional orientation from the back (caudal) to the front (rostral) end of an anatomical structure, typically used in reference to the central nervous system. | | |

28 changes: 28 additions & 0 deletions rfc/4/orientation.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"$defs": {
"Orientation": {
"description": "Anatomical orientation refers to the specific arrangement and directional alignment of anatomical structures within an imaging dataset. It is crucial for ensuring accurate alignment and comparison of images to anatomical atlases, facilitating consistent analysis and interpretation of biological data.",
"enum": [
"left-to-right",
"right-to-left",
"anterior-to-posterior",
"posterior-to-anterior",
"inferior-to-superior",
"superior-to-inferior",
"dorsal-to-ventral",
"ventral-to-dorsal",
"rostral-to-caudal",
"caudal-to-rostral"
],
"title": "Orientation",
"type": "string"
}
},
"$id": "https://w3id.org/ome/ngff",
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": true,
"metamodel_version": "1.7.0",
"title": "orientation",
"type": "object",
"version": "0.1.0"
}
29 changes: 29 additions & 0 deletions rfc/4/orientation.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/**
* Anatomical orientation refers to the specific arrangement and directional alignment of anatomical structures within an imaging dataset. It is crucial for ensuring accurate alignment and comparison of images to anatomical atlases, facilitating consistent analysis and interpretation of biological data.
*/
export enum Orientation {

/** Describes the directional orientation from the left side to the right side of an anatomical structure or body. */
left_to_right = "left-to-right",
/** Describes the directional orientation from the right side to the left side of an anatomical structure or body. */
right_to_left = "right-to-left",
/** Describes the directional orientation from the front (anterior) to the back (posterior) of an anatomical structure or body. */
anterior_to_posterior = "anterior-to-posterior",
/** Describes the directional orientation from the back (posterior) to the front (anterior) of an anatomical structure or body. */
posterior_to_anterior = "posterior-to-anterior",
/** Describes the directional orientation from the lower (inferior) to the upper (superior) part of an anatomical structure or body. */
inferior_to_superior = "inferior-to-superior",
/** Describes the directional orientation from the upper (superior) to the lower (inferior) part of an anatomical structure or body. */
superior_to_inferior = "superior-to-inferior",
/** Describes the directional orientation from the back (dorsal) to the front (ventral) of an anatomical structure or body. */
dorsal_to_ventral = "dorsal-to-ventral",
/** Describes the directional orientation from the front (ventral) to the back (dorsal) of an anatomical structure or body. */
ventral_to_dorsal = "ventral-to-dorsal",
/** Describes the directional orientation from the front (rostral) to the back (caudal) end of an anatomical structure, typically used in reference to the central nervous system. */
rostral_to_caudal = "rostral-to-caudal",
/** Describes the directional orientation from the back (caudal) to the front (rostral) end of an anatomical structure, typically used in reference to the central nervous system. */
caudal_to_rostral = "caudal-to-rostral",
};



31 changes: 31 additions & 0 deletions rfc/4/orientation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
id: https://w3id.org/ome/ngff
name: orientation
version: 0.1.0
description: >-
The orientation field provides explicit metadata about the anatomical orientation in an image using a
controlled vocabulary. The goal is to preserve essential biological information and eliminate assumptions
about orientation which can lead to errors in downstream analysis and alignment to anatomical atlases.
prefixes:
ome: https://w3id.org/ome/
ngff: https://w3id.org/ome/ngff/
linkml: https://w3id.org/linkml/
imports:
- linkml:types
default_range: string
default_prefix: ngff

enums:
Orientation:
description: >-
Anatomical orientation refers to the specific arrangement and directional alignment of anatomical structures within an imaging dataset. It is crucial for ensuring accurate alignment and comparison of images to anatomical atlases, facilitating consistent analysis and interpretation of biological data.
permissible_values:
left-to-right: Describes the directional orientation from the left side to the right side of an anatomical structure or body.
right-to-left: Describes the directional orientation from the right side to the left side of an anatomical structure or body.
anterior-to-posterior: Describes the directional orientation from the front (anterior) to the back (posterior) of an anatomical structure or body.
posterior-to-anterior: Describes the directional orientation from the back (posterior) to the front (anterior) of an anatomical structure or body.
inferior-to-superior: Describes the directional orientation from the lower (inferior) to the upper (superior) part of an anatomical structure or body.
superior-to-inferior: Describes the directional orientation from the upper (superior) to the lower (inferior) part of an anatomical structure or body.
dorsal-to-ventral: Describes the directional orientation from the back (dorsal) to the front (ventral) of an anatomical structure or body.
ventral-to-dorsal: Describes the directional orientation from the front (ventral) to the back (dorsal) of an anatomical structure or body.
rostral-to-caudal: Describes the directional orientation from the front (rostral) to the back (caudal) end of an anatomical structure, typically used in reference to the central nervous system.
caudal-to-rostral: Describes the directional orientation from the back (caudal) to the front (rostral) end of an anatomical structure, typically used in reference to the central nervous system.
Loading

0 comments on commit 570e865

Please sign in to comment.