Coder Social home page Coder Social logo

lfpnet's Introduction

LFPNet PWC

Official repository for the paper Long-Range Feature Propagating for Natural Image Matting.

Description

LFPNet is a matting network that can process high-resolution images on GPUs. It leverages long-range context features for alpha matte estimation. With the context features, LFPNet can estimate alpha mattes well for some difficult data (e.g. the foreground colors are similar to the background colors in a local area, the foreground regions in the trimap are annotated as unknown regions).

LFPNet是一个可以在GPU上进行高分辨率图像抠图的网络。它利用长距离上下文特征帮助预测前景的透明度遮罩。算法对一些困难数据也能很好地预测透明度遮罩,比如局部前景背景颜色相近、三分图中前景标为未知区域等。

Requirements

Hardware:

A GPU with 11GB memory for any resolution images.

Packages:

  • torch >= 1.6
  • numpy >= 1.16
  • opencv-python >= 4.0
  • imgaug >= 0.3.0

Models

The model can only be used and distributed for noncommercial purposes.

Model Name Size MSE SAD Grad Conn
LFPNet 449MiB 3.60266 22.3688 7.59364 17.1374

Results on Adobe Composite 1K (with TTA): https://1drv.ms/u/s!AtvVjmAsYCTQce52EKbuHDmvPWg?e=qZrw5I

Evaluation

We provide the script eval.py for evaluation (patch based with TTA).

Citation

@inproceedings{liu2021lfpnet,
  title   = {Long-Range Feature Propagating for Natural Image Matting},
  author  = {Qinglin Liu, Haozhe Xie, Shengping Zhang, Bineng Zhong and Rongrong Ji},
  booktitle={ACM Multimedia},
  year={2021}
}

lfpnet's People

Contributors

qlyoo avatar windaway avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.