Lagrange
Loading...
Searching...
No Matches
StitchingOptions Struct Reference

Options for texture stitching. More...

#include <lagrange/texproc/texture_stitching.h>

Public Attributes

bool exterior_only = false
 If true, interior texels are fixed degrees of freedom.
 
unsigned int quadrature_samples = 6
 The number of quadrature samples to use for integration (in {1, 3, 6, 12, 24, 32}).
 
double jitter_epsilon = 1e-4
 Jitter amount per texel (0 to deactivate).
 
double stiffness_regularization_weight = 1e-9
 Regularize the stiffness matrix using a combinatorial Laplacian energy.
 
std::optional< std::pair< double, double > > clamp_to_range = std::nullopt
 Clamp out-of-range texels to the given range (nullopt to disable).
 
std::optional< bool > sanity_check = std::nullopt
 Whether to run solver sanity checks.
 
bool __randomize = false
 Initially the boundary texels to random values (for debugging purposes).
 

Detailed Description

Options for texture stitching.

Member Data Documentation

◆ sanity_check

std::optional<bool> sanity_check = std::nullopt

Whether to run solver sanity checks.

If unset, defaults to true in debug builds and false in release builds.


The documentation for this struct was generated from the following file: