BokehOrNot: Transforming Bokeh Effect with Image Transformer and Lens Metadata Embedding

06/06/2023
by   Zhihao Yang, et al.
0

Bokeh effect is an optical phenomenon that offers a pleasant visual experience, typically generated by high-end cameras with wide aperture lenses. The task of bokeh effect transformation aims to produce a desired effect in one set of lenses and apertures based on another combination. Current models are limited in their ability to render a specific set of bokeh effects, primarily transformations from sharp to blur. In this paper, we propose a novel universal method for embedding lens metadata into the model and introducing a loss calculation method using alpha masks from the newly released Bokeh Effect Transformation Dataset(BETD) [3]. Based on the above techniques, we propose the BokehOrNot model, which is capable of producing both blur-to-sharp and sharp-to-blur bokeh effect with various combinations of lenses and aperture sizes. Our proposed model outperforms current leading bokeh rendering and image restoration models and renders visually natural bokeh effects. Our code is available at: https://github.com/indicator0/bokehornot.

READ FULL TEXT

page 1

page 4

page 6

page 7

research
04/04/2020

Deblurring by Realistic Blurring

Existing deep learning methods for image deblurring typically train mode...
research
02/21/2023

Bokeh Rendering Based on Adaptive Depth Calibration Network

Bokeh rendering is a popular and effective technique used in photography...
research
12/16/2020

Polyblur: Removing mild blur by polynomial reblurring

We present a highly efficient blind restoration method to remove mild bl...
research
07/20/2022

Animation from Blur: Multi-modal Blur Decomposition with Motion Guidance

We study the challenging problem of recovering detailed motion from a si...
research
06/20/2023

Depth and DOF Cues Make A Better Defocus Blur Detector

Defocus blur detection (DBD) separates in-focus and out-of-focus regions...
research
11/15/2021

Multi-View Motion Synthesis via Applying Rotated Dual-Pixel Blur Kernels

Portrait mode is widely available on smartphone cameras to provide an en...
research
05/30/2022

Deblurring Photographs of Characters Using Deep Neural Networks

In this paper, we present our approach for the Helsinki Deblur Challenge...

Please sign up or login with your details

Forgot password? Click here to reset