BareMRI: a tiny C99 NIfTI viewer core for fast inspection, teaching, and hacking. Not clinically validated. Not a full neuroimaging suite.
Zero dependencies beyond the windowing backend you choose. The SDL2 shared-library build weighs ~100 KB; the MiniFB static build ~300 KB. Everything else — NIfTI I/O, software rasterizer, plot engine — is single-header C included in the tree.
Tri-view display (axial / sagittal / coronal), 4D timeseries with scrub + chart, contrast level/window sliders, overlay + segmentation support, zoom to crosshair, 5 colormaps, BMP screenshot export.
On-the-fly instantaneous correlation mapping for functional data.
Not numerically validated — correlation values may differ from AFNI.
Compile with make EXPERIMENT=instacorr, then press I, click a seed
voxel, and drag to explore.
make # MiniFB (macOS Metal)
make BACKEND=sdl2 # SDL2 (Linux/Windows/macOS)baremri [--out <dir>] [-s|--seg seg.nii] [-o|--overlay ovl.nii] <anatomy.nii>
For customization see README_DEV.md.
