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
Alexander Farley (2022). Background Removal using Gaussian Model (https://www.mathworks.com/matlabcentral/fileexchange/34077-background-removal-using-gaussian-model), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: EM_GM
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!