Labelling same blobs in different frames
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I am new to image processing in MATLAB. So what I have to do is to label blobs on an image. So the setup is basically markers on a person that are pickup by a camera. The image from the camera needs to be processed in MATLAB.
So the data I am getting from the camera are frames. Using region props and some other image processing algorithms, I changed the markers into blobs. I am able to label each blobs (markers) with numbers 1 to 4 using bwlabel.
Now the problem I am having is that, when I move onto the next frame, depending on the position of the person at that time, bwlabel would label for instance blob#2 in the previous frame as blob#3 in the current frame.
So basically, what I am saying is the labels that are applied in each frame changes.
I want to keep the same labels throughout the whole number of frames.
Anyone has any idea on how this can be done?
Thank you so much.
1 Kommentar
QuestionsAccount
am 23 Aug. 2020
hi dear did you find a way to do work you mention in your question. actually i want to do the same kind of work where i also want to fix the connected componet in mulitple video frames but as a biggner i m facing difcultiy in codding.
if you solved that problem then please help me too in codding same kind of work. thanx
Antworten (1)
Image Analyst
am 14 Jun. 2014
That's right. That's the difficult thing about tracking. It's best if the objects don't move much from one frame to another. Then you can just based on the closest distances between centroids in each frame. But for general situations where you have some objects that left the field of view, and others that are new, and others that are the same that just moved some distance, it can be difficult to assign all the blobs to prior frames. Why don't you try to increase the frame rate so they don't move very much?
There are probably algorithms that make some assumptions that you can look up in VisionBib's tracking section: http://www.visionbib.com/bibliography/contentspeople.html#Face%20Recognition,%20Detection,%20Tracking,%20Gesture%20Recognition,%20Fingerprints,%20Biometrics. We don't really help with complicated algorithm development like this.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Computer Vision with Simulink finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!