sniklaus / pytorch-unflow

a reimplementation of UnFlow in PyTorch that matches the official TensorFlow version
GNU General Public License v3.0
144 stars 24 forks source link

how convert .flo to png #1

Closed MrYANG23 closed 5 years ago

MrYANG23 commented 5 years ago

hi thanks for your work ,in your files ,i can't find the file that convert .flo file to png

sniklaus commented 5 years ago

I am afraid that the code in question originates from the Middlebury benchmark for optical flow, and I am not sure whether I am allowed to share it. However, you could get in touch with Daniel Scharstein and kindly ask him to share it with you as well.

You could alternatively adopt the visualization in the "Dense Optical Flow" section at the following link, which uses a color coding: https://docs.opencv.org/3.4.0/d7/d8b/tutorial_py_lucas_kanade.html