[Insight-users] NRRD output issue

Soubzriquet soubzriquet at gmail.com
Tue Jul 9 16:16:33 EDT 2013


Hi all!

I have the following issue where I am losing metadata when outputting to a
NRRD file.

 1) I load a valid NRRD0005 file with a "measurement frame" field into an
itk::VectorImage
 2) I filter the image, creating a new vector image
 3) I write out the new image to a file

The resulting file is in NRRD0004 format, and does not include a
measurement frame.

I've dumped the entire metadata dictionary and I can see that the
measurement frame is being read from the file, but it is handled
differently that other properties like "kinds" and "space",  it's metadata
object type name is std::vector<std::vector<double>>> whereas the other
types show up as std::strings.

So it looks like I can special case this field and regenerate it to hack
around the problem, but I'd  like to see how to do this properly.


So I am wondering does ITK 4.3.2 support NRRD0005 at all?  If so, is this a
known issue or am I just doing something incorrectly?

Any ideas how best to proceed before I dive into the ITK source?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20130709/32935938/attachment.htm>


More information about the Insight-users mailing list