Important
NiiVue is alive and under very active development. We have simply moved development to a new repository: niivue/mono.
Only this repository is being retired: it will be archived (made read-only) on January 15, 2027. The NiiVue project, its team and its releases all continue in niivue/mono, where new features, fixes and releases ship every week.
@niivue/niivue 1.0, built in the monorepo, is a ground-up rewrite and a significant improvement over the 0.x releases built here, better in every way: WebGPU rendering with a WebGL2 fallback, smaller bundles, a simpler property-based API, and extensions for drawing, image processing and DICOM conversion. React bindings, a web component and the ipyniivue Jupyter widget are developed alongside it, and the documentation, live demos and gallery are at niivue.com.
- Install:
npm install @niivue/niivue@next(the 1.0 releases; 0.x releases from this repository stay below 1.0). - Migrate: start with Coming from NiiVue 0.x and the migration table.
- Get help: if you build on NiiVue, we want to help you move your app. Open an issue in niivue/mono and tell us about it.
Existing 0.x releases on npm keep working after this repository is archived, and we will keep helping with migrations in niivue/mono after that date.
NiiVue is web-based visualization tool for neuroimaging that can run on any device (phone, tablet, computer).
See the Documentation for usage. The easiest way to develop with NiiVue is to run a hot-loading page that is updated whenever you save changes to any source files:
git clone git@github.com:niivue/niivue.git
cd niivue
npm install
npm run dev
- Analysis of Functional NeuroImages (AFNI) neuroimaging analysis suite that uses NiiVue for afni_proc.py
- aoa-neuro-demos in-browser brain demos for an Academy of Aphasia workshop (source)
- BIDSvue create, curate, de-identify, and share BIDS datasets
- BOOSTLET.js image processing plugins for NiiVue
- brain-tumor-segmentation SwinUNETR brain tumor segmentation with 2D/3D visualization
- brain-tumour-neuropsychology-atlas maps postoperative outcomes of brain tumour surgery to MNI152 regions (source)
- brain2print browser-based conversion of voxels to printable meshes
- brainchop drag-and-drop segmentation, brain extraction and parcellation
- BrainLife.io cloud platform that embeds NiiVue in ezbids
- BrowserQC quality metrics for NIfTI and DICOM images
- CACTAS extends NiiVue drawing and segmentation
- CALMaR co-designed automated lesion mapping and reporting
- CanlabCore MATLAB toolbox for interactive analysis of neuroimaging data
- ChRIS research integration system with a NiiVue viewer
- ct2print browser-based viewing of volume and mesh data
- deepsyence by Thuy Dao
- deface browser-based drag-and-drop defacing for DICOM and NIfTI images
- dwi2trx browser-based diffusion visualization and streamline creation
- Easy-MP2RAGE-T1-Map B1-corrected T1 mapping at 3T and 7T
- EdgeReg fast client-side medical image registration
- faraday agent-native volumetric reading room for CT and MRI (source)
- fideus develops the ITK-Wasm plugins
- FMRIB's Software Library (FSL) cloud tools and documentation
- FreeBrowse FreeSurfer viewer from the Laboratories for Computational Neuroimaging
- FSL Clinical brain imaging reports
- Galaxy web platform for research that embeds NiiVue
- huggingface dataset previews with NiiVue
- The Insight Journal interactive illustrations embedded in articles
- ipyniivue NiiVue for Jupyter notebooks, including py.cafe
- JetBrains NiiVue viewer plugin for IntelliJ IDEs (source)
- JHUdemo CT scan and per-voxel segmentation viewer for JHU BodyMaps (source)
- LAMBADA (OpenBrainAtlas) atlas of the developing postnatal mouse brain from the Paris Brain Institute
- LINC Gallery showcases data from LINC, an NIH BRAIN CONNECTS center
- MuscleMap whole-body muscle MRI segmentation in your browser
- neurodesk browser-based QSMxT quantitative susceptibility mapping
- Neurodesk WebApps browser-based neuroimaging applications
- NeuroFLAME federated learning across sites while keeping data securely on-site
- Neuroimaging Pattern Masks atlases and pattern-based brain signatures from CANlab
- Neuroinformatics Research and Development Group embeds NiiVue in tractoscope
- neurosift NWB visualization and DANDI exploration
- neurosynth compose meta-analysis display
- niftier small viewer with interactive intensity thresholding
- niimath fast image processing
- NiiNav brain stimulation navigation
- nilearn extends ipyniivue
- niivue-vscode VSCode extension for displaying images
- NiiVue Desktop crossplatform Electron app
- NiiVue iOS Swift app on the Apple App Store for macOS and iOS
- NiiVue Neglect stroke lesion data in a spatial neglect severity prediction tool
- nltools Python neuroimaging analysis toolbox built on nilearn
- nmrview MRI and 1D NMR spectroscopy workstation for research and education (source)
- OpenMedView validates image registration
- OpenMRI local viewer for personal MRI and CT studies with rigid registration across dates
- OpenNeuro.org visualizes shared datasets
- Plurimedia medical image visualization in client work
- qmrust native-Rust toolkit for quantitative MRI
- QSMbly quantitative susceptibility mapping in your browser
- QuantCo medical imaging workflows
- readyourscan in-browser DICOM and NIfTI viewer with MPR and volume rendering (source)
- scanspeak local LLM drives a NiiVue viewer of mouse micro-CT through tool calls
- SeedSeg prostate gold seed segmentation
- Slice:Drop Reloaded extends the original slicedrop
- SpinalCordToolbox spinal cord MRI segmentation in the browser
- system-onco brain MRI research dashboard with MONAI segmentation and Grad-CAM
- T2Lesion input data and segmented lesion masks
- VesselBoost blood vessel segmentation
- VoxLogicA-UI makes advanced medical imaging analysis intuitive
- Web-based CT viewer CT and organ-segmentation viewer for BodyMaps (source)
- 2021-2022 P50 DC014664 NIH NIDCD NOT-OD-21-091
- 2023-2026 RF1 MH133701 NIH NIMH
NiiVue natively supports many popular brain imaging formats, with additional support for DICOM, MINC, and TIFF available via plugins:
- Voxel-based formats: NIfTI, NRRD, MRtrix MIF, AFNI HEAD/BRIK, MGH/MGZ, ITK MHD, ECAT7, DSI-Studio SRC.
- Mesh-based formats: GIfTI, ASC, BYU/GEO/G, BrainSuite DFS, ICO/TRI, PLY, BrainNet NV, BrainVoyager SRF, FreeSurfer, MZ3, OFF, Wavefront OBJ, STL, Legacy VTK, WRL, X3D.
- Mesh overlay formats: GIfTI, CIfTI-2, MZ3, SMP, STC, FreeSurfer (CURV/ANNOT)
- Tractography formats: TCK, TRK, TRX, TSF, TT, VTK, AFNI .niml.tract