This is a Header-Only implementation of the NRRD Image file format. It supports all basic C-types and automatically converts to the type you want. It is templated and allows reading and writing user-defined meta-information to the NRRD-header.

It implements "the most important" parts of the following standard:
http://teem.sourceforge.net/nrrd/format.html
- Does not implement: line skip, byte skip, orientations, encodings other than raw, kinds other than domain.
- Converts all type strings to C-type equivalent i.e. "uint8" to "unsigned char"
- Always writes "endian" tag (required for FIJI/ImageJ loading)
- Can open files of Big and little endian but saves files only in native format.

It is compatible with ImageJ/Fiji
http://fiji.sc/Fiji

The library has been used in dozens of projects and is well tested.

Features

  • NRRD file loading
  • NRRD file saving
  • Templated to support all basic C types
  • Automatically convert between types
  • Optional tools to convert all types supported by ITK including DICOM, TIFF etc.

Project Activity

See All Activity >

Follow NRRD Image Library for C++

NRRD Image Library for C++ Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of NRRD Image Library for C++!

Additional Project Details

Registered

2014-02-04