Real-time image dehazing method based on gpu
An image and original image technology, applied in the field of real-time defogging of images based on GPU, can solve problems such as unsatisfactory defogging effect, insufficient edge information, poor real-time performance, etc., to improve the defogging effect is not detailed enough, edge information is rich , the effect of improving efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0061] See Figure 4 , Figure 4 A schematic flowchart of a GPU-based real-time image dehazing method provided by an embodiment of the present invention. A GPU-based image real-time dehazing method, comprising the following steps:
[0062] (a) Obtain raw images and atmospheric light values;
[0063] (b) allocating a first shared memory, and using the first shared memory to calculate a first transmittance map according to the atmospheric light value;
[0064] (c) Allocate the second shared memory, the third shared memory, the fourth shared memory and the fifth shared memory, and utilize the second shared memory, the third shared memory, the fourth shared memory and the fifth shared memory The shared memory performs two guided filtering according to the original image and the first transmittance map to obtain a haze-free image.
[0065] It should be noted that the atmospheric light value in the embodiment of the present invention generally refers to the brightness value of a...
Embodiment 2
[0070] see also Figure 5 , Figure 6a , Figure 6b , Figure 6c , Figure 6d as well as Figure 6e , Figure 5 A schematic flowchart of another GPU-based real-time image dehazing method provided by an embodiment of the present invention; Figure 6a A guide map (original image) of a GPU-based real-time image dehazing method provided by an embodiment of the present invention; Figure 6b A transmittance map after one-time guided filtering of a GPU-based real-time image dehazing method provided by an embodiment of the present invention; Figure 6c A dehazing image of a GPU-based real-time image dehazing method provided by an embodiment of the present invention; Figure 6d A transmittance map after secondary guidance filtering of a GPU-based real-time image dehazing method provided by an embodiment of the present invention; Figure 6e This is a secondary dehazing image based on the real-time image dehazing method on the embedded GPU provided by the embodiment of the presen...
Embodiment 3
[0117] On the basis of the second embodiment, the embodiment of the present invention introduces in detail the process of realizing the secondary guided filtering by using the GPU.
[0118] (S201) The atmospheric light value A of the original image I is obtained on the CPU side. By default, the atmospheric light value A of consecutive frames is the same, so for the video stream, the A value is only obtained once.
[0119] (S202) The CPU transmits the original image I to the GPU, and uses the cuda Host Register function to register it as a page-locked memory to speed up the transmission speed of the original image. Generally speaking, the transmission speed of the page-locked memory is 30% faster than that of ordinary memory ~40%.
[0120] (S203) Obtain the first grayscale image G1 of the original image I at the GPU end. Preferred parameters: 16*16 thread model, 1*1 thread workload. Color to grayscale is the most basic GPU kernel function. A single thread updates an RGB value...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com