<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"><<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>></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"><<a href="mailto:michael.mentink@st-hughs.ox.ac.uk">michael.mentink@st-hughs.ox.ac.uk</a>> wrote:<br>
><br>
</div><div><div></div><div class="h5">> I'd like to import image data into VTK from a textfile.<br>
> The file is an exported segmented image, coming from MIMICS.<br>
><br>
> The textfile has this data:<br>
><br>
> 82.5000000000000 -119.687500000000 35.2119100000000 251<br>
> 82.1875000000000 -119.375000000000 35.2119100000000 201<br>
> 82.5000000000000 -119.375000000000 35.2119100000000 239<br>
> 82.8125000000000 -119.375000000000 35.2119100000000 226<br>
> 82.1875000000000 -119.062500000000 35.2119100000000 195<br>
> 82.5000000000000 -119.062500000000 35.2119100000000 213<br>
> 82.8125000000000 -119.062500000000 35.2119100000000 201<br>
> 83.1250000000000 -119.062500000000 35.2119100000000 163<br>
> 82.1875000000000 -118.750000000000 35.2119100000000 176<br>
> 82.5000000000000 -118.750000000000 35.2119100000000 176<br>
> 82.8125000000000 -118.750000000000 35.2119100000000 176<br>
><br>
> with values for x, y, z and image intensity.<br>
><br>
> How do I import this data into VTK?<br>
><br>
> I guess I have to read everything into an array first, create an empty image<br>
> and then copy the pixel values into that empty image?<br>
> How do I set the inter pixel spacing and inter slice spacing?<br>
><br>
> Kind regards,<br>
><br>
> Michael<br>
><br>
</div></div><div><div></div><div class="h5">> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the VTK FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
><br>
><br>
</div></div></blockquote></div><br>