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

Image processing method based on GPU (Graphics Processing Unit)

An image processing and image technology, which is applied in the field of image processing, can solve problems such as huge impact on real-time performance, difficulties in implementing multi-threading, and difficulties in implementing undo/redo systems, so as to save video memory, reduce mutual copying, and improve processing speed. Effect

Active Publication Date: 2012-12-05
成都平行视野科技有限公司
View PDF4 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Difficulty in implementing multi-threading: Since the use of GPU computing usually requires the use of graphics APIs such as OpenGL, and these OpenGL APIs can only work in the mode of the main thread, that is, the GUI thread, so it is impossible to use worker threads and GUI threads like the usual method In a separated way, interface feedback is given in a computationally intensive way
[0007] Undo / redo system is difficult to implement: because the use of GPU for image processing needs to copy the image data to the video memory, while the traditional undo / redo system implementation requires the image data to be in the system memory
In this way, since undo / redo data backup is required after each filter or adjustment operation, the data is required to be copied from the video memory to the memory, and a large number of copies will cause greater pressure on PCIE transmission, and real-time Sexual impact is huge

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
  • Image processing method based on GPU (Graphics Processing Unit)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0035] A specific embodiment of the present invention provides an image processing method, comprising the following steps:

[0036] Step 101, activate the layer, that is, copy a certain layer of the image to be processed from the system memory to the video memory of the graphics processing unit. If the video memory capacity is insufficient, the data of other layers need to be deleted in the video memory at the same time. Only keep data in system memory;

[0037] To operate a layer, the layer must be activated first. When activating a layer, the currently activated layer will be deactivated first, so that only one layer is activated at a time. The deactivation proce...

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 an image processing method based on a GPU (Graphics Processing Unit). The method can be used for efficiently processing multi-layer image data. The method mainly comprises the following steps: firstly, a layer is activated, i.e. a certain layer of an image to be processed is copied from a system internal memory into a video memory of the GPU, and if the capacity of the video memory is insufficient, data of other layers need to be deleted from the video memory simultaneously and only the data in the system internal memory is reserved; secondly, an image processing filter is started, and when a filter parameter is adjusted, a thumbnail in the current visual area of the activated layer is calculated in real time; thirdly, the thumbnail of each layer is used for mixing from bottom to top so as to render to a canvas, and the canvas is displayed in a window; and finally, the image processing filter is applied, and the complete adjustment result of the activated layer is calculated by utilizing the parameter of the filter. According to the image processing method disclosed by the invention, the video memory can be effectively saved, the processing speed of image rendering is improved, the image rendering is carried out in batch, and the rendering result can be displayed in real time.

Description

technical field [0001] The invention relates to the technical field of computer graphics, in particular to an image processing method. Background technique [0002] At present, a comprehensive image processing software needs to be able to read and archive images, apply filters to images, and support undo and redo of operations, etc. Traditional integrated image processing software is designed based on CPU, because the program only needs to manage data in memory and hard disk, and the above functions can be easily realized by using CPU. At the same time, the number of CPU cores is limited, which will not affect the algorithm design too much. big challenge. [0003] A professional image processing software must support layer management, selection management, etc. These have brought considerable design difficulties in the case of limited GPU memory and inflexible programming. [0004] The full name of GPU is Graphics Processing Unit, that is, graphics computing unit, which i...

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): G06T1/00
Inventor 陈实富张舒张乐
Owner 成都平行视野科技有限公司
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