Wildmeshing Toolkit
bicubic_interpolation.hpp File Reference
#include <wmtk/function/utils/autodiff.h>
#include <Eigen/Core>
#include <Eigen/Dense>
#include <type_traits>
Include dependency graph for bicubic_interpolation.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 wmtk
 
 wmtk::components
 
 wmtk::components::adaptive_tessellation
 
 wmtk::components::adaptive_tessellation::image
 

Typedefs

template<class T >
using wmtk::components::adaptive_tessellation::image::BicubicVector = Eigen::Matrix< T, 16, 1 >
 
using wmtk::components::adaptive_tessellation::image::BicubicMatrix = Eigen::Matrix< float, 16, 16 >
 

Enumerations

enum class  wmtk::components::adaptive_tessellation::image::WrappingMode { wmtk::components::adaptive_tessellation::image::REPEAT , wmtk::components::adaptive_tessellation::image::MIRROR_REPEAT , wmtk::components::adaptive_tessellation::image::CLAMP_TO_EDGE }
 

Functions

double wmtk::components::adaptive_tessellation::image::get_value (float x)
 
double wmtk::components::adaptive_tessellation::image::get_value (double x)
 
double wmtk::components::adaptive_tessellation::image::get_value (DScalar2< double, Eigen::Matrix< double, 2, 1 >, Eigen::Matrix< double, 2, 2 >> x)
 
double wmtk::components::adaptive_tessellation::image::get_value (DScalar2< double, Eigen::Matrix< double, -1, 1 >, Eigen::Matrix< double, -1, -1 >> x)
 
BicubicVector< float > wmtk::components::adaptive_tessellation::image::extract_samples (const size_t width, const size_t height, const float *buffer, const double sx_, const double sy_, const WrappingMode mode_x, const WrappingMode mode_y)
 
BicubicMatrix wmtk::components::adaptive_tessellation::image::make_samples_to_bicubic_coeffs_operator ()
 
const BicubicMatrix & wmtk::components::adaptive_tessellation::image::get_bicubic_matrix ()
 
template<class T >
std::decay_t< T > wmtk::components::adaptive_tessellation::image::eval_bicubic_coeffs (const BicubicVector< float > &coeffs, const T &sx, const T &sy)