Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Depth-of-field achieving method based on Open graphics library (GL)

A depth of field and depth buffer technology, applied in the field of depth of field effect based on OpenGL, can solve problems such as low depth of field efficiency, low Gaussian blur processing efficiency, and unsatisfactory depth of field effect, and achieve the effect of improving efficiency and effect.

Active Publication Date: 2012-10-24
CHINA DIGITAL VIDEO BEIJING
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The efficiency of realizing the depth of field is low, especially in the process of blurring, the Gaussian blurring method is very inefficient;
[0009] The effect of achieving depth of field is not ideal, because the Poisson distribution sampling has uncertainty, which limits the effect of depth of field

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
  • Depth-of-field achieving method based on Open graphics library (GL)
  • Depth-of-field achieving method based on Open graphics library (GL)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0047] Embodiment 1 of the present invention provides a method for realizing the depth of field effect based on OpenGL, such as figure 1 shown, including the following steps:

[0048] Step S101, acquiring original color buffer information of an image, where the original color buffer information includes depth buffer information and color buffer information.

[0049] Step S102, calculating new color buffer information according to the depth buffer info...

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

An embodiment of the invention discloses a depth-of-field achieving method based on an Open graphics library (GL). The method includes the following steps: obtaining original color buffering information of an image, wherein the original color buffering information comprises depth buffering information and color buffering information; calculating new color buffering information according to the depth buffering information and the color buffering information; calculating Poisson distribution circle diameter of a pixel point of the image, and calculating image level information according to the Poisson distribution circle diameter of the pixel point; calculating final color buffering information according to the original color buffering information, the new color buffering information, the Poisson distribution circle diameter of the pixel point and the image level information and rendering the image. By combining the Mipmap principle based on the OpenGL and the Poisson distribution, different levels of image scene information is calculated to achieve depth of field, the depth of field is achieved, and depth-of-field achieving efficiency is improved.

Description

technical field [0001] The invention relates to the field of image / video processing, in particular to a method for realizing depth-of-field effects based on OpenGL. Background technique [0002] Depth of field refers to the object distance range measured along the axis of the imaging depth of field camera that can obtain clear images in front of the camera lens or other imagers. After the focus is completed, a clear image can be formed in the range before and after the focus. This distance range before and after is called the depth of field. There is a certain length of space in front of the lens (before and after the focusing point). When the subject is located in this space, its image on the film is just between the two circles of confusion before and after the focus. The length of the space where the subject is located is called the depth of field. In other words, for the subjects in this space, the blurring degree of the image presented on the negative plane is within ...

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): G06T15/04G06T15/00
Inventor 黄裔
Owner CHINA DIGITAL VIDEO BEIJING
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products