VL.OpenCV Camera Calibration Helper
Author: | ravazquez |
Date: | 28 Oct, 2020 |
Category: | tool |
Credits: | ravazquez and Marshmallow Laser Feast for sponsoring the development of this tool. |
Download
Description
This tool is meant to aid you in the process of generating a camera calibration file using OpenCV's xml format. The produced file contains Intrinsics information, specifically the camera matrix and the distortion coefficients.
You can later recover this data using the IntrinsicsReader (Calibration) VL.OpenCV node.
You will need to use a calibration pattern, if you don't have one a there is a link in the patch where you can get one.
You must match your calibration pattern's columns and rows based on the INNER OUTMOUST corners in your pattern. The pattern linked in the patch is 9x6.
You must also measure and specify your pattern's square side length in the patch (in meters).
To be used with vvvv gamma 2020.2.2 and above.
Press 'H' while the Renderer is in focus to display additional shortcuts (britghtness, contrast, reset).
The recommendation is to try and cover as much of the edges of your sensor's field of view as possible, and to try and rotate the pattern in all three axes between the different samples.
Getting samples at different distances is also recommended.
Comments
Comments are no longer accepted.Please create a new topic in the vvvv beta forum to discuss this contribution.
New version up, the old one was somewhat broken.
Fixed a couple of bugs that were associated with Azure Kinect specific scenarios.
Added VideoIn to make things easier.
Cheers!
would the calibration data apply to undistort ex9 ? is there a dx11 version of undistort available ?
I have not tested it but I doubt it @ggml.
The data itself is stored in an XML file so you could potentially copy it into whatever format ex9 expects by hand, I presume the existing ex9 Undistort is also using opencv under the hood (a much older version most likely) but the principles remain the same.
Best of luck to you!
@ggml, try this and let me know if this works for you https://www.muthesius.cloud/s/fkNPr7HAsZobBrs
hi, u7angel the shader seems to be missing undistort.fxh