Alpha Matting

Version 1.1 (371 KB) by Alan Tan
An all-in-one alpha matting tool!
344 Downloads
Updated 21 Jul 2018

View License

Alpha matting is the process of decomposing an image into foreground and background regions, usually with the interest to extract the foreground object. This submission does just that. Begin by creating a trimap, comprising the known background and foreground regions, as well as the unlabeled boundary of the two regions. And let the algorithm handle the rest.

The alpha matting algorithm is due to the published work of:
Zheng & Kambhamettu, "Learning based digital matting", IEEE International Conference on Computer Vision (ICCV 2009).

This submission is best used with Image Snipper at https://www.mathworks.com/matlabcentral/fileexchange/64427. Live long and prosper!

Essential files: alphamatte.m, permute2.m, snipamat.m
Accompanying files: Hand.png, howto.txt

Cite As

Alan Tan (2024). Alpha Matting (https://www.mathworks.com/matlabcentral/fileexchange/68168-alpha-matting), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Biomedical Imaging in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1

Added a screenshot

1.0.0