Please get in touch with Greg if you would like write access to contribute - I would be delighted! Note that there has been a change of web address since November 2008 when I had to move my server. I hope to have the server at a new permanent location by Spring 2009, most likely flybrain.mrc-lmb.cam.ac.uk . Sorry for any inconvenience.
Some of the advantages of the nrrd format (nearly raw raster data) include.
Simple ascii header and raw image data
Implemented either in single combined .nrdd file or a .nhdr header file pointing to 1 or more data files
Same format includes well defined way to handle complex data (eg vectors and tensors)
A white space separated text file of numbers is also a nrrd file!
Handles all critical metadata including spatial calibration, axis definitions (including world axes and image axes)
Can handle voxels considered as single points or small cubic volumes (cell vs node)
Can handle arbitrary key, value tags to record additional information
Can use compressed data e.g. gzip
Header can contain comment lines starting with a #
Open source cross-platform C IO library available to link into your applications
I have written simple open source (LGPL) Java plugins to read and write images with ImageJ.
Separate header files can be used to turn almost any 'raw' image file format into a Nrrd compatible file
eg I have provided a perl script bioradinfo.pl below that can turn a whole tree of Biorad PIC files into nrrd readable files just by writing an additional header file.
Medical imaging projects such as NA-MIC have adopted nrrd format and integrated it into ITK.
There is a command line tool unu which provides a great many useful image operations for the nrrd format.
I would like to propose the Nearly Raw Raster Data format (NRRD) developed by Gordon Kindlmann as an interchange format for Drosophila (and other) neuroanatomy image data. Nrrd is a simple format that consists of an ascii header followed by image (or other raster) data in raw, text or compressed format. If required the header can be written as a separate file from the image.
This format has a number of useful features that I have listed here . The key advantages over a format like tiff seem to me include: simplicity, a standardised way to handle critical spatial metadata (world and image axes etc), no immediate restrictions on data size per file, provides a way to keep track of data spread data over multiple files, the ability to write a header file of a few lines that can turn many image files (raw, PGM, PPM, Biorad PIC, AmiraMesh) into a nrrd-compatible file. For example this is a nrrd header for a Biorad file:
NRRD0004 # Created by Nrrd_Writer at Thu Apr 05 17:49:22 BST 2007 type: uint8 encoding: gzip endian: little dimension: 3 sizes: 512 512 88 spacings: 0.32964843 0.32964843 1.0 centers: cell cell cell units: "microns" "microns" "microns" byte skip: 76 data file: average-goodbrains-warp40-5_e1e-2.PIC.gz
Finally the point of an interchange format is not that you have to use it for all your day to day activities. Rather it should be a read and write option for your data that encapsulates all critical metadata and allows a wide spectrum of other users to exchange information. Of course you can now convert any of your image data to Nrrd using the ImageJ plugins below. ImageJ can open over 40 different file formats including Tiff, confocal stacks from Zeiss LSM, Leica, Nikon and Olympus microscopes, AmiraMesh, raw etc.
This license is between the user (you) and the copyright holders.
1. THIS SOFTWARE IS PROVIDED 'AS-IS', WITHOUT ANY EXPRESS OR IMPLIED WARRANTY. In no event will the authors be held liable for any damages arising from the use of this software.
2. Permission is granted to use this software FOR RESEARCH APPLICATIONS ONLY. It has not been reviewed or approved by the Food and Drug Administration or by any other agency. You acknowledge and agree that clinical applications are neither recommended nor advised.
3. This software may not be used for commercial applications. i.e., you may not sell it or charge for its use as a service to others.
4. Permission is granted to copy and use this software on any number of computers within the same laboratory. Requests from researchers in other laboratories should be referred to this website for registration and download.
5. The software is provided 'binary-only', and it may not be uncompiled or otherwise reverse engineered.