Template Function xf::cv::insertBorder(xf::cv::Mat<TYPE, SRC_ROWS, SRC_COLS, NPC>&, xf::cv::Mat<TYPE, DST_ROWS, DST_COLS, NPC>&, int)

Function Documentation

template<int TYPE, int SRC_ROWS, int SRC_COLS, int DST_ROWS, int DST_COLS, int NPC>
void xf::cv::insertBorder(xf::cv::Mat<TYPE, SRC_ROWS, SRC_COLS, NPC> &_src, xf::cv::Mat<TYPE, DST_ROWS, DST_COLS, NPC> &_dst, int insert_pad_val)
Template Parameters:
  • TYPE – input and ouput type

  • SRC_ROWS – rows of the input image

  • SRC_COLS – cols of the input image

  • DST_ROWS – rows of the output image

  • DST_COLS – cols of the output image

  • NPC – number of pixels processed per cycle

Parameters:
  • _src – input image

  • _dst – output image

  • insert_pad_val – insert pad value