Fix potential NaN in cv::norm
The behavior is actually proper in cv::norm( InputArray _src1, InputArray _src2, int normType), not in double cv::norm( InputArray _src1, InputArray _src2, int normType, InputArray _mask ). The fix and bug were both introduced in https://github.com/opencv/opencv/commit/34530da66e9e5d9fdba091b11ceef16ae267ae0c
Showing
想要评论请 注册 或 登录