nmoehrle / mvs-texturing

Algorithm to texture 3D reconstructions from multi-view stereo images
Other
931 stars 328 forks source link

What are these red borders in the atlas? #183

Open mali-tintash opened 2 years ago

mali-tintash commented 2 years ago

So I've been playing with the code. I've made a lot of changes to the code understand some concepts. And I didn't notice until just recently that the atlas being formed has these "Red" borders around the rects. It's not there in the original code. But since there are a lot of changes in my version, I am unable to trace where this could be coming from. Any pointers ? atlas1_material0000_map_Kd

18892021125 commented 2 years ago

generate_texture_patches().cpp/generate_candidate(), byte_image = mve::image::crop(view_image, width, height, min_x, min_y, *math::Vec3uc(255, 0, 255)); (255.0.255)is pink,

mali-tintash commented 2 years ago

generate_texture_patches().cpp/generate_candidate(), byte_image = mve::image::crop(view_image, width, height, min_x, min_y, *math::Vec3uc(255, 0, 255)); (255.0.255)is pink,

But is the border supposed to be visible? I didn't notice it in the atlases generated using original code.