Tangshitao / MVDiffusion

MVDiffusion: Enabling Holistic Multi-view Image Generation with Correspondence-Aware Diffusion, NeurIPS 2023 (spotlight)
447 stars 21 forks source link

Confusion about code details. #13

Open enhuima opened 10 months ago

enhuima commented 10 months ago

Dear Tang, thank you for sharing the code for reproduction!

However, I am confused about the meaning of $K$ and $R$ in the function get_K_R() mentioned in line 93 of demo.py, and what is the purpose of this function. Can you provide some explanations for better understanding?

K, R = get_K_R(90, degree, 0, resolution, resolution).

Thank you for your time and looking forward to your reply. Best regards.

Tangshitao commented 10 months ago

Hi, it converts degree to intrinsic matrix (K) and extrinsic matrix (R), and then you can use this matrix to compute correspondence.

efyphil commented 10 months ago

https://www.mathworks.com/help/vision/ug/camera-calibration.html gentle inroduction into camera