sbollmann commited on
Commit
19e3b76
·
verified ·
1 Parent(s): 7597121

Add Pipeline Builder T1 workflow example

Browse files
pipeline-builder/examples/t1-segmentation.workflow.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "neuroflow": "0.1.1",
3
+ "kind": "workflow",
4
+ "id": "neurodesk.pipelines/t1-segmentation",
5
+ "version": "0.1.0",
6
+ "description": "Correct the bias field of a T1-weighted MRI, extract the brain and segment it.",
7
+ "inputs": {
8
+ "t1": {
9
+ "type": "neuro:volume",
10
+ "formats": ["nifti"],
11
+ "description": "T1-weighted head MRI"
12
+ }
13
+ },
14
+ "steps": {
15
+ "n4": {
16
+ "tool": "neurodesk.webapps/n4/correct",
17
+ "inputs": { "input_image": { "ref": "inputs.t1" } }
18
+ },
19
+ "brain": {
20
+ "tool": "neurodesk.webapps/brain-extraction/extract",
21
+ "inputs": { "input_image": { "ref": "steps.n4.outputs.output_image" } }
22
+ },
23
+ "segment": {
24
+ "tool": "neurodesk.webapps/synthseg/segment",
25
+ "inputs": { "input_image": { "ref": "steps.brain.outputs.output_brain" } }
26
+ }
27
+ },
28
+ "outputs": {
29
+ "brain": { "type": "neuro:volume", "ref": "steps.brain.outputs.output_brain" },
30
+ "labels": { "type": "neuro:label-map", "ref": "steps.segment.outputs.output_labels" }
31
+ }
32
+ }