qcraftai / gedepth

GEDepth: Ground Embedding for Monocular Depth Estimation (ICCV 2023)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What does the function find_k(gt_img, pe_img_comput, run_name) work for?

qgq99 opened this issue · comments

commented

Hi, thanks for your excellent work!
I wonder what the function find_k of file "preprocess_data_kitti.py" is doing?

def find_k(gt_img, pe_img_comput, run_name):
    a = (-1.65) / pe_img_comput
    b = 1.65 / gt_img
    k = b + a
    return k