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 CenterFile Exchange에서 Image 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