Wildmeshing Toolkit
Image.cpp File Reference
#include "Image.hpp"
#include <stb_image.h>
#include <stb_image_write.h>
#include <wmtk/utils/Logger.hpp>
#include "load_image_exr.hpp"
#include "save_image_exr.hpp"
Include dependency graph for Image.cpp:

Go to the source code of this file.

Namespaces

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

Functions

std::array< Image, 3 > wmtk::components::adaptive_tessellation::image::combine_position_normal_texture (double normalization_scale, const Eigen::Matrix< double, 1, 3 > &offset, const std::filesystem::path &position_path, const std::filesystem::path &normal_path, const std::filesystem::path &height_path, float min_height, float max_height)
 
void wmtk::components::adaptive_tessellation::image::split_and_save_3channels (const std::filesystem::path &path)
 
Image wmtk::components::adaptive_tessellation::image::buffer_to_image (const std::vector< float > &buffer, int w, int h)
 
std::array< Image, 3 > wmtk::components::adaptive_tessellation::image::load_rgb_image (const std::filesystem::path &path)