jzhangbs / Vis-MVSNet

Visibility-aware Multi-view Stereo Network
MIT License
235 stars 27 forks source link

color change #14

Closed Carinazhao22 closed 3 years ago

Carinazhao22 commented 3 years ago

Hello,

The color of the model is wrong after running on dtu test data. The left side is the correct color but the actual output is the right side. How can I fix it? Thanks image

jzhangbs commented 3 years ago

because opencv load color as BGR instead of RGB. you can reverse the dimension 1 of c_all at https://github.com/jzhangbs/Vis-MVSNet/blob/master/fusion.py#L157

Carinazhao22 commented 3 years ago

Thanks, it works.