NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis
Neural Radiance Field Scene Representation
输入:连续的5D坐标(空间位置+视角方向)
输出:空间位置上的体密度和辐射强度
密度控制了穿过某一位置的光线在那个位置累积了多少辐射
方法简单总结:
1)将相机光轴穿过场景生成采样的三维点集
2)用三维点和对应的二维视角方向输入神经网络生成颜色和密度集
3)使用传统的体渲染技术将这些颜色和密度积分到二维图像
优化目标:减小所观察到的图像与渲染得到的对应视角图像之间的误差
神经辐射场表示的基本实现不能够达到足够高的分辨率,同时对样本的使用效率较低
将输入5D坐标转换为位置编码,是的MLP能够表示更高频率的函数;
采用分层采样,减少对高频场景表示进行充分采样所需的queries
确保多视角一致性
We encourage the representation to be multiview consistent by restricting the network to predict the volume density $σ$ as a function of only the location$ x$, while allowing the RGB color $c $to be predicted as a function of both location and viewing direction.
the MLP $F_Θ$ first processes the input 3D coordinate $ x$ with 8 fully-connected layers (using ReLU activations and 256 channels per layer), and outputs $σ$ and a 256-dimensional feature vector. This feature vector is then concatenated with the camera ray’s viewing direction and passed to one additional fully-connected layer (using a ReLU activation and 128 channels) that output the view-dependent RGB color.
图三所表达的含义
沿着半球改变视角时表面的连续变化
Volume Rendering with Radiance Fields
The volume density $σ(x) $can be interpreted as the differential probability of a ray terminating at an infinitesimal particle at location $x$.
定义为在空间中任意点 $x $处,光线终止于该点的微分概率。这意味着$ σ(x) $反映了光线在通过空间中特定点$ x $时,终止于该点的可能性。
The function $T_(t)$ denotes the accumulated transmittance along the ray from tn to $t$, i.e., the probability that the ray travels from tn to $t $without hitting any other particle.
stratified sampling approach
where $δ_i = t_i+1 − t_i $ is the distance between adjacent samples.
Optimizing a Neural Radiance Field
Positional encoding
Hierarchical volume sampling
free space and occluded regions that do not contribute to the rendered image are still sampled repeatedly.
we first rewrite the alpha composited color from the coarse network $ \hat{C}_c(r) $ in Eqn. 3 as a weighted sum of all sampled colors ci along the ray:
Normalizing these weights as
produces a piecewise-constant PDF along the ray.