drsrinathsridhar / GRANSAC

Multi-threaded generic RANSAC implemetation
MIT License
306 stars 92 forks source link

the return type of cv::getTickCount() is int64 #7

Closed XYZ-qiyh closed 4 years ago

XYZ-qiyh commented 4 years ago

Hello Dr. Srinath Sridhar. Thanks for your amazing work GRANSAC, it helps me a lot. https://github.com/drsrinathsridhar/GRANSAC/blob/2e715f2914d3cee80b1e566c0c5fd4445d65ed33/examples/LineFittingSample.cpp#L66 As the title says, the return type of cv::getTickCount() should be int64, according to opencv2/core/core.hpp. Otherwise, we may find the runtime a negative value. I'm using OpenCV 2.4.10

drsrinathsridhar commented 4 years ago

Thanks for pointer. Fixed.