Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Intel_C_Intel
Employee
61 Views

CameraCalibration2 problem

hi ! I have tow question

first : when I use CameraCalibration2 function in opencv I get exception tell me that opjects point must be 1xn or nx1 for 3 channel I write this code

CvMat * points3;

points3 = cvCreateMat(1,35,CV_32FC3);

CvMat * numPoints = cvCreateMat(1,1,CV_32SC1);

numPoints->data.fl[0] = 35.0f;

CvMat * points2 = cvCreateMat(1,35,CV_32FC2);

m_Intrinsic = cvCreateMat(3,3,CV_32FC1);

m_DitrorationCoeff = cvCreateMat(1,4,CV_32FC1);

m_Rotation = cvCreateMat(1,3,CV_32FC1);

m_Translation = cvCreateMat(1,3,CV_32FC1);

cvCalibrateCamera2(points2,points3,numPoints,imageSize,m_Intrinsic,m_DitrorationCoeff,m_Rotation,m_Translation,0);

if any one can tell me the problem I will be very thanks

second : did the opencv have function make 3d reconstruction be getting 2 2d image points?

thanks

0 Kudos
1 Reply
Ying_S_Intel
Employee
61 Views

This is the forum mainly for Intel IPP product discussion. You may check some online OpenCV discussion groups for example, at Yahoo Group http://tech.groups.yahoo.com/group/OpenCV/?v=1&t=search&ch=web&pub=groups&sec=group&slk=1to post your question with using OpenCV libraries.

Thanks,

Ying

Reply