syinari0123 / tridepth

TriDepth: Triangular Patch-based Deep Depth Prediction [Kaneko+, ICCVW2019(oral)]
MIT License
77 stars 8 forks source link

Is it possible to adjust triangulation number generated? #6

Closed TWJianNuo closed 4 years ago

TWJianNuo commented 4 years ago

Hi, very great and novel work!

I got a small question regarding the number fo triangulation generated. I aopplied the triangulation generation portion to Kitti image(another popular dataset for outdoor depth prediciton) and found it generates around 50k triangles. Is that possible to reduce the number of triangles?

After reading code, I only found two ways, both I feel not very satisfying. One is reduce detected edges, the other is to reduce image size. Is there hyperparameter controls the edgeVertices->Triangles Process?

thanks!

TWJianNuo commented 4 years ago

Oh, I found I had revealed the solution. I can downsample the image then upsample it to original size, along with the triangulations. Again, thanks for your great work!