Unlock instant, AI-driven research and patent intelligence for your innovation.

Open computing language (OpenCL)-based image repair method

A repair method and image technology, applied in image enhancement, image data processing, image data processing, etc., can solve the problems of loss of fast processing, waste of computing time, computing and matching operations, time-consuming algorithms, etc., to shorten image processing time , Improving the effect of real-time and application range

Inactive Publication Date: 2013-06-12
SHANDONG UNIV
View PDF1 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] However, the traditional Criminisi image restoration algorithm based on CPU (Central Processing Unit) often cannot maximize the use of existing computing resources, because on the CPU platform, operations are serial, and work such as finding repair blocks needs to be done according to the number of pixels in the picture. Hundreds of thousands or even millions of repeated calculations, matching, and sorting, the calculation time is often wasted in waiting for the calculation and matching operation of the previous pixel block
Although each calculation is very fast, the accumulation of many calculation delays will cause the algorithm to take a lot of time and completely lose the ability of fast processing

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
  • Open computing language (OpenCL)-based image repair method
  • Open computing language (OpenCL)-based image repair method
  • Open computing language (OpenCL)-based image repair method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0038] An OpenCL-based image restoration method, which is implemented by a computer. The graphics card in the computer is configured to support the OpenCL protocol (for AMD graphics cards, HD5800 series and above fully support the OpenCL standard) or the processor uses AMD APU (Accelerated Processing Unit, accelerated processor), the method steps are as follows:

[0039] 1. OpenCL platform initialization, including obtaining the OpenCL platform, generating context, finding OpenCL devices, creating command queues, creating OpenCL buffer (cache) objects, creating program objects, compiling program objects, and generating kernels (that is, programs that can run on the GPU) ;

[0040] 2. Determine the area to be repaired, the boundary, and the source area (that is, the image area after removing the area to be repaired and the boundary);

[0041] Among them, the area to be repaired indicates the damaged or repaired part of the image, the source area refers to the part of the image...

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 open computing language (OpenCL)-based image repair method, and belongs to the technical field of automatic image repair. An area to be repaired, a boundary and a source area are determined through an OpenCL platform by a computer, a target block and source blocks are defined, sum of square of deviations (SSDs) of color information of pixels of all the source blocks and the target block are calculated, and the source block with the minimum SSD is found by a central processing unit (CPU), and is used for repairing the target block, so that the repair of the whole image is finished. An OpenCL-based parallel acceleration method is provided, the characteristic of low cost of switching between a plurality of kernels and threads of a graphic processing unit (GPU) is utilized, and a part of simple and repeated work in an image repair algorithm is parallelized, so that the image processing time is greatly shortened, the image repair real-time performance is improved, and an application range is widened.

Description

technical field [0001] The present invention relates to an image restoration method, in particular to a GPU (Graphic Processing Unit, Graphics Processor) accelerated image restoration method based on OpenCL (Open Computing Language, Open Computing Language), which is used for repairing or moving damaged images. remove occlusions from the image. technical background [0002] Image restoration refers to the process of estimating the defect information in the area to be repaired based on the known neighborhood information of the area to be repaired. It is a research hotspot in the field of computer vision at present, and has a wide range of application values ​​in the fields of cultural relics protection, film and television special effects production, virtual reality, and redundant object removal. Moreover, with the increasing development of 3D technology, virtual view synthesis technology requires fast image hole repair, which greatly increases the speed of the algorithm. ...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06T5/00G06T1/00
Inventor 袁东风翟庆羽张海霞徐加利孙文高凯徐祥桐
Owner SHANDONG UNIV