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

Namespaces

namespace  hmap

Functions

cv::Mat hmap::to_cv_mat (Array &array)
 Converts a 2D Array to a non-owning OpenCV cv::Mat (CV_32FC1).
template<typename T>
void hmap::convert_mat_to_array (const cv::Mat &mat, Array &array, bool flip_j)
Array hmap::cv_mat_to_array (const cv::Mat &mat, bool remap_values=true, bool flip_j=false)
 Converts an OpenCV cv::Mat to a 2D Array with optional value scaling to [0, 1].
std::string hmap::get_opencv_build_information ()
 Returns OpenCV build information string.