https://github.com/addisonelliott/matnrrd
MATLAB NRRD library that provides easy-to-use functions to load and save NRRD files.
https://github.com/addisonelliott/matnrrd
file-format image-processing matlab-library nrrd
Last synced: about 1 month ago
JSON representation
MATLAB NRRD library that provides easy-to-use functions to load and save NRRD files.
- Host: GitHub
- URL: https://github.com/addisonelliott/matnrrd
- Owner: addisonElliott
- License: mit
- Created: 2018-03-27T21:00:26.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-16T13:20:31.000Z (almost 7 years ago)
- Last Synced: 2025-04-15T06:48:38.735Z (about 1 month ago)
- Topics: file-format, image-processing, matlab-library, nrrd
- Language: Matlab
- Size: 80.1 KB
- Stars: 9
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
matnrrd
========
matnrrd is a MATLAB library that provides easy-to-use functions for loading and saving [NRRD](http://teem.sourceforge.net/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](https://www.mathworks.com/matlabcentral/fileexchange/66658-addisonelliott-matnrrd) 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
-------------```matlab
[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](https://github.com/addisonElliott/matnrrd/blob/master/LICENSE)