Commit 5abf9f6d authored by Vladislav Sovrasov's avatar Vladislav Sovrasov

Fix wrong matrix allocation in omnidir

parent c1101a02
...@@ -1306,8 +1306,8 @@ double cv::omnidir::stereoCalibrate(InputOutputArrayOfArrays objectPoints, Input ...@@ -1306,8 +1306,8 @@ double cv::omnidir::stereoCalibrate(InputOutputArrayOfArrays objectPoints, Input
} }
if (om.empty()) if (om.empty())
{ {
om.create(1, 3, CV_64F); om.create(3, 1, CV_64F);
T.create(1, 3, CV_64F); T.create(3, 1, CV_64F);
} }
if (omL.empty()) if (omL.empty())
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment