Template Function xf::cv::xFThresholdKernel

Function Documentation

template<int SRC_T, int ROWS, int COLS, int DEPTH, int NPC, int WORDWIDTH_SRC, int WORDWIDTH_DST, int COLS_TRIP>
void xf::cv::xFThresholdKernel(xf::cv::Mat<SRC_T, ROWS, COLS, NPC> &_src_mat, xf::cv::Mat<SRC_T, ROWS, COLS, NPC> &_dst_mat, ap_uint<8> _thresh_type, short int _thresh, short int maxval, unsigned short height, unsigned short width)

xFThresholdKernel: Thresholds an input image and produces an output boolean image depending upon the type of thresholding. Input : _src_mat, _thresh_type, _binary_thresh_val, _upper_range and _lower_range Output : _dst_mat