template<int ROWS, int COLS, int SRC_T, typename P_T, int DST_T>
void hls::MinS( hls::Mat<ROWS, COLS, SRC_T>& src,
                P_T value,
                hls::Mat<ROWS, COLS, DST_T>& dst );


  • src – the input image.
  • value – the input scalar value.
  • dst – the output image.


Calculates the minimum between the elements of input images src and the input value and save the result in dst.
Image data must be stored in src, the image data of dst must be empty before invocations. Invoking this function will consume the data in src, and filling the image data of dst.
src and dst must have the same size and number of channels.

OpenCV reference

cvMinS, cv::min