WO2020029033A1 - Haze image clearing method and system, and storable medium - Google Patents

Haze image clearing method and system, and storable medium Download PDF

Info

Publication number
WO2020029033A1
WO2020029033A1 PCT/CN2018/099031 CN2018099031W WO2020029033A1 WO 2020029033 A1 WO2020029033 A1 WO 2020029033A1 CN 2018099031 W CN2018099031 W CN 2018099031W WO 2020029033 A1 WO2020029033 A1 WO 2020029033A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
quality
haze
deep network
network parameter
Prior art date
Application number
PCT/CN2018/099031
Other languages
French (fr)
Chinese (zh)
Inventor
储颖
游为麟
Original Assignee
深圳大学
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳大学 filed Critical 深圳大学
Priority to PCT/CN2018/099031 priority Critical patent/WO2020029033A1/en
Publication of WO2020029033A1 publication Critical patent/WO2020029033A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/73Deblurring; Sharpening
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/90Dynamic range modification of images or parts thereof
    • G06T5/94Dynamic range modification of images or parts thereof based on local image properties, e.g. for local contrast enhancement
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20084Artificial neural networks [ANN]

Definitions

  • the present invention relates to the technical field of image processing, and more particularly, to a method and system for clearing haze images and a storable medium.
  • the image dehazing technology aims to remove the interference of unfavorable factors such as fog and haze in the image, restore the effective information and features of the image, and obtain an image with good visual effects.
  • haze image sharpening processing technologies are mainly divided into two categories: image enhancement methods based on image processing, and image restoration methods based on physical models. among them:
  • the image enhancement method based on image processing is to enhance the image contrast, highlight or weaken some effective information and image features to reduce the interference of haze on the image, and thereby achieve the sharpness of the image.
  • the principle of this method is simple and easy to implement, but it has the problems that the processed image is prone to color distortion and loss of image information. In other words, this type of method only reduces the interference of haze on the image, but does not remove the haze in essence.
  • Image enhancement methods based on image processing are currently more commonly used methods based on histogram equalization, curvelet transform, homomorphic filtering, and Retinex theory.
  • the physical model-based image restoration method is to model the effect of atmospheric scattering from the perspective of the cause of haze formation, and then to analyze and process the haze removal.
  • image information and features are relatively complete during the processing, the lack of image information is rare.
  • the process is complicated and it is greatly affected by the haze morphology.
  • the commonly used methods are based on atmospheric physical models, based on image differences, based on dark channel priority, and based on fusion.
  • the technical problem to be solved by the present invention is to address the problems that the image is prone to color distortion and image information loss during the above-mentioned haze image sharpening process in the prior art, or that the haze processing process is complicated and the result is unstable and defective. Haze image sharpening method, system and storable medium.
  • the technical solution adopted by the present invention to solve its technical problem is to construct a method for clearing haze images, including the following steps:
  • step S5 Select a second high-quality deep network parameter from the plurality of second deep network parameters according to the second image quality score, and determine the second high-quality based on a second image quality score corresponding to the second high-quality deep network parameter. Whether the deep network parameters are optimal, if yes, go to step S6; if not, go to step S6-1;
  • step S5 determining whether the second high-quality deep network parameter is optimal according to a second image quality score corresponding to the second high-quality deep network parameter includes:
  • step S5 determining whether the second high-quality deep network parameter is optimal according to a second image quality score corresponding to the second high-quality deep network parameter includes:
  • the first deep network parameter and the second deep network parameter are column vector parameters, and each of the column vector parameters includes m parameter values, where m is greater than or equal to 1.
  • the first deep network parameter and the second deep network parameter are respectively row vector parameters, and each of the row vector parameters includes n parameter values, where n is greater than or equal to 1.
  • step S1 performing blind image quality evaluation on the plurality of first dehaze images to obtain a plurality of first image quality scores includes:
  • DIIVINE algorithm to perform blind image quality evaluation on the plurality of first haze images to obtain several first image quality scores
  • step S4 performing blind image quality evaluation on the plurality of second haze images to obtain a plurality of second image quality scores includes:
  • the DIIVINE algorithm is used to perform blind image quality evaluation on the plurality of second haze images to obtain a plurality of second image quality scores.
  • the fast bacterial swarm optimization operation is performed on the first high-quality deep network parameter to obtain several second deep network parameters; including: constraints of the fast bacterial swarm optimization operation Conditions met:
  • J min (j, k, l) is a first image quality score corresponding to the first high-quality network parameter
  • ⁇ i (j + 1, k, l) is the second deep network parameter
  • C cc is an attraction factor, and is used to indicate a change factor when the second deep network parameter changes relative to the first high-quality network parameter
  • ⁇ b (j, k, l) is the first high-quality network parameter.
  • the C cc includes a dynamic step size C (k, l), and the constraint condition of the dynamic step size is:
  • L red is the initial chemotaxis step size
  • n is the step gradient.
  • the invention also constructs a haze image sharpening system, which includes: a processor, a memory,
  • the memory is used to store program instructions
  • the processor is configured to execute the steps of any one of the methods according to the program instructions stored in the memory.
  • the present invention also constructs a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method according to any one of the above are implemented.
  • the implementation of the haze image sharpening method, system and storable medium of the present invention has the following beneficial effects: it can achieve self-adaptation to haze weather, and objectively realize haze image clear processing based on the current haze weather. The process is fast and the results are accurate and objective.
  • FIG. 1 is a program flowchart of an embodiment of a haze image sharpening method according to the present invention
  • FIG. 2 is a schematic diagram showing a comparison of effects of the haze image sharpening method according to the present invention.
  • An image quality score; specifically, the haze image is input to the haze-removing deep learning network to perform the initial haze-removal of the haze image through the deep learning of the haze-removing deep learning network.
  • the initial deep network parameters of the haze deep learning network can also be understood as that the first deep network parameters are randomly selected. This can generate a set of first deep network parameters in a randomly generated manner.
  • a set of first deep network parameters can include several quantities.
  • the first deep network parameter of the haze-removing haze deep learning network performs deep learning on the haze image based on each first deep network parameter to obtain the first haze image corresponding to the first deep network parameter, and then passes the blind
  • the image quality evaluation method performs image quality evaluation on each first haze-free image to obtain each first The image quality score haze image.
  • a number of the first deep network parameters can be irrelevant or relatively low-level deep network parameters, so that the coverage of the deep network parameters can be expanded and the processing process and processing resources of the entire process can be reduced.
  • deep learning networks include Convolutional Neural Networks, Autoencoders, Recurrent Neural Networks, and so on.
  • a convolutional neural network can be used here, which uses the local correlation of the input data to greatly reduce the number of parameters of the fully connected network, and has better performance in the image recognition process.
  • the first high-quality deep network parameter from a plurality of first deep network parameters according to the first image quality score. Specifically, compare the image quality scores of the first several haze images obtained above, and select the best image quality score. The first deep network parameter corresponding to the first haze image is used as the first high-quality deep network parameter.
  • step S5. Select a second high-quality deep network parameter from a plurality of second deep network parameters according to the second image quality score, and determine whether the second high-quality deep network parameter is optimal according to the second image quality score corresponding to the second high-quality deep network parameter. If yes, go to step S6; if no, go to step S6-1; specifically, compare the image quality scores of the second dehaze images obtained above, and select the second dehaze image with the best image quality score And obtain the corresponding second deep network parameter as the second high-quality deep network parameter.
  • the quality score of the second haze image with the best second score that is, the second image quality score corresponding to the second high-quality deep network parameter, can be used to determine whether the second high-quality deep network parameter is optimal.
  • the second high-quality deep network parameter can be used as the optimal deep network parameter during the haze de-haze process, and then the operation of step S6 can be performed.
  • the second image quality score does not satisfy the condition of the optimal score, it means that the second high-quality deep network parameter is not yet the optimal deep network parameter in the haze de-haze process. Then proceed to step S6-1.
  • the second dehaze image corresponding to the second high-quality deep network parameter is output and the process ends; specifically, according to the above judgment result, when the second high-quality deep network parameter can be determined as the haze image dehaze
  • the optimal deep network parameters in the process then it can be determined that the second haze image corresponding to the second high-quality deep network parameter is the optimal haze image of the haze image.
  • the second haze image corresponding to the second high-quality deep network parameter is used as the final sharpened image output during the sharpening process of the haze image.
  • step S6-1 Define the second high-quality deep network parameter as the new first high-quality deep network parameter and execute step S3. Specifically, according to the above judgment result, when it is determined that the second high-quality deep network parameter is not yet the optimal deep network parameter in the haze image dehaze process, the second high-quality deep network parameter is used as the new first High-quality deep network parameters. Repeat step S3 and subsequent steps to find a new second high-quality deep network parameter and make a judgment to obtain the final second high-quality deep network parameter that can optimally remove the haze image and output the corresponding. The final sharpened image output during the sharpening process of the haze image.
  • determining whether the second high-quality deep network parameter is optimal according to the second image quality score corresponding to the second high-quality deep network parameter includes: calculating a second image corresponding to the second high-quality deep network parameter.
  • the difference between the quality score and the first quality deep network parameter corresponding to the first image quality score determines whether the difference satisfies the first preset condition, and if so, determines that the second quality deep network parameter is the optimal depth network parameter.
  • the second image quality score corresponding to the second high-quality deep network parameter and the first image quality score corresponding to the first high-quality deep network parameter may be determined.
  • the optimal effect of the haze image after deep learning to remove haze has stabilized. It finds the optimal deep network parameters again, which has no effect on the effect of removing haze. Then, at this time, the second high-quality deep network parameters can be used as the optimal deep network parameters in the haze image dehazing process.
  • the second haze image is the final clear image output.
  • determining whether the second high-quality deep network parameter is optimal according to the second image quality score corresponding to the second high-quality deep network parameter includes: calculating a second image corresponding to the second high-quality deep network parameter. Whether the quality score satisfies the second preset condition, and if so, determines that the second high-quality deep network parameter is an optimal deep network parameter. Specifically, in the process of removing haze from some haze images, the best output result of the haze image can also be set, that is, the best clear image that can be output and the corresponding best image can be defined.
  • the first deep network parameter and the second deep network parameter are column vector parameters, and each column vector parameter includes m parameter values, where m Greater than or equal to 1.
  • the first deep network parameter and the second deep network parameter are row vector parameters, respectively, and each of the row vector parameters includes n parameter values, where n is greater than or Is equal to 1.
  • different haze-removing deep learning networks may have different numbers and physical meaning parameters due to their different structures, such as column vector parameters, row vector parameters, and matrix parameters. For example, the following row vector parameters,
  • performing blind image quality evaluation on several first haze-free images to obtain several first image quality scores includes: using a DIIVINE algorithm to perform blind image quality evaluation on several first haze-free images to obtain A number of first image quality scores; in step S4, blind image quality evaluation is performed on a plurality of second dehaze images to obtain a plurality of second image quality scores, including: using the DIIVINE algorithm to perform blind images on a plurality of second dehaze images Quality evaluation to obtain several second image quality scores.
  • the blind image quality evaluation of the haze image may use the DIIVINE algorithm.
  • other methods may also be used for the first haze image and the second haze image, respectively.
  • Image for blind image quality evaluation It can be understood here that when a blind image quality evaluation method is selected in the entire process to perform a blind image quality evaluation on the haze-removed image, a blind image quality evaluation method must always be used to complete the entire process. Process. It is not suitable to replace the blind image quality evaluation scheme in the process to perform blind image quality evaluation on the haze-removed images at different stages.
  • step S3 a fast bacterial swarm optimization operation is performed on the first high-quality deep network parameters to obtain several second deep network parameters; including: the constraints of the fast bacterial swarm optimization operation satisfy:
  • J min (j, k, l) is a first image quality score corresponding to a first high-quality network parameter
  • ⁇ i (j + 1, k, l) is the first deep network parameter
  • C cc is an attraction factor, and is used to indicate a change factor when the second deep network parameter changes relative to the first high-quality network parameter
  • ⁇ b (j, k, l) is the first high-quality network parameter.
  • the new quorum sensing mechanism described above will allow the first deep network parameters to use the experience of the surrounding first high-quality network parameters to guide their changes, which can greatly reduce the algorithm's search time in the solution space.
  • the new mechanism helps the first deep network parameters to jump out of the local optimal solution, which can effectively reduce the possibility of the first high-quality network parameters escaping from the global best advantage.
  • C cc includes a dynamic step size C (k, l), and the constraints of the dynamic step size are:
  • L red is the initial chemotaxis step size
  • n is the step gradient.
  • C (k, l) shows a downward trend as the number of replication and elimination-dispelling events increases.
  • C (k, l) is large, which can avoid excessive search time in a local area;
  • C (k, l) is shortened, which can enhance the first high-quality network parameter
  • the local search ability near the global best advantage ensures that the algorithm eventually approaches the global best advantage.
  • a haze image sharpening system of the present invention includes: a processor, a memory, and a memory, for storing program instructions, and a processor for performing the steps of any one of the foregoing methods according to the program instructions stored in the memory.
  • the above-mentioned haze image sharpening method may be performed by a haze image sharpening system to output a final sharpened image.
  • a computer-readable storage medium of the present invention stores a computer program thereon.
  • the steps of any one of the methods above are implemented.
  • the method described above can be stored as a program and copied.
  • the computer-readable storage medium herein may be, but is not limited to, a tangible device that can hold and store instructions used by the instruction execution device.
  • the computer-readable storage medium may be, for example, but not limited to, an electric storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. And a combination of devices including the above storage device.
  • FIG. 2 it is a comparison chart between the processing results of the haze image sharpening method of the present invention and the results of the existing processing methods, where column a is the original haze image, that is, the front fog to be cleared Haze image, b, c, and d are the clearing results of the existing haze image, and e is the processing result of the haze image clearing method of the present invention. It can be seen that the effect is better than that of the existing haze image. The result of the method is equivalent to that of the existing clearing method of the haze image. But the process is far superior to the existing methods of sharpening haze images.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

A haze image clearing method and system, and a storable medium. The haze image clearing method comprises: randomly selecting a first depth network parameter to remove haze from a haze image so as to acquire a first haze-removed image and acquire a first image quality score; selecting a first high-quality depth network parameter according to the first image quality score; performing a fast bacterial group swimming optimization operation on the first high-quality depth network parameter to acquire several second depth network parameters; acquiring a second haze-removed image through the second depth network parameters and acquiring a second image quality score; selecting a second high-quality depth network parameter and determining whether the second high-quality depth network parameter is optimal; if so, outputting the second haze-removed image corresponding to the second high-quality depth network parameter, and ending the flow (S6); and if not, defining the second high-quality depth network parameter as a new first high-quality depth network parameter (S6-1). The method has the advantages of a fast processing process, and accurate and objective results.

Description

雾霾图像清晰化方法、系统及可存储介质Haze image clearing method, system and storable medium 技术领域Technical field
本发明涉及图像处理技术领域,更具体地说,涉及一种雾霾图像清晰化方法、系统及可存储介质。The present invention relates to the technical field of image processing, and more particularly, to a method and system for clearing haze images and a storable medium.
背景技术Background technique
近年来,雾霾现象较为严重。在雾霾天气中拍摄的图像,由于空气中混合了各种可吸入颗粒物和细颗粒物等污染物,对光的吸收、折射以及散射有严重的影响,导致图像模糊,不方便人眼观看。图像视觉效果不好,不仅对图像清晰度有影响,并且会给判定目标带来麻烦。In recent years, the smog phenomenon has been more serious. The images taken in the haze weather, because various pollutants such as inhalable particles and fine particles are mixed in the air, have a serious impact on the absorption, refraction and scattering of light, resulting in blurred images and inconvenience for the human eye to view. The visual effect of the image is not good, which not only affects the sharpness of the image, but also causes trouble to determine the target.
在雾霾环境下拍摄的图像质量欠佳,大大增加了图像后续处理难度。除此之外,雾霾图像的存在也会给公路交通监控、卫星遥感监测带来较大的影响。由此可见,通过图像处理技术减少雾霾等不利天气对成像效果的影响,有效提高图像质量,具有广泛的应用前景。雾霾问题不仅跟每个人的健康有关,还跟城市安全息息相关。从图像处理的角度,研究如何对雾霾图像进行清晰化处理、已成为城市发展迫切需要解决的一类问题。The poor quality of the images taken in the haze environment greatly increases the difficulty of subsequent image processing. In addition, the presence of haze images will also have a greater impact on highway traffic monitoring and satellite remote sensing monitoring. It can be seen that the use of image processing technology to reduce the impact of adverse weather such as haze on the imaging effect, effectively improve the image quality, has broad application prospects. The smog problem is not only related to everyone's health, but also to urban safety. From the perspective of image processing, research on how to clear the haze image has become a type of problem that urgently needs to be solved in urban development.
图像去雾霾技术旨在去除图像中雾、霾等不利因素的干扰,使图像恢复有效的信息和特征,获得具有良好视觉效果的图像。目前,雾霾图像清晰化处理技术主要分为两大类:基于图像处理的图像增强方法,基于物理模型的图像复原方法。其中:The image dehazing technology aims to remove the interference of unfavorable factors such as fog and haze in the image, restore the effective information and features of the image, and obtain an image with good visual effects. At present, haze image sharpening processing technologies are mainly divided into two categories: image enhancement methods based on image processing, and image restoration methods based on physical models. among them:
基于图像处理的图像增强方法是通过增强图像对比度,突出或者弱化某些有效信息和图像特征以减少雾霾对图像的干扰,从而实现图像的清晰化。该方法原理简单且易于实现,但其存在处理后的图像容易出现色彩失真和图像信息丢失等问题。换句话说,该类方法只是减少了雾霾对图像的干扰,但没有本质的去除雾霾。基于图像处理的图像增强方法目前比较常用方法主要有基于直方图均衡化、曲波变换、同态滤波以及基于Retinex理论的方法。The image enhancement method based on image processing is to enhance the image contrast, highlight or weaken some effective information and image features to reduce the interference of haze on the image, and thereby achieve the sharpness of the image. The principle of this method is simple and easy to implement, but it has the problems that the processed image is prone to color distortion and loss of image information. In other words, this type of method only reduces the interference of haze on the image, but does not remove the haze in essence. Image enhancement methods based on image processing are currently more commonly used methods based on histogram equalization, curvelet transform, homomorphic filtering, and Retinex theory.
基于物理模型的图像复原方法是从雾霾形成原因的角度对大气散射作用进行建模,再通过分析和处理来实现去雾霾。该方法在处理过程中虽然图像信息和特征保存的比较完整,较少出现图像信息的缺失。但其过程复杂,且受雾霾形态影响较大,比较常用的方法有基于大气物理模型、基于图像差异、基于暗通道优先的方法以及基于融合的方法。The physical model-based image restoration method is to model the effect of atmospheric scattering from the perspective of the cause of haze formation, and then to analyze and process the haze removal. Although the image information and features are relatively complete during the processing, the lack of image information is rare. However, the process is complicated and it is greatly affected by the haze morphology. The commonly used methods are based on atmospheric physical models, based on image differences, based on dark channel priority, and based on fusion.
发明内容Summary of the invention
本发明要解决的技术问题在于,针对现有技术的上述雾霾图像清晰化过程中图像容易出现色彩失真和图像信息丢失等问题,或者雾霾处理过程复杂,结果不稳定缺陷,提供一种雾霾图像清晰化方法、系统及可存储介质。The technical problem to be solved by the present invention is to address the problems that the image is prone to color distortion and image information loss during the above-mentioned haze image sharpening process in the prior art, or that the haze processing process is complicated and the result is unstable and defective. Haze image sharpening method, system and storable medium.
本发明解决其技术问题所采用的技术方案是:构造一种雾霾图像清晰化方法,包括以下步骤:The technical solution adopted by the present invention to solve its technical problem is to construct a method for clearing haze images, including the following steps:
S1、随机选择若干第一深度网络参数分别对一雾霾图像进行深度学习去雾霾以获取若干第一去雾霾图像,并对所述若干第一去雾霾图像进行盲图像质量评价以获取若干第一图像质量评分;S1. Randomly select several first deep network parameters to perform deep learning and haze removal on a haze image to obtain a plurality of first haze images, and perform blind image quality evaluation on the plurality of first haze images to obtain Several first image quality scores;
S2、根据所述第一图像质量评分从所述若干第一深度网络参数选择第一优质深度网络参数;S2. Select a first high-quality deep network parameter from the plurality of first deep network parameters according to the first image quality score;
S3、对所述第一优质深度网络参数进行快速细菌群游优化操作,以获取若干第二深度网络参数;S3. Perform a fast bacterial swarm optimization operation on the first high-quality deep network parameters to obtain several second deep network parameters.
S4、通过所述若干第二深度网络参数对所述雾霾图像进行深度学习去雾霾以获取若干第二去雾霾图像,并对所述若干第二去雾霾图像进行盲图像质量评价以获取若干第二图像质量评分;S4. Perform deep learning and haze removal on the haze image through the plurality of second deep network parameters to obtain a plurality of second haze images, and perform a blind image quality evaluation on the plurality of second haze images to Obtaining several second image quality scores;
S5、根据所述第二图像质量评分从所述若干第二深度网络参数选择第二优质深度网络参数,并根据所述第二优质深度网络参数对应的第二图像质量评分判断所述第二优质深度网络参数是否为最优,若是,则执行步骤S6,若否,则执行步骤S6-1;S5. Select a second high-quality deep network parameter from the plurality of second deep network parameters according to the second image quality score, and determine the second high-quality based on a second image quality score corresponding to the second high-quality deep network parameter. Whether the deep network parameters are optimal, if yes, go to step S6; if not, go to step S6-1;
S6、则输出所述第二优质深度网络参数对应的第二去雾霾图像并结束本次流程;S6. Output a second haze image corresponding to the second high-quality deep network parameter and end the process.
S6-1、将所述第二优质深度网络参数定义为新的第一优质深度网络参数并执行所述步骤S3。S6-1. Define the second high-quality deep network parameter as a new first high-quality deep network parameter and execute step S3.
优选地,在所述步骤S5中,所述根据所述第二优质深度网络参数对应的第二图像质量评分,判断所述第二优质深度网络参数是否为最优,包括:Preferably, in step S5, determining whether the second high-quality deep network parameter is optimal according to a second image quality score corresponding to the second high-quality deep network parameter includes:
计算所述第二优质深度网路参数对应的第二图像质量评分和第一优质深度网络参数对应的第一图像质量评分的差值,判定所述差值是否满足第一预设条件,若是,则判定所述第二优质深度网路参数为最优深度网路参数。Calculating a difference between a second image quality score corresponding to the second high-quality deep network parameter and a first image quality score corresponding to the first high-quality deep network parameter, and determining whether the difference satisfies a first preset condition, and if yes, It is determined that the second high-quality deep network parameter is an optimal deep network parameter.
优选地,在所述步骤S5中,所述根据所述第二优质深度网络参数对应的第二图像质量评分,判断所述第二优质深度网络参数是否为最优,包括:Preferably, in step S5, determining whether the second high-quality deep network parameter is optimal according to a second image quality score corresponding to the second high-quality deep network parameter includes:
计算所述第二优质深度网路参数对应的第二图像质量评分是否满足第二预设条件,若是,则判定所述第二优质深度网路参数为最优深度网路参数。Calculate whether a second image quality score corresponding to the second high-quality deep network parameter satisfies a second preset condition, and if so, determine that the second high-quality deep network parameter is an optimal deep network parameter.
优选地,所述方法中,所述第一深度网络参数和所述第二深度网络参数分别为列向量参数,所述列向量参数中均包括m个参数值,其中m大于或等于1。Preferably, in the method, the first deep network parameter and the second deep network parameter are column vector parameters, and each of the column vector parameters includes m parameter values, where m is greater than or equal to 1.
优选地,所述方法中,所述第一深度网络参数和所述第二深度网络参数分别为行向量参数,所述行向量参数中均包括n个参数值,其中n大于或等于1。Preferably, in the method, the first deep network parameter and the second deep network parameter are respectively row vector parameters, and each of the row vector parameters includes n parameter values, where n is greater than or equal to 1.
优选地,在所述步骤S1中,所述对所述若干第一去雾霾图像进行盲图像质量评价以获取若干第一图像质量评分,包括:Preferably, in the step S1, performing blind image quality evaluation on the plurality of first dehaze images to obtain a plurality of first image quality scores includes:
采用DIIVINE算法对所述若干第一去雾霾图像进行盲图像质量评价以获取若干第一图像质量评分;Using the DIIVINE algorithm to perform blind image quality evaluation on the plurality of first haze images to obtain several first image quality scores;
在所述步骤S4中,所述对所述若干第二去雾霾图像进行盲图像质量评价以获取若干第二图像质量评分,包括:In step S4, performing blind image quality evaluation on the plurality of second haze images to obtain a plurality of second image quality scores includes:
采用所述DIIVINE算法对所述若干第二去雾霾图像进行盲图像质量评价以获取若干第二图像质量评分。The DIIVINE algorithm is used to perform blind image quality evaluation on the plurality of second haze images to obtain a plurality of second image quality scores.
优选地,在所述步骤S3中,所述对所述第一优质深度网络参数进行快速细菌群游优化操作,以获取若干第二深度网络参数;包括:所述快速细菌群游优化操作的约束条件满足:Preferably, in the step S3, the fast bacterial swarm optimization operation is performed on the first high-quality deep network parameter to obtain several second deep network parameters; including: constraints of the fast bacterial swarm optimization operation Conditions met:
当J i(j+1,k,l)>J min(j,k,l), When J i (j + 1, k, l) > J min (j, k, l),
Figure PCTCN2018099031-appb-000001
Figure PCTCN2018099031-appb-000001
其中:among them:
J min(j,k,l)为所述第一优质网络参数对应的第一图像质量评分, J min (j, k, l) is a first image quality score corresponding to the first high-quality network parameter,
Figure PCTCN2018099031-appb-000002
为所述第二深度网络参数相对于所述第一优质网络参数的变化,
Figure PCTCN2018099031-appb-000002
Is the change of the second deep network parameter relative to the first high-quality network parameter,
θ i(j+1,k,l)为所述第二深度网络参数, θ i (j + 1, k, l) is the second deep network parameter,
C cc为吸引因子,用来表示所述第二深度网络参数相对于所述第一优质网络参数进行变化时的变化因子, C cc is an attraction factor, and is used to indicate a change factor when the second deep network parameter changes relative to the first high-quality network parameter,
θ b(j,k,l)为所述第一优质网络参数。 θ b (j, k, l) is the first high-quality network parameter.
优选地,所述C cc包括动态步长C(k,l),所述动态步长的约束条件为: Preferably, the C cc includes a dynamic step size C (k, l), and the constraint condition of the dynamic step size is:
C(k,l)=L red/n k+l-1 C (k, l) = L red / n k + l-1
其中:among them:
L red为初始趋化步长, L red is the initial chemotaxis step size,
n为步长下降梯度。n is the step gradient.
本发明还构造一种雾霾图像清晰化系统,包括:处理器、存储器,The invention also constructs a haze image sharpening system, which includes: a processor, a memory,
所述存储器,用于存储程序指令,The memory is used to store program instructions,
所述处理器,用于根据所述存储器所存储的程序指令执行上面任意一项所述方法的步骤。The processor is configured to execute the steps of any one of the methods according to the program instructions stored in the memory.
本发明还构造一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如上面任意一项所述方法的步骤。The present invention also constructs a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method according to any one of the above are implemented.
实施本发明的雾霾图像清晰化方法、系统及可存储介质,具有以下有益效果:能够实现对雾霾天气的自适应,客观根据当前的雾霾天气实现对雾霾图像清晰化处理。处理过程快,结果准确客观。The implementation of the haze image sharpening method, system and storable medium of the present invention has the following beneficial effects: it can achieve self-adaptation to haze weather, and objectively realize haze image clear processing based on the current haze weather. The process is fast and the results are accurate and objective.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
下面将结合附图及实施例对本发明作进一步说明,附图中:The present invention will be further described below with reference to the accompanying drawings and embodiments. In the drawings:
图1是本发明雾霾图像清晰化方法一实施例的程序流程图;FIG. 1 is a program flowchart of an embodiment of a haze image sharpening method according to the present invention;
图2是本发明雾霾图像清晰化方法效果对比示意图。FIG. 2 is a schematic diagram showing a comparison of effects of the haze image sharpening method according to the present invention.
具体实施方式detailed description
为了对本发明的技术特征、目的和效果有更加清楚的理解,现对照附图详细说明本发明的具体实施方式。In order to have a clearer understanding of the technical features, objects, and effects of the present invention, specific embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
如图1所示,在本发明的雾霾图像清晰化方法第一实施例中,包括以下步骤:As shown in FIG. 1, in the first embodiment of the haze image sharpening method of the present invention, the following steps are included:
S1、随机选择若干第一深度网络参数分别对一雾霾图像进行深度学习去雾霾以获取若干第一去雾霾图像,并对若干第一去雾霾图像进行盲图像质量评价以获取若干第一图像质量评分;具体的,将雾霾图像输入去雾霾深度学习网络通过去雾霾深度学习网络的深度学习对雾霾图像进行初始的去雾霾,这里初始的去雾霾过程中,去雾霾深度学习网络的初始深度网络参数也可以理解为第一深度网络参数为随机选择,这个可以随机生成的方式生成一组第一深度网络参数,这里一组第一深度网络参数可以包含若干数量的第一深度网络参数,去雾霾深度学习网络基于每一个第一深度网络参数对雾霾图像分别进行深度学习,以获取与第一深度网络参数对应的第一去雾霾图像,然后通过盲图像质量评价方法对每一个第一去雾霾图像进行图像质量评价,获取每一个第一去雾霾图像的图像质量评分。这里可以理解的是,若干数量的第一深度网络参数可以为不相关的或者相关度比较低的深度网络参数,这样可以扩大深度网络参数的覆盖范围,减少整个流程的处理过程和处理资源。其中深度学习网络包括卷积神经网络(Convolutional neural networks)、自动编码器(Autoencoder)、循环神经网络(Recurrent neural network)等。在这里可以采用卷积神经网络,其利用输入数据的局部相关性,大幅减少了全连接网络的参数个数,在图像识别过程中性能较优S1. Randomly select a number of first deep network parameters to perform deep learning and haze removal on a haze image to obtain a number of first haze images, and perform blind image quality evaluation on the plurality of first haze images to obtain a number of first haze images. An image quality score; specifically, the haze image is input to the haze-removing deep learning network to perform the initial haze-removal of the haze image through the deep learning of the haze-removing deep learning network. During the initial haze-removal process, The initial deep network parameters of the haze deep learning network can also be understood as that the first deep network parameters are randomly selected. This can generate a set of first deep network parameters in a randomly generated manner. Here, a set of first deep network parameters can include several quantities. The first deep network parameter of the haze-removing haze deep learning network performs deep learning on the haze image based on each first deep network parameter to obtain the first haze image corresponding to the first deep network parameter, and then passes the blind The image quality evaluation method performs image quality evaluation on each first haze-free image to obtain each first The image quality score haze image. It can be understood here that a number of the first deep network parameters can be irrelevant or relatively low-level deep network parameters, so that the coverage of the deep network parameters can be expanded and the processing process and processing resources of the entire process can be reduced. Among them, deep learning networks include Convolutional Neural Networks, Autoencoders, Recurrent Neural Networks, and so on. A convolutional neural network can be used here, which uses the local correlation of the input data to greatly reduce the number of parameters of the fully connected network, and has better performance in the image recognition process.
S2、根据第一图像质量评分从若干第一深度网络参数选择第一优质深度网络参数;具体的,比较上面获取的若干的第一去雾霾图像的图像质量评分,选择图像质量评分最佳的第一去雾霾图像对应的第一深度网络参数将其作为第一优质深度网络参数。S2. Select the first high-quality deep network parameter from a plurality of first deep network parameters according to the first image quality score. Specifically, compare the image quality scores of the first several haze images obtained above, and select the best image quality score. The first deep network parameter corresponding to the first haze image is used as the first high-quality deep network parameter.
S3、对第一优质深度网络参数进行快速细菌群游优化操作,以获取若干第二深度网络参数;具体的,通过对获取的第一优质深度网络参数进行快速细菌群游优化操作,通过第一优质深度网络参数向群体内的历史最优点靠拢,搜索 周围的其他的比第一深度网络参数更优的深度网络参数,这里定义为第二深度网络参数。S3. Perform a fast bacterial swarm optimization operation on the first high-quality deep network parameters to obtain several second deep network parameters. Specifically, by performing a fast bacterial swarm optimization operation on the obtained first high-quality deep network parameters, use the first The high-quality deep network parameters move closer to the historical merits of the group, and other surrounding deep network parameters that are better than the first deep network parameters are searched for, and are defined here as the second deep network parameters.
S4、通过若干第二深度网络参数对雾霾图像进行深度学习去雾霾以获取若干第二去雾霾图像,并对若干第二去雾霾图像进行盲图像质量评价以获取若干第二图像质量评分;具体的,去雾霾深度学习网络基于上述选取的若干第二深度网络参数对雾霾图像分别进行深度学习,获取若干对应的第二去雾霾图像,然后通过盲图像质量评价方法对每一个第二去雾霾图像进行图像质量评价,获取每一个第二去雾霾图像的图像质量评分。S4. Perform deep learning and haze removal on the haze image through several second deep network parameters to obtain a plurality of second haze images, and perform blind image quality evaluation on the plurality of second haze images to obtain a plurality of second image qualities. Scoring; specifically, the haze-removing deep learning network performs deep learning on the haze images separately based on the selected several second deep network parameters, obtains several corresponding second haze-removing images, and then uses blind image quality evaluation methods for each A second dehaze image is evaluated for image quality, and an image quality score is obtained for each second dehaze image.
S5、根据第二图像质量评分从若干第二深度网络参数选择第二优质深度网络参数,并根据第二优质深度网络参数对应的第二图像质量评分判断第二优质深度网络参数是否为最优,若是,则执行步骤S6,若否,则执行步骤S6-1;具体的,比较上面获取的若干的第二去雾霾图像的图像质量评分,选择图像质量评分最佳的第二去雾霾图像,并获取对应的第二深度网络参数将其作为第二优质深度网络参数。这里通过第二评分最佳的第二去雾霾图像的的质量评分即第二优质深度网络参数对应的第二图像质量评分,可以判断第二优质深度网络参数是否为最优,例如当判断第二图像质量评分满足了最优评分的条件,则可以将第二优质深度网络参数作为该雾霾图像去雾霾过程中的最优的深度网络参数,那么可以进行步骤S6的操作。当第二图像质量评分不满足最优评分的条件时,说明第二优质深度网络参数还不是该雾霾图像去雾霾过程中的最优的深度网络参数。那么要进行步骤S6-1的操作。S5. Select a second high-quality deep network parameter from a plurality of second deep network parameters according to the second image quality score, and determine whether the second high-quality deep network parameter is optimal according to the second image quality score corresponding to the second high-quality deep network parameter. If yes, go to step S6; if no, go to step S6-1; specifically, compare the image quality scores of the second dehaze images obtained above, and select the second dehaze image with the best image quality score And obtain the corresponding second deep network parameter as the second high-quality deep network parameter. Here, the quality score of the second haze image with the best second score, that is, the second image quality score corresponding to the second high-quality deep network parameter, can be used to determine whether the second high-quality deep network parameter is optimal. If the second image quality score satisfies the optimal score condition, the second high-quality deep network parameter can be used as the optimal deep network parameter during the haze de-haze process, and then the operation of step S6 can be performed. When the second image quality score does not satisfy the condition of the optimal score, it means that the second high-quality deep network parameter is not yet the optimal deep network parameter in the haze de-haze process. Then proceed to step S6-1.
S6、则输出第二优质深度网络参数对应的第二去雾霾图像并结束本次流程;具体的,根据上面的判断结果,当能判定第二优质深度网络参数为该雾霾图像去雾霾过程中的最优的深度网络参数时,那么就可以判定第二优质深度网络参数对应的第二去雾霾图像为该雾霾图像的最优的去雾霾图像。这样就将该第二优质深度网络参数对应的第二去雾霾图像作为本次雾霾图像的清晰化过程中的最终清晰化图像输出。S6. The second dehaze image corresponding to the second high-quality deep network parameter is output and the process ends; specifically, according to the above judgment result, when the second high-quality deep network parameter can be determined as the haze image dehaze When the optimal deep network parameters in the process, then it can be determined that the second haze image corresponding to the second high-quality deep network parameter is the optimal haze image of the haze image. In this way, the second haze image corresponding to the second high-quality deep network parameter is used as the final sharpened image output during the sharpening process of the haze image.
S6-1、将第二优质深度网络参数定义为新的第一优质深度网络参数并执行步骤S3。具体的,根据上面的判断结果,当判定第二优质深度网络参数还不 是该雾霾图像去雾霾过程中的最优的深度网络参数时,将该第二优质深度网络参数作为新的第一优质深度网络参数,重复执行步骤S3及其后面的步骤,寻找新的第二优质深度网络参数并进行判定,以得到最终的能够最优的去雾霾图像的第二优质深度网络参数并输出对应的雾霾图像的清晰化过程中的最终清晰化图像输出。S6-1. Define the second high-quality deep network parameter as the new first high-quality deep network parameter and execute step S3. Specifically, according to the above judgment result, when it is determined that the second high-quality deep network parameter is not yet the optimal deep network parameter in the haze image dehaze process, the second high-quality deep network parameter is used as the new first High-quality deep network parameters. Repeat step S3 and subsequent steps to find a new second high-quality deep network parameter and make a judgment to obtain the final second high-quality deep network parameter that can optimally remove the haze image and output the corresponding. The final sharpened image output during the sharpening process of the haze image.
这里,通过同现有方法中确定网络参数时,先人工观测图像雾霾程度再人工选取网络参数的方法相比较,能够进行实时的雾霾图像清晰化处理。此外,通过采用客观盲图像质量评价算法评估去雾霾图像质量,并获取最优的去雾霾图像,比起现有方法由主观评估的方法,具有更高的准确性。此外采用快速细菌群游优化算法智能选取网络参数,能够避免传统穷举方法带来的低效率问题,快速的确定最优的深度网络参数。Here, by comparing the method of manually observing the haze degree of the image and then manually selecting the network parameter when determining network parameters in the existing method, real-time haze image sharpening processing can be performed. In addition, by using an objective blind image quality evaluation algorithm to evaluate the quality of the haze-removed image and obtain the optimal haze-removed image, it has higher accuracy than the subjective evaluation method of the existing methods. In addition, a fast bacterial swarm optimization algorithm is used to intelligently select network parameters, which can avoid the inefficiency caused by traditional exhaustive methods and quickly determine the optimal deep network parameters.
进一步的,在步骤S5中,根据第二优质深度网络参数对应的第二图像质量评分,判断第二优质深度网络参数是否为最优,包括:计算第二优质深度网路参数对应的第二图像质量评分和第一优质深度网络参数对应的第一图像质量评分的差值,判定差值是否满足第一预设条件,若是,则判定第二优质深度网路参数为最优深度网路参数。具体的,判断第二优质深度网路参数是否为最优的深度网络参数,可以将第二优质深度网路参数对应的第二图像质量评分和第一优质深度网络参数对应的第一图像质量评分进行比较,当二者差值很小,或者说当第二图像质量评分和第一图像质量评分很接近的时候,那么说明雾霾图像经过深度学习去雾霾的最优效果已经趋于稳定,其再次寻找最优深度网络参数对其去雾霾的效果已经没有影响,那么这个时候可以将第二优质深度网路参数作为雾霾图像去雾霾过程中的最优深度网络参数,其对应的第二去雾霾图像即为最终清晰化图像输出。Further, in step S5, determining whether the second high-quality deep network parameter is optimal according to the second image quality score corresponding to the second high-quality deep network parameter includes: calculating a second image corresponding to the second high-quality deep network parameter. The difference between the quality score and the first quality deep network parameter corresponding to the first image quality score determines whether the difference satisfies the first preset condition, and if so, determines that the second quality deep network parameter is the optimal depth network parameter. Specifically, to determine whether the second high-quality deep network parameter is the optimal deep network parameter, the second image quality score corresponding to the second high-quality deep network parameter and the first image quality score corresponding to the first high-quality deep network parameter may be determined. For comparison, when the difference between the two is small, or when the second image quality score and the first image quality score are very close, then the optimal effect of the haze image after deep learning to remove haze has stabilized. It finds the optimal deep network parameters again, which has no effect on the effect of removing haze. Then, at this time, the second high-quality deep network parameters can be used as the optimal deep network parameters in the haze image dehazing process. The second haze image is the final clear image output.
进一步的,在步骤S5中,根据第二优质深度网络参数对应的第二图像质量评分,判断第二优质深度网络参数是否为最优,包括:计算第二优质深度网路参数对应的第二图像质量评分是否满足第二预设条件,若是,则判定第二优质深度网路参数为最优深度网路参数。具体的,在一些雾霾图像的去雾霾过程中,也可以实现设定该雾霾图像的最佳输出结果,即可以定义其能够输出的最 佳的清晰化图像及其对应的最佳的质量评分,当第二优质深度网路参数对应的第二图像质量评分满足了该最佳的质量评分,那么我们可以确认该输出的第二去雾霾图像满足其定义的目标的最佳输出结果,那么就可以判定第二优质深度网路参数为最优深度网路参数,其对应的第二去雾霾图像即为最终清晰化图像输出。这里可以理解的是,盲图像质量评价方法不同,图像质量评分的取值范围也将不同,不同算法的图像质量评分值满足单调性原则,其最小或最大值中,必有一个对应图像质量最佳的情形。因此,在图像清晰化过程中,只需根据盲图像质量评价算法类型,确定图像清晰化过程目标图像质量评分是最小或最大值即可。Further, in step S5, determining whether the second high-quality deep network parameter is optimal according to the second image quality score corresponding to the second high-quality deep network parameter includes: calculating a second image corresponding to the second high-quality deep network parameter. Whether the quality score satisfies the second preset condition, and if so, determines that the second high-quality deep network parameter is an optimal deep network parameter. Specifically, in the process of removing haze from some haze images, the best output result of the haze image can also be set, that is, the best clear image that can be output and the corresponding best image can be defined. Quality score, when the second image quality score corresponding to the second high-quality deep network parameter satisfies the best quality score, then we can confirm that the output second haze image meets the best output result of its defined target , Then it can be determined that the second high-quality deep network parameter is the optimal deep network parameter, and the corresponding second haze image is the final clear image output. It can be understood here that different methods of blind image quality evaluation will have different ranges of image quality scores. The image quality scores of different algorithms meet the monotonicity principle. Among the minimum or maximum values, there must be a corresponding Good situation. Therefore, in the image sharpening process, it is only necessary to determine whether the target image quality score of the image sharpening process is the minimum or maximum value according to the type of the blind image quality evaluation algorithm.
进一步的,在一些实施例中,本发明的雾霾图像清晰化方法中,第一深度网络参数和第二深度网络参数分别为列向量参数,列向量参数中均包括m个参数值,其中m大于或等于1。在另一些实施例中,本发明的雾霾图像清晰化方法中,第一深度网络参数和第二深度网络参数分别为行向量参数,行向量参数中均包括n个参数值,其中n大于或等于1。具体的,不同的去雾霾深度学习网络,由于其构成不同,可以具有不同数量和物理意义的参数,例如可以为列向量参数、行向量参数,还有可以为矩阵参数。例如下面的行向量参数,Further, in some embodiments, in the haze image sharpening method of the present invention, the first deep network parameter and the second deep network parameter are column vector parameters, and each column vector parameter includes m parameter values, where m Greater than or equal to 1. In other embodiments, in the haze image sharpening method of the present invention, the first deep network parameter and the second deep network parameter are row vector parameters, respectively, and each of the row vector parameters includes n parameter values, where n is greater than or Is equal to 1. Specifically, different haze-removing deep learning networks may have different numbers and physical meaning parameters due to their different structures, such as column vector parameters, row vector parameters, and matrix parameters. For example, the following row vector parameters,
Figure PCTCN2018099031-appb-000003
Figure PCTCN2018099031-appb-000003
其中:among them:
b i——第i个深度网络参数向量; b i ——the i-th deep network parameter vector;
Figure PCTCN2018099031-appb-000004
——第i个深度网络参数向量的第n个参数值。
Figure PCTCN2018099031-appb-000004
-The n-th parameter value of the i-th deep network parameter vector.
具体的,在步骤S1中,对若干第一去雾霾图像进行盲图像质量评价以获取若干第一图像质量评分,包括:采用DIIVINE算法对若干第一去雾霾图像进行盲图像质量评价以获取若干第一图像质量评分;在步骤S4中,对若干第二去雾霾图像进行盲图像质量评价以获取若干第二图像质量评分,包括:采用DIIVINE算法对若干第二去雾霾图像进行盲图像质量评价以获取若干第二图像质量评分。具体的,在一些实施例中针对雾霾图像的盲图像质量评价可以采用DIIVINE算法,当然在其他的实施例中,也可以采用其他的方法分别对第一去雾霾图像和第二去雾霾图像进行盲图像质量评价,这里可以理解的是,在整 个流程中选定了一盲图像质量评价方法对去雾霾图像进行盲图像质量评价时,要一直选用通过一个盲图像质量评价方法完成整个流程。而不适宜在过程中更换盲图像质量评价方案对不同阶段的去雾霾图像进行盲图像质量评价。Specifically, in step S1, performing blind image quality evaluation on several first haze-free images to obtain several first image quality scores includes: using a DIIVINE algorithm to perform blind image quality evaluation on several first haze-free images to obtain A number of first image quality scores; in step S4, blind image quality evaluation is performed on a plurality of second dehaze images to obtain a plurality of second image quality scores, including: using the DIIVINE algorithm to perform blind images on a plurality of second dehaze images Quality evaluation to obtain several second image quality scores. Specifically, in some embodiments, the blind image quality evaluation of the haze image may use the DIIVINE algorithm. Of course, in other embodiments, other methods may also be used for the first haze image and the second haze image, respectively. Image for blind image quality evaluation. It can be understood here that when a blind image quality evaluation method is selected in the entire process to perform a blind image quality evaluation on the haze-removed image, a blind image quality evaluation method must always be used to complete the entire process. Process. It is not suitable to replace the blind image quality evaluation scheme in the process to perform blind image quality evaluation on the haze-removed images at different stages.
进一步的,在步骤S3中,对第一优质深度网络参数进行快速细菌群游优化操作,以获取若干第二深度网络参数;包括:快速细菌群游优化操作的约束条件满足:Further, in step S3, a fast bacterial swarm optimization operation is performed on the first high-quality deep network parameters to obtain several second deep network parameters; including: the constraints of the fast bacterial swarm optimization operation satisfy:
当J i(j+1,k,l)>J min(j,k,l), When J i (j + 1, k, l) > J min (j, k, l),
Figure PCTCN2018099031-appb-000005
Figure PCTCN2018099031-appb-000005
其中:among them:
J min(j,k,l)为第一优质网络参数对应的第一图像质量评分, J min (j, k, l) is a first image quality score corresponding to a first high-quality network parameter,
Figure PCTCN2018099031-appb-000006
为第二深度网络参数,
Figure PCTCN2018099031-appb-000006
Is the second deep network parameter,
θ i(j+1,k,l)为第一深度网络参数, θ i (j + 1, k, l) is the first deep network parameter,
C cc为吸引因子,用来表示所述第二深度网络参数相对于所述第一优质网络参数进行变化时的变化因子, C cc is an attraction factor, and is used to indicate a change factor when the second deep network parameter changes relative to the first high-quality network parameter,
θ b(j,k,l)为所述第一优质网络参数。 θ b (j, k, l) is the first high-quality network parameter.
具体的,采用上述新群体感应机制将允许第一深度网络参数利用周围第一优质网络参数的经验来指导自己的变化,可以大幅缩短算法在解空间中的搜索时间。同时,新机制有助于第一深度网络参数跳出局部最优解,可有效减小第一优质网络参数从全局最优点逃逸的可能性。Specifically, using the new quorum sensing mechanism described above will allow the first deep network parameters to use the experience of the surrounding first high-quality network parameters to guide their changes, which can greatly reduce the algorithm's search time in the solution space. At the same time, the new mechanism helps the first deep network parameters to jump out of the local optimal solution, which can effectively reduce the possibility of the first high-quality network parameters escaping from the global best advantage.
进一步的,C cc包括动态步长C(k,l),动态步长的约束条件为: Further, C cc includes a dynamic step size C (k, l), and the constraints of the dynamic step size are:
C(k,l)=L red/n k+l-1 C (k, l) = L red / n k + l-1
其中:among them:
L red为初始趋化步长, L red is the initial chemotaxis step size,
n为步长下降梯度。n is the step gradient.
具体的,C(k,l)随复制和消除-驱散事件次数增加呈下降趋势。当k+l较小时,C(k,l)较大,可避免在局部区域花费过多搜索时间;当k+l逐渐增大,C(k,l)缩短,可增强第一优质网络参数在全局最优点附近的局部搜索能力,保证算法最终趋向全局最优点。Specifically, C (k, l) shows a downward trend as the number of replication and elimination-dispelling events increases. When k + l is small, C (k, l) is large, which can avoid excessive search time in a local area; when k + l is gradually increased, C (k, l) is shortened, which can enhance the first high-quality network parameter The local search ability near the global best advantage ensures that the algorithm eventually approaches the global best advantage.
另,本发明的一种雾霾图像清晰化系统,包括:处理器、存储器,存储器,用于存储程序指令,处理器,用于根据存储器所存储的程序指令执行上面任意一项方法的步骤。具体的,可以通过雾霾图像清晰化系统进行上述的雾霾图像清晰化方法,输出最终的清晰化图像。In addition, a haze image sharpening system of the present invention includes: a processor, a memory, and a memory, for storing program instructions, and a processor for performing the steps of any one of the foregoing methods according to the program instructions stored in the memory. Specifically, the above-mentioned haze image sharpening method may be performed by a haze image sharpening system to output a final sharpened image.
另,本发明的一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现如上面任意一项方法的步骤。具体的,上面描述的方法可以作为程序存储,并进行复制拷贝。这里计算机可读存储介质可以是但不局限于可以保持和存储由指令执行设备使用的指令的有形设备。计算机可读存储介质例如可以是但不限于电存储设备、磁存储设备、光存储设备、电磁存储设备、半导体存储设备或者上述的任意合适的组合。以及包含上述存储设备的装置组合。In addition, a computer-readable storage medium of the present invention stores a computer program thereon. When the computer program is executed by a processor, the steps of any one of the methods above are implemented. Specifically, the method described above can be stored as a program and copied. The computer-readable storage medium herein may be, but is not limited to, a tangible device that can hold and store instructions used by the instruction execution device. The computer-readable storage medium may be, for example, but not limited to, an electric storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. And a combination of devices including the above storage device.
如图2所示,为本发明的雾霾图像清晰化方法的处理结果与现有的处理方法的结果的对比图,其中a列为原始的雾霾图像,即为待清晰化处理到额雾霾图像,b、c、d为现有的雾霾图像的清晰化结果,e为本发明的雾霾图像清晰化方法的处理结果,可以看出其效果优于现有的雾霾图像的清晰化方法或者与现有的现有的雾霾图像的清晰化方法结果相当。但其过程远远优于现有的雾霾图像的清晰化方法。As shown in FIG. 2, it is a comparison chart between the processing results of the haze image sharpening method of the present invention and the results of the existing processing methods, where column a is the original haze image, that is, the front fog to be cleared Haze image, b, c, and d are the clearing results of the existing haze image, and e is the processing result of the haze image clearing method of the present invention. It can be seen that the effect is better than that of the existing haze image. The result of the method is equivalent to that of the existing clearing method of the haze image. But the process is far superior to the existing methods of sharpening haze images.
可以理解的,以上实施例仅表达了本发明的优选实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制;应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,可以对上述技术特点进行自由组合,还可以做出若干变形和改进,这些都属于本发明的保护范围;因此,凡跟本发明权利要求范围所做的等同变换与修饰,均应属于本发明权利要求的涵盖范围。It can be understood that the above embodiments only express the preferred embodiments of the present invention, and their descriptions are more specific and detailed, but they should not be construed as a limitation on the scope of the patent of the present invention; In other words, without departing from the concept of the present invention, the above technical features can be freely combined, and several modifications and improvements can be made, all of which belong to the protection scope of the present invention; All equivalent transformations and modifications made shall fall within the scope of the claims of the present invention.

Claims (10)

  1. 一种雾霾图像清晰化方法,其特征在于,包括以下步骤:A haze image sharpening method includes the following steps:
    S1、随机选择若干第一深度网络参数分别对一雾霾图像进行深度学习去雾霾以获取若干第一去雾霾图像,并对所述若干第一去雾霾图像进行盲图像质量评价以获取若干第一图像质量评分;S1. Randomly select several first deep network parameters to perform deep learning and haze removal on a haze image to obtain a plurality of first haze images, and perform blind image quality evaluation on the plurality of first haze images to obtain Several first image quality scores;
    S2、根据所述第一图像质量评分从所述若干第一深度网络参数选择第一优质深度网络参数;S2. Select a first high-quality deep network parameter from the plurality of first deep network parameters according to the first image quality score;
    S3、对所述第一优质深度网络参数进行快速细菌群游优化操作,以获取若干第二深度网络参数;S3. Perform a fast bacterial swarm optimization operation on the first high-quality deep network parameters to obtain several second deep network parameters.
    S4、通过所述若干第二深度网络参数对所述雾霾图像进行深度学习去雾霾以获取若干第二去雾霾图像,并对所述若干第二去雾霾图像进行盲图像质量评价以获取若干第二图像质量评分;S4. Perform deep learning and haze removal on the haze image through the plurality of second deep network parameters to obtain a plurality of second haze images, and perform a blind image quality evaluation on the plurality of second haze images to Obtaining several second image quality scores;
    S5、根据所述第二图像质量评分从所述若干第二深度网络参数选择第二优质深度网络参数,并根据所述第二优质深度网络参数对应的第二图像质量评分判断所述第二优质深度网络参数是否为最优,若是,则执行步骤S6,若否,则执行步骤S6-1;S5. Select a second high-quality deep network parameter from the plurality of second deep network parameters according to the second image quality score, and determine the second high-quality based on a second image quality score corresponding to the second high-quality deep network parameter. Whether the deep network parameters are optimal, if yes, go to step S6; if not, go to step S6-1;
    S6、则输出所述第二优质深度网络参数对应的第二去雾霾图像并结束本次流程;S6. Output a second haze image corresponding to the second high-quality deep network parameter and end the process.
    S6-1、将所述第二优质深度网络参数定义为新的第一优质深度网络参数并执行所述步骤S3。S6-1. Define the second high-quality deep network parameter as a new first high-quality deep network parameter and execute step S3.
  2. 根据权利要求1所述的雾霾图像清晰化方法,其特征在于,在所述步骤S5中,所述根据所述第二优质深度网络参数对应的第二图像质量评分,判断所述第二优质深度网络参数是否为最优,包括:The haze image sharpening method according to claim 1, wherein in the step S5, the second high-quality image is judged according to a second image quality score corresponding to the second high-quality deep network parameter. Whether the deep network parameters are optimal, including:
    计算所述第二优质深度网路参数对应的第二图像质量评分和第一优质深度网络参数对应的第一图像质量评分的差值,判定所述差值是否满足第一预设条件,若是,则判定所述第二优质深度网路参数为最优深度网路参数。Calculating a difference between a second image quality score corresponding to the second high-quality deep network parameter and a first image quality score corresponding to the first high-quality deep network parameter, and determining whether the difference satisfies a first preset condition, and if yes, It is determined that the second high-quality deep network parameter is an optimal deep network parameter.
  3. 根据权利要求1所述的雾霾图像清晰化方法,其特征在于,在所述步骤S5中,所述根据所述第二优质深度网络参数对应的第二图像质量评分,判 断所述第二优质深度网络参数是否为最优,包括:The haze image sharpening method according to claim 1, wherein in the step S5, the second high-quality image is judged according to a second image quality score corresponding to the second high-quality deep network parameter. Whether the deep network parameters are optimal, including:
    计算所述第二优质深度网路参数对应的第二图像质量评分是否满足第二预设条件,若是,则判定所述第二优质深度网路参数为最优深度网路参数。Calculate whether a second image quality score corresponding to the second high-quality deep network parameter satisfies a second preset condition, and if so, determine that the second high-quality deep network parameter is an optimal deep network parameter.
  4. 根据权利要求1所述的雾霾图像清晰化方法,其特征在于,所述方法中,所述第一深度网络参数和所述第二深度网络参数分别为列向量参数,所述列向量参数中均包括m个参数值,其中m大于或等于1。The haze image sharpening method according to claim 1, wherein in the method, the first deep network parameter and the second deep network parameter are column vector parameters, and the column vector parameters are Each includes m parameter values, where m is greater than or equal to 1.
  5. 根据权利要求1所述的雾霾图像清晰化方法,其特征在于,所述方法中,所述第一深度网络参数和所述第二深度网络参数分别为行向量参数,所述行向量参数中均包括n个参数值,其中n大于或等于1。The haze image sharpening method according to claim 1, wherein in the method, the first deep network parameter and the second deep network parameter are row vector parameters, and the row vector parameters are Each includes n parameter values, where n is greater than or equal to 1.
  6. 根据权利要求1所述的雾霾图像清晰化方法,其特征在于,在所述步骤S1中,所述对所述若干第一去雾霾图像进行盲图像质量评价以获取若干第一图像质量评分,包括:The haze image sharpening method according to claim 1, wherein in the step S1, the blind image quality evaluation is performed on the plurality of first dehaze images to obtain a plurality of first image quality scores ,include:
    采用DIIVINE算法对所述若干第一去雾霾图像进行盲图像质量评价以获取若干第一图像质量评分;Using the DIIVINE algorithm to perform blind image quality evaluation on the plurality of first haze images to obtain several first image quality scores;
    在所述步骤S4中,所述对所述若干第二去雾霾图像进行盲图像质量评价以获取若干第二图像质量评分,包括:In step S4, performing blind image quality evaluation on the plurality of second haze images to obtain a plurality of second image quality scores includes:
    采用所述DIIVINE算法对所述若干第二去雾霾图像进行盲图像质量评价以获取若干第二图像质量评分。The DIIVINE algorithm is used to perform blind image quality evaluation on the plurality of second haze images to obtain a plurality of second image quality scores.
  7. 根据权利要求1所述的雾霾图像清晰化方法,其特征在于,在所述步骤S3中,所述对所述第一优质深度网络参数进行快速细菌群游优化操作,以获取若干第二深度网络参数;包括:所述快速细菌群游优化操作的约束条件满足:The haze image sharpening method according to claim 1, wherein in the step S3, the fast bacterial swarm optimization operation is performed on the first high-quality deep network parameters to obtain a plurality of second depths. Network parameters include: the constraints of the rapid bacterial swarm optimization operation satisfy:
    当J i(j+1,k,l)>J min(j,k,l), When J i (j + 1, k, l) > J min (j, k, l),
    Figure PCTCN2018099031-appb-100001
    Figure PCTCN2018099031-appb-100001
    其中:among them:
    J min(j,k,l)为所述第一优质网络参数对应的第一图像质量评分, J min (j, k, l) is a first image quality score corresponding to the first high-quality network parameter,
    Figure PCTCN2018099031-appb-100002
    为所述第二深度网络参数相对于所述第一优质网络参数的变化,
    Figure PCTCN2018099031-appb-100002
    Is the change of the second deep network parameter relative to the first high-quality network parameter,
    θ i(j+1,k,l)为所述第二深度网络参数, θ i (j + 1, k, l) is the second deep network parameter,
    C cc为吸引因子,用来表示所述第二深度网络参数相对于所述第一优质网络参数进行变化时的变化因子, C cc is an attraction factor, and is used to indicate a change factor when the second deep network parameter changes relative to the first high-quality network parameter,
    θ b(j,k,l)为所述第一优质网络参数。 θ b (j, k, l) is the first high-quality network parameter.
  8. 根据权利要求7所述的雾霾图像清晰化方法,其特征在于,所述C cc包括动态步长C(k,l),所述动态步长的约束条件为: The haze image sharpening method according to claim 7, wherein the C cc includes a dynamic step size C (k, l), and a constraint condition of the dynamic step size is:
    C(k,l)=L red/n k+l-1 C (k, l) = L red / n k + l-1
    其中:among them:
    L red为初始趋化步长, L red is the initial chemotaxis step size,
    n为步长下降梯度。n is the step gradient.
  9. 一种雾霾图像清晰化系统,其特征在于,包括:处理器、存储器,A haze image sharpening system is characterized in that it includes: a processor, a memory,
    所述存储器,用于存储程序指令,The memory is used to store program instructions,
    所述处理器,用于根据所述存储器所存储的程序指令执行如权利要求1-8任意一项所述方法的步骤。The processor is configured to execute the steps of the method according to any one of claims 1-8 according to program instructions stored in the memory.
  10. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1-8任意一项所述方法的步骤。A computer-readable storage medium having stored thereon a computer program, characterized in that when the computer program is executed by a processor, the steps of the method according to any one of claims 1-8 are implemented.
PCT/CN2018/099031 2018-08-06 2018-08-06 Haze image clearing method and system, and storable medium WO2020029033A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/099031 WO2020029033A1 (en) 2018-08-06 2018-08-06 Haze image clearing method and system, and storable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/099031 WO2020029033A1 (en) 2018-08-06 2018-08-06 Haze image clearing method and system, and storable medium

Publications (1)

Publication Number Publication Date
WO2020029033A1 true WO2020029033A1 (en) 2020-02-13

Family

ID=69413976

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/099031 WO2020029033A1 (en) 2018-08-06 2018-08-06 Haze image clearing method and system, and storable medium

Country Status (1)

Country Link
WO (1) WO2020029033A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104217404A (en) * 2014-08-27 2014-12-17 华南农业大学 Video image sharpness processing method in fog and haze day and device thereof
CN105654440A (en) * 2015-12-30 2016-06-08 首都师范大学 Regression model-based fast single-image defogging algorithm and system
CN106127702A (en) * 2016-06-17 2016-11-16 兰州理工大学 A kind of image mist elimination algorithm based on degree of depth study
CN107958465A (en) * 2017-10-23 2018-04-24 华南农业大学 A kind of single image to the fog method based on depth convolutional neural networks

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104217404A (en) * 2014-08-27 2014-12-17 华南农业大学 Video image sharpness processing method in fog and haze day and device thereof
CN105654440A (en) * 2015-12-30 2016-06-08 首都师范大学 Regression model-based fast single-image defogging algorithm and system
CN106127702A (en) * 2016-06-17 2016-11-16 兰州理工大学 A kind of image mist elimination algorithm based on degree of depth study
CN107958465A (en) * 2017-10-23 2018-04-24 华南农业大学 A kind of single image to the fog method based on depth convolutional neural networks

Similar Documents

Publication Publication Date Title
WO2021248938A1 (en) Image defogging method based on generative adversarial network fused with feature pyramid
CN108520219B (en) Multi-scale rapid face detection method based on convolutional neural network feature fusion
WO2021179471A1 (en) Face blur detection method and apparatus, computer device and storage medium
WO2020119619A1 (en) Network optimization structure employing 3d target classification and scene semantic segmentation
CN109978848B (en) Method for detecting hard exudation in fundus image based on multi-light-source color constancy model
CN103971112B (en) Image characteristic extracting method and device
CN110503610B (en) GAN network-based image rain and snow trace removing method
WO2021212737A1 (en) Person re-identification method, system, and device, and computer readable storage medium
CN107679469B (en) Non-maximum suppression method based on deep learning
KR20180109658A (en) Apparatus and method for image processing
CN109325435B (en) Video action recognition and positioning method based on cascade neural network
CN112634171B (en) Image defogging method and storage medium based on Bayesian convolutional neural network
CN110909741A (en) Vehicle re-identification method based on background segmentation
CN105678245A (en) Target position identification method based on Haar features
CN114926407A (en) Steel surface defect detection system based on deep learning
CN115660998A (en) Image defogging method based on deep learning and traditional priori knowledge fusion
CN112419163B (en) Single image weak supervision defogging method based on priori knowledge and deep learning
CN113313107A (en) Intelligent detection and identification method for multiple types of diseases on cable surface of cable-stayed bridge
CN109325920B (en) Haze image sharpening method and system and storable medium
CN110334775B (en) Unmanned aerial vehicle line fault identification method and device based on width learning
CN109978858B (en) Double-frame thumbnail image quality evaluation method based on foreground detection
CN109712116B (en) Fault identification method for power transmission line and accessories thereof
CN109740672B (en) Multi-stream feature distance fusion system and fusion method
WO2020029033A1 (en) Haze image clearing method and system, and storable medium
CN104700416B (en) The image segmentation threshold that view-based access control model understands determines method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18929237

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 14.05.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18929237

Country of ref document: EP

Kind code of ref document: A1