Skip to content

Commit

Permalink
chore: reduce ram usage using fisheye as camera model
Browse files Browse the repository at this point in the history
  • Loading branch information
aW4KeNiNG committed Dec 23, 2024
1 parent ff2da2e commit 63028c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/datasets/colmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,8 @@ def __init__(
+ params[2] * theta**6
+ params[3] * theta**8
)
mapx = fx * x1 * r + width // 2
mapy = fy * y1 * r + height // 2
mapx = (fx * x1 * r + width // 2).astype(np.float32)
mapy = (fy * y1 * r + height // 2).astype(np.float32)

# Use mask to define ROI
mask = np.logical_and(
Expand Down

0 comments on commit 63028c3

Please sign in to comment.