<div>You can use itk::AntiAliasBinaryImageFilter . It creates a levelset from a binary mask. You can use vtkMarchingCubes to extract the 0 level set.</div>
<div> </div>
<div>Bill</div>
<div><br> </div>
<div><span class="gmail_quote">On 6/23/06, <b class="gmail_sendername">Karthik Krishnan</b> <<a href="mailto:Karthik.Krishnan@kitware.com">Karthik.Krishnan@kitware.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">If your purpose is to produce a smooth mesh / contour from a binary<br>segmentation, you could in principle do this both on the image domain
<br>and on the mesh domain.<br><br>1. Apply the Anti-alias filter in ITK and then run marching cubes on<br>it. The anti-aliasing filter will smooth jagged edges, by introducing<br>some continuity. So the output of your marching cubes won't look jagged.
<br><br>2. Do some polygon anti-aliasing on the mesh. You will have to go to VTK<br>for that.<br><br>HTH<br>-karthik<br><br>platon galatis wrote:<br><br>> Hello,<br>><br>> Im a mechanical engineer and my diploma thesis subject is about
<br>> segmenting a series of human 2D ct scans, in order to produce a 3D<br>> surface mesh suitable to be exported to CAD-CAE systems for FEA.<br>><br>> Im trying to conclude on my strategy but i have some questions.
<br>><br>> I've read a lot about Marching cubes,Marching tetrahedra and their<br>> variations. All these algorithms speak for values at nodes of a<br>> regular 3D grid. But what if the input images are binary (black/white)
<br>> as a result of a segmentation algorithm from itk?<br>><br>> If i said that out = 1 ,in=-1 and the boundary=0 then the linear<br>> interpolation would always give the middle of the intersected edge.<br>> Am i mising something here?
<br>><br>> Can i get results giving as input a thresholded set and by specifying<br>> the isocontour value as the mean value of a set of points sampled<br>> from the desired boundary (skipping segmentation)?<br>
><br>> I've found the Deformable models method interesting . Would it be a<br>> good practice to produce a binary 3D image with some segmentation<br>> method, pass it to the itk::BinaryMask3DMeshSource for a rough initial
<br>> mesh and then use the itk::DeformableMeshFilter to refine it?<br>><br>><br>><br>> Thank you for reading this.<br>><br>> Any help would be appreciated.<br>><br>> Sincerely,<br>><br>> Plato Galatis.
<br>><br>> _________________________________________________________________<br>> Express yourself instantly with MSN Messenger! Download today it's<br>> FREE! <a href="http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/">
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/</a><br>><br>> _______________________________________________<br>> Insight-users mailing list<br>> <a href="mailto:Insight-users@itk.org">Insight-users@itk.org
</a><br>> <a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br>><br>_______________________________________________<br>Insight-users mailing list<br><a href="mailto:Insight-users@itk.org">
Insight-users@itk.org</a><br><a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br></blockquote></div><br>