Skip to content

Commit

Permalink
Merge branch 'fix-resampling' into 'master'
Browse files Browse the repository at this point in the history
Fix resampling

See merge request 3d/cars-park/cars!797
  • Loading branch information
dyoussef committed Jan 17, 2025
2 parents 2f9daa8 + 19c6c41 commit 9e52c32
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions cars/pipelines/default/default_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -977,6 +977,7 @@ def sensor_to_depth_maps(self): # noqa: C901
self.pairs[pair_key]["sensor_image_right"],
self.pairs[pair_key]["grid_left"],
self.pairs[pair_key]["grid_right"],
orchestrator=self.cars_orchestrator,
pair_folder=os.path.join(
self.dump_dir, "resampling", "initial", pair_key
),
Expand Down Expand Up @@ -1107,16 +1108,18 @@ def sensor_to_depth_maps(self): # noqa: C901
self.pairs[pair_key]["sensor_image_right"],
self.pairs[pair_key]["corrected_grid_left"],
self.pairs[pair_key]["corrected_grid_right"],
self.cars_orchestrator,
os.path.join(
orchestrator=self.cars_orchestrator,
pair_folder=os.path.join(
self.dump_dir,
"resampling",
"corrected_for_pandora",
pair_key,
),
pair_key,
self.sparse_mtch_pandora_app.get_margins_fun(
method="pandora"
pair_key="pair_key",
margins_fun=(
self.sparse_mtch_pandora_app.get_margins_fun(
method="pandora"
)
),
tile_width=None,
tile_height=None,
Expand Down

0 comments on commit 9e52c32

Please sign in to comment.