background subtraction of images using k-means algorithm

1 view (last 30 days)
i have a set of images formed by converting a video into frames. I need to do background subtraction using k-means algorithm

Answers (1)

Dima Lisin
Dima Lisin on 18 Sep 2014
I don't know how to do background subtraction using k-means. However, there is a system object in the Computer Vision System Toolbox called vision.ForegroundDetector, which does background subtraction using the Gaussian Mixture Model algorithm.
  4 Comments
Dima Lisin
Dima Lisin on 19 Sep 2014
Thanks. Looks like an interesting paper. However, how to implement this algorithm is way too big a question for this forum. You could either try writing the code based on the paper, or email the authors to see if they are willing to share their own implementation.

Sign in to comment.

Categories

Find more on Image Processing and Computer Vision in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!