How to quantify all the colored blobs in a video?

2 views (last 30 days)
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:
  1. 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...
  2. The blobs are (in some cases) in different heights or slopes.
  3. When the video was recorded the camera was moving (sometimes close to the blob and sometimes far).
  4. 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 ***

Answers (1)

Image Analyst
Image Analyst on 14 Feb 2021
See my attached demo where I track a colored Sharpie marker.
  2 Comments
Michael Kogan
Michael Kogan on 14 Feb 2021
Thank you very much for your reply it's indeed help me with my advance.
I want to challange my question and to ask if the video will record only part of the marker could you use the image processing tools to find whole its area?
Could you additionlly find his dimention?
Thanks again,
Michael.
Image Analyst
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.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!