<div dir="ltr">And, of course, vtkMarchingSquares for 2D images.<div><br></div><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 14, 2017 at 8:43 AM, Dean Inglis <span dir="ltr"><<a href="mailto:inglis.dl@gmail.com" target="_blank">inglis.dl@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi Siming,<br><br></div>you could use vtkImageMarchingCubes to extract an isosurface.<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888">- Dean<br></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 14, 2017 at 10:28 AM, Siming Bayer <span dir="ltr"><<a href="mailto:siming.bayer@gmail.com" target="_blank">siming.bayer@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear all,<br>
<br>
I know that vtkPolyDataToImageStencil can be used to convert vtkPolyData to a binary image. Is there any possibility to do it in the inverse way? I would like to use a binary image to generate a mesh via VTK.<br>
<br>
best,<br>
Siming<br></blockquote></div></div></div></div></blockquote></div><br></div></div></div>