Subversion Repositories seema-scanner

Rev

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

Rev 87 Rev 89
Line 316... Line 316...
316
    cv::Mat abe;
316
    cv::Mat abe;
317
    cv::solve(A, bb, abe, cv::DECOMP_SVD);
317
    cv::solve(A, bb, abe, cv::DECOMP_SVD);
318
 
318
 
319
    float a = abe.at<float>(0, 0);
319
    float a = abe.at<float>(0, 0);
320
    float b = abe.at<float>(1, 0);
320
    float b = abe.at<float>(1, 0);
321
    float c = -(nx*a+ny*b+d)/nz + 1;
321
    float c = -(nx*a+ny*b+d)/nz;
322
 
322
 
323
    point[0] = a;
323
    point[0] = a;
324
    point[1] = b;
324
    point[1] = b;
325
    point[2] = c;
325
    point[2] = c;
326
 
326