• Stars
    star
    175
  • Rank 216,771 (Top 5 %)
  • Language
    Python
  • License
    MIT License
  • Created over 4 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Adversarial Texture Optimization from RGB-D Scans (CVPR 2020).

AdversarialTexture

Adversarial Texture Optimization from RGB-D Scans (CVPR 2020).

AdversarialTexture Teaser

Scanning Data Download

Please refer to data directory for details.

Before run following scripts, please modify the data_path in src/config.py as the absolute path of the data folder (e.g. Adversarial/data) where you download all data.

Prepare for Training (Optimization)

Please refer to src/preprocessing directory for details.

Run Training (Optimization)

Consider execute run_all.sh in parallel.

cd src/textureoptim
python gen_script.py
sh run_all.sh

Result Visualization

The result will be stored in data/result/chairID/chairID.png. You can use them to replace the corresponding default texture in data/shape, and use meshlab to open obj files to see the results.

Alternatively, we provide a simple script to render results. You will be able to see the rendering comparison in data/visual.

cd src
python visualize.py

Authors

© Jingwei Huang, Stanford University

IMPORTANT: If you use this code please cite the following in any resulting publication:

@inproceedings{huang2020adversarial,
  title={Adversarial Texture Optimization from RGB-D Scans},
  author={Huang, Jingwei and Thies, Justus and Dai, Angela and Kundu, Abhijit and Jiang, Chiyu and Guibas, Leonidas J and Niessner, Matthias and Funkhouser, Thomas},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  pages={1559--1568},
  year={2020}
}

The rendering process is a modification of pyRender.

More Repositories

1

QuadriFlow

QuadriFlow: A Scalable and Robust Method for Quadrangulation
C++
655
star
2

Manifold

Convert any Triangle Mesh to Watertight Manifold
C++
581
star
3

ManifoldPlus

ManifoldPlus: A Robust and Scalable Watertight Manifold Surface Generation Method for Triangle Soups
C++
568
star
4

DeepLM

DeepLM: Large-scale Nonlinear Least Squares on Deep Learning Frameworks using Stochastic Domain Decomposition (CVPR 2021)
Python
175
star
5

FrameNet

FrameNet: Learning Local Canonical Frames of 3D Surfaces from a Single RGB Image
Python
127
star
6

TextureNet

TextureNet: Consistent Local Parametrizations for Learning from High-Resolution Signals on Meshes
C++
92
star
7

MeshODE

MeshODE: A Robust and Scalable Framework for Mesh Deformation
C++
92
star
8

PrimitiveNet

PrimitiveNet: Primitive Instance Segmentation with Local Primitive Embedding under Adversarial Metric (ICCV 2021)
Python
61
star
9

pyRender

Lightweight Cuda Renderer with Python Wrapper.
Python
54
star
10

Fluid3D

Incompressible Smoothed Particle Hydrodynamics and Applications
C++
27
star
11

VectorGraphRenderer

A renderer that takes a triangle mesh, a camera pose and produce a SVG image or visible part of the mesh.
C++
21
star
12

CADPlaneFitting

Fit Planes for CAD models
C++
20
star
13

PrimitiveFitting

C++
18
star
14

ProcCG

Procedural city generation.
C++
12
star
15

myRaytracer

GLSL Raytracer
C++
11
star
16

ShapeAlign

AlignShape
C++
5
star
17

level-set

Create a level-set platform for simulation
C++
5
star
18

FileViewer

A image web server
Python
5
star
19

Phd-Thesis----Surface-Texture-Processing

TeX
5
star
20

Compiler

create a c compiler
C
4
star
21

PhotonGPU

cs348b
C++
3
star
22

Simulation

Simulation platform for practice and research
C++
3
star
23

hjwdzh.github.io

HTML
1
star
24

hjwdzh

1
star