<div dir="ltr">Hi all!<div><br></div><div style>I have the following issue where I am losing metadata when outputting to a NRRD file.</div><div style><br></div><div style> 1) I load a valid NRRD0005 file with a &quot;measurement frame&quot; field into an itk::VectorImage</div>
<div style> 2) I filter the image, creating a new vector image </div><div style> 3) I write out the new image to a file</div><div style><br></div><div style>The resulting file is in NRRD0004 format, and does not include a measurement frame.</div>
<div style><br></div><div style>I&#39;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 &quot;kinds&quot; and &quot;space&quot;,  it&#39;s metadata object type name is std::vector&lt;std::vector&lt;double&gt;&gt;&gt; whereas the other types show up as std::strings.</div>
<div style><br></div><div style>So it looks like I can special case this field and regenerate it to hack around the problem, but I&#39;d  like to see how to do this properly.</div><div style><br></div><div style><br></div>
<div style>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?</div><div style><br></div><div style>Any ideas how best to proceed before I dive into the ITK source?</div>
</div>