[vtkusers] Construct mesh from unorganized points

Bill Lorensen bill.lorensen at gmail.com
Mon Mar 18 19:30:00 EDT 2013


So your label is 255.

You will have to modify the example to read your tiff images.


On Mon, Mar 18, 2013 at 4:21 PM, Erte Pan <panerte at gmail.com> wrote:

> 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.
>
>
> 2013/3/18 Bill Lorensen <bill.lorensen at gmail.com>
>
>> Erte,
>>
>> Please keep the vtk users list on the replies.
>>
>> You said your data was segmented. That usually means the structures of
>> interest have numeric labels. Can you post one of your tiff images?
>>
>> Bill
>>
>>
>> On Mon, Mar 18, 2013 at 3:59 PM, Erte Pan <panerte at gmail.com> wrote:
>>
>>> 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?
>>>
>>>
>>> 2013/3/18 Erte Pan <panerte at gmail.com>
>>>
>>>> Thanks a lot! I'll give it a try.
>>>>
>>>>
>>>> 2013/3/18 Bill Lorensen <bill.lorensen at gmail.com>
>>>>
>>>>> You should use DiscreteMarchingCubes
>>>>>
>>>>> See this example:
>>>>> http://vtk.org/Wiki/VTK/Examples/Cxx/Medical/GenerateModelsFromLabels
>>>>>
>>>>>
>>>>> On Mon, Mar 18, 2013 at 3:22 PM, Erte Pan <panerte at gmail.com> wrote:
>>>>>
>>>>>> I got segmentation result(tiff)from hollow blood vessels. And I want
>>>>>> to render it as mesh representation.
>>>>>> On Mar 18, 2013 5:16 PM, "Bill Lorensen" <bill.lorensen at gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> tiff describes images. There are many different ways to produce
>>>>>>> polydata. What application problem are you trying to solve?
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Mar 18, 2013 at 3:12 PM, Erte Pan <panerte at gmail.com> wrote:
>>>>>>>
>>>>>>>> Hi Bill,
>>>>>>>> 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.
>>>>>>>>
>>>>>>>>
>>>>>>>> 2013/3/18 Bill Lorensen <bill.lorensen at gmail.com>
>>>>>>>>
>>>>>>>>> One of these two examples might be helpful.
>>>>>>>>>
>>>>>>>>> http://vtk.org/Wiki/VTK/Examples/Cxx/Filtering/SurfaceFromUnorganizedPoints
>>>>>>>>>
>>>>>>>>> http://vtk.org/Wiki/VTK/Examples/Cxx/Filtering/SurfaceFromUnorganizedPointsWithPostProc
>>>>>>>>>
>>>>>>>>> Bill
>>>>>>>>>
>>>>>>>>> On Mon, Mar 18, 2013 at 2:31 PM, Erte Pan <panerte at gmail.com>wrote:
>>>>>>>>>
>>>>>>>>>>  Hello All,
>>>>>>>>>>
>>>>>>>>>> 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.
>>>>>>>>>>
>>>>>>>>>> Best regards,
>>>>>>>>>>
>>>>>>>>>> Erte Pan
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Powered by www.kitware.com
>>>>>>>>>>
>>>>>>>>>> Visit other Kitware open-source projects at
>>>>>>>>>> http://www.kitware.com/opensource/opensource.html
>>>>>>>>>>
>>>>>>>>>> Please keep messages on-topic and check the VTK FAQ at:
>>>>>>>>>> http://www.vtk.org/Wiki/VTK_FAQ
>>>>>>>>>>
>>>>>>>>>> Follow this link to subscribe/unsubscribe:
>>>>>>>>>> http://www.vtk.org/mailman/listinfo/vtkusers
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Unpaid intern in BillsBasement at noware dot com
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Unpaid intern in BillsBasement at noware dot com
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Unpaid intern in BillsBasement at noware dot com
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Erte Pan
>>>
>>> PhD student in ECE Dept., UH
>>> Bio-image Analytics Group
>>>
>>
>>
>>
>> --
>> Unpaid intern in BillsBasement at noware dot com
>>
>
>
>
> --
> Erte Pan
>
> PhD student in ECE Dept., UH
> Bio-image Analytics Group
>



-- 
Unpaid intern in BillsBasement at noware dot com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130318/f4f42953/attachment.htm>


More information about the vtkusers mailing list