CyberAgentAILab / SuperNormal

[CVPR 2024] Official implementation of "SuperNormal: Neural Surface Reconstruction via Multi-View Normal Integration"
MIT License
148 stars 7 forks source link

How is scal_mat calculated? #5

Closed therealron closed 1 month ago

therealron commented 7 months ago

Hi, great work! In the data, how is the scale_mat calculated? It is used to bring the points in the unit sphere to world coordinates so that we can project them into the camera using the world_mat, right?

If I am trying to use this method for my own data, and I have per-view normals(in world space) and the KRT's for each camera, how can I calculate the scale matrix from this information? Thanks!

xucao-42 commented 7 months ago

Sorry for late reply, I was busy recently.

The scale_mat is simply a 3x3 diagnal matrix with identical values along the diagonal axis. To calculate the scale term, you can refer to the code in my previous work and an explanation in last section. We will also release the data pre-processing scripts and raw data recently.

Hope it helps!

utopiar commented 2 months ago

Hi, great work! When do you plan to release the data pre-processing scripts and raw data ?

xucao-42 commented 1 month ago

Hi, great work! When do you plan to release the data pre-processing scripts and raw data ?

Thank you for your interest. The raw data and scripts are now available here.