[Insight-users] how to generate 3D mesh

Luis Ibanez luis.ibanez at kitware.com
Wed, 25 Feb 2004 22:28:40 -0500


Hi Longfei,

This class will not genereate tetrahedra for
a volume. It only generates surfaces.

You will find classes for generating tetrahedra
in VTK. You could convert your ITK image into
a VTK image and then use one of such VTK filters.


Regards,


   Luis



------------------------
Longfei Cong wrote:
> 	Hi Luis Ibanez
>     I want to get the tetrahedral mesh of the whole body of the object. Maybe the same class " itkBinaryMask3DMeshSource" would be used ,but I don't know how to set the parameter of the program !  wish you help me, thank you for your help!!
> 
> ======= 2004-02-24 22:45:00 ÄúÔÚÀ´ÐÅÖÐдµÀ£º=======
> 
> 
>>Hi Longfei,
>>
>>I'm not sure I understand your question.
>>
>>Do you actually have an binary region
>>already marked in your image ?
>>
>>If so, the attached code is all what you
>>need for extracting an itk::Mesh representing
>>the boundary of such mask.
>>
>>The same code has been added as an example
>>to
>>
>> Insight/Examples/Filtering/
>>            IsoSurfaceExtraction.cxx
>>
>>
>>This program expect to receive as command line
>>arguments the name of the file containing the
>>image and the intensity value at which you want
>>to extract the iso-surface.
>>
>>
>>Please let us know if you have further questions.
>>
>>
>>Thanks
>>
>>
>>  Luis
>>
>>
>>--------------------------
>>Longfei Cong wrote:
>>
>>
>>>Hi insight-users£¬
>>> 			I've use 'itkBinaryMask3DMeshSource' to generate 3D surface mesh, but how to generate mesh of the whole object of 3D bianry image.
>>> Thanks!
>>> 	
>>>
>>>¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Longfei Cong
>>>¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡lfcong at nlpr.ia.ac.cn
>>>¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2004-02-25
>>>
>>>
>>>
>>>_______________________________________________
>>>Insight-users mailing list
>>>Insight-users at itk.org
>>>http://www.itk.org/mailman/listinfo/insight-users
>>>
>>
>>======================================================
> 
> 
> = = = = = = = = = = = = = = = = = = = =
> 			
> 
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ÖÂ
> Àñ£¡
>  
> 				 
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Longfei Cong
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡lfcong at nlpr.ia.ac.cn
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2004-02-26
> 
> 
> 
> 
>