Giter Club home page Giter Club logo

Comments (3)

tpetri avatar tpetri commented on June 27, 2024 1

I don't know what you exactly mean with not enough resolution? I saw the sensor working, at least it looked like it was successfully computing optical flow, many others would also claim the sensor can work.
Did you check how the flow is computed (flow.c)? Its SAD correlation (the old algorithm) or SAD minimization (klt version) of 8x8 pixel patches at a very small number of sample locations. Its less about the sensor resolution than what is visible on the image.
One reason is mainly the limited processing power and the trade-off for high frequency processing. If you can provide an implementation that can deal with more resolution providing more accuracy and equal robustness, I think everyone is happy to get a merge request, the implementation can for sure be further improved.

from px4-flow.

tpetri avatar tpetri commented on June 27, 2024

if you start looking at the code, lets say main.c, you'll quickly find this line:
https://github.com/PX4/Flow/blob/4a314cfdb099aed9795b825e7518203771207fbb/src/modules/flow/main.c#L89

A fulltext search for FULL_IMAGE_SIZE in this repo (top search bar) gives this result:
https://github.com/PX4/Flow/blob/4a314cfdb099aed9795b825e7518203771207fbb/src/include/mt9v034.h#L127

from px4-flow.

luhang-HPU avatar luhang-HPU commented on June 27, 2024

@tpetri Thanks for the reply. Then I want to ask if this 188x120 resolution even enough for calculating optical flow. Why does the FLOW use this resolution? Is there any intrinsic reasons?

from px4-flow.

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.