pub fn read_nifti_file(path: &Path) -> Result<NiftiData, String>
Read a NIfTI file from a filesystem path
Supports both .nii and .nii.gz files.