openMVS icon indicating copy to clipboard operation
openMVS copied to clipboard

Non-zero value Black edges and blocks

Open Jiatutu opened this issue 3 years ago • 2 comments

Using TextureMesh to rebuild the texture, when set to --empty-color=0, some data sets produce black edges and blocks with very small pixel values such as (1,1,1). How can I avoid these values and set them all to 0。 image image image

Jiatutu avatar Jul 12 '21 06:07 Jiatutu

that might be just the JPG encoder that introduces slight errors, try saving the texture directly in PNG (there is a param as well), or if in TIFF with lossless compression

cdcseacave avatar Jul 12 '21 07:07 cdcseacave

that might be just the JPG encoder that introduces slight errors, try saving the texture directly in PNG (there is a param as well), or if in TIFF with lossless compression

Thank you for your reply. I've tried both of the methods you mentioned, but they didn't work. Do you have any other suggestions .

Jiatutu avatar Jul 12 '21 10:07 Jiatutu