iwyoo / DIRNet-tensorflow

Tensorflow implementation of DIRNet
60 stars 22 forks source link

How to visualize the displacement vector field? #6

Closed h1310321230 closed 6 years ago

h1310321230 commented 6 years ago

Given a pair of images, the convolutional neural network outputs a displacement vector field(DVF). The DVF is a numpy array with two channels. If I want to visualize it, what should I do ?Opencv and matplotlib can not do this . Can you help me? Thanks very much.

iwyoo commented 6 years ago

Color visualization is not related with this repository. Of course, you can suggest to expand the repository, but there are many implementation to visualize vector flow. You can check this repo https://github.com/marximus/flowviz

h1310321230 commented 6 years ago

It help me a lot. Thank you very much!