Merge pull request #813 from sovrasov:omnidir_allocation_fix

pull/814/head
Alexander Alekhin 8 years ago
commit 10b1fb21c2
  1. 6
      modules/ccalib/src/omnidir.cpp

@ -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];
}
}
}

Loading…
Cancel
Save