YeeU / InverseRenderNet

InverseRenderNet: Learning single image inverse rendering, CVPR 2019.
Apache License 2.0
160 stars 25 forks source link

Questions on ScaleX and ScaleY #2

Open hyf015 opened 4 years ago

hyf015 commented 4 years ago

Hi, thank you for sharing the code! In the example of pickle file, I found two arguments "ScaleX" and "ScaleY". However, I cannot find any descriptions of these two arguments. Can you share some details about what are these two args? Thanks in advance!

YeeU commented 4 years ago

Hi,

The two scaling factors will be applied to focal length (in horizontal and vertical directions) for back-projecting image pixels to 3d when performing cross-projections. As we downsampled training images from their original resolution to our standard input dimensions, such scaling factors modify the corresponding focal length making it correctly match the downsampled image.

Thanks.