Image defogging method and device based on image sky segmentation and storage medium
An image segmentation and image technology, applied in image analysis, image enhancement, image data processing, etc., can solve the problems of blurred border area, image oversaturation, color distortion of sky area, etc., and achieve the effect of improving contrast and reducing distortion
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0058] Such as figure 1 As shown, the embodiment of the present invention provides an image defogging method based on image sky segmentation, including the following steps:
[0059] Step 1: Perform hybrid image preprocessing on the original image containing the sky region to obtain a new image, wherein the hybrid image preprocessing includes sequentially performing gradient sharpening, mean filter smoothing, secondary sharpening, masking, and addition. By performing mixed image preprocessing including secondary sharpening and smoothing on the original image, the details of the image are preserved and the distortion of the image is reduced.
[0060] Step 2: Carry out image segmentation processing to the new image by using the Ostu threshold segmentation algorithm to obtain sky region images and non-sky region images;
[0061] Defog processing is performed on the sky area image and the non-sky area image respectively, specifically as follows:
[0062] Based on the dark channel...
Embodiment 2
[0111] An embodiment of the present invention provides a device, including the following modules:
[0112] The image preprocessing module is used to perform mixed image preprocessing on the original image containing the sky area to obtain a new image. The mixed image preprocessing includes sequentially performing gradient sharpening, mean filter smoothing, secondary sharpening, masking, and phase processing;
[0113] Image segmentation module, for adopting Ostu threshold segmentation algorithm to carry out image segmentation processing to described new image, obtain sky area image and non-sky area image; Described image segmentation module comprises following unit:
[0114] The first processing unit is configured to perform defogging processing on the sky area image and the non-sky area image respectively:
[0115] The second processing unit is used for the dark channel prior calculation method based on the guided filter to correct the transmittance, to perform defogging proc...
Embodiment 3
[0118] An embodiment of the present invention provides an apparatus, including a processor and a storage medium, where the storage medium is used to store instructions;
[0119] The processor is configured to operate according to the instructions to execute the steps of the method in the first embodiment.
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