lookup_nvoxels: Helper function to obtain the number of voxels in a 4D file...

lookup_nvoxelsR Documentation

Helper function to obtain the number of voxels in a 4D file for populating FEAT FSF

Description

Helper function to obtain the number of voxels in a 4D file for populating FEAT FSF

Usage

lookup_nvoxels(nifti)

Arguments

nifti

a 4D nifti file

Details

This function prefers to use fslval instead of an internal R library because both oro.nifti and RNifti are rather slow to obtain a single value from the NIfTI header

Value

the number of voxels in nifti as calculated by x * y * z * t


UNCDEPENdLab/fmri.pipeline documentation built on April 3, 2025, 3:21 p.m.