当前位置:网站首页>Brief analysis of ref nerf
Brief analysis of ref nerf
2022-07-03 20:42:00 【Zhangchuncheng】
elementary analysis Ref-NeRF
NeRF It is a popular 3D rendering network , This article is based on the new RefNeRF As an opportunity , Try to explain the close relationship between normals in 3D surfaces and rendering .
Research background
rendering method
We simplify the rendering process to : When shooting an object , Find the color of a point on the picture of the object

The traditional method needs to obtain the three-dimensional model of the object first , And build a three-dimensional scene , Then the color value of each region is obtained by calculation .
We can render by building a patch model , It can also be rendered by volume integration .


Here we consider two basic things , One is an object , The other is the observer ,
The model of an object is physical , It does not change with the perspective of observation ; The observer observes the object model from various angles , It can be simplified into an angle .
and NeRF The way is to grasp these two key points , Abstract the rendering process of 3D objects into a function , The difference from traditional methods is , It no longer relies on explicit modeling of 3D objects .
Neural Radiance Fields & Multi-layer perception Neural Radiance Fields (NeRF) is a popular view synthesis technique that represents a scene as a continuous volumetric function, parameterized by multi-layer perception (MLP) that provide the volume density and view dependent emitted radiance at each location.
From the perspective of neural network , The rendering process is as follows
among , Represents model parameters , Represents the location of rendering , Represents the observation angle . The network training process is to shoot the same object from multiple perspectives , So as to optimize the parameters ,
therefore , It can be considered that the surface information of the object is encoded in the network parameters . The rendering of the new angle can be calculated through this set of parameters .
NeRF The problem of
They often fail to accurately capture and reproduce the appearance of glossy surfaces

namely NeRF Poor treatment of smooth surfaces . The reason is , Because NeRF The processing of surface texture depends on interpolation

Why do you say that? ? Because the original function is a continuous function
therefore , Without special mechanism , When When it comes to gradients , Output It must also be gradual . Macroscopically, it will show “ interpolation ” The effect of . Reflected in the rendering results , There is no clear boundary for the color of the texture , It looks very vague .
The new method
The main idea
The new method learns the three-dimensional structure of the object surface , No longer rely on interpolation algorithm when rendering color

The core of the three-dimensional structure here is the direction of the local normal .
How important are normals ?
Give an example to illustrate this problem , If you render an object in the traditional way , In addition to its 3D surface structure and texture map color , You also need its surface normal

If you change its normal direction , You will get a completely different rendering effect

The reason for this phenomenon can be explained by the following figure , Considering the ambient light , The color of a point of an object can be simplified into two factors
among , Represents the diffusion of materials (diffuse) Color , This color depends on the nature of the object itself , Represents the color brought by ambient light .

Because the ambient light is reflected by objects , Therefore, it is inevitably affected by the joint action of illumination angle and surface normal .
Ref-NeRF The algorithm is in the process of learning model parameters , Learn the coupling structure of these normals and incident light at the same time by adding constraints .
Network structure

In primitive NeRF In the method ,
Input For location ; Input Represents the observation angle ; Output Represents material density ; Output Represents the color value ; Intermediate variable Represents bottleneck vector , It's kind of like ResNet Layer hopping transmission .
and Ref-NeRF The intermediate variables added by the method are ,
: The color produced by light and its own color ; : Weighting of light color ; : Local surface roughness ; : local normal .
Why are so many things introduced besides normals ? It's easy to understand .
: Control the value and proportion of external light and its own color ; : After considering the surface normal , Local color value “ great ” The ground is affected by the normal , But in practice , Because the surface of the object is not absolutely smooth , This leads to a great difference between the actual results and the theoretical results . In this network , The rougher the surface , Then the smoother it is , Smoothing is done by fitting vMF Distributed implementation .
We introduce a technique,which we call an Integrated Directional Encoding (IDE), that enables the directional MLP to efficiently represent the function of outgoing radiance for materials with any continuously-valued roughness

result
And NeRF Comparison of methods


so ,Ref The method can accurately estimate the surface normal structure of spherical and cylindrical structures , And what information is caused by ambient light . This endows the model with knowledge and learning “ Specular reflection ” The ability of .
Scene editing
Last , Because the model not only learns the surface information of the object , I also learned the information of ambient light , So we can change these two factors , To analyze 3D objects and scenes “ edit ”.

We can edit the diffuse color of the car without affecting the specular reflections of its glossy paint

We can plausibly modify the roughness of the car and material balls by manipulating the κ values used in the IDE
边栏推荐
- 2022 safety officer-c certificate examination and safety officer-c certificate registration examination
- First knowledge of database
- [Yugong series] February 2022 Net architecture class 004 ABP vNext used in WPF project
- Kubernetes 通信异常网络故障 解决思路
- 强化学习-学习笔记1 | 基础概念
- 上周内容回顾
- 浅议.NET遗留应用改造
- 6006. Take out the minimum number of magic beans
- Battle drag method 1: moderately optimistic, build self-confidence (1)
- C 10 new feature [caller parameter expression] solves my confusion seven years ago
猜你喜欢
Task of gradle learning
Use nodejs+express+mongodb to complete the data persistence project (with modified source code)
In 2021, the global foam protection packaging revenue was about $5286.7 million, and it is expected to reach $6615 million in 2028
How to read the source code [debug and observe the source code]
你真的知道自己多大了吗?
JS three families
Operate BOM objects (key)
Node MySQL serialize cannot rollback transactions
How to handle wechat circle of friends marketing activities and share production and release skills
Viewing Chinese science and technology from the Winter Olympics (II): when snowmaking breakthrough is in progress
随机推荐
一台服务器最大并发 tcp 连接数多少?65535?
2022 low voltage electrician examination and low voltage electrician simulation examination question bank
全网都在疯传的《老板管理手册》(转)
AI enhanced safety monitoring project [with detailed code]
MDM mass data synchronization test verification
浅议.NET遗留应用改造
【c】 Digital bomb
【leetcode】1027. Longest arithmetic sequence (dynamic programming)
Interval product of zhinai sauce (prefix product + inverse element)
Sightseeing - statistics of the number of shortest paths + state transfer + secondary small paths
2.7 format output of values
9 pyqt5 qscrollarea scroll area and qscrollbar scroll bar
In 2021, the global revenue of syphilis rapid detection kits was about US $608.1 million, and it is expected to reach US $712.9 million in 2028
Global and Chinese market of two in one notebook computers 2022-2028: Research Report on technology, participants, trends, market size and share
2022 safety officer-c certificate examination and safety officer-c certificate registration examination
[Yugong series] go teaching course 002 go language environment installation in July 2022
How to read the source code [debug and observe the source code]
11-grom-v2-04-advanced query
Test access criteria
Plan for the first half of 2022 -- pass the PMP Exam