Add Gaussian noise to 3D models.
More...
#include <easy3d/algo/gaussian_noise.h>
|
static void | apply (SurfaceMesh *mesh, float sigma) |
| Add Gaussian noise (that has a normal distribution) to the surface mesh.
|
|
static void | apply (PointCloud *cloud, float sigma) |
| Add Gaussian noise (that has a normal distribution) to a point cloud.
|
|
Add Gaussian noise to 3D models.
◆ apply() [1/2]
Add Gaussian noise (that has a normal distribution) to a point cloud.
- Parameters
-
cloud | The point cloud. |
sigma | The 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]
Add Gaussian noise (that has a normal distribution) to the surface mesh.
- Parameters
-
mesh | The surface mesh. |
sigma | The 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:
- G:/3_code/Easy3D/easy3d/algo/gaussian_noise.h
- G:/3_code/Easy3D/easy3d/algo/gaussian_noise.cpp