Install libnifti-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libnifti-dev
IO libraries for the NIfTI-1 data format
Niftilib is a set of i/o libraries for reading and writing files in the NIfTI-1 data format. NIfTI-1 is a binary file format for storing medical image data, e.g. magnetic resonance image (MRI) and functional MRI (fMRI) brain images. . This package provides the header files and static libraries of libniftiio, znzlib and libnifticdf.