DeepLiDAR icon indicating copy to clipboard operation
DeepLiDAR copied to clipboard

About suface_normal Prediction

Open amnesiac555 opened this issue 5 years ago • 5 comments

Hello, JiaxiongQ! when i read your code, i found that after you predict the surface normal vector, you perform some transformation operations on it. the code is: outputN = torch.zeros_like(normals2) outputN[:,:,:,0] = -normals2[:,:,:,0] outputN[:,:,:,1] = -normals2[:,:,:,2] outputN[:,:,:,2] = -normals2[:,:,:,1] I'm confused about this part. Can you explain it,Thank you very much.

amnesiac555 avatar Dec 01 '19 03:12 amnesiac555

When estimating the ground-truth of surface normal from depth, we did the same operation to generate the color we want. So the surface normal from predicted depth should do this operation again.

JiaxiongQ avatar Dec 03 '19 00:12 JiaxiongQ

Can you explain your method to estimate the ground-truth of surface normal from depth? Thanks a lot.

JennyGao00 avatar Jan 13 '21 14:01 JennyGao00

For KITTI, we fitted a plane for sparse depth points in a window. Please vist https://github.com/Cindy-xdZhang/surface-normal for details.

On Wed, Jan 13, 2021 at 10:07 PM JennyGao00 [email protected] wrote:

Can you explain your method to estimate the ground-truth of surface normal from depth? Thanks a lot.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/JiaxiongQ/DeepLiDAR/issues/18#issuecomment-759471365, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJANJRCJHBDP7CHUBRJVV5LSZWSLLANCNFSM4JTJP4GA .

JiaxiongQ avatar Jan 17 '21 03:01 JiaxiongQ

For KITTI, we fitted a plane for sparse depth points in a window. Please vist https://github.com/Cindy-xdZhang/surface-normal for details. On Wed, Jan 13, 2021 at 10:07 PM JennyGao00 @.***> wrote: Can you explain your method to estimate the ground-truth of surface normal from depth? Thanks a lot. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#18 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJANJRCJHBDP7CHUBRJVV5LSZWSLLANCNFSM4JTJP4GA .

thanks for your reply! I have ran the above code, but i wonder, numerically, what should f, fx, fy of the nuydepthv2 dataset be? (like 1, 1, 1, or some other numbers?)

JennyGao00 avatar Jan 24 '21 15:01 JennyGao00

You can find these parameters in their official toolbox.

On Sun, Jan 24, 2021 at 11:26 PM JennyGao00 [email protected] wrote:

For KITTI, we fitted a plane for sparse depth points in a window. Please vist https://github.com/Cindy-xdZhang/surface-normal for details. … <#m_3864882966769329341_> On Wed, Jan 13, 2021 at 10:07 PM JennyGao00 @.***> wrote: Can you explain your method to estimate the ground-truth of surface normal from depth? Thanks a lot. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#18 (comment) https://github.com/JiaxiongQ/DeepLiDAR/issues/18#issuecomment-759471365>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJANJRCJHBDP7CHUBRJVV5LSZWSLLANCNFSM4JTJP4GA .

thanks for your reply! I have ran the above code, but i wonder, numerically, what should f, fx, fy of the nuydepthv2 dataset be? (like 1, 1, 1, or some other numbers?)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/JiaxiongQ/DeepLiDAR/issues/18#issuecomment-766367505, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJANJRAG3F2DXT7WQMXEDGDS3Q3ZBANCNFSM4JTJP4GA .

JiaxiongQ avatar Jan 26 '21 05:01 JiaxiongQ