how to identify one impact-rebound trajectory from an image?
2 次查看(过去 30 天)
显示 更早的评论
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.
Based on literature, the criteria to select two streak lines before and after impact are:
- The slope of the regression lines should be almost identical.
- The intersect points of two streak lines with the surface line should be very close.
- The ratio of streak line length A to the streak line separation B should be within certain limits.
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.
0 个评论
采纳的回答
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
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.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing and Computer Vision 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!