Function halfsample_image

Function Documentation

void halfsample_image(const cv::Mat &src, cv::Mat &dst)

This function downsamples the input image using OpenCV resize.

Parameters
  • img – Input image to be downsampled

  • dst – Output image with half of the resolution of the input image