Labeling objects in a sequence of images

2 views (last 30 days)
KuriGohan
KuriGohan on 26 Feb 2022
Answered: Image Analyst on 28 Feb 2022
I have a sequence of images (video frames). I need to identify the objects as they move (and also some leave the region of interest or new ones appear in the region of interest). By using bwlabel the object to the left of the region of interest is always object 1, but i want to maintain the numbering of the objects as they appear in time (and move out of the region of interest). When one or more objects move out of the region of interest I still want the other objects to have the labeling as if that object was still there. In addition the objects change size throught time. For better clarity I'm attaching an image of what i want to achive.
Does anybody have any tips/sugesstions or knows about a function that does this (i was not able to find any)?

Answers (1)

Image Analyst
Image Analyst on 28 Feb 2022
The Computer Vision Toolbox has tracking capabilities.

Products


Release

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!