Yes, 255 start and end.<div><br></div><div><br><div class="gmail_quote">On Mon, Mar 18, 2013 at 4:34 PM, Erte Pan <span dir="ltr"><<a href="mailto:panerte@gmail.com" target="_blank">panerte@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 class="im HOEnZb">So the InputVolume means the input 3D Meta Image, Starlabel and Endlabel are both 255?<br><br></div>
<div class="HOEnZb"><div class="h5"><div class="gmail_quote">2013/3/18 Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">So your label is 255.<div><br></div><div>You will have to modify the example to read your tiff images.</div><div>
<div><div><br><br><div class="gmail_quote">On Mon, Mar 18, 2013 at 4:21 PM, Erte Pan <span dir="ltr"><<a href="mailto:panerte@gmail.com" target="_blank">panerte@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Sure. Here is one small patch I obtained from segmentation. It is a 3D 8-bit gray level image of 300x300x200 voxels, with 255 represent vessel signals and 0 represent background.<div>
<div><br><br><div class="gmail_quote">2013/3/18 Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Erte,<div><br></div><div>Please keep the vtk users list on the replies.</div><div><br></div><div>You said your data was segmented. That usually means the structures of interest have numeric labels. Can you post one of your tiff images?</div>
<span><font color="#888888">
<div><br></div></font></span><div><span><font color="#888888">Bill</font></span><div><div><br><br><div class="gmail_quote">On Mon, Mar 18, 2013 at 3:59 PM, Erte Pan <span dir="ltr"><<a href="mailto:panerte@gmail.com" target="_blank">panerte@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What are the labels in the GenerateModelsFromLabels ? Does it mean that I have to figure out the connectivity of the tiff image before I import them to the algorithm? In the algorithm, it says InputVolume is a meta file containing a 3 volumes of discrete labels, do these labels mean the x,y,z coords or something else?<div>
<div><br>
<br><div class="gmail_quote">2013/3/18 Erte Pan <span dir="ltr"><<a href="mailto:panerte@gmail.com" target="_blank">panerte@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks a lot! I'll give it a try.<div><div><br><br><div class="gmail_quote">2013/3/18 Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
You should use DiscreteMarchingCubes<div><br></div><div>See this example:</div><div><a href="http://vtk.org/Wiki/VTK/Examples/Cxx/Medical/GenerateModelsFromLabels" target="_blank">http://vtk.org/Wiki/VTK/Examples/Cxx/Medical/GenerateModelsFromLabels</a><div>
<div><br>
<br><div class="gmail_quote">On Mon, Mar 18, 2013 at 3:22 PM, Erte Pan <span dir="ltr"><<a href="mailto:panerte@gmail.com" target="_blank">panerte@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p>I got segmentation result(tiff)from hollow blood vessels. And I want to render it as mesh representation.</p><div><div>
<div class="gmail_quote">On Mar 18, 2013 5:16 PM, "Bill Lorensen" <<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
tiff describes images. There are many different ways to produce polydata. What application problem are you trying to solve?<div><br><br><div class="gmail_quote">On Mon, Mar 18, 2013 at 3:12 PM, Erte Pan <span dir="ltr"><<a href="mailto:panerte@gmail.com" target="_blank">panerte@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 Bill, <br>Thank you for an instant reply. But it seems I have trouble of converting a tiff input into vtkpolydata. Could you tell me how can I achieve that? Thank you.<div>
<div><br><br><div class="gmail_quote">2013/3/18 Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">One of these two examples might be helpful.<div><a href="http://vtk.org/Wiki/VTK/Examples/Cxx/Filtering/SurfaceFromUnorganizedPoints" target="_blank">http://vtk.org/Wiki/VTK/Examples/Cxx/Filtering/SurfaceFromUnorganizedPoints</a></div>
<div>
<a href="http://vtk.org/Wiki/VTK/Examples/Cxx/Filtering/SurfaceFromUnorganizedPointsWithPostProc" target="_blank">http://vtk.org/Wiki/VTK/Examples/Cxx/Filtering/SurfaceFromUnorganizedPointsWithPostProc</a></div><div><br>
</div><div>Bill<br>
<br><div class="gmail_quote"><div><div>On Mon, Mar 18, 2013 at 2:31 PM, Erte Pan <span dir="ltr"><<a href="mailto:panerte@gmail.com" target="_blank">panerte@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div>
Hello All,<br><br>I'm a fresher to vtk. I was trying to construct a mesh rendering from unorganized segmented 3D points. However, as I tried the vtkDelaunay3D and vtkSurfaceReconstructionFilter, neither of the methods gave the correct results. The programs crushed in the end. Here's my pipeline: vtkTIFFReader------->vtkXMLPolyDataWriter----------> vtkDelaunay3D or vtkSurfaceReconstructionFilter. But the rendering was failed. Could someone help me with this problem please? Thank you. <br clear="all">
<br>Best regards,<br><br>Erte Pan<br>
<br></div></div>_______________________________________________<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><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</font></span></div>
</blockquote></div><br><br clear="all"><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div>
</blockquote></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div></div></div>
</blockquote></div><br><br clear="all"><br><br>
</div></div></blockquote></div><br><br clear="all"><br></div></div><span><font color="#888888">-- <br>Erte Pan<br><br>PhD student in ECE Dept., UH<br>Bio-image Analytics Group<font color="#888888"></font><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Erte Pan<br><br>PhD student in ECE Dept., UH<br>Bio-image Analytics Group<font color="#888888"></font><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Erte Pan<br><br>PhD student in ECE Dept., UH<br>Bio-image Analytics Group<font color="#888888"></font><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div>