← Todos os artigos

aiNov 23, 20262 min de leitura

NeRF: How AI Makes a New Photo From a Place Nobody Stood

This series has shown how Structure from Motion (SfM) turns many photos into 3D points. NeRF goes one step further. It can make a new photo of a scene from a spot where no one took a picture. NeRF stands for Neural Radiance Field. It was introduced in 2020.

Step 1: take photos

Walk around an object and take many photos, often 50 to 100. Tools like COLMAP (SfM) then work out where each photo was taken.

Step 2: teach a small network about the space

The network learns to answer two questions for any point in the air: what colour is here? and how solid is it? Empty air is not solid at all. The surface of a ball is very solid. The network keeps adjusting itself until its answers match all the real photos.

Animation: top view of a red ball and a blue box; cameras take photos around them; a new camera sends one ray, points along it show colour and how solid they are, and the pixel colour builds up; then rays for every pixel make a new row of pixels
Code-generated illustration (a simple 2D toy scene), not real data.

Step 3: make a new picture

Place a new camera anywhere. From that camera, send a straight line (a ray) through each pixel. Walk along the ray and ask the network about each point on the way. Add up the colours from front to back. Once the ray meets something solid, anything behind it is hidden, just like in real life. One ray gives one pixel, and all the rays together give a whole new photo. In the GIF, the orange camera never took a photo. Its picture is computed this way.

Why people liked it

The new views look like real photos, with shiny surfaces and fine details that older 3D methods found hard.

The problems

  • The first version took a day or more to learn one scene.
  • The 3D shape is hidden inside the network, so it is not easy to use in a game or a CAD tool.

Newer methods fixed much of this. NVIDIA’s Instant-NGP learns a scene in minutes. 3D Gaussian Splatting (2023) drops the network and uses millions of small coloured blobs instead, which can be shown live.

In short, SfM tells us where the cameras were. NeRF fills the space with colour, so we can look at the scene from anywhere.

Watch: the whole path in one video

This 8-minute video goes from the pinhole camera through Structure from Motion to NeRF, step by step.

Comentar

Comentários

Seja o primeiro a comentar

Seu e-mail nunca será exibido. Os comentários aparecem após revisão.