Note
Go to the end to download the full example code.
12.1.10.4.1. cameraToolbox#
In the folder itom_packages
, there is a package cameraToolbox
.
This mainly contains methods to simulate distorted images
and calculate the distortion of acquired grids.
To simplify the access to this script, this demo is added.
For more information, see the module distortion_test.py
.
from cameraToolbox import distortion_test
distortion_test.distortionTest()
acquire next image
coefficients (design): 24.00 22.00 330.00 250.00 0.000 0.5000e-6 5.0000e-12 0.0000e-18
coefficients (coarse): 24.71 22.69 330.00 250.00 0.000 0.0000e-6 0.0000e-12 0.0000e-18
coefficients (optim1): 24.00 22.00 330.00 250.00 0.000 0.4999e-6 5.0009e-12 -0.0025e-18
coefficients (optim2): 24.00 22.00 330.00 250.00 0.000 0.5000e-6 5.0001e-12 -0.0025e-18
Total running time of the script: (0 minutes 7.157 seconds)