<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Jun 10, 2014 at 3:18 AM, Richard Whitehead <span dir="ltr"><<a href="mailto:richard.whitehead@vivosight.com" target="_blank">richard.whitehead@vivosight.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>Please can someone tell me how to export a volume or slices to DICOM files?</div>

<div>I have found on the web a reference to vtkDICOMWriter, but it doesn't seem to be part of VTK 6.1.</div></div></blockquote><div><br></div><div>I have a vtkDICOMWriter class as part of my vtk-dicom package: </div>
<div>
<a href="http://github.com/dgobbi/vtk-dicom">http://github.com/dgobbi/vtk-dicom</a></div><div><a href="http://dgobbi.github.io/vtk-dicom/doc/api/">http://dgobbi.github.io/vtk-dicom/doc/api/</a><br></div><div><br></div><div>

It writes CT, MR, and Secondary Capture and goes to great lengths to ensure proper translation between VTK information and DICOM meta data. More modalities will be added in the coming months.</div><div><br></div><div>There is also a vtkGDCMImageWriter in the GDCM package, which I used to use before writing my own class.</div>

<div><br></div><div>  - David</div></div></div></div>