Opencv calibration program, opencv Calibration

Source: Internet
Author: User

Opencv calibration program, opencv Calibration

For more information, see http://download.csdn.net/detail/zhouyelihua/7726907.

In Vs2012, you only need to press f5 to directly calibrate the images collected in the resource.

We store the final results in. xml format. This can be found directly under the project file

The rotation matrix contains the rotation. xml parameter.

The displacement vector exists in translation. xml.

Internal parameter: the internal matrix contains Intrinsics. xml.

The Distortion Coefficient exists in Distortion. xml.

The specific procedure is as follows: (Modified from <learning opencv>)

#include <cv.h>#include 



Opencv calibration procedures

Use cvLoadImage to read data with a path.
Image <uchar> view (filename); which of the following statements reads an Image? I have never seen it.
 
What parameters need to be input for camera calibration using opencv programs?

You need to enter the size information of the template, that is, the size of your square, the length and width of the template, and the number of images to be calibrated. Int n_board = 9;
Int n_board_1 = 9;
Int sn_board = 0;
Int sn_board_1 = 0;
Int board_w = 9;
Int board_h = 6;
Int board_n = board_w * board_h;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.