Commit 10b1fb21 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #813 from sovrasov:omnidir_allocation_fix

parents 777dd07c 5abf9f6d
......@@ -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