how to get the movement of an object with respect to time in MATLAB?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentario
yanqi liu
el 23 de Dic. de 2021
yes,sir,may be upload the image list to detect object and trace the left edge as target
Respuestas (1)
Image Analyst
el 22 de Dic. de 2021
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 comentarios
Ver también
Categorías
Más información sobre Computer Vision with Simulink en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!