Volume Cartographer 2.27.0
Namespaces | Functions
ImageConversion.hpp File Reference
#include <opencv2/core.hpp>
#include <opencv2/imgproc.hpp>
Include dependency graph for ImageConversion.hpp:

Go to the source code of this file.

Namespaces

namespace  volcart
 Volume Cartographer library
 

Functions

auto volcart::DepthToString (int depth) -> std::string
 Convert an OpenCV depth enum value to a human-readable string.
 
auto volcart::QuantizeImage (const cv::Mat &m, int depth=CV_16U, bool scaleMinMax=true) -> cv::Mat
 Convert image to specified depth using max scaling. More...
 
auto volcart::ColorConvertImage (const cv::Mat &m, int channels=1) -> cv::Mat
 Convert image to specified number of channels.