mirror of
https://github.com/opencv/opencv.git
synced 2025-06-17 15:20:51 +08:00
Allow CV_32FC3 objPoints in cv::fisheye::stereoCalibrate
This commit is contained in:
parent
fb6db3dcfc
commit
7afaaef0eb
@ -1173,7 +1173,7 @@ void cv::internal::projectPoints(cv::InputArray objectPoints, cv::OutputArray im
|
|||||||
{
|
{
|
||||||
CV_INSTRUMENT_REGION()
|
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],
|
Matx33d K(param.f[0], param.f[0] * param.alpha, param.c[0],
|
||||||
0, param.f[1], param.c[1],
|
0, param.f[1], param.c[1],
|
||||||
0, 0, 1);
|
0, 0, 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user