Writes an array to a .img file of 1 byte integers and add at the begining of the file the NIFTI header part
f.write.nii.array.to.img.8bit(mat,L,file,path.out)
Nothing is returned
An array
A list containing the header information
The name of the file to be written, preferably with .img suffix
The path where to write the file
f.write.nifti
,
f.write.nii.array.to.img.float
,
f.write.nii.array.to.img.2bytes