HighMap library (C++)
Loading...
Searching...
No Matches
opencv_wrapper.cpp File Reference

Namespaces

namespace  hmap
 

Functions

template<typename T >
void hmap::convert_mat_to_array (const cv::Mat &mat, Array &array)
 
Array hmap::cv_mat_to_array (const cv::Mat &mat, bool remap_values=true)
 Converts an OpenCV cv::Mat to a 2D Array with optional value scaling to [0, 1].