[ITK-users] itkSmoothingQuadEdgeMeshFilter Help!!

Mallikarjun K mallikarjun49 at gmail.com
Wed Jul 30 10:18:57 EDT 2014


Hi All,
I am using itkSmoothingQuadEdgeMeshFilter for Surface Mesh smoothing.This
filter is giving good results what I expected but taking more execution
time.can any one suggest me to reduce the execution time( multi threading
 or any parameters to add/remove )?

Below is the code snippet
///////
typedef itk::QuadEdgeMeshTraits<double, 3,double, double, double,double >
qetraits;
typedef itk::QuadEdgeMesh< vtkFloatingPointType, 3,qetraits > MeshType;

//typedef itk::QuadEdgeMesh< vtkFloatingPointType, 3 > MeshType;

itk::OnesMatrixCoefficients< MeshType > coeff0;

typedef itk::SmoothingQuadEdgeMeshFilter< MeshType, MeshType >
SmoothingQuadEdgeMeshFilter;

    SmoothingQuadEdgeMeshFilter::Pointer QEMeshSmoother =
SmoothingQuadEdgeMeshFilter::New();

QEMeshSmoother->SetInput("abc.vtk");
QEMeshSmoother->SetNumberOfIterations(5 );
QEMeshSmoother->SetRelaxationFactor( 0.5 );
QEMeshSmoother->SetDelaunayConforming(true );
QEMeshSmoother->SetCoefficientsMethod( &coeff0 );
QEMeshSmoother->Update();
////

-- 
*Regards:*
Mallik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-users/attachments/20140730/2159a9a6/attachment.html>


More information about the Insight-users mailing list