<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt">Hello,<br> Thanks for the reply. But I need a little bit clarification. When I use 'skinExtractor SetValue 0 255', it generates one iso-surface. Does it threshold the image into a binary image?<br><br>Thanks again.<br><br>Hayden.<br><br><div><span><br></span></div><div><br></div> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1"> <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Bill Lorensen <bill.lorensen@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> Hayden Smith <s_hayden_28@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> "vtkusers@vtk.org" <vtkusers@vtk.org> <br>
<b><span style="font-weight: bold;">Sent:</span></b> Tuesday, July 2, 2013 3:45 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [vtkusers] A Simple Question on vtkContourFilter<br> </font> </div> <div class="y_msg_container"><br><div id="yiv3222926196"><div dir="ltr"><div><div>skinExtractor GenerateValues 4 0 255 will extract 4 isosurfaces <br> Value 0: 0<br> Value 1: 85<br> Value 2: 170<br> Value 3: 255<br><br></div>where<br>skinExtractor SetValue 0 255<br>
</div>will extract 1 isosurface with value<br>255<br><br><div><div><br></div></div></div><div class="yiv3222926196gmail_extra"><br><br><div class="yiv3222926196gmail_quote">On Tue, Jul 2, 2013 at 4:17 PM, Hayden Smith <span dir="ltr"><<a rel="nofollow" ymailto="mailto:s_hayden_28@yahoo.com" target="_blank" href="mailto:s_hayden_28@yahoo.com">s_hayden_28@yahoo.com</a>></span> wrote:<br>
<blockquote class="yiv3222926196gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-size:12pt;font-family:times new roman, new york, times, serif;"><div>Hello,</div><div> I have a simple question on vtkContourFilter. What is the difference between the following two pieces of code:</div>
<div><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;"> vtkContourFilter skinExtractor<br> skinExtractor SetInput [v16
GetOutput]<br> eval skinExtractor GenerateValues 4 0 255<br> skinExtractor Update</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;">
<br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;"><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;">
vtkContourFilter
skinExtractor<br> skinExtractor SetInput [v16 GetOutput]<br> skinExtractor SetValue 0 255<br> skinExtractor Update</div>
<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;"><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;">
<br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;">If I use 'eval skinExtractor GenerateValues 4 0 255' in vtkContourFilter, the reconstructed output is noisy whereas if I use 'skinExtractor SetValue 0 255', the output is better and much clear. Could any one clarify me how these two commands are making the difference in output? <br>
</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;">Thanks in advance.</div><span class="yiv3222926196HOEnZb"><font color="#888888"><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;">
<br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;"><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;">
Hayden<br></div></font></span></div></div><br>_______________________________________________<br>
Powered by <a rel="nofollow" target="_blank" href="http://www.kitware.com/">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a rel="nofollow" target="_blank" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a rel="nofollow" target="_blank" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a rel="nofollow" target="_blank" href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div></div><br><br></div> </div> </div> </div></body></html>