Compositing objects from one image or video onto another background is a classic computer vision problem. Compositing requires an estimate of the foreground object's transparency, a topic of study known as Alpha Matting. However, less studied is the requirement of an estimate for the foreground object's colours in transparent regions. Naively compositing without this leads to bleed-through of the original background. In this work, we propose an approximation for the multi-level foreground estimation technique from Germer et al. [1]. Our method can be implemented 11 lines of Python code and yields comparable results to state of the art approaches while also being faster. Our code is available at https://github.com/PhotoRoom/ fast-foreground-estimation.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.