5#include <opencv2/core.hpp> 
    6#include <opencv2/imgproc.hpp> 
   25    const cv::Mat& m, 
int depth = CV_16U, 
bool scaleMinMax = 
true) -> cv::Mat;
 
auto QuantizeImage(const cv::Mat &m, int depth=CV_16U, bool scaleMinMax=true) -> cv::Mat
Convert image to specified depth using max scaling.
 
auto ColorConvertImage(const cv::Mat &m, int channels=1) -> cv::Mat
Convert image to specified number of channels.
 
Volume Cartographer library
 
auto DepthToString(int depth) -> std::string
Convert an OpenCV depth enum value to a human-readable string.