Fast Polygonal Splatting using Directional Kernel Difference

Abstract

Depth-of-field (DoF) filtering is an important image-processing task for producing blurred images similar to those obtained with a large aperture camera lens. DoF filtering applies an image convolution with a spatially varying kernel and is thus computationally expensive, even on modern computational hardware. In this paper, we introduce an approach for fast and accurate DoF filtering for polygonal kernels, where the value is constant inside the kernel. Our approach is an extension of the existing approach based on discrete differenced kernels. The performance gain here hinges upon the fact that kernels typically become sparse (i.e., mostly zero) when taking the difference. We extended the existing approach to conventional axis-aligned differences to non-axis-aligned differences. The key insight is that taking such differences along the directions of the edges makes polygonal kernels significantly sparser than just taking the difference along the axis-aligned directions, as in existing studies. Compared to a naive image convolution, we achieve an order of magnitude speedup, allowing a real-time application of polygonal kernels even on high-resolution images.

Publication
Proceedings of Eurographics Symposium on Rendering 2021

Filtered Images

Presentation Video

Products using This Technology

  • Fast Camera Lens Blur – A high-speed camera lens blur plug-in that works with Adobe After Effects/Premiere Pro.
Yuji Moroto
Yuji Moroto
Ph.D Course
Nobuyuki Umetani
Nobuyuki Umetani
Associate Professor

My research interests include interactive smart engineering design tool using physics simulation and machine learning.