Web brain hemisphere surface viewer
1.1K
An opinionated NiiVue application for browsing surface meshes found in a filesystem directory.
Demo: https://niivue-hosting-of-medical-image-analysis-platform-dcb83b.apps.shift.nerc.mghpcc.org/

Prepare your data to adhere to the naming conventions. Then, run
docker run --rm --name niivue-browser \
-p 2019:2019 -p 8080:8080 \
-v "/path/on/host/to/your/data:/data:ro" \
ghcr.io/fnndsc/niivue-browser:latest
For whatever reason, you can change the container directory where data is served from by setting NIIVUEBROWSER_SUBJECTS_DIR.
docker run --rm --name niivue-browser \
-p 2019:2019 -p 8080:8080 \
-e NIIVUEBROWSER_SUBJECTS_DIR=/custom_dir
-v "/path/on/host/to/your/data:/custom_dir:ro" \
ghcr.io/fnndsc/niivue-browser:latest
.nii, .nii.gz, and .mz3. We recommend using
niivue-browser to convert from MNI formats (.mnc, .obj and .txt).lh. for left hemispheres or rh. for right hemispheres.lh./rh. prefix nor file extension.
For example, lh.wm.mz3 and rh.wm.mz3 will be recognized together as "wm" surfaces.
Likewise, lh.wm.disterr.mz3, lh.wm.smtherr.mz3, lh.wm.tlink_10mm.mz3 will be recognized as surface data
for the lh.wm.mz3 surface. Rules for file name recognition are coded in src/lib/recognize.ts.Download some sample data:
curl -sf https://stack.nerc.mghpcc.org:13808/swift/v1/AUTH_2dd3b02b267242d9b28f94a512ea9ede/fnndsc-public/samples/fetal_brain/sample_human_fetus_brain_mri_subplate_surfaces.tar.gz | tar xvz
./data which contains subdirectories, where each subdirectory contains
data for a single subject. Optionally, place a file called ./data/*.csv which provides metadata about subjects.pnpm run dev and pnpm run dev:proxy concurrently.http://localhost:51733/Examples for how to deploy on Kubernetes/OpenShift can be found here:
Content type
Image
Digest
sha256:30653c727…
Size
32.8 MB
Last updated
over 2 years ago
docker pull fnndsc/niivue-browser