Trajectory plotting of a series of images
6 ビュー (過去 30 日間)
古いコメントを表示
Hello Guys, I want to plot a trajectory of tennis ball thrown from one end of a table to another. This data is in the form of series of 18 images in a .mat file. This trajectory would be used to determine the final position of the ball's landing position. is there a way to overcome this problem? I shall send the .mat file if required. Thanks guys, Abhishek
0 件のコメント
採用された回答
Joseph Areeda
2012 年 3 月 17 日
Well it seems to me the process is fairly straight forward but the implementation could be complicated depending on how fancy you wanted to get.
If I were given this problem it would be broken down into:
1) Determine the position of the ball in each frame.
2) Use some sort of calibration of frame time and image scaling to convert that position to (x,y,t)
3) Fit a linear function to x=f(t) and a quadratic function to y=f(t)
4) Determine when y(t) = 0 and calculate x at that time
Step 1 is a good image processing project to do automatically but for the first go aground I'd probably just display the image and ask the user to click on the center of the ball.
See the tech note http://www.mathworks.com/support/tech-notes/1500/1508.html for your curve fitting options. I'd probably go with a simple least squares fit.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Image Processing Toolbox についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!