<div dir="ltr">What is your polydata made of? <br><br>Is it from 2D contours?<br><br>You may post your code, that would make people to help you better.<br><br>Jothy<br><br><div class="gmail_quote">On Mon, Mar 19, 2012 at 2:51 AM, Raghuram.O.S. <span dir="ltr"><<a href="mailto:raghuramos1987@gmail.com" target="_blank">raghuramos1987@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<div><br></div><div><div>I have been trying to convert polydata to imagedata using the image stencil filter. I seem to be running into an issue of noise in the converted image. I get random triangles in the image which are pretty huge in the middle of actual data. I saw this post <a href="http://www.vtk.org/pipermail/vtkusers/2011-October/119302.html" target="_blank">http://www.vtk.org/pipermail/vtkusers/2011-October/119302.html</a> and tried using the implicit function. But, the post doesnt have a full example and there doesnt seem to be an example of <span style="background-color:rgb(255,255,255)">vtkImplicitFunctionToImageStencil. </span></div>
<div><span style="background-color:rgb(255,255,255)"><br></span></div><div><span style="background-color:rgb(255,255,255)">My polydata doesnt seem to have any issues when I render it using polydatamapper. I have been using the example on the site at </span><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/PolyDataToImageData" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/PolyDataToImageData</a> (as indicated in the previous post also).</div>
-- <br><font color="#888888">Regards,<br>Onti<br>
</font></div>
<br>_______________________________________________<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/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_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></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Jothy<br></div><br>
</div>