14#include <lagrange/SurfaceMesh.h>
15#include <lagrange/image/View3D.h>
19namespace lagrange::texproc {
53template <
typename Scalar,
typename Index,
typename ValueType>
56 image::experimental::View3D<ValueType> texture,
A general purpose polygonal mesh class.
Definition SurfaceMesh.h:66
void texture_stitching(const SurfaceMesh< Scalar, Index > &mesh, image::experimental::View3D< ValueType > texture, const StitchingOptions &options={})
Stitch the seams of a texture associated with a mesh.
Definition texture_stitching.cpp:186
Options for texture stitching.
Definition texture_stitching.h:28
bool exterior_only
If true, interior texels are fixed degrees of freedom.
Definition texture_stitching.h:30
bool __randomize
Initially the boundary texels to random values (for debugging purposes).
Definition texture_stitching.h:39
unsigned int quadrature_samples
The number of quadrature samples to use for integration (in {1, 3, 6, 12, 24, 32}).
Definition texture_stitching.h:33
double jitter_epsilon
Jitter amount per texel (0 to deactivate).
Definition texture_stitching.h:36