Easy3D 2.5.3
GaussianNoise Class Reference

Add Gaussian noise to 3D models. More...

#include <easy3d/algo/gaussian_noise.h>

Static Public Member Functions

static void apply (SurfaceMesh *mesh, float sigma)
 Add Gaussian noise (that has a normal distribution) to the surface mesh. More...
 
static void apply (PointCloud *cloud, float sigma)
 Add Gaussian noise (that has a normal distribution) to a point cloud. More...
 

Detailed Description

Add Gaussian noise to 3D models.

Member Function Documentation

◆ apply() [1/2]

void apply ( PointCloud cloud,
float  sigma 
)
static

Add Gaussian noise (that has a normal distribution) to a point cloud.

Parameters
cloudThe point cloud.
sigmaThe standard deviation of the noise distribution. So about 68 percent of the noise values are within one standard deviation of the mean (mathematically, μ ± σ, where μ is the arithmetic mean), about 95 percent are within two standard deviations (μ ± 2σ).

◆ apply() [2/2]

void apply ( SurfaceMesh mesh,
float  sigma 
)
static

Add Gaussian noise (that has a normal distribution) to the surface mesh.

Parameters
meshThe surface mesh.
sigmaThe standard deviation of the noise distribution. So about 68 percent of the noise values are within one standard deviation of the mean (mathematically, μ ± σ, where μ is the arithmetic mean), about 95 percent are within two standard deviations (μ ± 2σ).

The documentation for this class was generated from the following files: