Is there a way of finding whether the elements of two cv::Mat matrices are within an acceptable tolerance of each other?
i.e. if A = [a, b, c, d, e, f], and B = [a ± 5%, b ± 5%, c ± 5%, d ± 5%, e ± 5%, f ± 5%]
I’m thinking that the compare() function might be useful, but I’m not really sure how I would implement it.
I used this, to the desired effect: