symforce.examples.bundle_adjustment_in_the_large.bundle_adjustment_in_the_large module¶
Symbolic factor and codegen for the Bundle-Adjustment-in-the-Large problem
Reprojection residual for the camera model used in the Bundle-Adjustment-in-the-Large dataset, a polynomial camera with two distortion coefficients, cx == cy == 0, and fx == fy
See https://grail.cs.washington.edu/projects/bal/ for more information
- Parameters:
- Returns:
residual – The reprojection residual
- Return type:
- generate(output_dir)[source]¶
Generates the snavely_reprojection_factor into C++, as well as a set of Keys to help construct the optimization problem in C++, and puts them into output_dir. This is called by symforce/test/symforce_examples_bundle_adjustment_in_the_large_codegen_test.py to generate the contents of the gen folder inside this directory.
- Parameters:
output_dir (Path) –
- Return type:
None