A
A
Ang55452016-05-21 23:36:38
Java
Ang5545, 2016-05-21 23:36:38

How to calibrate cameras without a calibration board, by points of the received object?

Good day.
I'm working on computer vision using JavaCv (OpenCv wrapper for Java. project repository - https://github.com/bytedeco/javacv).
The task is to calibrate the camera, but not according to the standard checkerboard method, but according to image points. To be more precise - I have an image of a rectangle with raised edges, and its real representation. I can get several points of both objects and calibrate accordingly. Both objects and points are schematically depicted in the figure:
4f86140d48a1433bb1caef245d1ebfe1.jpg
If I understand everything correctly, the libraries used have the "undistort ()" function, which suits me. Arrays of object points and calibration coefficients are accepted as input.
But there are problems when using it. It is not entirely clear in what form it is necessary to submit data and what parameters are still needed.
If someone faced this problem (in the bowels of JavaCV or the parent - OpenCv), a huge request to show an example of use. Thank you in advance)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question