Optical Flow Vectors Direction
古いコメントを表示
Hello
I am using inbuilt function for computing dense opticalflow on an image
I have also obtained the directions of flow vectors. Now I would llike to know, "What is the reference used for computing these flow directions?"
Please Help
Thank you
回答 (1 件)
Vishnu Sreekumar
2019 年 6 月 25 日
0 投票
I have struggled with this a bit. I've come to the conclusion that video applications typically treat the rows of matrices as X and columns as the Y dimension. So that means when you plot your image using imagesc, the X direction is top to bottom and Y direction is left to right. So when you use quiver to plot the arrows, you will need to do quiver(flow.Vy, flow.Vx). In general, it is advisable to watch videos and the flows, plot the directions (rose(flow.Orientation(chosenPixel))) and check how directions map to what flow.Orientation tells you.
カテゴリ
ヘルプ センター および File Exchange で Motion Estimation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!