Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Commit 69d3b2f

Browse files
feat: use sift height range if no dem provided
1 parent 79b2e16 commit 69d3b2f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

s2p/rpc_utils.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -445,9 +445,6 @@ def exogenous_disp_range_estimation(rpc1, rpc2, x, y, w, h, H1, H2, cfg, A=None,
445445
disparity is made horizontal thanks to the two rectifying homographies
446446
H1 and H2.
447447
"""
448-
if cfg['exogenous_dem'] is None:
449-
return
450-
451448
m, M = altitude_range(rpc1, x, y, w, h, cfg, margin_top, margin_bottom)
452449

453450
return altitude_range_to_disp_range(m, M, rpc1, rpc2, x, y, w, h, H1, H2,

0 commit comments

Comments
 (0)