Subversion Repositories seema-scanner

Rev

Rev 229 | Rev 231 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 229 Rev 230
Line 324... Line 324...
324
    cv::Mat(R0.t()).convertTo(R0Inv, CV_32F);
324
    cv::Mat(R0.t()).convertTo(R0Inv, CV_32F);
325
    QMat = R0Inv*QMat;
325
    QMat = R0Inv*QMat;
326
 
326
 
327
    cvtools::matToPoints3f(QMat, Q);
327
    cvtools::matToPoints3f(QMat, Q);
328
 
328
 
-
 
329
 
-
 
330
//    // Triangulate by means of disparity projection
-
 
331
//    Q.resize(q0.size());
-
 
332
//    for(int i=0; i<q0.size(); i++){
-
 
333
//        cv::Vec4d Qih = QRect*cv::Vec4d(x, y, q1[i]-q0[i], 1.0);
-
 
334
//        Q[i] = cv::Point3f(Qih[0]/Qih[3], Qih[1]/Qih[3], Qih[2]/Qih[3]);
-
 
335
//    }
329
}
336
}