Skip to content

Commit

Permalink
Fix resampling
Browse files Browse the repository at this point in the history
  • Loading branch information
steuxyo authored and dyoussef committed Jan 17, 2025
1 parent 2f9daa8 commit 19c6c41
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 19c6c41

Please sign in to comment.