vt-vl-lab / 3d-photo-inpainting

[CVPR 2020] 3D Photography using Context-aware Layered Depth Inpainting
https://shihmengli.github.io/3D-Photo-Inpainting/
Other
6.88k stars 1.11k forks source link

Specifying blank/background color? #167

Open WorldofDepth opened 1 year ago

WorldofDepth commented 1 year ago

Hi, is there a way to change the default gray color used for areas devoid of inpainting? I see a specification for bgcolor=(128, 128, 128) in the utils.py file, but changing that does not appear to have any effect. Same with the mention of bgcolor in the mesh.py file.

Related question: are there settings in argument.yml which could be used to reduce the size of these blank areas? I have tried lowering the ext_edge_threshold and raising the inpainting largest_size, but without the desired effect.

Thank you for any help!