how to get the movement of an object with respect to time in MATLAB?
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi,
I am working with a thing flexible structure, I have got images from experiments. I want to know how I can trace an edge and get its mpvement for example in terms of displacement and velocity verses time?
Image is attached.
Thanks
Tayyaba
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/841430/image.png)
댓글 수: 1
yanqi liu
2021년 12월 23일
yes,sir,may be upload the image list to detect object and trace the left edge as target
답변 (1개)
Image Analyst
2021년 12월 22일
Do you have a method to locate the edge already? That would be the first step. Maybe try hough() or houghlines() if you don't have a method yet.
After that you can get the endpoints and centroid locations. Then make an array where you keep track of those 3 locations from frame to frame. Multiply by a spatial calibration factor to get distances in real world units such as millimeters. Velocity is the change in distance divided by the frame time.
댓글 수: 7
참고 항목
카테고리
Help Center 및 File Exchange에서 Computer Vision with Simulink에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!