Skip to content

Commit

Permalink
Allow CV_32FC3 objPoints in cv::fisheye::stereoCalibrate
Browse files Browse the repository at this point in the history
  • Loading branch information
terfendail committed Mar 16, 2018
1 parent fb6db3d commit 7afaaef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/calib3d/src/fisheye.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1173,7 +1173,7 @@ void cv::internal::projectPoints(cv::InputArray objectPoints, cv::OutputArray im
{
CV_INSTRUMENT_REGION()

CV_Assert(!objectPoints.empty() && objectPoints.type() == CV_64FC3);
CV_Assert(!objectPoints.empty() && (objectPoints.type() == CV_32FC3 || objectPoints.type() == CV_64FC3));
Matx33d K(param.f[0], param.f[0] * param.alpha, param.c[0],
0, param.f[1], param.c[1],
0, 0, 1);
Expand Down

0 comments on commit 7afaaef

Please sign in to comment.