If nhdr is not supplied defaults to <nrrd>.nhdr. If nhdr=NA then new header is returned but not written.
NrrdMakeDetachedHeaderForNrrd(nrrd, nhdr = paste(nrrd, sep = ".", "nhdr"))
| nrrd | Full path to a nrrd file |
|---|---|
| nhdr | Full path nhdr file to be written |
invisibly returned character vector with new header