Skip to content

Vincentqyw/background-bokeh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This repo is used to blur the background of an image using its depth map. The input is an color image and its corresponding depth map. I choose to use some intermediate variables of light field processing to perform background bokeh. Color image is the central view of a light field (shot by ILLUM). The raw depth is obtained by a depth estimation method based on light field cameras. NOTE: This script is originally written by ShreyasSkandan and then REVISED by Vincent Qin. Make sure your matlab version >=R2017a.

How to use?

Just run demo.m.

Result