MNI Surfaces Figures
4.0K

pl-surfigures is a ChRIS
ds plugin which creates PNG figures visualizing MNI .obj surfaces
and vertex-wise data.
pl-surfigures works well for the outputs of
pl-surfdisterr
and pl-smoothness-error.
Any number of surfaces per subject is supported. For instance:
pl-surfigures is a ChRIS plugin, meaning it can
run from either within ChRIS or the command-line.
surfigures discovers inputs based on naming conventions.
Two conventions are supported:
subject001/wm_left.obj subject001/wm_right.objsubject001-left/wm.obj subject001-right/wm.objTo get started with local command-line usage, use Apptainer
(a.k.a. Singularity) to run pl-surfigures as a container:
apptainer exec docker://fnndsc/pl-surfigures surfigures [--args values...] input/ output/
To print its available options, run:
apptainer exec docker://fnndsc/pl-surfigures surfigures --help
Valid values for the options --font-color and --background-color are described here: https://imagemagick.org/script/color.php
Valid values for --color-map are described in colour_object -help.
gray, hot, hot_inv, cold_metal, cold_metal_inv, green_metal, green_metal_inv, lime_metal, lime_metal_inv, red_metal, red_metal_inv, purple_metal, purple_metal_inv, spectral, red, green, blue, label, rgba
surfigures requires two positional arguments: a directory containing
input data, and a directory where to create output data.
apptainer exec docker://fnndsc/pl-surfigures:latest surfigures incoming/ outgoing/
For a dark theme:
apptainer exec docker://fnndsc/pl-surfigures:latest surfigures \
--font-color green1 --background-color black \
incoming/ outgoing/
Let's say your vertex-wise data files use the file extensions .area.s5
and .depth.s5, where the range for values of .area.s5 data are between
0 and 1, and the range for values of .depth.s5 is -0.5 to 0.5.
Use the --range option to specify this. The format isfile_extension:min:max, multiple values are comma-delimited.
apptainer exec docker://fnndsc/pl-surfigures:latest surfigures \
--range .area.s5:0.0:1.0,.depth.s5:0.0:5.0 \
incoming/ outgoing/
Content type
Image
Digest
sha256:1debd1f32…
Size
117.6 MB
Last updated
about 3 years ago
docker pull fnndsc/pl-surfigures