<table cellspacing='0' cellpadding='0' border='0' background='none' style='font-family:arial;font-size:10pt;color:rgb(51, 51, 51);background-color:rgb(255, 255, 255);width:100%;'><tr><td valign='top' style='font: inherit;'><br>Hi Luis,<br>I connected all the filters in pipeline as suggested by you. <br>The deformableMesh3DFilter has a function called GetNormals. I called that function and it returned a pointer. Now how do i read the normals in that. and How do I write the normals as text file or in ply format.<br><br>THanks<br><br>Hrishi<br>--- On <b>Wed, 5/14/08, Luis Ibanez <i><luis.ibanez@kitware.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">From: Luis Ibanez <luis.ibanez@kitware.com><br>Subject: Re: [Insight-users] isosurface normals in itk???<br>To: hriket@yahoo.com<br>Cc: "ITK" <insight-users@itk.org><br>Date: Wednesday, May 14, 2008, 2:59 PM<br><br><pre>Hi
Hrishi,<br><br>You could do this in ITK by using:<br><br><br>a) ImageSeriesReader<br><br> See the example:<br><br> Insight/Examples/IO/<br> DicomSeriesReadImageWrite2.cxx<br><br><br>b) A segmentationn filter<br><br> for example:<br><br> ConfidenceConnected<br> ThresholdConnected<br><br> See the ITK Software Guide for details<br> on them. You will find examples on their<br> use in<br><br> Insight/Examples/Segmentation<br><br><br>c) From the segmented image, you can<br> extract a surface by using<br><br><br> itkBinaryMask3DMeshSource<br><br><br>d) There is no filter in ITK for just<br> computing the normals to a surface<br> but you may find code to copy/paste<br> from the following filters<br><br> itkDeformableMesh3DFilter.txx<br><br> that computes normals internally.<br><br> Note that the method uses only<br> the immediate neighbor triangles,<br> so the normals may be noisy (not<br>
parallel to neighbors).<br><br> If you find them too noisy, you<br> may want to insert the AntiAlias<br> image filter between the output<br> of the segmentation filter and<br> the input to the BinaryMask3DMeshSource.<br> (I will suggest you to do that).<br><br><br>Note that because there are several steps<br>in this pipeline, you want to go progressively<br>with it, and to check every intermediate result<br>before you move into the next step.<br><br><br><br> Regards,<br><br><br> Luis<br><br><br>--------------<br>Hrishi wrote:<br>> I have CT image volume. I have the series in DICOM format. I have to <br>> extract a surface which represents bone from the volume.<br>> Then I want to triangulate the surface and get normals to the triangle <br>> at every vertex. <br>> I dont have to necessarily visualize isosurface. My only requirement is <br>> isonormals. Can I do this in ITK or I will have to use VTK
functions?<br>> I just started using ITK 2 weeks ago. I downloaded VTK too. I saw an <br>> example of isosurface extraction in the examples folder in vtk. But <br>> still I am not even comfortable to use ITK so far I dont want to jump to <br>> VTK unless it is absolutely necessary.<br>> <br>> Thanks<br>> <br>> Hrishi<br>> <br>> <br>> <br>> ------------------------------------------------------------------------<br>> <br>> _______________________________________________<br>> Insight-users mailing list<br>> Insight-users@itk.org<br>> http://www.itk.org/mailman/listinfo/insight-users</pre></blockquote></td></tr></table><br>