InputArray size confusion

asked 2012-12-18 13:27:42 -0500

In my problem, I need S1 and S2 to be equal (as required by an assertion in calib3d::calibrateCamera() function)

L1,L2 : vector< vector<Point2f>> //each has [1][10] elements
//meaning, L1 and L2 have 1 elements each. And L1[0] has 10 elements, and L2[0] has 10 elements
A1 : InputArrayOfArrays(L1)
A2 : InputArrayOfArrays(L2)
S1 : A1.size() //has 333 elements
S2 : A2.size() //has 443 elements

I am using an opencv build of revision 243 on Windows.
I tried debugging on Visual Studio, but it would hit the same breakpoint twice for no reason etc, which is why I couldn't come to a conclusion with it.

Is this a bug or am I missing something?

edit retag flag offensive close merge delete