How to quantify all the colored blobs in a video?
2 views (last 30 days)
Show older comments
Hello,
I'm working on a project in which I need to find all the colored blobs in a video.
I know how to work with the color threshold function to find my desired color.
I have some issues:
- I don't know how to quantify all the blobs areas over the video. In my opinion, a superposition of all the blobs areas will provide a good solution for my problem. However, I don't know how to do it...
- The blobs are (in some cases) in different heights or slopes.
- When the video was recorded the camera was moving (sometimes close to the blob and sometimes far).
- A panoramic image will be a good solution, but the camera not moving (usually) from left to right and vice versa.
Hope to get an answer with guidance in which I'll "attack" this issue and of course optionally script welcomed as well.
*** I have only Image processing toolbox ***
0 Comments
Answers (1)
Image Analyst
on 14 Feb 2021
See my attached demo where I track a colored Sharpie marker.
2 Comments
Image Analyst
on 14 Feb 2021
Edited: Image Analyst
on 14 Feb 2021
Possibly, if the objects shape is known, like it's a perfect circle or rectangle of known dimensions and area. But it sounds like you don't know the area (that's what you want to find out), so the answer is no. For example if you have a rectangle and only the left part is in the field of view, and you don't know its area then you are saying that you don't know how much is off the right edge of the image. If you don't know the total area but only know the area that is on screen, then there is no way to know the area that is off screen unless you know the total area.
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!