14#include <lagrange/SurfaceMesh.h>
15#include <lagrange/image/View3D.h>
19namespace lagrange::texproc {
61template <
typename Scalar,
typename Index,
typename ValueType>
64 image::experimental::View3D<ValueType> texture,
A general purpose polygonal mesh class.
Definition SurfaceMesh.h:66
void texture_filtering(const SurfaceMesh< Scalar, Index > &mesh, image::experimental::View3D< ValueType > texture, const FilteringOptions &options={})
Smooth or sharpen a texture image associated with a mesh.
Definition texture_filtering.cpp:146
Options for texture filtering (smoothing or sharpening).
Definition texture_filtering.h:28
double gradient_scale
The gradient modulation weight.
Definition texture_filtering.h:41
double value_weight
The weight for fitting the values of the signal.
Definition texture_filtering.h:30
unsigned int quadrature_samples
The number of quadrature samples to use for integration (in {1, 3, 6, 12, 24, 32}).
Definition texture_filtering.h:44
double gradient_weight
The weight for fitting the modulated gradients of the signal.
Definition texture_filtering.h:37
double jitter_epsilon
Jitter amount per texel (0 to deactivate).
Definition texture_filtering.h:47