Skip to content

Commit

Permalink
remove undistortion test
Browse files Browse the repository at this point in the history
  • Loading branch information
goulustis committed Aug 22, 2024
1 parent c36bcb8 commit de75eb4
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions camera_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,12 +207,3 @@ def make_camera_json(ext_mtx, intr_mtx, dist, img_size):
}

return new_camera


if __name__ == "__main__":
colcam_path = "/ubc/cs/research/kmyi/matthew/backup_copy/raw_real_ednerf_data/Videos/calib_checker_recons/sparse/0/cameras.bin"
img_f = "/ubc/cs/research/kmyi/matthew/projects/ed-nerf/data/black_seoul_b3_v3/colcam_set/rgb/1x/00000.png"
K, D = read_colmap_cam_param(colcam_path)
img = cv2.imread(img_f)
undist = undistort_image(img, K, D)

0 comments on commit de75eb4

Please sign in to comment.