Real-time depth of field rendering with bokeh effect

Shallow focus is a kind of photographic technique, which means taking a picture with a small depth of field (DOF) so that the objects outside of the DOF will be blurred to highlight the subject inside of the DOF. We develop a friendly user interface which can interactively achieve reliable depth labeling based on the techniques of semi-automatic object segmentation and 3D modeling. Moreover, to realize shallow focus effect efficiently, we apply a real-time gather-based DOF rendering method and modify it to be capable of simulating bokeh effect.