lioryariv / volsdf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question about normalization matrix

yeong5366 opened this issue · comments

Hello! Thank you for sharing this wonderful work
Vol-sdf is very fantastic work at least for me.
I have a minor question about code in preprocess.py, though.

I wonder why below multiplication is needed rather than only inverse K.
If you answer it, it would be really appreciated.
Thanks a lot!

=========================================

  def get_center_point(num_cams,cameras):

    ....
    v = np.linalg.inv(K) @ np.array([800, 600, 1]) #why is it needed?
    v = v / np.linalg.norm(v)

    ....  
  return soll,camera_centers

=======================================

I solved it.