Coder Social home page Coder Social logo

Save flow as image (RGB) about pytorch-pwc HOT 5 CLOSED

sniklaus avatar sniklaus commented on July 29, 2024
Save flow as image (RGB)

from pytorch-pwc.

Comments (5)

sniklaus avatar sniklaus commented on July 29, 2024

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

from pytorch-pwc.

Wazaki-Ou avatar Wazaki-Ou commented on July 29, 2024

Thank you !! I actually did it that way but the resulting RGB shows colors over s dark background as opposed to the example you give where the background is white.

from pytorch-pwc.

seanremy avatar seanremy commented on July 29, 2024

I've struggled to get that to work as expected. I visualized it another way, but it would be really nice to have the code snippet that generates the nice views you have.

from pytorch-pwc.

sniklaus avatar sniklaus commented on July 29, 2024

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.

from pytorch-pwc.

seanremy avatar seanremy commented on July 29, 2024

Ah, fair enough. Thanks!

from pytorch-pwc.

Related Issues (20)

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.