Skip to content

Commit 301547f

Browse files
committed
work on 03-imaging
1 parent d6907e1 commit 301547f

File tree

1 file changed

+23
-18
lines changed

1 file changed

+23
-18
lines changed

src/05-derivatives/03-imaging.md

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ pipeline1/
4141

4242
The following metadata JSON fields are defined for preprocessed images:
4343

44-
| **Key name** | **Description** |
45-
| ------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
46-
| SkullStripped | REQUIRED. Boolean. Whether the volume was skull stripped (non-brain voxels set to zero) or not. |
47-
| Resolution | REQUIRED if `res` is present. String, or [object][] mapping labels to strings. Specifies the interpretation of the resolution keyword. |
48-
| Density | REQUIRED if `den` is present. String, or [object][] mapping labels to strings. Specifies the interpretation of the density keyword. |
44+
| **Key name** | **Requirement level** | **Data type** | **Description** |
45+
| ------------- | ----------------------------- | -------------------------------------------------- | ---------------------------------------------------------------------------- |
46+
| SkullStripped | REQUIRED | [boolean][] | Whether the volume was skull stripped (non-brain voxels set to zero) or not. |
47+
| Resolution | REQUIRED if `res` is present. | [string][] or [object][] mapping labels to strings | Specifies the interpretation of the resolution keyword. |
48+
| Density | REQUIRED if `den` is present. | [string][] or [object][] mapping labels to strings | Specifies the interpretation of the density keyword. |
4949

5050
Example JSON file corresponding to
5151
`pipeline1/sub-001/func/sub-001_task-rest_run-1_space-MNI305_bold.json` above:
@@ -131,13 +131,13 @@ and the `Atlas` metadata SHOULD be defined.
131131

132132
JSON metadata fields:
133133

134-
| **Key name** | **Description** |
135-
| ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------- |
136-
| RawSources | Same as defined in [Introduction][intro], but elevated from OPTIONAL to REQUIRED |
137-
| Type | RECOMMENDED. Short identifier of the mask. Reserved values: `Brain` - brain mask, `Lesion` - lesion mask, `Face` - face mask, `ROI` - ROI mask |
138-
| Atlas | OPTIONAL. Which atlas (if any) was used to generate the mask. RECOMMENDED if `label` entity is defined. |
139-
| Resolution | REQUIRED if `res` is present. String, or [object][] mapping labels to strings. Specifies the interpretation of the resolution keyword. |
140-
| Density | REQUIRED if `den` is present. String, or [object][] mapping labels to strings. Specifies the interpretation of the density keyword. |
134+
| **Key name** | **Requirement level** | **Data type** | **Description** |
135+
| ------------ | -------------------------------------------------- | -------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
136+
| RawSources | REQUIRED | [array][] of [strings][] | Same as defined in [Introduction][intro], but elevated from OPTIONAL to REQUIRED. |
137+
| Type | RECOMMENDED | [string][] | Short identifier of the mask. Reserved values: `Brain` - brain mask, `Lesion` - lesion mask, `Face` - face mask, `ROI` - ROI mask |
138+
| Atlas | OPTIONAL, RECOMMENDED if `label` entity is defined | [string][] | Which atlas (if any) was used to generate the mask. |
139+
| Resolution | REQUIRED if `res` is present | [string][] or [object][] mapping labels to strings | Specifies the interpretation of the resolution keyword. |
140+
| Density | REQUIRED if `den` is present | [string][] or [object][] mapping labels to strings | Specifies the interpretation of the density keyword. |
141141

142142
Examples:
143143

@@ -181,12 +181,12 @@ Probabilistic segmentations of surfaces are currently [unspecified][].
181181

182182
The following metadata fields apply to all segmentation files:
183183

184-
| **Key name** | **Description** |
185-
| ------------ | -------------------------------------------------------------------------------------------------------------------------------------- |
186-
| Manual | OPTIONAL. Boolean. Indicates if the segmentation was performed manually or via an automated process |
187-
| Atlas | OPTIONAL. Which atlas (if any) was used to derive the segmentation. |
188-
| Resolution | REQUIRED if `res` is present. String, or [object][] mapping labels to strings. Specifies the interpretation of the resolution keyword. |
189-
| Density | REQUIRED if `den` is present. String, or [object][] mapping labels to strings. Specifies the interpretation of the density keyword. |
184+
| **Key name** | **Requirement level** | **Data type** | **Description** |
185+
| ------------ | ---------------------------- | -------------------------------------------------- | --------------------------------------------------------------------------------- |
186+
| Manual | OPTIONAL | [boolean][] | Indicates if the segmentation was performed manually or via an automated process. |
187+
| Atlas | OPTIONAL | [string][] | Which atlas (if any) was used to derive the segmentation. |
188+
| Resolution | REQUIRED if `res` is present | [string][] or [object][] mapping labels to strings | Specifies the interpretation of the resolution keyword. |
189+
| Density | REQUIRED if `den` is present | [string][] or [object][] mapping labels to strings | Specifies the interpretation of the density keyword. |
190190

191191
### Discrete Segmentations
192192

@@ -407,3 +407,8 @@ index name abbreviation
407407
[common_preproc]: 02-common-data-types.md#preprocessed-or-cleaned-data
408408
[object]: https://www.json.org/json-en.html
409409
[unspecified]: ../02-common-principles.md#unspecified-data
410+
411+
[string]: https://www.w3schools.com/js/js_json_syntax.asp
412+
[strings]: https://www.w3schools.com/js/js_json_syntax.asp
413+
[boolean]: https://www.w3schools.com/js/js_json_datatypes.asp
414+
[array]: https://www.w3schools.com/js/js_json_arrays.asp

0 commit comments

Comments
 (0)