Function swri_image_util::scale_2_8bit_color

Function Documentation

cv::Mat swri_image_util::scale_2_8bit_color(const cv::Mat &image)

Convert the input Mat to 8 bit color.

Parameters:

image[in] The input image

Returns:

The 8-bit color Mat.