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
}
if (om.empty())
{
om.create(1, 3, CV_64F);
T.create(1, 3, CV_64F);
om.create(3, 1, CV_64F);
T.create(3, 1, CV_64F);
}
if (omL.empty())
{
......@@ -2307,4 +2307,4 @@ void cv::omnidir::internal::getInterset(InputArray idx1, InputArray idx2, Output
{
inter_ori.getMat().at<int>(i) = _inter_ori[i];
}
}
\ No newline at end of file
}
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