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

Method and system for realizing image zooming by utilizing OpenGL and OpenCL cooperation

An image scaling and image technology, applied in image data processing, graphic image conversion, instruments, etc., can solve the problems of increased time and low processing efficiency, and achieve the effect of improving efficiency, saving overhead, and high computing efficiency

Inactive Publication Date: 2016-12-21
WUHAN DOUYU NETWORK TECH CO LTD
View PDF2 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the case of processing images with very large resolution or general computer performance, the time required to complete an image processing may increase, which makes the processing efficiency very low.

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 and system for realizing image zooming by utilizing OpenGL and OpenCL cooperation
  • Method and system for realizing image zooming by utilizing OpenGL and OpenCL cooperation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0021] The present invention utilizes the method for the interoperation of OpenGL and OpenCL, in the OpenCL device based on GPU (Graphic Processing Unit, graphics processing unit) by executing the kernel function of OpenCL (the function that has kernel keyword in the OpenCL program), realizes to The purpose of the scaling process for the given image.

[0022] Among them, OpenGL (Open Graphics Library, Open Graphics Library) is a powerful, easy-to-call underlying graphics library, which defines a professional graphics program interface library with cross-programming language and cross-platform programming interface specifications, used for two-dimensional, 3D image. In OpenGL, there are a variety of OpenGL textures: 1D texture, 2D texture, and 3D texture (which can be simply understood as one-dimensional images, two-dimensional images...

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 and system for realizing image zooming by utilizing OpenGL and OpenCL cooperation, relating to the technical field of image zooming. The image zooming method comprises the following steps of: creating a context environment mutually operated with OpenGL in OpenCL equipment; according to the dimensionality of an image to be zoomed, creating two OpenCL image objects having corresponding dimensionalities respectively from two OpenGL textures having corresponding dimensionalities by utilizing the created context environment, wherein in two created OpenCL image objects, one represents an input source image; the other represents a target image; zooming the created source image through a bilinear interpolation algorithm of the image, and writing a processing result in the target image; and displaying the zoomed target image by calling a drawn texture interface having the corresponding dimensionality in the OpenGL. By means of the method and the system disclosed by the invention, zooming of relatively-high-resolution images can be completed at relatively high efficiency; the operation efficiency is high; and the processing effect is good.

Description

technical field [0001] The present invention relates to the technical field of image zooming, and specifically relates to a method and system for realizing image zooming by utilizing OpenGL (Open Graphics Library, Open Graphics Library) and OpenCL (Open Computing Language, Open Computing Language) to cooperate. Background technique [0002] Nowadays, zooming in or zooming out images is very common in image processing, from general video players to some professional image processing software, some images may be zoomed. [0003] But at present, the method for zooming and processing images generally originates from using certain algorithms in the CPU to process images, for example: "A Method and Device for Image Zooming and Processing" published in China with the announcement number CN102567949A. When this method processes some small-resolution images or the performance of the computer is relatively good, the time required to complete one image processing may be relatively smal...

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): G06T3/40
CPCG06T3/40G06T3/4023
Inventor 杨亮
Owner WUHAN DOUYU NETWORK TECH CO LTD
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