cars.bundleadjustment ===================== .. py:module:: cars.bundleadjustment .. autoapi-nested-parse:: cars-bundleadjustment Functions --------- .. autoapisummary:: cars.bundleadjustment.matches_concatenation cars.bundleadjustment.estimate_intersection_residues_from_matches cars.bundleadjustment.aggregate_matches_by_cell cars.bundleadjustment.plane_regression cars.bundleadjustment.create_deformation_grid cars.bundleadjustment.refine_rpc cars.bundleadjustment.write_rpcs_as_geom cars.bundleadjustment.new_rpcs_from_matches cars.bundleadjustment.cars_bundle_adjustment cars.bundleadjustment.cli Module Contents --------------- .. py:function:: matches_concatenation(matches_list, pairing, nb_decimals) Concatenate matches computed by pair: for the second and subsequent pairs, the first image must be included in the list of previous images. .. py:function:: estimate_intersection_residues_from_matches(geomodels, matches_dataframe, ignored=None) Compute intersections from multiple matches and estimate the residues as the difference between the previous sensor position and the inverse location of the multiple views intersection. .. py:function:: aggregate_matches_by_cell(matches_dataframe, step, min_matches) Aggregate matches with a step computing from matches density matches density: footprint divided by number of matches to deduce a "resolution .. py:function:: plane_regression(points, values) Deduce a plane fitting points / values .. py:function:: create_deformation_grid(images, regular_matches, interp_mode, step, aggregate_step) Compute the deformation grid with a defined step if interp_mode is True, nan is replaced by the row mean else the deformation is a plane deformation .. py:function:: refine_rpc(geomodels, old_coordinates, new_coordinates) Compute new rpc matching old and new coordinates .. py:function:: write_rpcs_as_geom(refined_rpcs, out_dir) Write RPCs as geomfiles .. py:function:: new_rpcs_from_matches(sensors, config_directory, sparse_matching_directory, pairing=None, nb_decimals=0, min_matches=50, step=5, aggregate_matches=True, interp_mode=False) Main function of cars-bundleadjustement for new RPCs estimation: - Retrieve matches from pairs and concatenate - Estimate residues by inverse location - Compute new RPCs .. py:function:: cars_bundle_adjustment(conf, no_run_sparse, output_format='yaml') cars-bundleadjustement main: - Launch CARS to compute homologous points (run sparse matching) - Compute new RPCs .. py:function:: cli() Command Line Interface