Skip to content
TOM-Net: Learning Transparent Object Matting from a Single Image, CVPR 2018
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
.gitignore
LICENSE First commit Mar 8, 2018
README.md
download_objects.sh Update: add download_objects.sh Aug 1, 2018
findCorrespondence.py
processMask.py
render.sh
render_utils.py

README.md

Data Rendering for Transparent Object Matting

Learning Transparent Object Matting from a Single Image, CVPR 2018 (Spotlight),
Guanying Chen*, Kai Han*, Kwan-Yee K. Wong
(* indicates equal contribution)

Introduction

As no off-the-shelf dataset for transparent object matting is available, and it is very tedious and difficult to produce a large real dataset with ground truth object masks, attenuation masks and refractive flow fields, we created a large-scale synthetic dataset by using POV-Ray to render images of synthetic transparent objects.


Dependencies

  • POV-Ray 3.7
  • Python 2.7

Sample Rendering Code

After installing POV-Ray, type the following command to render a transparent object in front of an image and get the ground truth object mask, attenuation mask and refractive flow field.

bash render.sh

We obtained the ground truth refractive flow field of an object by rendering it in front of a sequence of Gray-coded pattern.

Generated POV-Ray Objects

We provide the 178K randomly generated POV-Ray objects in .inc format for your usage.

bash download_objects.sh
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.