How to quantify all the colored blobs in a video?
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Image Analyst
2021-2-14
See my attached demo where I track a colored Sharpie marker.
2 个评论
Image Analyst
2021-2-14
编辑:Image Analyst
2021-2-14
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!