how to identify one impact-rebound trajectory from an image?

2 ビュー (過去 30 日間)
Shipu HAN
Shipu HAN 2019 年 10 月 1 日
コメント済み: Shipu HAN 2019 年 10 月 4 日
I'm going to identify the velocities of a particle before and after it impact to a flat surface. The images will be obtained from a high-frame camera, and the trajectories of particles can be recorded as streak lines in the image. Since there many particles' trajectories on the image, I want to use codes to identify and highlight the preferred impact-rebound trajectory and determine the angles between the wall and the distance between two closest centre points (shown in the figure). Each white line is represented using linear regression as a 1st order function, and the slope of each line can be obtained.
image1.jpg
Based on literature, the criteria to select two streak lines before and after impact are:
  1. The slope of the regression lines should be almost identical.
  2. The intersect points of two streak lines with the surface line should be very close.
  3. The ratio of streak line length A to the streak line separation B should be within certain limits.
Capture.PNG
I managed to represents all lines as linear functions and identified the slope of each function. And what I'm trying to do now is to identify each streak line from lines with a close slope value. I stucked here for several days and has no idea of how to do that. Any idea or advice will be appreciated.
image2.png

採用された回答

Image Analyst
Image Analyst 2019 年 10 月 1 日
Since there is so much clutter in the image my suggestion is to ask the user to manually identify the streaks that you want using ginput() and bwselect() or ismember(). This will be a whole lot faster than spending days trying to do it automatically.
  5 件のコメント
Image Analyst
Image Analyst 2019 年 10 月 3 日
My only suggestion to identify angled streaks is to use regionprops() and ask for orientation, and look for blobs that have an orientation in the angular range you expect.
Shipu HAN
Shipu HAN 2019 年 10 月 4 日
Thanks, I will have a try.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Processing and Computer Vision についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by