 |
|
Remarkable advancements in NeRF technology
NeRF (Neural Radiance Fields) is an AI technology that generates three-dimensional (3D) data from images.
The origins of this technology can be traced back to 2020, when Mildenhall and colleagues at UC Berkeley published a paper titled "NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis." This technology is attracting significant attention in various content creation fields, including virtual reality (VR), augmented/mixed reality (AR/MR), the metaverse, and digital twins, because it can reconstruct 3D scenes with extremely high fidelity. Some fast-food companies are already using NeRF to create television commercials.
Previously, photogrammetry and SfM (Structure from Motion) have been implemented as technologies for generating 3D data from images. However, NeRF takes a different approach and is expected to potentially solve the challenges associated with photogrammetry.
|
NeRF's mechanism
NeRF is a technology that uses neural networks to estimate the light and transparency (θ, φ) at each position (x, y, z) in 3D space, which is referred to as a Radiance Field (RF). This enables the creation of 3D models, including materials like metal and glass, which were previously difficult to achieve with photogrammetry.
The specific mechanism is as follows:
- Input: 2-dimensional images captured from multiple different angles. These images contain clues related to a 3-dimensional space.
- 5D space estimation: Based on a known viewpoint, a 2D image is input into a neural network to estimate a 5D space (x, y, z, θ, φ).
- Generating new viewpoints: Using estimated 3D space lighting and transparency information, images are generated from new perspectives, enabling volume rendering.
|
Let's create a 3D model using NeRF
Several tools and services exist that utilize NeRF to generate 3D models. These include Luma AI, Instant NGP, and NeRF Studio.
Luma AI allows you to easily create 3D models simply by uploading images to its dedicated website. However, this method has a drawback: the generated 3D models are made publicly available, so it cannot be used for confidential or private subjects. Therefore, I decided to try using Instant NGP and NeRF Studio on my own Windows PC. For detailed instructions, please refer to the respective websites. Setting up the environment requires installing various components such as CUDA, CMAKE, Python, and Anaconda.
The following section introduces a workflow using Instant NGP.
- Take a picture of the subject
Capture the target object from as many angles as possible. There are methods for taking numerous still images, and also the possibility of recording a video and then dividing it into individual frames.
- Calculate using Instant NGP
First, calculations are performed to estimate the camera parameters. Then, these estimated camera parameters are used as input for Instant NGP. Instant NGP generates a 3D model based on these parameters (Figure 1). Initially, the entire screen appears blurry, but after waiting for a while, the calculations stabilize and the 3D model is completed. When you try to operate it using the mouse, you can clearly see that it has been converted into a 3D representation (Figure 2).
- Polygonization
While NeRF performs the process described in "2," to incorporate the generated 3D models into existing software (such as BIM or 3D computer graphics), it is necessary to create point clouds and meshes (polygons). On the Instant NGP platform, select the portion you want to mesh and then output it. Next, import the data into the software you intend to use in the subsequent stage and proceed to the next step. If necessary, you can also consider using software such as Blender or MeshLab to adjust the number of meshes.
|
Summary
Here are some challenges related to NeRF when using instant NGP.
- It is difficult to create a 3D representation of moving objects.
- Generating 3D models can sometimes take a significant amount of time.
- It is difficult to associate the 3D models generated by NeRF with their corresponding attribute information.
Solutions to these challenges are being explored through the latest research, and promising breakthroughs are emerging. Furthermore, the technology is becoming capable of handling not only real-world photographs but also computer-generated synthetic images. NeRF is a technology with exciting potential for future development.
|
|