Home

Awesome

MDenoise: Feature-Preserving Mesh Denoising

mdenoise is a simple and fast mesh denoising method, which can remove noise effectively while preserving mesh features such as sharp edges and corners. It can be applied to all kinds of point clouds, including topographic data.

For further information see the Cardiff University Mesh Filtering Group website.

Usage

mdenoise -i input_file [options]
    -e         Common Edge Type of Face Neighbourhood (Default: Common Vertex)
    -t float   Threshold (0,1), Default value: 0.4
    -n int     Number of Iterations for Normal updating, Default value: 20
    -v int     Number of Iterations for Vertex updating, Default value: 50
    -o char[]  Output file
    -a         Adds edges and vertices to generate high-quality triangle mesh.
               Only functions when the input is .xyz file.
    -z         Only z-direction position is updated.

Examples:

About the file formats

Many standard CAD and geometrical processing file formats are supported. The .xyz and .asc (ESRI ASCII Grid) files are primarily designed for dealing with geographic data.

Supported input types: .gts, .obj, .off, .ply, .ply2, .smf, .stl, .wrl, .xyz, and .asc Supported output types: .obj, .off, .ply, .ply2, .xyz, and .asc Default file extension: .off

Notes:

Using mdenoise with topographic data

mdenoise denoises topographic data, particularly Shuttle Radar Topography Mission (SRTM) data, with minimal changes to the data themselves. It has been implemented as a plugin in the GRASS and SAGA open source GIS packages. See the Using Sun's denoising algorithm on topographic data webpage for further information.

References

The mdenoise code and its application to topographic data are described in the following publications:

Compilation instructions

To compile on unix platforms:

g++ -o mdenoise mdenoise.cpp triangle.c

Windows binaries are available from the Cardiff University Mesh Filtering Group website.


Copyright (C) 2007 Cardiff University, UK

Author: Xianfang Sun

Version: 1.0

Note: The copyright of triangle.h and triangle.c belong to Jonathan Richard Shewchuk. See the TRIANGLE website and files themselves for further information.