Lilac-Lee / Neural_Scene_Flow_Prior

Neural Scene Flow Prior (NeurIPS 2021 spotlight)
https://lilac-lee.github.io/Neural_Scene_Flow_Prior
MIT License
120 stars 11 forks source link

Scene flow result visualiztion #4

Closed zwqnju closed 2 years ago

zwqnju commented 2 years ago

How to visualize scene flow result? Like the bottom pic in this figure: link

Can this part of code be provided?

Lilac-Lee commented 2 years ago

Hi, you can take a look at custom_draw_geometry_with_key_callback function in visualize.py.

In the optimization.py, when you set "options.visualize==True", it will call the visualization function. Then at the end of each optimization, you will see a similar plot to the figure, just follow the key callback instruction, and press "k" for dark background, use "+/-" to adjust the point size, use your mouse to change your viewpoint.

For the color wheel, you can take a look at make_colorwheel funciton in visualize.py.

Cheers.