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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 