Code covered by the BSD License  

Highlights from
Background Removal using Gaussian Model

4.7 | 3 ratings Rate this file 39 Downloads (last 30 days) File Size: 114 KB File ID: #34077 Version: 1.0
image thumbnail

Background Removal using Gaussian Model



Input image. Get out binary foreground mask.

| Watch this File

File Information

Models image as sample from one of 2 Gaussians in RGB space. Classifies each pixel as having originated from one Gaussian.

In the future this could be expanded to remove the ith, kth, etc Gaussians from an N-Gaussian image model.

RemoveBackground.m contains a demonstration of how to use the main function, separate.m


Em Gm inspired this file.

MATLAB release MATLAB 7.11 (R2010b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
28 Mar 2014 Maxaon

Maxaon (view profile)


05 Dec 2013 Sonit SukhRaj Singh  
22 Nov 2013 Alexander Farley

Hi Supriya, I just tested in R2013a and it seems to work correctly.

Comment only
22 Oct 2013 supriya M

sir i tried to run this code in matlab2013-computer vision toolbox as well as 2010 but it shows error for2013-undefined function kmeans,also to run it....

Comment only
05 Sep 2013 Reja Rabbi  

Contact us