Template Function xFComputeScore
Defined in File xf_harris_utils.hpp
Function Documentation
-
template<int SRC_T, int DST_T, int ROWS, int COLS, int IN_DEPTH, int OUT_DEPTH, int NPC, int IN_WW, int OUT_WW, int TC>
void xFComputeScore(xf::cv::Mat<SRC_T, ROWS, COLS, NPC> &_src1_mat, xf::cv::Mat<SRC_T, ROWS, COLS, NPC> &_src2_mat, xf::cv::Mat<SRC_T, ROWS, COLS, NPC> &_src3_mat, xf::cv::Mat<DST_T, ROWS, COLS, NPC> &_dst_mat, uint16_t img_height, uint16_t img_width, uint16_t thresold, uint8_t _filter_type) Compute score = det - k * trace^2
_src1_mat –> gx^2 _src1_mat –> gx * gy _src1_mat –> gy^2 _dst_mat –> Result