<br>I am afraid not, it only allows exporting in various kinds of meshes.<br><br>Michael<br><br><div class="gmail_quote">On Mon, Jan 25, 2010 at 10:00 PM, Bill Lorensen <span dir="ltr">&lt;<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Can you export the data into some sort of image format like DICOM?<br>
<br>
On Mon, Jan 25, 2010 at 11:36 AM, michiel mentink<br>
<div class="im">&lt;<a href="mailto:michael.mentink@st-hughs.ox.ac.uk">michael.mentink@st-hughs.ox.ac.uk</a>&gt; wrote:<br>
&gt;<br>
</div><div><div></div><div class="h5">&gt; I&#39;d like to import image data into VTK from a textfile.<br>
&gt; The file is an exported segmented image, coming from MIMICS.<br>
&gt;<br>
&gt; The textfile has this data:<br>
&gt;<br>
&gt; 82.5000000000000    -119.687500000000    35.2119100000000    251<br>
&gt; 82.1875000000000    -119.375000000000    35.2119100000000    201<br>
&gt; 82.5000000000000    -119.375000000000    35.2119100000000    239<br>
&gt; 82.8125000000000    -119.375000000000    35.2119100000000    226<br>
&gt; 82.1875000000000    -119.062500000000    35.2119100000000    195<br>
&gt; 82.5000000000000    -119.062500000000    35.2119100000000    213<br>
&gt; 82.8125000000000    -119.062500000000    35.2119100000000    201<br>
&gt; 83.1250000000000    -119.062500000000    35.2119100000000    163<br>
&gt; 82.1875000000000    -118.750000000000    35.2119100000000    176<br>
&gt; 82.5000000000000    -118.750000000000    35.2119100000000    176<br>
&gt; 82.8125000000000    -118.750000000000    35.2119100000000    176<br>
&gt;<br>
&gt; with values for x, y, z and image intensity.<br>
&gt;<br>
&gt; How do I import this data into VTK?<br>
&gt;<br>
&gt; I guess I have to read everything into an array first, create an empty image<br>
&gt; and then copy the pixel values into that empty image?<br>
&gt; How do I set the inter pixel spacing and inter slice spacing?<br>
&gt;<br>
&gt; Kind regards,<br>
&gt;<br>
&gt; Michael<br>
&gt;<br>
</div></div><div><div></div><div class="h5">&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br>