HighMap library (C++)
Loading...
Searching...
No Matches
opencv.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  hmap

Functions

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.
cv::Mat hmap::to_cv_mat (Array &array)
 Converts a 2D Array to a non-owning OpenCV cv::Mat (CV_32FC1).