This repository contains vertex and uv texture map.
-
vertex map
-
uv map
- Max Projection Area
- Graph Optimization
- 2022.03.27 Add mesh downsample by open3d to save memory and time
- 2022.03.27 Add pose uniform downsample to improve texture performance
- Color Adjustment
- Photo-Consistency Check(occlude)
-
pip install -r requirements.txt
-
git clone https://github.com/js-duan/texture_map.git
- mesh(triangle)
- images
- poses (w2c)
- intrinsic
-
include
min_depth
,best view
,mean view
,weight-mean view
andoptimization
(implement use open3d) vertex texture map -
python vertex_map_example.py --path PATH_TO_DATA --mesh NAME_OF_MESH [--depth PATH_TO_DEPTH] [--display]
-
if u don't have depth, the code will render depth use mesh
-
include
best view
,max projection area
andgraph optimization
(optim-algorithm implemented by graph-optimzation) uv map -
python uv_map_example.py --path PATH_TO_DATA --mesh NAME_OF_MESH [--depth PATH_TO_DEPTH] [--display] [--label] [--downsample_pose] [--downsample_mesh] [--ratio 2]
-
use [--label] will save image label of each face in mesh
-
use [--downsample_pose] to downsample texture images
-
use [--downsample_mesh] [--ratio 2] will downsample mesh by ratio times