Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

Pending Publication Date: 2021-03-09
NANJING UNIV OF POSTS & TELECOMM
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The dark channel priority rule also has application limitations. For example, when the color of the scene is white or close to the color of the sky, the dark channel priority rule fails, causing the image to be oversaturated and the boundary area blurred, resulting in serious color distortion in the sky area.

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
  • Image defogging method and device based on image sky segmentation and storage medium
  • Image defogging method and device based on image sky segmentation and storage medium
  • Image defogging method and device based on image sky segmentation and storage medium

Examples

Experimental program
Comparison scheme
Effect test

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.

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 image defogging method and device based on image sky segmentation, and a storage medium, and belongs to the technical field of image defogging, and the method comprises thefollowing steps: carrying out the hybrid image preprocessing of an original image containing a sky region, and obtaining a new image, wherein the hybrid image preprocessing comprises gradient sharpening, mean filtering smoothing, secondary sharpening, masking and addition processing in sequence; carrying out image segmentation processing on the new image by adopting an Ostu threshold segmentationalgorithm to obtain a sky region image and a non-sky region image, and respectively carrying out defogging processing on the sky region image and the non-sky region image to obtain a non-sky region defogged image and a sky region defogged image; and fusing the sky area defogged image and the non-sky area defogged image by using the binary mask of the sky area and the binary mask of the non-sky area to obtain a final defogged image. Image details can be effectively kept, the image contrast is improved, and sky area color distortion is eliminated.

Description

technical field [0001] The present invention relates to the technical field of image defogging, in particular to an image defogging method, device and storage medium based on image sky segmentation. Background technique [0002] With the rapid development of industrialization and urbanization, the problem of air pollution has intensified, and haze weather has become more frequent. Smog is produced by the interaction of fine particles emitted by human social activities and static weather. In such a climate environment, outdoor visibility is greatly reduced, and the quality of images captured by outdoor imaging equipment is severely degraded. However, in the information society, image and video information has become the main source of information for people, so image quality problems in haze weather have attracted more and more attention. [0003] In haze weather, there are a lot of turbid media (such as hydrosol, fog, haze, etc.) in the air, and the propagation of light is ...

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
IPC IPC(8): G06T5/00G06T5/20G06T7/11G06T7/136
CPCG06T5/20G06T7/11G06T7/136G06T2207/20192G06T5/92G06T5/73G06T5/70
Inventor 张登银孔雷平孙誉焯韩文生齐城慧马永连
Owner NANJING UNIV OF POSTS & TELECOMM
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products