Full configuration
Here is an example of a full CARS configuration, as saved by CARS in the global_used_conf file.
The archive cars/tutorials/data_gizeh_small.tar.bz2 contains a basic configuration that can be run directly. To test the more complete configuration presented below, extract the archive and replace the configuration file in the data_gizeh_small directory with this one before running CARS.
Input
Input
input: loaders: image: pivot classification: pivot sensors: one: image: bands: b0: path: tutorials/data_gizeh_small/img1.tif band: 0 b1: path: tutorials/data_gizeh_small/color1.tif band: 0 b2: path: tutorials/data_gizeh_small/color1.tif band: 1 b3: path: tutorials/data_gizeh_small/color1.tif band: 2 b4: path: tutorials/data_gizeh_small/color1.tif band: 3 sensor_type: PHR no_data: 0 classification: path: tutorials/data_gizeh_small/classif1.tif values: - 1 - 2 - 3 - 4 geomodel: path: tutorials/data_gizeh_small/img1.tif model_type: RPC mask: null two: image: bands: b0: path: tutorials/data_gizeh_small/img2.tif band: 0 sensor_type: PHR no_data: 0 classification: path: tutorials/data_gizeh_small/classif2.tif values: - 1 - 2 - 3 - 4 geomodel: path: tutorials/data_gizeh_small/img2.tif model_type: RPC mask: null edges: edges_mask: null normals: null depth_map: null tile_id: null filling: fill_with_geoid: - 1 interpolate_from_borders: null fill_with_endogenous_dem: null fill_with_exogenous_dem: null interpolation: null initial_elevation: dem: tutorials/data_gizeh_small/srtm_dir/N29E031_KHEOPS.tif geoid: cars/conf/geoid/egm96.grd roi: null ignore_roi_during_a_priori: false dsm_to_fill: null pairing: - - one - two land_cover_map: global_land_cover_map.tif classification_to_configuration_mapping: config_mapping.json input_dtm: null scaling_coeff: null
{
"input": {
"loaders": {
"image": "pivot",
"classification": "pivot"
},
"sensors": {
"one": {
"image": {
"bands": {
"b0": {
"path": "tutorials/data_gizeh_small/img1.tif",
"band": 0
},
"b1": {
"path": "tutorials/data_gizeh_small/color1.tif",
"band": 0
},
"b2": {
"path": "tutorials/data_gizeh_small/color1.tif",
"band": 1
},
"b3": {
"path": "tutorials/data_gizeh_small/color1.tif",
"band": 2
},
"b4": {
"path": "tutorials/data_gizeh_small/color1.tif",
"band": 3
}
},
"sensor_type": "PHR",
"no_data": 0
},
"classification": {
"path": "tutorials/data_gizeh_small/classif1.tif",
"values": [
1,
2,
3,
4
]
},
"geomodel": {
"path": "tutorials/data_gizeh_small/img1.tif",
"model_type": "RPC"
},
"mask": null
},
"two": {
"image": {
"bands": {
"b0": {
"path": "tutorials/data_gizeh_small/img2.tif",
"band": 0
}
},
"sensor_type": "PHR",
"no_data": 0
},
"classification": {
"path": "tutorials/data_gizeh_small/classif2.tif",
"values": [
1,
2,
3,
4
]
},
"geomodel": {
"path": "tutorials/data_gizeh_small/img2.tif",
"model_type": "RPC"
},
"mask": null,
"edges": {
"edges_mask": null,
"normals": null,
"depth_map": null,
"tile_id": null
}
}
},
"filling": {
"fill_with_geoid": [
1
],
"interpolate_from_borders": null,
"fill_with_endogenous_dem": null,
"fill_with_exogenous_dem": null,
"interpolation": null
},
"initial_elevation": {
"dem": "tutorials/data_gizeh_small/srtm_dir/N29E031_KHEOPS.tif",
"geoid": "cars/conf/geoid/egm96.grd"
},
"roi": null,
"ignore_roi_during_a_priori": false,
"dsm_to_fill": null,
"pairing": [
[
"one",
"two"
]
],
"land_cover_map": "global_land_cover_map.tif",
"classification_to_configuration_mapping": "config_mapping.json",
"input_dtm": null,
"scaling_coeff": null
}
}
Output
Output
output: directory: tutorials/data_gizeh_small/outresults auxiliary: performance_map: - 0 - 0.968 - 1.13375 - 1.295 - 1.604 - 2.423 - 3.428 weights: true classification: 1: 1 2: 2 3: 3 4: 4 contributing_pair: true ambiguity: true edges: false image: - b1 - b2 - b3 - b4 filling: 1: no_edition 2: fill_with_exogenous_dem 3: interpolation 4: fill_with_endogenous_dem 5: interpolate_from_borders 6: fill_with_geoid 7: other product_level: - dsm epsg: 32636 resolution: value: - 0.6 - 0.6 unit: meter product_format: point_cloud: - laz geoid: true save_by_pair: false
{
"output": {
"directory": "tutorials/data_gizeh_small/outresults",
"auxiliary": {
"performance_map": [
0,
0.968,
1.13375,
1.295,
1.604,
2.423,
3.428
],
"weights": true,
"classification": {
"1": 1,
"2": 2,
"3": 3,
"4": 4
},
"contributing_pair": true,
"ambiguity": true,
"edges": false,
"image": [
"b1",
"b2",
"b3",
"b4"
],
"filling": {
"1": "no_edition",
"2": "fill_with_exogenous_dem",
"3": "interpolation",
"4": "fill_with_endogenous_dem",
"5": "interpolate_from_borders",
"6": "fill_with_geoid",
"7": "other"
}
},
"product_level": [
"dsm"
],
"epsg": 32636,
"resolution": {
"value": [
0.6,
0.6
],
"unit": "meter"
},
"product_format": {
"point_cloud": [
"laz"
]
},
"geoid": true,
"save_by_pair": false
}
}
Orchestrator
Orchestrator
orchestrator: mode: multiprocessing mp_mode: forkserver max_ram_per_worker: 2000 nb_workers: 4 task_timeout: 600 max_tasks_per_worker: 10 dump_to_disk: true per_job_timeout: 600 factorize_tasks: true
{
"orchestrator": {
"mode": "multiprocessing",
"mp_mode": "forkserver",
"max_ram_per_worker": 2000,
"nb_workers": 4,
"task_timeout": 600,
"max_tasks_per_worker": 10,
"dump_to_disk": true,
"per_job_timeout": 600,
"factorize_tasks": true
}
}
Subsampling
Subsampling
subsampling: advanced: save_intermediate_data: true resolutions: - 4 - 1 min_image_size: 80 applications: sensors_subsampling: method: rasterio tile_size: 10000 interpolator_image: bilinear interpolator_classif: nearest interpolator_mask: nearest
{
"subsampling": {
"advanced": {
"save_intermediate_data": true,
"resolutions": [
4,
1
],
"min_image_size": 80
},
"applications": {
"sensors_subsampling": {
"method": "rasterio",
"tile_size": 10000,
"interpolator_image": "bilinear",
"interpolator_classif": "nearest",
"interpolator_mask": "nearest"
}
}
}
}
Surface modeling
Surface modeling
surface_modeling: applications: '4': grid_generation: save_intermediate_data: true method: epipolar epi_step: 30 find_optimal_altitude: true grid_correction: save_intermediate_data: true method: default nb_matches: 90 resampling: save_intermediate_data: true method: bicubic strip_height: 60 interpolator_image: bicubic interpolator_classif: nearest interpolator_mask: nearest interpolators_edges: edges_mask: nearest depth_map: nearest normals: nearest tile_id: nearest step: 500 ground_truth_reprojection: save_intermediate_data: true dense_match_filling: save_intermediate_data: true method: zero_padding fill_classification: null fill_valid_pixels: true dense_matching: application: basic save_intermediate_data: true min_epi_tile_size: 300 max_epi_tile_size: 1500 epipolar_tile_margin_in_percent: 60 min_elevation_offset: null max_elevation_offset: null disp_min_threshold: null disp_max_threshold: null use_global_disp_range: false local_disp_grid_step: 10 disp_range_propagation_filter_size: 50 epi_disp_grid_tile_size: 800 required_bands: - b0 performance_map_method: - risk - intervals method: pandora_custom generate_ambiguity: true perf_eta_max_ambiguity: 0.99 perf_eta_max_risk: 0.25 perf_eta_step: 0.04 perf_ambiguity_threshold: 0.6 classification_fusion_margin: 5 use_cross_validation: fast denoise_disparity_map: false used_band: b0 loader_conf: input: {} pipeline: matching_cost: matching_cost_method: census window_size: 11 subpix: 1 band: b0 optimization: optimization_method: sgm overcounting: true penalty: P1: 20 P2: 80 penalty_method: sgm_penalty cost_volume_confidence.cars_1: confidence_method: ambiguity eta_max: 0.99 eta_step: 0.04 normalization: false cost_volume_confidence.cars_2: confidence_method: risk eta_max: 0.25 eta_step: 0.04 cost_volume_confidence.cars_3: confidence_method: interval_bounds disparity: disparity_method: wta invalid_disparity: NaN refinement: refinement_method: vfit filter: filter_method: median filter_size: 3 validation: validation_method: cross_checking_fast loader: pandora confidence_filtering: activated: true bounds_ratio_threshold: 0.2 risk_ratio_threshold: 0.75 bounds_range_threshold: 3 risk_range_threshold: 9 nan_threshold: 0.2 win_nanratio: 20 use_bounds_intervals: true threshold_disp_range_to_borders: false filter_incomplete_disparity_range: true edges_3sgm: true classification_3sgm: null triangulation: save_intermediate_data: true method: line_of_sight_intersection snap_to_img1: false z_inf_sup_bh_approximation: true performance_map_affine_normalization: - 1 - 0 point_cloud_refinement: save_intermediate_data: true method: normals_guided activated: true w_guidance: 1.0 w_smooth: 0.0 w_data: 0.2 max_displacement: 0.5 update_xy: true use_metric: true damp: 1.0e-06 max_iter: 20 depth_to_z_fusion: save_intermediate_data: true method: anisotropic activated: true lambda_data: 0.02 depth_sigma: null depth_sigma_auto: true detail_scale: 1.0 cross_tile_weight: 1.0 fill_values: invalid iterations: 50 tol: 0.0001 dem_generation: save_intermediate_data: true method: bulldozer_on_raster resolution: 2.0 margin: - 0.1 - 1000.0 morphological_filters_size: 30 preprocessing_median_filter_size: 5 postprocessing_median_filter_size: 7 dem_median_downscale: 10 dem_min_max_downscale: 2 fillnodata_max_search_distance: 50 min_dem: -500 max_dem: 1000 height_margin: 40.0 bulldozer_max_object_size: 8 disable_bulldozer: false compute_stats: true coregistration: true coregistration_max_shift: 180 point_cloud_outlier_removal.1: save_intermediate_data: true method: small_components on_ground_margin: 11 connection_distance: 12.0 nb_points_threshold: 50 clusters_distance_threshold: null half_epipolar_size: 5 point_cloud_outlier_removal.2: save_intermediate_data: true method: statistical use_median: true k: 50 filtering_constant: 0.0 mean_factor: 1.8 std_dev_factor: 3.0 half_epipolar_size: 5 point_cloud_rasterization: save_intermediate_data: true method: simple_gaussian dsm_radius: 1 sigma: null grid_points_division_factor: null dsm_no_data: -32768 texture_no_data: null texture_dtype: null msk_no_data: 255 filling_no_data: 0 fill_nodata: true invalidity_mask_threshold: 0.5 '1': grid_generation: save_intermediate_data: true method: epipolar epi_step: 30 find_optimal_altitude: true grid_correction: save_intermediate_data: true method: default nb_matches: 90 resampling: save_intermediate_data: true method: bicubic strip_height: 60 interpolator_image: bicubic interpolator_classif: nearest interpolator_mask: nearest interpolators_edges: edges_mask: nearest depth_map: nearest normals: nearest tile_id: nearest step: 500 ground_truth_reprojection: save_intermediate_data: true dense_match_filling: save_intermediate_data: true method: zero_padding fill_classification: - '1' fill_valid_pixels: true dense_matching: application: basic save_intermediate_data: true min_epi_tile_size: 300 max_epi_tile_size: 1500 epipolar_tile_margin_in_percent: 60 min_elevation_offset: null max_elevation_offset: null disp_min_threshold: null disp_max_threshold: null use_global_disp_range: false local_disp_grid_step: 10 disp_range_propagation_filter_size: 50 epi_disp_grid_tile_size: 800 required_bands: - b0 edges_3sgm: true confidence_filtering: activated: true bounds_ratio_threshold: 0.2 risk_ratio_threshold: 0.75 bounds_range_threshold: 3 risk_range_threshold: 9 nan_threshold: 0.2 win_nanratio: 20 use_bounds_intervals: false performance_map_method: - risk generate_ambiguity: true method: pandora_custom perf_eta_max_ambiguity: 0.99 perf_eta_max_risk: 0.25 perf_eta_step: 0.04 perf_ambiguity_threshold: 0.6 classification_fusion_margin: 5 use_cross_validation: fast denoise_disparity_map: false used_band: b0 loader_conf: input: {} pipeline: matching_cost: matching_cost_method: census window_size: 11 subpix: 1 band: b0 optimization: optimization_method: sgm overcounting: true penalty: P1: 20 P2: 80 penalty_method: sgm_penalty cost_volume_confidence.cars_1: confidence_method: ambiguity eta_max: 0.99 eta_step: 0.04 normalization: false cost_volume_confidence.cars_2: confidence_method: risk eta_max: 0.25 eta_step: 0.04 disparity: disparity_method: wta invalid_disparity: NaN refinement: refinement_method: vfit filter: filter_method: median filter_size: 3 validation: validation_method: cross_checking_fast loader: pandora threshold_disp_range_to_borders: false filter_incomplete_disparity_range: true classification_3sgm: null triangulation: save_intermediate_data: true method: line_of_sight_intersection snap_to_img1: false z_inf_sup_bh_approximation: true performance_map_affine_normalization: - 1 - 0 point_cloud_refinement: save_intermediate_data: true activated: true method: normals_guided w_guidance: 1.0 w_smooth: 0.0 w_data: 0.2 max_displacement: 0.5 update_xy: true use_metric: true damp: 1.0e-06 max_iter: 20 depth_to_z_fusion: save_intermediate_data: true activated: true method: anisotropic lambda_data: 0.02 depth_sigma: null depth_sigma_auto: true detail_scale: 1.0 cross_tile_weight: 1.0 fill_values: invalid iterations: 50 tol: 0.0001 dem_generation: save_intermediate_data: true method: bulldozer_on_raster resolution: 2.0 margin: - 0.1 - 1000.0 morphological_filters_size: 30 preprocessing_median_filter_size: 5 postprocessing_median_filter_size: 7 dem_median_downscale: 10 dem_min_max_downscale: 2 fillnodata_max_search_distance: 50 min_dem: -500 max_dem: 1000 height_margin: 40.0 bulldozer_max_object_size: 8 disable_bulldozer: false compute_stats: true coregistration: true coregistration_max_shift: 180 point_cloud_outlier_removal.1: save_intermediate_data: true method: small_components on_ground_margin: 11 connection_distance: 3.5999999999999996 nb_points_threshold: 50 clusters_distance_threshold: null half_epipolar_size: 5 point_cloud_outlier_removal.2: save_intermediate_data: true method: statistical use_median: true k: 50 filtering_constant: 0.0 mean_factor: 1.8 std_dev_factor: 3.0 half_epipolar_size: 5 point_cloud_rasterization: save_intermediate_data: true method: simple_gaussian dsm_radius: 1 sigma: null grid_points_division_factor: null dsm_no_data: -32768 texture_no_data: null texture_dtype: null msk_no_data: 255 filling_no_data: 0 fill_nodata: true invalidity_mask_threshold: 0.5 advanced: '4': save_intermediate_data: true phasing: point: - 319796.4 - 3318159.6 unit: meter epsg: 32636 use_sensor_disp: false keep_low_res_dir: true use_endogenous_dem: false ground_truth_dsm: {} geometry_plugin: plugin_name: SharelocGeometry interpolator: cubic dem_roi_margin_initial_elevation: - 0.25 - 0.02 dem_roi_margin_rectification: 0.5 add_epipolar_margins: true pipeline: default '1': save_intermediate_data: true phasing: point: - 319796.4 - 3318159.6 unit: meter epsg: 32636 use_sensor_disp: false keep_low_res_dir: true use_endogenous_dem: false ground_truth_dsm: {} geometry_plugin: plugin_name: SharelocGeometry interpolator: cubic dem_roi_margin_initial_elevation: - 0.25 - 0.02 dem_roi_margin_rectification: 0.5 add_epipolar_margins: true pipeline: default
{
"surface_modeling": {
"applications": {
"4": {
"grid_generation": {
"save_intermediate_data": true,
"method": "epipolar",
"epi_step": 30,
"find_optimal_altitude": true
},
"grid_correction": {
"save_intermediate_data": true,
"method": "default",
"nb_matches": 90
},
"resampling": {
"save_intermediate_data": true,
"method": "bicubic",
"strip_height": 60,
"interpolator_image": "bicubic",
"interpolator_classif": "nearest",
"interpolator_mask": "nearest",
"interpolators_edges": {
"edges_mask": "nearest",
"depth_map": "nearest",
"normals": "nearest",
"tile_id": "nearest"
},
"step": 500
},
"ground_truth_reprojection": {
"save_intermediate_data": true
},
"dense_match_filling": {
"save_intermediate_data": true,
"method": "zero_padding",
"fill_classification": null,
"fill_valid_pixels": true
},
"dense_matching": {
"application": "basic",
"save_intermediate_data": true,
"min_epi_tile_size": 300,
"max_epi_tile_size": 1500,
"epipolar_tile_margin_in_percent": 60,
"min_elevation_offset": null,
"max_elevation_offset": null,
"disp_min_threshold": null,
"disp_max_threshold": null,
"use_global_disp_range": false,
"local_disp_grid_step": 10,
"disp_range_propagation_filter_size": 50,
"epi_disp_grid_tile_size": 800,
"required_bands": [
"b0"
],
"performance_map_method": [
"risk",
"intervals"
],
"method": "pandora_custom",
"generate_ambiguity": true,
"perf_eta_max_ambiguity": 0.99,
"perf_eta_max_risk": 0.25,
"perf_eta_step": 0.04,
"perf_ambiguity_threshold": 0.6,
"classification_fusion_margin": 5,
"use_cross_validation": "fast",
"denoise_disparity_map": false,
"used_band": "b0",
"loader_conf": {
"input": {},
"pipeline": {
"matching_cost": {
"matching_cost_method": "census",
"window_size": 11,
"subpix": 1,
"band": "b0"
},
"optimization": {
"optimization_method": "sgm",
"overcounting": true,
"penalty": {
"P1": 20,
"P2": 80,
"penalty_method": "sgm_penalty"
}
},
"cost_volume_confidence.cars_1": {
"confidence_method": "ambiguity",
"eta_max": 0.99,
"eta_step": 0.04,
"normalization": false
},
"cost_volume_confidence.cars_2": {
"confidence_method": "risk",
"eta_max": 0.25,
"eta_step": 0.04
},
"cost_volume_confidence.cars_3": {
"confidence_method": "interval_bounds"
},
"disparity": {
"disparity_method": "wta",
"invalid_disparity": "NaN"
},
"refinement": {
"refinement_method": "vfit"
},
"filter": {
"filter_method": "median",
"filter_size": 3
},
"validation": {
"validation_method": "cross_checking_fast"
}
}
},
"loader": "pandora",
"confidence_filtering": {
"activated": true,
"bounds_ratio_threshold": 0.2,
"risk_ratio_threshold": 0.75,
"bounds_range_threshold": 3,
"risk_range_threshold": 9,
"nan_threshold": 0.2,
"win_nanratio": 20,
"use_bounds_intervals": true
},
"threshold_disp_range_to_borders": false,
"filter_incomplete_disparity_range": true,
"edges_3sgm": true,
"classification_3sgm": null
},
"triangulation": {
"save_intermediate_data": true,
"method": "line_of_sight_intersection",
"snap_to_img1": false,
"z_inf_sup_bh_approximation": true,
"performance_map_affine_normalization": [
1,
0
]
},
"point_cloud_refinement": {
"save_intermediate_data": true,
"method": "normals_guided",
"activated": true,
"w_guidance": 1.0,
"w_smooth": 0.0,
"w_data": 0.2,
"max_displacement": 0.5,
"update_xy": true,
"use_metric": true,
"damp": 1e-06,
"max_iter": 20
},
"depth_to_z_fusion": {
"save_intermediate_data": true,
"method": "anisotropic",
"activated": true,
"lambda_data": 0.02,
"depth_sigma": null,
"depth_sigma_auto": true,
"detail_scale": 1.0,
"cross_tile_weight": 1.0,
"fill_values": "invalid",
"iterations": 50,
"tol": 0.0001
},
"dem_generation": {
"save_intermediate_data": true,
"method": "bulldozer_on_raster",
"resolution": 2.0,
"margin": [
0.1,
1000.0
],
"morphological_filters_size": 30,
"preprocessing_median_filter_size": 5,
"postprocessing_median_filter_size": 7,
"dem_median_downscale": 10,
"dem_min_max_downscale": 2,
"fillnodata_max_search_distance": 50,
"min_dem": -500,
"max_dem": 1000,
"height_margin": 40.0,
"bulldozer_max_object_size": 8,
"disable_bulldozer": false,
"compute_stats": true,
"coregistration": true,
"coregistration_max_shift": 180
},
"point_cloud_outlier_removal.1": {
"save_intermediate_data": true,
"method": "small_components",
"on_ground_margin": 11,
"connection_distance": 12.0,
"nb_points_threshold": 50,
"clusters_distance_threshold": null,
"half_epipolar_size": 5
},
"point_cloud_outlier_removal.2": {
"save_intermediate_data": true,
"method": "statistical",
"use_median": true,
"k": 50,
"filtering_constant": 0.0,
"mean_factor": 1.8,
"std_dev_factor": 3.0,
"half_epipolar_size": 5
},
"point_cloud_rasterization": {
"save_intermediate_data": true,
"method": "simple_gaussian",
"dsm_radius": 1,
"sigma": null,
"grid_points_division_factor": null,
"dsm_no_data": -32768,
"texture_no_data": null,
"texture_dtype": null,
"msk_no_data": 255,
"filling_no_data": 0,
"fill_nodata": true,
"invalidity_mask_threshold": 0.5
}
},
"1": {
"grid_generation": {
"save_intermediate_data": true,
"method": "epipolar",
"epi_step": 30,
"find_optimal_altitude": true
},
"grid_correction": {
"save_intermediate_data": true,
"method": "default",
"nb_matches": 90
},
"resampling": {
"save_intermediate_data": true,
"method": "bicubic",
"strip_height": 60,
"interpolator_image": "bicubic",
"interpolator_classif": "nearest",
"interpolator_mask": "nearest",
"interpolators_edges": {
"edges_mask": "nearest",
"depth_map": "nearest",
"normals": "nearest",
"tile_id": "nearest"
},
"step": 500
},
"ground_truth_reprojection": {
"save_intermediate_data": true
},
"dense_match_filling": {
"save_intermediate_data": true,
"method": "zero_padding",
"fill_classification": [
"1"
],
"fill_valid_pixels": true
},
"dense_matching": {
"application": "basic",
"save_intermediate_data": true,
"min_epi_tile_size": 300,
"max_epi_tile_size": 1500,
"epipolar_tile_margin_in_percent": 60,
"min_elevation_offset": null,
"max_elevation_offset": null,
"disp_min_threshold": null,
"disp_max_threshold": null,
"use_global_disp_range": false,
"local_disp_grid_step": 10,
"disp_range_propagation_filter_size": 50,
"epi_disp_grid_tile_size": 800,
"required_bands": [
"b0"
],
"edges_3sgm": true,
"confidence_filtering": {
"activated": true,
"bounds_ratio_threshold": 0.2,
"risk_ratio_threshold": 0.75,
"bounds_range_threshold": 3,
"risk_range_threshold": 9,
"nan_threshold": 0.2,
"win_nanratio": 20,
"use_bounds_intervals": false
},
"performance_map_method": [
"risk"
],
"generate_ambiguity": true,
"method": "pandora_custom",
"perf_eta_max_ambiguity": 0.99,
"perf_eta_max_risk": 0.25,
"perf_eta_step": 0.04,
"perf_ambiguity_threshold": 0.6,
"classification_fusion_margin": 5,
"use_cross_validation": "fast",
"denoise_disparity_map": false,
"used_band": "b0",
"loader_conf": {
"input": {},
"pipeline": {
"matching_cost": {
"matching_cost_method": "census",
"window_size": 11,
"subpix": 1,
"band": "b0"
},
"optimization": {
"optimization_method": "sgm",
"overcounting": true,
"penalty": {
"P1": 20,
"P2": 80,
"penalty_method": "sgm_penalty"
}
},
"cost_volume_confidence.cars_1": {
"confidence_method": "ambiguity",
"eta_max": 0.99,
"eta_step": 0.04,
"normalization": false
},
"cost_volume_confidence.cars_2": {
"confidence_method": "risk",
"eta_max": 0.25,
"eta_step": 0.04
},
"disparity": {
"disparity_method": "wta",
"invalid_disparity": "NaN"
},
"refinement": {
"refinement_method": "vfit"
},
"filter": {
"filter_method": "median",
"filter_size": 3
},
"validation": {
"validation_method": "cross_checking_fast"
}
}
},
"loader": "pandora",
"threshold_disp_range_to_borders": false,
"filter_incomplete_disparity_range": true,
"classification_3sgm": null
},
"triangulation": {
"save_intermediate_data": true,
"method": "line_of_sight_intersection",
"snap_to_img1": false,
"z_inf_sup_bh_approximation": true,
"performance_map_affine_normalization": [
1,
0
]
},
"point_cloud_refinement": {
"save_intermediate_data": true,
"activated": true,
"method": "normals_guided",
"w_guidance": 1.0,
"w_smooth": 0.0,
"w_data": 0.2,
"max_displacement": 0.5,
"update_xy": true,
"use_metric": true,
"damp": 1e-06,
"max_iter": 20
},
"depth_to_z_fusion": {
"save_intermediate_data": true,
"activated": true,
"method": "anisotropic",
"lambda_data": 0.02,
"depth_sigma": null,
"depth_sigma_auto": true,
"detail_scale": 1.0,
"cross_tile_weight": 1.0,
"fill_values": "invalid",
"iterations": 50,
"tol": 0.0001
},
"dem_generation": {
"save_intermediate_data": true,
"method": "bulldozer_on_raster",
"resolution": 2.0,
"margin": [
0.1,
1000.0
],
"morphological_filters_size": 30,
"preprocessing_median_filter_size": 5,
"postprocessing_median_filter_size": 7,
"dem_median_downscale": 10,
"dem_min_max_downscale": 2,
"fillnodata_max_search_distance": 50,
"min_dem": -500,
"max_dem": 1000,
"height_margin": 40.0,
"bulldozer_max_object_size": 8,
"disable_bulldozer": false,
"compute_stats": true,
"coregistration": true,
"coregistration_max_shift": 180
},
"point_cloud_outlier_removal.1": {
"save_intermediate_data": true,
"method": "small_components",
"on_ground_margin": 11,
"connection_distance": 3.5999999999999996,
"nb_points_threshold": 50,
"clusters_distance_threshold": null,
"half_epipolar_size": 5
},
"point_cloud_outlier_removal.2": {
"save_intermediate_data": true,
"method": "statistical",
"use_median": true,
"k": 50,
"filtering_constant": 0.0,
"mean_factor": 1.8,
"std_dev_factor": 3.0,
"half_epipolar_size": 5
},
"point_cloud_rasterization": {
"save_intermediate_data": true,
"method": "simple_gaussian",
"dsm_radius": 1,
"sigma": null,
"grid_points_division_factor": null,
"dsm_no_data": -32768,
"texture_no_data": null,
"texture_dtype": null,
"msk_no_data": 255,
"filling_no_data": 0,
"fill_nodata": true,
"invalidity_mask_threshold": 0.5
}
}
},
"advanced": {
"4": {
"save_intermediate_data": true,
"phasing": {
"point": [
319796.4,
3318159.6
],
"unit": "meter",
"epsg": 32636
},
"use_sensor_disp": false,
"keep_low_res_dir": true,
"use_endogenous_dem": false,
"ground_truth_dsm": {},
"geometry_plugin": {
"plugin_name": "SharelocGeometry",
"interpolator": "cubic",
"dem_roi_margin_initial_elevation": [
0.25,
0.02
],
"dem_roi_margin_rectification": 0.5,
"add_epipolar_margins": true
},
"pipeline": "default"
},
"1": {
"save_intermediate_data": true,
"phasing": {
"point": [
319796.4,
3318159.6
],
"unit": "meter",
"epsg": 32636
},
"use_sensor_disp": false,
"keep_low_res_dir": true,
"use_endogenous_dem": false,
"ground_truth_dsm": {},
"geometry_plugin": {
"plugin_name": "SharelocGeometry",
"interpolator": "cubic",
"dem_roi_margin_initial_elevation": [
0.25,
0.02
],
"dem_roi_margin_rectification": 0.5,
"add_epipolar_margins": true
},
"pipeline": "default"
}
}
}
}
Tiepoints
Tiepoints
tie_points: applications: '4': grid_generation: save_intermediate_data: true method: epipolar epi_step: 30 find_optimal_altitude: true resampling: save_intermediate_data: true method: bicubic strip_height: 60 interpolator_image: bicubic interpolator_classif: nearest interpolator_mask: nearest interpolators_edges: edges_mask: nearest depth_map: nearest normals: nearest tile_id: nearest step: 500 sparse_matching: application: basic decimation_factor: 100 elevation_delta_lower_bound: -500 elevation_delta_upper_bound: 1000 tile_margin: 10 epipolar_error_upper_bound: auto epipolar_error_maximum_bias: auto epipolar_error_estimation: auto minimum_nb_matches: 90 save_intermediate_data: true disparity_bounds_estimation: activated: true percentile: 1 lower_margin: 500 upper_margin: 1000 method: sift sift_matching_threshold: 0.7 sift_n_octave: 8 sift_n_scale_per_octave: 3 sift_peak_threshold: 4.0 sift_edge_threshold: 10.0 sift_magnification: 7.0 sift_window_size: 2 sift_back_matching: true used_band: b0 tile_width: 5000 tile_height: 60 '1': grid_generation: save_intermediate_data: true method: epipolar epi_step: 30 find_optimal_altitude: true resampling: save_intermediate_data: true method: bicubic strip_height: 60 interpolator_image: bicubic interpolator_classif: nearest interpolator_mask: nearest interpolators_edges: edges_mask: nearest depth_map: nearest normals: nearest tile_id: nearest step: 500 sparse_matching: application: basic decimation_factor: 30 elevation_delta_lower_bound: -500 elevation_delta_upper_bound: 1000 tile_margin: 10 epipolar_error_upper_bound: auto epipolar_error_maximum_bias: auto epipolar_error_estimation: auto minimum_nb_matches: 90 save_intermediate_data: true disparity_bounds_estimation: activated: true percentile: 1 lower_margin: 500 upper_margin: 1000 method: sift sift_matching_threshold: 0.7 sift_n_octave: 8 sift_n_scale_per_octave: 3 sift_peak_threshold: 4.0 sift_edge_threshold: 10.0 sift_magnification: 7.0 sift_window_size: 2 sift_back_matching: true used_band: b0 tile_width: 5000 tile_height: 60 advanced: '4': save_intermediate_data: true epipolar_roi_margin_factor: 0.2 geometry_plugin: plugin_name: SharelocGeometry interpolator: cubic dem_roi_margin_initial_elevation: - 0.25 - 0.02 dem_roi_margin_rectification: 0.5 add_epipolar_margins: true '1': save_intermediate_data: true epipolar_roi_margin_factor: 0.2 geometry_plugin: plugin_name: SharelocGeometry interpolator: cubic dem_roi_margin_initial_elevation: - 0.25 - 0.02 dem_roi_margin_rectification: 0.5 add_epipolar_margins: true
{
"tie_points": {
"applications": {
"4": {
"grid_generation": {
"save_intermediate_data": true,
"method": "epipolar",
"epi_step": 30,
"find_optimal_altitude": true
},
"resampling": {
"save_intermediate_data": true,
"method": "bicubic",
"strip_height": 60,
"interpolator_image": "bicubic",
"interpolator_classif": "nearest",
"interpolator_mask": "nearest",
"interpolators_edges": {
"edges_mask": "nearest",
"depth_map": "nearest",
"normals": "nearest",
"tile_id": "nearest"
},
"step": 500
},
"sparse_matching": {
"application": "basic",
"decimation_factor": 100,
"elevation_delta_lower_bound": -500,
"elevation_delta_upper_bound": 1000,
"tile_margin": 10,
"epipolar_error_upper_bound": "auto",
"epipolar_error_maximum_bias": "auto",
"epipolar_error_estimation": "auto",
"minimum_nb_matches": 90,
"save_intermediate_data": true,
"disparity_bounds_estimation": {
"activated": true,
"percentile": 1,
"lower_margin": 500,
"upper_margin": 1000
},
"method": "sift",
"sift_matching_threshold": 0.7,
"sift_n_octave": 8,
"sift_n_scale_per_octave": 3,
"sift_peak_threshold": 4.0,
"sift_edge_threshold": 10.0,
"sift_magnification": 7.0,
"sift_window_size": 2,
"sift_back_matching": true,
"used_band": "b0",
"tile_width": 5000,
"tile_height": 60
}
},
"1": {
"grid_generation": {
"save_intermediate_data": true,
"method": "epipolar",
"epi_step": 30,
"find_optimal_altitude": true
},
"resampling": {
"save_intermediate_data": true,
"method": "bicubic",
"strip_height": 60,
"interpolator_image": "bicubic",
"interpolator_classif": "nearest",
"interpolator_mask": "nearest",
"interpolators_edges": {
"edges_mask": "nearest",
"depth_map": "nearest",
"normals": "nearest",
"tile_id": "nearest"
},
"step": 500
},
"sparse_matching": {
"application": "basic",
"decimation_factor": 30,
"elevation_delta_lower_bound": -500,
"elevation_delta_upper_bound": 1000,
"tile_margin": 10,
"epipolar_error_upper_bound": "auto",
"epipolar_error_maximum_bias": "auto",
"epipolar_error_estimation": "auto",
"minimum_nb_matches": 90,
"save_intermediate_data": true,
"disparity_bounds_estimation": {
"activated": true,
"percentile": 1,
"lower_margin": 500,
"upper_margin": 1000
},
"method": "sift",
"sift_matching_threshold": 0.7,
"sift_n_octave": 8,
"sift_n_scale_per_octave": 3,
"sift_peak_threshold": 4.0,
"sift_edge_threshold": 10.0,
"sift_magnification": 7.0,
"sift_window_size": 2,
"sift_back_matching": true,
"used_band": "b0",
"tile_width": 5000,
"tile_height": 60
}
}
},
"advanced": {
"4": {
"save_intermediate_data": true,
"epipolar_roi_margin_factor": 0.2,
"geometry_plugin": {
"plugin_name": "SharelocGeometry",
"interpolator": "cubic",
"dem_roi_margin_initial_elevation": [
0.25,
0.02
],
"dem_roi_margin_rectification": 0.5,
"add_epipolar_margins": true
}
},
"1": {
"save_intermediate_data": true,
"epipolar_roi_margin_factor": 0.2,
"geometry_plugin": {
"plugin_name": "SharelocGeometry",
"interpolator": "cubic",
"dem_roi_margin_initial_elevation": [
0.25,
0.02
],
"dem_roi_margin_rectification": 0.5,
"add_epipolar_margins": true
}
}
}
}
}
Filling
Filling
filling: advanced: save_intermediate_data: true filling_tile_size: 10000 geometry_plugin: plugin_name: SharelocGeometry interpolator: cubic dem_roi_margin_initial_elevation: - 0.25 - 0.02 dem_roi_margin_rectification: 0.5 add_epipolar_margins: true applications: auxiliary_filling: save_intermediate_data: true activated: true method: auxiliary_filling_from_sensors mode: fill_nan texture_interpolator: linear use_mask: true dem_generation: save_intermediate_data: true method: bulldozer_on_raster resolution: 0.6 margin: - 0.1 - 547.722557505166 morphological_filters_size: 30 preprocessing_median_filter_size: 5 postprocessing_median_filter_size: 7 dem_median_downscale: 10 dem_min_max_downscale: 2 fillnodata_max_search_distance: 50 min_dem: -500 max_dem: 1000 height_margin: 21.90890230020664 bulldozer_max_object_size: 8 disable_bulldozer: false compute_stats: true coregistration: true coregistration_max_shift: 180 dsm_filling.1: method: exogenous_filling save_intermediate_data: true fill_classification: - '1' fill_with_geoid: - '1' fill_nodata: null interpolation_method: bilinear dsm_filling.2: method: bulldozer save_intermediate_data: true fill_classification: null fill_nodata: null dsm_filling.3: method: border_interpolation save_intermediate_data: true fill_classification: null fill_nodata: null component_min_size: 5 border_size: 10 percentile: 10 dsm_filling.4: method: interpolation save_intermediate_data: true fill_classification: null fill_nodata: null tile_size: 2000 margin: 100
{
"filling": {
"advanced": {
"save_intermediate_data": true,
"filling_tile_size": 10000,
"geometry_plugin": {
"plugin_name": "SharelocGeometry",
"interpolator": "cubic",
"dem_roi_margin_initial_elevation": [
0.25,
0.02
],
"dem_roi_margin_rectification": 0.5,
"add_epipolar_margins": true
}
},
"applications": {
"auxiliary_filling": {
"save_intermediate_data": true,
"activated": true,
"method": "auxiliary_filling_from_sensors",
"mode": "fill_nan",
"texture_interpolator": "linear",
"use_mask": true
},
"dem_generation": {
"save_intermediate_data": true,
"method": "bulldozer_on_raster",
"resolution": 0.6,
"margin": [
0.1,
547.722557505166
],
"morphological_filters_size": 30,
"preprocessing_median_filter_size": 5,
"postprocessing_median_filter_size": 7,
"dem_median_downscale": 10,
"dem_min_max_downscale": 2,
"fillnodata_max_search_distance": 50,
"min_dem": -500,
"max_dem": 1000,
"height_margin": 21.90890230020664,
"bulldozer_max_object_size": 8,
"disable_bulldozer": false,
"compute_stats": true,
"coregistration": true,
"coregistration_max_shift": 180
},
"dsm_filling.1": {
"method": "exogenous_filling",
"save_intermediate_data": true,
"fill_classification": [
"1"
],
"fill_with_geoid": [
"1"
],
"fill_nodata": null,
"interpolation_method": "bilinear"
},
"dsm_filling.2": {
"method": "bulldozer",
"save_intermediate_data": true,
"fill_classification": null,
"fill_nodata": null
},
"dsm_filling.3": {
"method": "border_interpolation",
"save_intermediate_data": true,
"fill_classification": null,
"fill_nodata": null,
"component_min_size": 5,
"border_size": 10,
"percentile": 10
},
"dsm_filling.4": {
"method": "interpolation",
"save_intermediate_data": true,
"fill_classification": null,
"fill_nodata": null,
"tile_size": 2000,
"margin": 100
}
}
}
}
Monocular
Monocular
monocular: advanced: resolution: 1 save_intermediate_data: true right_image_monocular: false activated: auto applications: depth_map_generation: save_intermediate_data: true method: moge2 model: venv/lib/python3.10/site-packages/cars_monocular_plugin/applications/depth_map_generation/models/moge-2-vitl-normal.pt edge_threshold: 0.6 oversampling: save_intermediate_data: true method: simple
{
"monocular": {
"advanced": {
"resolution": 1,
"save_intermediate_data": true,
"right_image_monocular": false,
"activated": "auto"
},
"applications": {
"depth_map_generation": {
"save_intermediate_data": true,
"method": "moge2",
"model": "venv/lib/python3.10/site-packages/cars_monocular_plugin/applications/depth_map_generation/models/moge-2-vitl-normal.pt",
"edge_threshold": 0.6
},
"oversampling": {
"save_intermediate_data": true,
"method": "simple"
}
}
}
}