Using the DLT algorithm to solve the camera parameters and the position of the camera and the object (additional C + + and MATLAB code) __web

Source: Internet
Author: User

Work needs to calculate the camera and the position of the object relationship, by colleagues introduced DLT, feel good on the study.

DLT Full name Direct Linear transformation

Specific algorithm description (English) in:

See the above DLT algorithm introduced, is very foggy.

This algorithm has 2 kinds:
A. A matrix of 11 times 1 needs to be computed without calculating the distortion coefficient (the given data is distorted).

B. The calculation of the distortion coefficient (the given data is the raw data) requires a matrix of 16 times 1.

(I directly use to distort the data, so currently only implemented a method).

Give it to the program.
(c + + code because the use of the Eigen library to the matrix to calculate the degree of simplicity to 1+1=2, if the long-term need to use the matrix of child shoe recommendations familiar with the use of Eigen library, and my previous Bovenri also have instructions eigen library configuration, the need for children's shoes look Consultation fee ~)

C + + code:

Matlab Code:

Related Article

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: 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.