Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

Result from Euc Distance Calculation

$
0
0
Hello, I'm calculating the euc line and the degree for 2 points. Most of the results are OK but sometimes there are results showed like this. -1.#IND,-1.#IND May I know what does this means? The formula for the ecludian distance and the degree (atan) as below. Point2f a = mc[0]; Point2f b = mc[1]; double res = cv::norm(a-b); double deg = atan((b.y-a.y)/(b.x-a.x)) * 180 / PI; thanks

Viewing all articles
Browse latest Browse all 41027


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>