Image dehazing method and device and mobile terminal
An image and image input technology, applied in the field of image processing, can solve problems such as color distortion, and achieve the effect of avoiding color distortion
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0052] figure 1 The implementation flow of the image defogging method provided by Embodiment 1 of the present invention is shown, and the details are as follows:
[0053] In step S101, the atmospheric light value of the input image is estimated.
[0054] The prior law of the dark channel is obtained by He Kaiming through statistical induction of a large number of images, which can be simply described as: in a haze-free image that does not contain the sky, for any pixel in the image, the appropriate local window range around it Within , at least one color channel has a low and close to zero brightness value, the formula is:
[0055] J dark = min c ∈ ( r , g , b ) ( min ...
Embodiment 2
[0093] image 3 It shows the implementation process of the image defogging method provided by Embodiment 2 of the present invention, and the details are as follows:
[0094] In step S301, it is judged whether the proportion of pixels whose luminance value is lower than the preset luminance threshold in the dark channel of the input image is smaller than the preset proportion value, if yes, execute step S302, otherwise store the input image.
[0095] In the embodiment of the present invention, the proportion of pixels whose luminance values are lower than the preset luminance threshold in the dark channel of the input image is calculated, if the proportion of pixels whose luminance values are lower than the preset luminance threshold in the dark channel of the input image is If the ratio is less than the preset ratio value, step S302 is executed; otherwise, the input image is considered to be a clear image, and the input image is directly stored in the database.
[0096] S...
Embodiment 3
[0112] Figure 4 A specific structural block diagram of an image defogging device provided by Embodiment 3 of the present invention is shown. For convenience of description, only parts related to the embodiment of the present invention are shown. The image defogging device 4 may be a software unit, a hardware unit, or a combination of software and hardware built in the mobile terminal. The device 4 includes: an atmospheric light value estimation unit 41, a transmittance estimation unit 42, a transmittance optimization unit 43 , transmittance correction unit 44 and image defogging unit 45 .
[0113] Wherein, the atmospheric light value estimation unit 41 is used to estimate the atmospheric light value of the input image;
[0114] The transmittance estimation unit 42 is used to estimate the transmittance of the input image according to the fog imaging model and the dark channel prior law;
[0115] A transmittance optimization unit 43, configured to optimize the transmittance t...
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