-
Notifications
You must be signed in to change notification settings - Fork 20
Add rasterImage, rasterImageSequence, rasterImageStack, rasterVolume, rasterVolumeSequence schemas with extensions for v5 neuroimaging extension #579
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
lzehl
merged 50 commits into
openMetadataInitiative:v5
from
Alixbonard:dev-neuroimaging
Feb 12, 2026
+330
−0
Merged
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
c471493
Add new concept schema digitalRepresentation (introduced with the v5 …
d318da2
Add 3DRepresentation schema (introduced with the v5 neuroimaging exte…
0bdec84
Fix: type in digitalRepresentation schema
f905cca
Add Image schema (introduced with the v5 neuroimaging extension)
40f66ec
Add ImageSequence schema (introduced with the v5 neuroimaging extension)
59cb903
Add imageStack schema (introduced with the v5 neuroimaging extension)
407c9ac
Add rasterImage schema (introduced with the v5 neuroimaging extension)
b9f3968
Add volume schema (introduced with the v5 neuroimaging extension)
fd17355
Add volumeSequence schema (introduced with the v5 neuroimaging extens…
d51beb7
Apply suggestion from @Raphael-Gazzotti
Alixbonard ef86d06
Apply suggestion from @Raphael-Gazzotti
Alixbonard a49a720
Apply suggestion from @Raphael-Gazzotti
Alixbonard ef0c6a2
Add RasterImageSequence schema for neuroimaging v5
3f59540
Add RasterImage schema for neuroimaging v5
0613ce3
Add RasterImageStack for eneuroimaging v5
f9c9146
Add RasterVolume schema for neuroimaging v5
3add196
Add RasterVolumeSequence schema for neuroimaging v5
df1a3c7
Delete concept schema digitalRepresentation for v5
83cd711
Delete concept schema 3DRepresentation for v5
039c939
Delete Image, ImageSequence, ImageStack, Volume and VolumeSequence …
977eff6
fix line at the end of json files
c6e7a2a
Remove colorDepth for the v5 in rasterImage and rasterVolume
f3d3e75
Update frequency by temporalSampleFrequency
061a69c
Update instruction in temporalSamplingFrequency
e414416
Update frequency by temporalSamplingFrequency in rasterVolumeSequence
395df1e
Replace frequency by temporalSamplingFrequency in required field
c250b0c
Update sliceThickness to z-stepSize in rasterImageStack
dc190ce
Add dimension and pixeSize to properties
2470cea
Add dimension and voxelSize to required field in rasterVolumeSequence…
250933d
Apply suggestion from @lzehl
Alixbonard 631ae38
Apply suggestion from @lzehl
Alixbonard 8c7e172
Apply suggestion from @lzehl
Alixbonard 871a3ba
Apply suggestion from @lzehl
Alixbonard 83c5621
Apply suggestion from @lzehl
Alixbonard fc1ede5
Apply suggestion from @lzehl
Alixbonard c5bd155
Apply suggestion from @lzehl
Alixbonard 6a3ab31
Apply suggestion from @lzehl
Alixbonard 9ecccd8
Apply suggestion from @lzehl
Alixbonard e3ef400
Apply suggestion from @lzehl
Alixbonard 49e6778
Apply suggestion from @lzehl
Alixbonard 274bde6
Apply suggestion from @lzehl
Alixbonard 89515b0
Apply suggestion from @lzehl
Alixbonard 3403edd
Apply suggestions from code review
Alixbonard d5da486
Update coordinateSpace to coordinateFramework in rasterVolume and ras…
7cb9937
Update numberOfSlices by numberOfPlanes
ba1bf30
relocate temporalSamplingFrequency
24363c1
Rename numberOfSlices by numberOfPlanes
454578e
relocate numberOfPlanes
376a846
Apply suggestion from @lzehl
lzehl edc838d
Remove description and replace lookup label by name
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| { | ||
| "_type": "core:RasterImage", | ||
| "required": [ | ||
| "coordinateFramework", | ||
| "dataLocation", | ||
| "dimension", | ||
| "pixelSize" | ||
| ], | ||
| "properties": { | ||
| "additionalRemarks": { | ||
| "_instruction": "Enter any additional remarks concerning this digital representation.", | ||
| "type": "string" | ||
| }, | ||
| "capturedWith": { | ||
| "_instruction": "Add the device used to capture this digital representation.", | ||
| "_linkedCategories": [ | ||
| "deviceUsage" | ||
| ] | ||
| }, | ||
| "coordinateFramework": { | ||
| "_instruction": "Add the coordinate space in which this digital representation exists.", | ||
| "_linkedTypes": [ | ||
| "sands:CommonCoordinateFrameworkVersion", | ||
| "sands:CustomCoordinateFramework" | ||
|
|
||
| ] | ||
| }, | ||
| "dataLocation": { | ||
| "_instruction": "Add the location of the file or file bundle in which the digital representation is stored.", | ||
| "_linkedTypes": [ | ||
| "core:File" | ||
| ] | ||
| }, | ||
| "dimension": { | ||
| "_instruction": "Enter the dimension of this image in pixels.", | ||
| "items": { | ||
| "type": "integer" | ||
| }, | ||
| "maxItems": 2, | ||
| "minItems": 2, | ||
| "type": "array" | ||
| }, | ||
| "name": { | ||
| "_instruction": "Enter a descriptive name of this digital representation preferably matching the filename.", | ||
| "type": "string" | ||
| }, | ||
| "pixelSize": { | ||
| "_embeddedTypes": [ | ||
| "core:QuantitativeValue" | ||
| ], | ||
| "_instruction": "Enter the physical pixel size for this image (in x,y order).", | ||
| "maxItems": 2, | ||
| "minItems": 2, | ||
| "type": "array" | ||
| } | ||
| } | ||
| } | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,69 @@ | ||
| { | ||
| "_type": "core:RasterImageSequence", | ||
| "required": [ | ||
| "coordinateFramework", | ||
| "dataLocation", | ||
| "dimension", | ||
| "pixelSize", | ||
| "temporalSamplingFrequency" | ||
| ], | ||
| "properties": { | ||
| "additionalRemarks": { | ||
| "_instruction": "Enter any additional remarks concerning this digital representation.", | ||
| "type": "string" | ||
| }, | ||
| "capturedWith": { | ||
| "_instruction": "Add the device used to capture this digital representation.", | ||
| "_linkedCategories": [ | ||
| "deviceUsage" | ||
| ] | ||
| }, | ||
| "coordinateFramework": { | ||
| "_instruction": "Add the coordinate space in which this digital representation exists.", | ||
| "_linkedTypes": [ | ||
| "sands:CommonCoordinateFrameworkVersion", | ||
| "sands:CustomCoordinateFramework" | ||
| ] | ||
| }, | ||
| "dataLocation": { | ||
| "_instruction": "Add the location of the file or file bundle in which the digital representation is stored.", | ||
| "_linkedTypes": [ | ||
| "core:File" | ||
| ] | ||
| }, | ||
| "dimension": { | ||
| "_instruction": "Enter the common dimension of the consecutive images (frames) in pixels.", | ||
| "items": { | ||
| "type": "integer" | ||
| }, | ||
| "maxItems": 2, | ||
| "minItems": 2, | ||
| "type": "array" | ||
| }, | ||
| "name": { | ||
| "_instruction": "Enter a descriptive name of this digital representation preferably matching the filename.", | ||
| "type": "string" | ||
| }, | ||
| "numberOfImages": { | ||
| "_instruction": "Enter the total number of images in this sequence (at least two).", | ||
| "minimum": 2, | ||
| "type": "integer" | ||
| }, | ||
| "pixelSize": { | ||
| "_embeddedTypes": [ | ||
| "core:QuantitativeValue" | ||
| ], | ||
| "_instruction": "Enter the common physical pixel size for the consecutive images (frames) (in x,y order).", | ||
| "maxItems": 2, | ||
| "minItems": 2, | ||
| "type": "array" | ||
| }, | ||
| "temporalSamplingFrequency": { | ||
| "_embeddedTypes": [ | ||
| "core:QuantitativeValue" | ||
| ], | ||
| "_instruction": "Enter the rate at which consecutive images (frames) are captured in a sequence, preferably measured in Hertz (Hz)." | ||
| } | ||
| } | ||
| } | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,69 @@ | ||
| { | ||
| "_type": "core:RasterImageStack", | ||
| "required": [ | ||
| "coordinateFramework", | ||
| "dataLocation", | ||
Alixbonard marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "dimension", | ||
| "pixelSize", | ||
| "z-stepSize" | ||
| ], | ||
| "properties": { | ||
| "additionalRemarks": { | ||
| "_instruction": "Enter any additional remarks concerning this digital representation.", | ||
| "type": "string" | ||
| }, | ||
| "capturedWith": { | ||
| "_instruction": "Add the device used to capture this digital representation.", | ||
| "_linkedCategories": [ | ||
| "deviceUsage" | ||
| ] | ||
| }, | ||
| "coordinateFramework": { | ||
| "_instruction": "Add the coordinate space in which this digital representation exists.", | ||
| "_linkedTypes": [ | ||
| "sands:CommonCoordinateFrameworkVersion", | ||
| "sands:CustomCoordinateFramework" | ||
| ] | ||
| }, | ||
| "dataLocation": { | ||
| "_instruction": "Add the location of the file or file bundle in which the digital representation is stored.", | ||
| "_linkedTypes": [ | ||
| "core:File" | ||
| ] | ||
| }, | ||
| "dimension": { | ||
| "_instruction": "Enter the common dimension of the consecutive image planes (optical sections) in pixels.", | ||
| "items": { | ||
| "type": "integer" | ||
| }, | ||
| "maxItems": 2, | ||
| "minItems": 2, | ||
| "type": "array" | ||
| }, | ||
| "name": { | ||
| "_instruction": "Enter a descriptive name of this digital representation preferably matching the filename.", | ||
| "type": "string" | ||
| }, | ||
| "numberOfImages": { | ||
| "_instruction": "Enter the total number of consecutive image planes (optical sections) in this stack (at least two).", | ||
| "minimum": 2, | ||
| "type": "integer" | ||
| }, | ||
| "pixelSize": { | ||
| "_embeddedTypes": [ | ||
| "core:QuantitativeValue" | ||
| ], | ||
| "_instruction": "Enter the common physical pixel size for the consecutive image planes (optical sections) (in x,y order).", | ||
| "maxItems": 2, | ||
| "minItems": 2, | ||
| "type": "array" | ||
| }, | ||
| "z-stepSize": { | ||
| "_embeddedTypes": [ | ||
| "core:QuantitativeValue" | ||
| ], | ||
| "_instruction": "Enter the physical axial distance between consecutive image planes (optical sections) within this image stack." | ||
| } | ||
| } | ||
| } | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,61 @@ | ||
| { | ||
| "_type": "core:RasterVolume", | ||
| "required": [ | ||
| "coordinateFramework", | ||
| "dataLocation", | ||
| "dimension", | ||
| "voxelSize" | ||
| ], | ||
| "properties": { | ||
| "additionalRemarks": { | ||
| "_instruction": "Enter any additional remarks concerning this digital representation.", | ||
| "type": "string" | ||
| }, | ||
| "capturedWith": { | ||
| "_instruction": "Add the device used to capture this digital representation.", | ||
| "_linkedCategories": [ | ||
| "deviceUsage" | ||
| ] | ||
| }, | ||
| "coordinateFramework": { | ||
| "_instruction": "Add the coordinate space in which this digital representation exists.", | ||
| "_linkedTypes": [ | ||
| "sands:CommonCoordinateFrameworkVersion", | ||
| "sands:CustomCoordinateFramework" | ||
| ] | ||
| }, | ||
| "dataLocation": { | ||
| "_instruction": "Add the location of the file or file bundle in which the digital representation is stored.", | ||
| "_linkedTypes": [ | ||
| "core:File" | ||
| ] | ||
| }, | ||
| "dimension": { | ||
| "_instruction": "Enter the dimension of this volume.", | ||
| "items": { | ||
| "type": "integer" | ||
| }, | ||
| "maxItems": 3, | ||
| "minItems": 3, | ||
| "type": "array" | ||
| }, | ||
| "name": { | ||
| "_instruction": "Enter a descriptive name of this digital representation preferably matching the filename.", | ||
| "type": "string" | ||
| }, | ||
| "numberOfPlanes": { | ||
| "_instruction": "Enter number of planes in this volume.", | ||
| "type": "integer" | ||
| }, | ||
| "voxelSize": { | ||
| "_embeddedTypes": [ | ||
| "core:QuantitativeValue" | ||
| ], | ||
| "_instruction": "Enter the physical voxel size for this image (in x,y,z order).", | ||
| "maxItems": 3, | ||
| "minItems": 3, | ||
| "type": "array" | ||
| } | ||
| } | ||
| } | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,73 @@ | ||
| { | ||
| "_type": "core:RasterVolumeSequence", | ||
| "required": [ | ||
| "coordinateFramework", | ||
| "dataLocation", | ||
| "dimension", | ||
| "temporalSamplingFrequency", | ||
| "voxelSize" | ||
| ], | ||
| "properties": { | ||
| "additionalRemarks": { | ||
| "_instruction": "Enter any additional remarks concerning this digital representation.", | ||
| "type": "string" | ||
| }, | ||
| "capturedWith": { | ||
| "_instruction": "Add the device used to capture this digital representation.", | ||
| "_linkedCategories": [ | ||
| "deviceUsage" | ||
| ] | ||
| }, | ||
| "coordinateFramework": { | ||
| "_instruction": "Add the coordinate space in which this digital representation exists.", | ||
| "_linkedTypes": [ | ||
| "sands:CommonCoordinateFrameworkVersion", | ||
| "sands:CustomCoordinateFramework" | ||
| ] | ||
| }, | ||
| "dataLocation": { | ||
| "_instruction": "Add the location of the file or file bundle in which the digital representation is stored.", | ||
| "_linkedTypes": [ | ||
| "core:File" | ||
| ] | ||
| }, | ||
| "dimension": { | ||
| "_instruction": "Enter the dimension of this volume.", | ||
| "items": { | ||
| "type": "integer" | ||
| }, | ||
| "maxItems": 3, | ||
| "minItems": 3, | ||
| "type": "array" | ||
| }, | ||
| "name": { | ||
| "_instruction": "Enter a descriptive name of this digital representation preferably matching the filename.", | ||
| "type": "string" | ||
| }, | ||
| "numberOfPlanes": { | ||
| "_instruction": "Enter number of planes in this volume.", | ||
| "type": "integer" | ||
| }, | ||
| "numberOfVolumes": { | ||
| "_instruction": "Enter the total number of volumes in this volume sequence (at least two).", | ||
| "minimum": 2, | ||
| "type": "integer" | ||
| }, | ||
| "temporalSamplingFrequency": { | ||
| "_embeddedTypes": [ | ||
| "core:QuantitativeValue" | ||
| ], | ||
| "_instruction": "Enter the rate at which consecutive images (frames) are captured in a sequence, preferably measured in Hertz (Hz)." | ||
| }, | ||
| "voxelSize": { | ||
| "_embeddedTypes": [ | ||
| "core:QuantitativeValue" | ||
| ], | ||
| "_instruction": "Enter the physical voxel size for this image (in x,y,z order).", | ||
| "maxItems": 3, | ||
| "minItems": 3, | ||
| "type": "array" | ||
| } | ||
| } | ||
| } | ||
|
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.