Skip to content

Training and evaluation of a texture representation network.

License

Notifications You must be signed in to change notification settings

JustusThies/TexRepNet

Repository files navigation

TexRepNet

This code computes a color function that maps positions to colors. It is used to compute per vertex colors of a 3D reconstruction where color observations are available. As input you have to provide position-maps of the target scene along with the color observations. The 'color function' is a per position MLP. We use the positional encoding proposed by NeRF (Arxiv) as well as the basic MLP network structure.

Training

Given position maps you can start training. In the figure below you see the training curve for a scan with 89 images (from left to right: position input, predicted texture, ground truth). Training

Inference

Inference is done on a vertex level. You can increase the sample rate via subdivision. Matterport1 Matterport2

Ackowledgements

This code is based on the Pix2Pix/CycleGAN framework (Github repo) and the NeuralTexGen project (Github repo). The positional encoding is based on the implementation of nerf-pytorch (Github repo). Data of Matterport3D (Github repo) is used for demonstration.

About

Training and evaluation of a texture representation network.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published