<div dir="ltr">Hi Bill,<div>Thanks for the replay.</div><div><br></div><div>Yes,I built both ITK and my app with Release ,I forgot to mention it in the previous post.Actually the data set is the output of vtkDiscreteMarchingCubes algorithm(around 5MB) and need to smooth .I saved this marching cube's output as .vtk file and read it using itkVTKPolyDataReader and then I am giving this reader's output to itkSmoothingQuadEdgeMeshFilter's input.</div>
<div><br></div><div>I checked the execution time of each step in the pipeline ,after SmothingQEMeshFilter has got it's input ,it is taking time to process the data.</div><div><br></div><div>Thank you</div><div><br></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 30, 2014 at 9:29 PM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">First, make sure you are building ITK and your app with Release. A<br>
Debug build can be 10-50 times slower.<br>
<div><div class="h5"><br>
<br>
On Wed, Jul 30, 2014 at 10:18 AM, Mallikarjun K <<a href="mailto:mallikarjun49@gmail.com">mallikarjun49@gmail.com</a>> wrote:<br>
> Hi All,<br>
> I am using itkSmoothingQuadEdgeMeshFilter for Surface Mesh smoothing.This<br>
> filter is giving good results what I expected but taking more execution<br>
> time.can any one suggest me to reduce the execution time( multi threading<br>
> or any parameters to add/remove )?<br>
><br>
> Below is the code snippet<br>
> ///////<br>
> typedef itk::QuadEdgeMeshTraits<double, 3,double, double, double,double ><br>
> qetraits;<br>
> typedef itk::QuadEdgeMesh< vtkFloatingPointType, 3,qetraits > MeshType;<br>
><br>
> //typedef itk::QuadEdgeMesh< vtkFloatingPointType, 3 > MeshType;<br>
><br>
> itk::OnesMatrixCoefficients< MeshType > coeff0;<br>
><br>
> typedef itk::SmoothingQuadEdgeMeshFilter< MeshType, MeshType ><br>
> SmoothingQuadEdgeMeshFilter;<br>
><br>
>     SmoothingQuadEdgeMeshFilter::Pointer QEMeshSmoother =<br>
> SmoothingQuadEdgeMeshFilter::New();<br>
><br>
> QEMeshSmoother->SetInput("abc.vtk");<br>
> QEMeshSmoother->SetNumberOfIterations(5 );<br>
> QEMeshSmoother->SetRelaxationFactor( 0.5 );<br>
> QEMeshSmoother->SetDelaunayConforming(true );<br>
> QEMeshSmoother->SetCoefficientsMethod( &coeff0 );<br>
> QEMeshSmoother->Update();<br>
> ////<br>
><br>
> --<br>
> Regards:<br>
> Mallik<br>
><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<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Kitware offers ITK Training Courses, for more information visit:<br>
> <a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
><br>
> Please keep messages on-topic and check the ITK FAQ at:<br>
> <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/insight-users" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Unpaid intern in BillsBasement at noware dot com<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><b style="font-family:tahoma,sans-serif">Regards:</b><br style="font-family:tahoma,sans-serif"><span style="font-family:tahoma,sans-serif">Mallik</span><span style="font-family:tahoma,sans-serif"></span><div>
<br></div></div>
</div>