Skip to content

addisonElliott/matnrrd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

matnrrd

matnrrd is a MATLAB library that provides easy-to-use functions for loading and saving NRRD files. One feature that sets matnrrd apart from other NRRD readers is that it parses the metadata fields into sensible datatypes.

matnrrd can be found on MATLAB File Exchange as well.

Installation

Download this repository and copy/paste nrrdread.m and nrrdwrite.m somewhere in your MATLAB path. You are ready to go!

Running Tests

Download the entire repository and run test.m script.

Example usage

[data, metadata] = nrrdread('data/test1d_ascii.nrrd');
metadata.encoding = 'raw';

nrrdwrite('test.nrrd', data, metadata);

Documentation

See help of nrrdread and nrrdwrite for more information on how to use these functions.

License

See LICENSE

About

MATLAB NRRD library that provides easy-to-use functions to load and save NRRD files.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages