sniklaus / pytorch-pwc

a reimplementation of PWC-Net in PyTorch that matches the official Caffe version
GNU General Public License v3.0
621 stars 123 forks source link

Can you offer the .flo to .png code? #8

Closed taylover-pei closed 6 years ago

taylover-pei commented 6 years ago

You have done a good job. But I find that the output files did not include the .png file, so can you offer the .flo to .png file code? Thank you very much.

sniklaus commented 6 years ago

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