i want to track the movement of the object that i detected using connected components.
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Shabhrish Reddy Uddehal
el 10 de Dic. de 2019
Comentada: Image Analyst
el 18 de Dic. de 2019
In the attached image, I was able to detect an object of my interest. As the image i attached is the first frame of a video file, i want to track the movement of the object throughout the whole video. what method can I use to track the object?.
0 comentarios
Respuesta aceptada
Image Analyst
el 15 de Dic. de 2019
Just threshold it to get a binary image. Then you can use bwboundaries() to get the outline of it, or you can use regionprops() to get the centroid of it. You can store those in an array where each element of the array is the centroid or boundary for that frame.
For example see the attached example and see how I keep track of hte color means for all the frames.
4 comentarios
Shabhrish Reddy Uddehal
el 18 de Dic. de 2019
Hi Image Analyst,
Thank you for your suggestion. I tired the approach you mentioned above and since the frames with the fluid missing is alot. I have to somehow reduce the flickering first and then implelment.
Más respuestas (0)
Ver también
Categorías
Más información sobre Image Sequences and Batch Processing 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!