Method for producing image bokeh effect

An image and bokeh technology, used in image enhancement, image data processing, instruments, etc., can solve the problems of inability to accurately simulate the imaging process of camera lenses, and inability to draw bokeh effects, so as to achieve real and accurate drawing results and reduce costs. time, easy-to-integrate effects

Inactive Publication Date: 2011-02-09
INST OF SOFTWARE - CHINESE ACAD OF SCI
View PDF1 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This type of method can draw a more accurate bokeh effect, but because it uses a pinhole camera model, it cannot accurately simulate

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for producing image bokeh effect
  • Method for producing image bokeh effect
  • Method for producing image bokeh effect

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0030] (1) Calculation of exit pupil

[0031] When doing ray tracing within a camera lens, the most straightforward way to sample rays is between the image plane and the rear lens (the lens closest to the image plane). However, ray tracing with this ray sampling method is very inefficient because many of the rays passing through the rear lens are blocked by the diaphragm inside the camera lens and cannot pass through the entire lens.

[0032] From the theory of optical imaging, it can be concluded that there is a conjugate relationship between the aperture stop, the exit pupil and the entrance pupil, that is to say, if the light emitted from an object point passes through the entrance pupil, it must pass through the aperture stop and the exit pupil. The entrance pupil passes through the entire camera lens at the same time; if a ray cannot pass...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for producing an image bokeh effect, and belongs to the field of computer graphics. The method of the invention comprises the following steps of: 1) calculating the position and aperture of an emergent pupil by using a ray tracing method according to structural information of an optical element in a camera lens; 2) adding the calculated position and aperture of the emergent pupil into the structural information of the camera lens; 3) sequentially and gradually taking the structural information of the optical element in the camera lens out, and calculating a crossing point of camera ray and the currently taken element and ray direction after the ray passes through the element to obtain emergent ray which can pass through the camera lens; and 4) generating the bokeh effect of an image photographed by the camera by a ray tracing and drawing module by using the emergent ray obtained in the step 3). Compared with the prior art, the method has the advantages that: the drawing result of the invention is more actual and accurate, the efficiency is high, and the influence of any aperture and shape on the bokeh effect can be simulated.

Description

technical field [0001] The invention belongs to the field of computer graphics, and in particular relates to a method for simulating a bokeh effect with photo-level realism. The technology can simulate the bokeh effect caused by an aperture stop and a vignetting stop of a camera lens. Background technique [0002] In photography, the bokeh effect is a phenomenon in which out-of-focus highlights (including point light sources) gradually blur in a photo, also known as out-of-focus imaging. The bokeh effect is often seen in camera lenses with a shallow depth of field, such as large aperture lenses, macro lenses, or telephoto lenses. Different lenses produce different bokeh effects in the foreground or background of the photo, and these effects have various shapes of blur circles and light intensity distributions due to differences in the optical properties of the lenses. These photo lenses create a bokeh effect to artistically enhance out-of-focus areas of a photo. Many lens ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06T5/00
Inventor 吴佳泽郑昌文胡晓惠
Owner INST OF SOFTWARE - CHINESE ACAD OF SCI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products