Skip to content

Official repository for the paper Approximate Fast Foreground Colour Estimation. ICIP 2021.

Notifications You must be signed in to change notification settings

Photoroom/fast-foreground-estimation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Approximate Fast Foreground Colour Estimation

Official repository for the paper Approximate Fast Foreground Colour Estimation. ICIP 2021. Awarded Best Industry paper.

Naively compositing without an estimate of foreground colour leads to bleed-through of the original background.

In this work, we propose a foreground estimation technique. Our method can be implemented 11 lines of Python code and yields comparable results to the full approach [1], while also being faster.

Teaser

API Usage

PhotoRoom includes foreground estimation by default in the Backround Removal API, see documentation.

Requirements

  • numpy # For mathematical operations.
  • opencv-python # Efficient blur implementation.

Citation

@INPROCEEDINGS{ApproxForegroundForte2021,
  author={Marco Forte},
  booktitle={2021 IEEE International Conference on Image Processing (ICIP)}, 
  title={Approximate Fast Foreground Colour Estimation}, 
  year={2021},
  doi={10.1109/ICIP42928.2021.9506164}}

References

(1) Fast Multi-Level Foreground Estimation

About

Official repository for the paper Approximate Fast Foreground Colour Estimation. ICIP 2021.

Topics

Resources

Stars

Watchers

Forks