Function swri_image_util::scale_2_8bit

Function Documentation

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

Convert the input Mat to 8 bit.

Parameters:

image[in] The input image

Returns:

The 8-bit Mat.