Function with Differentiable Sphere Tracing Shaohui Liu, Yinda - - PowerPoint PPT Presentation
Function with Differentiable Sphere Tracing Shaohui Liu, Yinda - - PowerPoint PPT Presentation
DIST: Rendering Deep Implicit Signed Distance Function with Differentiable Sphere Tracing Shaohui Liu, Yinda Zhang, Songyou Peng, Boxin Shi, Marc Pollefeys, Zhaopeng Cui Deep Implicit Signed Distance Functions (DeepSDF) Infinite-Resolution
SLIDE 1
SLIDE 2
Deep Implicit Signed Distance Functions (DeepSDF)
- Infinite-Resolution
- Lightweight
Park et al. “DeepSDF: Learning Continuous Signed Distance Functions for Shape Representation”, In CVPR 2019.
No differentiable renderer for DeepSDF!
Voxel-based Representation [Tatarchenko et al.] DeepSDF Representation [Park et al.]
SLIDE 3
Feedforward Rendering Results
LR texture 32x HR texture HR Relighting HR 2nd View
SLIDE 4
Optimization over Shape Code
SLIDE 5
DIST - Differentiable Sphere Tracing
Gradient computation on the rendered silhouette Efficient feedforward of sphere tracing algorithm How to make feedforward efficient? What ray convergence criteria is the best setup? What can we do to resolve the GPU memory burden? How to deal with non-differentiable rendered silhouette?
SLIDE 6
DIST Feedforward – Naive Sphere Tracing
For each camera ray, march along the ray direction at each step with the queried SDF value until convergence.
SLIDE 7
DIST Feedforward - Coarse-to-Fine Strategy
We start the sphere tracing
- ver an image with ¼
resolution, and split each ray twice during the marching process, which saves computation at the early stage.
SLIDE 8
DIST Feedforward – Aggressive Marching
Setting step size α > 1 speeds up convergence. Setting step size α > 1 incurs bouncing between both sides.
SLIDE 9
DIST Feedforward – Convergence Criteria
A large threshold ϵ causes dilation, while a small threshold leads to erosion. We stop the marching once the SDF value is smaller than 1/2 ϵ.
SLIDE 10
DIST Feedforward – Results
The computation becomes affordable while the results remain almost unchanged.
SLIDE 11
DIST Backward – Recursive Gradients
Each query location depends on the previous ones, incurring recursive gradients.
Omitted This term is omitted as it empirically has less impact on the optimization process.
SLIDE 12
DIST Backward – Differentiable Silhouette
We make use of the nice property of signed distance function to optimize the nearest surface geometry.
Sphere Tracing min(abs(SDF)) min(abs(SDF)) < Є
SLIDE 13
Optimization over Camera Parameters
Given a fixed shape, our differentiable renderer can successfully backpropagate gradients to the camera parameters with respect to 2D observations.
SLIDE 14
Results - Reconstruction from Sparse Depth Images
Input DeepSDF Ours (w/o mask) Ours (w/ mask) 50% 10%
SLIDE 15
Lin et al. Ours Lin et al. Ours Lin et al. Ours
Lin et al, “Photometric Mesh Optimization for Video-Aligned 3D Object Reconstruction”, In CVPR 2019.
Lin et al. Ours Synthetic #1 Synthetic #2 Real-world #1 Real-world #2
Results - Reconstruction from Video Sequences
SLIDE 16
Code and Demo are available here
http://b1ueber2y.me/projects/DIST-Renderer/
SLIDE 17