Download pipeline-builder/examples/t1-segmentation.workflow.json from neurodeskorg/webapps: direct link, hf CLI and curl.
- Browser
- Download file 1.01 kB
-
https://huggingface.co/datasets/neurodeskorg/webapps/resolve/main/pipeline-builder/examples/t1-segmentation.workflow.json
- Command line
-
hf download hf://datasets/neurodeskorg/webapps/pipeline-builder/examples/t1-segmentation.workflow.json
-
curl -L -o t1-segmentation.workflow.json https://huggingface.co/datasets/neurodeskorg/webapps/resolve/main/pipeline-builder/examples/t1-segmentation.workflow.json
1.01 kB
| { | |
| "neuroflow": "0.1.1", | |
| "kind": "workflow", | |
| "id": "neurodesk.pipelines/t1-segmentation", | |
| "version": "0.1.0", | |
| "description": "Correct the bias field of a T1-weighted MRI, extract the brain and segment it.", | |
| "inputs": { | |
| "t1": { | |
| "type": "neuro:volume", | |
| "formats": ["nifti"], | |
| "description": "T1-weighted head MRI" | |
| } | |
| }, | |
| "steps": { | |
| "n4": { | |
| "tool": "neurodesk.webapps/n4/correct", | |
| "inputs": { "input_image": { "ref": "inputs.t1" } } | |
| }, | |
| "brain": { | |
| "tool": "neurodesk.webapps/brain-extraction/extract", | |
| "inputs": { "input_image": { "ref": "steps.n4.outputs.output_image" } } | |
| }, | |
| "segment": { | |
| "tool": "neurodesk.webapps/synthseg/segment", | |
| "inputs": { "input_image": { "ref": "steps.brain.outputs.output_brain" } } | |
| } | |
| }, | |
| "outputs": { | |
| "brain": { "type": "neuro:volume", "ref": "steps.brain.outputs.output_brain" }, | |
| "labels": { "type": "neuro:label-map", "ref": "steps.segment.outputs.output_labels" } | |
| } | |
| } | |