pytorch-dense-correspondence icon indicating copy to clipboard operation
pytorch-dense-correspondence copied to clipboard

Misleading depth scaling factor "DEPTH_IM_SCALE"

Open Zador-Pataki opened this issue 2 years ago • 0 comments

Hi, I am referring to lines 499: depth_vec = torch.index_select(img_a_depth_torch, 0, uv_a_vec_flattened)*1.0/DEPTH_IM_SCALE and 595: depth2_vec = torch.index_select(img_b_depth_torch, 0, uv_b_vec_flattened)*1.0/1000 in file correspondence_finder.py

If you change the depth scale variable DEPTH_IM_SCALE, there will be an incorrect filtering of correspondences

Zador-Pataki avatar Mar 06 '23 16:03 Zador-Pataki