<div dir="ltr"><div>Hi Roman,</div><div><br></div><div>The .mha file that you attached is giving me an error:</div><div><br></div><div> MetaImage: M_ReadElementsData: data not read completely</div><div> ideal = 1316134911 : actual = 87431</div><div><br></div><div>Can you try sending it again, or send the problem slices as png files?</div><div><br></div><div> - David</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 5, 2015 at 5:55 AM, Dr. Roman Grothausmann <span dir="ltr"><<a href="mailto:grothausmann.roman@mh-hannover.de" target="_blank">grothausmann.roman@mh-hannover.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi David,<br>
<br>
<br>
Many thanks for improving vtkPolyDataToImageStencil. I tested the git branch on 141229 in conjunction with my Voxelizer plug-in for Blender (<a href="http://www.midasjournal.org/browse/publication/882" target="_blank">http://www.midasjournal.org/<u></u>browse/publication/882</a>) and I still get some artifacts in the result (see first two slices of attached MHA) with e.g. an icosahedron (scale set to 100) as found in the attachment. Is that related to the bugs of vtkPolyDataToImageStencil?<br>
<br>
Kind regards,<br>
Roman<span class=""><br>
<br>
On 15/12/14 17:20, David Gobbi wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Hi Ricardo,<br>
<br>
Just a quick note, there was another bug with vtkPolyDataToImageStencil<br>
(caused as a result of my fixes to earlier bugs). The fix for this new bug<br>
was merged just last week:<br>
<a href="http://review.source.kitware.com/#/c/18392/" target="_blank">http://review.source.kitware.<u></u>com/#/c/18392/</a><br>
<br>
- David<br>
<br>
<br>
On Thu, Dec 4, 2014 at 11:17 AM, Ricardo A Corredor <<a href="mailto:ra.corredor@gmail.com" target="_blank">ra.corredor@gmail.com</a><br></span><span class="">
<mailto:<a href="mailto:ra.corredor@gmail.com" target="_blank">ra.corredor@gmail.com</a>><u></u>> wrote:<br>
<br>
<br>
Well, actually it seems that it doesn't happen with every polydata or<br>
polyline. I have some similar polylines and it works as it should; others<br>
that has not the same result. Let me verify and I will share with you the<br>
cases where it has this behavior.<br>
<br>
RaC<br>
<br>
<br>
<br></span><span class="">
______________________________<u></u>_________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_<u></u>FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" target="_blank">http://public.kitware.com/<u></u>mailman/listinfo/vtkusers</a><br>
<br>
</span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
-- <br>
Dr. Roman Grothausmann<br>
<br>
Tomographie und Digitale Bildverarbeitung<br>
Tomography and Digital Image Analysis<br>
<br>
Institut für Funktionelle und Angewandte Anatomie, OE 4120<br>
Medizinische Hochschule Hannover<br>
Carl-Neuberg-Str. 1<br>
D-30625 Hannover<br>
<br>
Tel. <a href="tel:%2B49%20511%20532-9574" value="+495115329574" target="_blank">+49 511 532-9574</a><br>
</font></span></blockquote></div><br></div>