nrrdWriter(filename​, matrix, pixelspacing, origin, encoding)

This function writes imagery and metadata to .nrrd or .nhdr medical imaging format files.

Download
Download

You are now following this Submission

Cite As

mdcacio (2026). nrrdWriter(filename, matrix, pixelspacing, origin, encoding) (https://www.mathworks.com/matlabcentral/fileexchange/48621-nrrdwriter-filename-matrix-pixelspacing-origin-encoding), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: nrrdmeta2num(imgh)

Categories

Find more on Data Import and Analysis in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0

- Fixed a little bug when path is not set up at nhdr option.

Download
1.1.0

Little explanation about input parameters.

Download
1.0.0

Download