2012-11-03 11:08:57 -0600 | asked a question | [HELP] How to use computeCorrespondEpilines() ? In the document, the protocol type of function is: C++: void computeCorrespondEpilines(InputArray points, int whichImage, InputArray F, OutputArray lines); I call this function with "points" as vector<point2f>, and expect "lines" as epilines parameter(a,b,c). The code:vector<point2f> points; points.push_back(Point2f(10,100)); cv::Mat lines; computeCorrespondEpilines(points, 1, fundamental_mat, lines);The output "lines" is expected as 3x1 matrix. But it is 1x1 matrix indeed. Am I wrong with its usage? Help! |