1. Introduction
Bokeh effect refers to the way the lens renders the out-of-focus blur in a photograph (Fig. 1). With different lens designs and configurations, various bokeh styles can be created. For example, the shape of the bokeh ball can be controlled by the aperture. Classical rendering methods [6], [20], [31], [40] can change bokeh styles easily by controlling the shape and size of the blur kernel. However, they often suffer from artifacts at depth discontinuities. Neural rendering methods [11], [25], [32] can address this problem well by learning from image statistics, but they have difficulty simulating real bokeh balls and can only produce the bokeh style from the training data. In addition, previous neural rendering methods lack a mechanism to produce large blur size on high-resolution images, because of the fixed receptive field of the neural network and the blur size limit of the training data.