Giter Club home page Giter Club logo

opticalflow_visualization's People

Contributors

dfrumkin avatar tomrunia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

opticalflow_visualization's Issues

Make colorwheel

It would be great if you could mention how colorwheel can be visualized . As i see this is the array of colors but confused if its rgb or hue and how can we have the image generated using it.

why not set 'convert_to_bgr=True'?

Hi,
Thanks for this amazing tool! I have a question about flow color. According to the flow color coding, it seems that we should set 'convert_to_bgr=True' to match flow color coding? Am I right?
image

index 55 is out of bounds for axis 0 with size 55

This is the issue When I run this code:
Traceback (most recent call last):
File "ceshi.py", line 44, in
flow_color = flow_vis.flow_to_color(flow_uv, convert_to_bgr=False)
File "/home/fang/OpticalFlow_Visualization-master/flow_vis.py", line 142, in flow_to_color
return flow_compute_color(u, v, convert_to_bgr)
File "/home/fang/OpticalFlow_Visualization-master/flow_vis.py", line 99, in flow_compute_color
col0 = tmp[k0] / 255.0
IndexError: index 55 is out of bounds for axis 0 with size 55

Can somebody tell me What's wrong about it?

Input format

Hi, great repo!
It would be helpful to add a few words about the format of the input to the flow_to_color.
The dostring ("flow_uv (np.ndarray): Flow UV image of shape [H,W,2]") only mentions the required shape, but what about the values?
I guess it's the relative shift (and not absolute position)? are the units in "pixels" or should I divide by H,W?
also, if clip_flow parameter is passed, the input flow is clipped between [0, clip_flow], which means negative values are not expected? which means the input should not be the relative shift, but then the output makes no sense.

It could have also helped,If the example numpy data ('./data/flow_example_data.npy') was available

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.