fdp0525 / G2LTex

Code for CVPR 2018 paper --- Texture Mapping for 3D Reconstruction with RGB-D Sensor
146 stars 29 forks source link

Depth-map 16-bit PNG #8

Open tftangming opened 4 years ago

tftangming commented 4 years ago

I want to use my own dataset include the mesh file and origin images, of cource I need the 16-bit depth_map. I want to obtain the depth-map from the dense_point_reconstruction stages and save the depth-image of png format in order to serve as the input of your program. How can I output the proper 16-bit png ? And 16 bit means the max depth is 65536 mm, But there may be larger than the max-thresold ....

yanqingan commented 4 years ago

I do not quite understand the point. Generally, the outputted depth should be in the 16-bit format. If you save it by yourself, try to just set the depth value larger than 65536 to 0.