WO2023115801A1 - Point-by-point correction and restoration method and system for large field-of-view degraded image having aero-optical effect - Google Patents

Point-by-point correction and restoration method and system for large field-of-view degraded image having aero-optical effect Download PDF

Info

Publication number
WO2023115801A1
WO2023115801A1 PCT/CN2022/093807 CN2022093807W WO2023115801A1 WO 2023115801 A1 WO2023115801 A1 WO 2023115801A1 CN 2022093807 W CN2022093807 W CN 2022093807W WO 2023115801 A1 WO2023115801 A1 WO 2023115801A1
Authority
WO
WIPO (PCT)
Prior art keywords
point
blur kernel
gradient
image
kernel
Prior art date
Application number
PCT/CN2022/093807
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 武汉工程大学
Publication of WO2023115801A1 publication Critical patent/WO2023115801A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/70Denoising; Smoothing

Definitions

  • the invention relates to the fields of aerospace image processing and aero-optical effect correction, in particular to a method and system for point-by-point correction and restoration of aero-optical effect large-field-of-view degraded images.
  • the existing aero-optical effect degraded image restoration methods mainly include: 1.
  • the flow field control method can reduce the influence of the aero-optic effect, but it is far from eliminating this effect; 2.
  • the adaptive optics method can complete the partial restoration of the wavefront difference .
  • Digital image restoration methods can solve the restoration of space-invariant aero-optical effect degraded images, but it is difficult to realize the restoration of aero-optic effect large field of view space-variant degraded images.
  • the imaging environment of aerospace images has many interferences and is unavoidable.
  • the actual imaging blur kernel is generally space-varying.
  • the existing algorithm will always have deviations in the blur kernel it solves, which will sometimes reduce the quality of image restoration and take time. too long. Therefore, it is necessary to design a dedicated aero-optical effect degradation image restoration algorithm for these application requirements.
  • the technical problem to be solved by the present invention is to provide a method for point-by-point correction and restoration of an aero-optical effect large field of view degraded image for the defects in the prior art.
  • a method for point-by-point restoration of an aero-optical effect large field of view space-varying degraded image comprising the following steps:
  • step S1 is:
  • step S2 is:
  • step S4 the Bregman multivariate separation algorithm and the lag fixed-point iterative method are used to solve the fuzzy kernel and the gray value of each point.
  • the present invention also provides a point-by-point restoration system for large field of view space-varying degraded images with aero-optical effects, including:
  • the local area screening module is used to calculate the gradient of the input degraded image, select multiple large gradient areas, extract multiple local areas according to the distribution of large gradients on the degraded image, and calculate the blur kernel of each local area;
  • the initial value calculation module of the blur kernel is used to calculate the distance to the center points of the two nearest local areas point by point, and perform inverse distance weighted interpolation calculation on the blur kernel of each point in the whole image according to the two distances of each pixel point, and obtain the full
  • the initial value of the fuzzy kernel of each point in the graph constitutes the initial fuzzy kernel matrix
  • the spatial variation degradation model building block is used to establish the spatial variation degradation model according to the initial fuzzy kernel matrix, and add non-negativity constraint regularization items and sparsity constraint regularization items based on adaptive anisotropy variable coefficients to make the target image and each
  • the point blur kernel is non-negative and spatially adaptive;
  • the model solving module is used to solve the spatial variation degradation model, obtain the blur kernel of each point and the gray value of each point to realize point-by-point correction, and finally output the restoration image of spatial variation degradation.
  • the local area screening module specifically includes:
  • the gradient calculation sub-module is used to obtain the gradient of the degraded image by using a multi-scale morphological gradient operator
  • the gradient filtering sub-module is used to filter out the small structural gradient area by using the gradient usefulness index, and select a large gradient local area whose length and width are greater than a certain value on the filtered gradient image, and then according to the large gradient on the degraded image
  • the regional blur kernel estimation submodule is used for estimating the extracted blur kernel of each local region by using a non-negative least square criterion algorithm based on spatial correlation constraints.
  • the fuzzy kernel initial value calculation module specifically includes:
  • the sub-module for determining the fuzzy kernel of each point is used to regard the fuzzy kernel of each local area as the initial value of the fuzzy kernel of each point in the local area;
  • the distance calculation sub-module is used to calculate the Euclidean distance from each pixel point to the center points of all local areas;
  • the weighted blur kernel calculation sub-module is used to compare the Euclidean distance between each pixel point and the center points of the two nearest local areas, and regard the distance as the corresponding weight coefficient, and reverse the blur kernel of the corresponding pixel point according to the weight coefficient Calculate the distance weighted interpolation to obtain the initial value of the blur kernel of the corresponding pixel.
  • model solution module specifically uses the Bregman multivariate separation solution algorithm and the hysteresis fixed-point iteration method to solve the fuzzy kernel and gray value of each point.
  • the present invention also provides a computer storage medium, which can be executed by a processor, and has a computer program stored therein, and the computer program executes the point-by-point restoration method for an aero-optical effect large field of view space-varying degraded image described in the above technical solution.
  • the present invention provides a method for point-by-point correction and restoration of aero-optical effect large-field-of-view degraded images, which includes the following steps:
  • the beneficial effects produced by the present invention are: the point-by-point restoration method of the aero-optical effect large field of view degraded image of the present invention, under the condition of large field of view, the initial fuzzy kernel matrix is formed by interpolation to meet the law of continuous change of the fuzzy kernel at each point, and further to
  • the space-varying degradation model adds non-negative and sparse regularization items based on adaptive anisotropic variable coefficients, which have obvious effects in suppressing noise and retaining edge features. Iteratively solve the blur kernel and gray value of each point to obtain a clear image. Compared with the empty invariant restoration method, the restoration effect is more accurate.
  • Fig. 1 is a flowchart of a method for point-by-point correction and restoration of aero-optical effect large field of view degraded image according to an embodiment of the present invention
  • Fig. 2 is a schematic diagram of the relationship between image coordinates and blur kernel positions according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a regularization scheme according to an embodiment of the present invention.
  • Fig. 4 is the embodiment of the present invention F-curve image
  • Fig. 5 is the embodiment of the present invention F-curve image
  • Fig. 6 is an image of the original aero-optical effect degradation of the embodiment of the present invention.
  • Fig. 7 is the large gradient distribution image of the embodiment of the present invention.
  • Fig. 8 is a local area blur kernel image according to an embodiment of the present invention.
  • Fig. 9 is a representative point (1, 1) interpolation estimation space-variant blur kernel image of the embodiment of the present invention.
  • Fig. 10 is a comparison chart of the space-invariant restoration results and the space-variant restoration results of the aero-optical effect degraded image according to the embodiment of the present invention.
  • the point-by-point restoration method of the aero-optical effect, large field of view, and space-varying degraded image can be realized by using the C++ program of VC6.0 and the Matlab platform, the operating environment is Windows 10, and the processor is Intel Core i7.
  • the point-by-point restoration method of the aero-optical effect large field of view space-varying degraded image includes the following steps:
  • step S1 is:
  • step S2 The specific method of step S2 is:
  • step S1 the degraded image is recorded as g(x, y), as shown in FIG. 6, and the size of the image is 600 ⁇ 400.
  • the gradient of the degraded image is obtained by using the multi-scale morphological gradient operator:
  • the value of ⁇ (x,y) is less than ⁇ , indicating that the neighborhood of (x,y) is a small structural gradient area, which is filtered out.
  • the constant c takes a value of 0.1, and the threshold ⁇ is set to 0.5.
  • A is a blurred point corresponding to an area in the original image
  • b is a one-dimensional column vector composed of pixels from the degraded image
  • h is a one-dimensional column vector form the fuzzy kernel.
  • h i , h w represent the specific values of the i-th component and the adjacent w-th component in the blur kernel, and the solved blur kernels and 3D displays of three local areas are shown in Figure 8.
  • the Euclidean distances from the point (x, y) to the centers of the two nearest blur kernel estimation regions are recorded as D 1 and D 2 , as shown in Figure 2(a).
  • the present invention regards the distance as a weight coefficient, and performs an inverse distance weighted interpolation operation on the point fuzzy kernel. Calculated as follows:
  • h 1 (m,n) is the blur kernel of the center point (x 1 ,y 1 ) of the local area whose distance to the point (x,y) is D 1
  • h 2 (m,n) is the blur kernel to the point (x,y)
  • y) is the blur kernel of the central point (x 2 ,y 2 ) of the local area of D 2
  • h (x,y) (m,n) is the blur kernel formed by interpolation at the point (x,y), such as Figure 2(b) shows.
  • step S3 a space-varying degradation model is established, and a sparsity-constrained regularization term and a non-negativity-constrained regularization term based on adaptive anisotropy regularization variable coefficients are added to constrain the blur kernel of each point of the target image and the degraded image.
  • the process of constructing the model is as follows:
  • the degraded image formation process can be modeled as the following form:
  • g(x,y) is the degraded image
  • h(m,n) is the blur kernel
  • f(x,y) is the clear image
  • n(x,y) is the noise.
  • each point of the degraded image has different blurs, and each point of g(x,y) ⁇ g(0,0), g(0,1), g(0,2) ,...,g(M-1,N-1) ⁇ are piled up with column vector g, then the space-varying degradation process can be expressed in matrix-vector form as:
  • H is called the fuzzy kernel matrix
  • H is from left to right, from From top to bottom is the blur kernel of each pixel (x, y).
  • H corresponds to the same blur kernel from left to right and from top to bottom, that is, h(m,n) of each point is fixed.
  • the blur kernel corresponding to different pixel points from left to right and from top to bottom in H, that is, h(m,n) of each point is changed.
  • the present invention aims at correcting the degraded image of a large field of view, and proposes different The anisotropic regularization parameter of , respectively adjusts the four directions of each point differently, so as to achieve different smoothing in different directions of each point, as shown in Figure 3.
  • the present invention selects the regularization function of the following form As the sparsity of the target image, the coefficient of the regularization term is constrained to achieve the purpose of protecting edge features while suppressing noise.
  • C 1 is the regularization constant coefficient of the target image, generally set to 1, when When the value is too large, properly increase the value of C 1 to increase the smoothness, and vice versa.
  • C 1 1
  • the range is between [0, 1]
  • its function curve is shown in Figure 4.
  • the index n takes a value between 0 and 5, and the value of n is determined by the attenuation. The faster the attenuation, the larger the value of n, and vice versa. Small.
  • the fuzzy kernel image has a Gaussian-like shape, not steep, the rise and fall of the gradient of each point is continuous, and the gradient change is mainly reflected in the overall attenuation, and the transition between adjacent points is slow.
  • the present invention integrates this prior knowledge into the model.
  • the regularization parameter should take a smaller value, and in the small gradient area, in order to suppress noise, it should be larger.
  • the initial value is the blur kernel gradient Gradient value of each point in
  • C 2 is the regularization constant coefficient of the fuzzy kernel, generally set to 1, when When the value is too large, appropriately increase the value of C 2 to increase the smoothness, and vice versa.
  • C 2 1
  • Its symmetrical monotone descending function curve is shown in Fig. 5 .
  • the parameter ⁇ is the smoothing control coefficient, and ⁇ takes 1 under normal circumstances. When ⁇ is not 1, it is determined by the attenuation. When the attenuation is faster, the value of ⁇ is between 0 and 1, which protects a large gradient. Otherwise, it can be determined by the gradient value to adjust to make the blur kernel spatially adaptive.
  • the present invention selects the cost function J(f, h) of the following form as the non-negativity constraint regularization item of the target and blur kernel.
  • the diagonal elements a i and b j take values of 1 and 0.
  • the diagonal elements a i , b j are respectively determined by the values f i , h j corresponding to the i, jth elements in f, h, that is,
  • the first item is the basic data item
  • the three items are the sparsity-constrained regularization items based on the adaptive anisotropy variable coefficient of the target and the fuzzy kernel respectively.
  • J(f,h) is the target, fuzzy kernel non-negativity constraint regularization term.
  • step S3 the solution process of the present invention to the minimized model constructed is as follows:
  • formula (16) contains the l 1 norm
  • the update of the Bregman auxiliary variable is:
  • is to set any small value, or stop iteration when the maximum number of iterations maxIter times is reached.
  • is set to 10 -6 , and the value of maxIter is 200.
  • F( ) means Fourier transform
  • F -1 ( ) means inverse Fourier transform
  • the point-by-point restoration system of the aero-optical effect large-field-of-view space-varying degraded image in the embodiment of the present invention is mainly used to realize the above-mentioned method embodiment, and the system includes:
  • the local area screening module is used to calculate the gradient of the input degraded image, select multiple large gradient areas, extract multiple local areas according to the distribution of large gradients on the degraded image, and calculate the blur kernel of each local area;
  • the initial value calculation module of the blur kernel is used to calculate the distance to the center points of the two nearest local areas point by point, and perform inverse distance weighted interpolation calculation on the blur kernel of each point in the whole image according to the two distances of each pixel point, and obtain the full
  • the initial value of the fuzzy kernel of each point in the graph constitutes the initial fuzzy kernel matrix
  • the spatial variation degradation model building block is used to establish the spatial variation degradation model according to the initial fuzzy kernel matrix, and add non-negativity constraint regularization items and sparsity constraint regularization items based on adaptive anisotropy variable coefficients to make the target image and each
  • the point blur kernel is non-negative and spatially adaptive;
  • the model solving module is used to solve the spatial variation degradation model, obtain the blur kernel of each point and the gray value of each point to realize point-by-point correction, and finally output the restoration image of spatial variation degradation.
  • the local area screening module specifically includes:
  • the gradient calculation sub-module is used to obtain the gradient of the degraded image by using a multi-scale morphological gradient operator
  • the gradient filtering sub-module is used to filter out the small structural gradient area by using the gradient usefulness index, and select a large gradient local area whose length and width are greater than a certain value on the filtered gradient image, and then according to the large gradient on the degraded image
  • the regional blur kernel estimation submodule is used for estimating the extracted blur kernel of each local region by using a non-negative least square criterion algorithm based on spatial correlation constraints.
  • fuzzy kernel initial value calculation module specifically includes:
  • the sub-module for determining the fuzzy kernel of each point is used to regard the fuzzy kernel of each local area as the initial value of the fuzzy kernel of each point in the local area;
  • the distance calculation sub-module is used to calculate the Euclidean distance from each pixel point to the center points of all local areas;
  • the weighted blur kernel calculation sub-module is used to compare the Euclidean distance between each pixel point and the center points of the two nearest local areas, and regard the distance as the corresponding weight coefficient, and reverse the blur kernel of the corresponding pixel point according to the weight coefficient Calculate the distance weighted interpolation to obtain the initial value of the blur kernel of the corresponding pixel.
  • model solving module specifically uses the Bregman multivariate separation and solving algorithm to solve the fuzzy kernel of each point and the gray value of each point.
  • the present application also provides a computer-readable storage medium, such as flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only Memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Programmable Read-Only Memory (PROM), Magnetic Storage, Magnetic Disk, Optical Disk, Server, App Store, etc., on which computer programs, program When executed by the processor, corresponding functions are realized.
  • the computer-readable storage medium in this embodiment is used to implement the method for point-by-point correction and restoration of an image degraded by aero-optical effect and large field of view in the method embodiment when executed by a processor.
  • the point-by-point restoration method of the aero-optical effect large field of view degraded image can provide a processing method for blur kernel estimation, blur kernel optimization, and restoration requirements of each point of the aero-optical effect space-varying degraded image;
  • the restoration of space-varying degraded images with large field of view due to optical effects can meet the requirements of the aerospace field for restoring space-varying and degraded images with aero-optical effects in a large field of view.

Landscapes

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

Abstract

Disclosed in the present invention is a point-by-point correction and restoration method for a large field-of-view degraded image having an aero-optical effect. The method comprises: calculating the gradient of an input degraded image, selecting a plurality of large gradient areas, and calculating a blur kernel of each local area; calculating the distances to center points of two nearest local areas point by point, and performing inverse distance weighted interpolation calculation on a blur kernel of each point in the whole image according to the two distances of each pixel point to obtain initial values of the blur kernels of the points in the whole image to form an initial blur kernel matrix; establishing a space-variant degradation model according to the initial blur kernel matrix, and adding a non-negativity constraint regularization item and an adaptive anisotropy variable coefficient-based sparsity constraint regularization item, so that a target image and the blur kernel of each point have non-negativity and spatial adaptability; and solving the space-variant degradation model to obtain the blur kernel of each point and the grayscale value of each point to realize point-by-point correction, and finally outputting a space-variant degradation restored image. According to the present invention, a large field-of-view space-variant degraded image having an aero-optical effect can be corrected and restored.

Description

气动光学效应大视场退化图像逐点校正复原方法及系统Method and system for point-by-point correction and restoration of aero-optical effect large field of view degraded image 【技术领域】【Technical field】
本发明涉及航天图像处理、气动光学效应校正领域,尤其涉及一种气动光学效应大视场退化图像逐点校正复原方及系统。The invention relates to the fields of aerospace image processing and aero-optical effect correction, in particular to a method and system for point-by-point correction and restoration of aero-optical effect large-field-of-view degraded images.
【背景技术】【Background technique】
近年来,我国高速飞行器航天探测技术迅猛发展,搭载光学成像系统的高速飞行器已被广泛应用于监视、侦查和探测等任务。但由于高速飞行器在高速飞行过程中成像环境严酷,光学头罩与来流之间形成复杂的高速流场,产生了气动光学效应,目标成像质量劣化,信噪比、信杂比大幅降低。现代的气动光学效应退化图像复原技术已不仅仅着眼于能够实现复原,对复原质量亦有着严苛的要求。在星体表面检测、飞行器轨道勘测等领域往往需要获得高质量的清晰图像,图像越清晰,越利于信息分析。因此,如何抵消或减轻高速飞行条件下气动光学效应的不利影响成为亟待解决的问题。In recent years, my country's high-speed aircraft space detection technology has developed rapidly, and high-speed aircraft equipped with optical imaging systems have been widely used in surveillance, investigation and detection tasks. However, due to the harsh imaging environment of high-speed aircraft during high-speed flight, a complex high-speed flow field is formed between the optical hood and the incoming flow, which produces aero-optical effects, degrades the image quality of the target, and greatly reduces the signal-to-noise ratio and signal-to-clutter ratio. Modern aero-optical effect degradation image restoration technology has not only focused on the restoration, but also has strict requirements on the restoration quality. In the fields of star surface detection and aircraft orbit survey, it is often necessary to obtain high-quality clear images. The clearer the image, the better the information analysis. Therefore, how to counteract or alleviate the adverse effects of aero-optical effects under high-speed flight conditions has become an urgent problem to be solved.
现有的气动光学效应退化图像复原方法主要有:1、流场控制方法可以减小气动光学效应的影响,但远不能消除这种影响;2、自适应光学方法可以完成波前相差的部分复原、数字图像复原方法可以解决空不变气动光学效应退化图像的复原,但都难以实现气动光学效应大视场空变退化图像的复原。且实际上航天图像的成像环境干扰众多且不可避免,实际成像模糊核一般都是空变的,现有的算法对其求解出的模糊核始终会有偏差,有时会降低图像复原质量且耗时过长。因此有必要针对这些应用需求设计专用的气动光学效应退化图像复原算法。The existing aero-optical effect degraded image restoration methods mainly include: 1. The flow field control method can reduce the influence of the aero-optic effect, but it is far from eliminating this effect; 2. The adaptive optics method can complete the partial restoration of the wavefront difference , Digital image restoration methods can solve the restoration of space-invariant aero-optical effect degraded images, but it is difficult to realize the restoration of aero-optic effect large field of view space-variant degraded images. In fact, the imaging environment of aerospace images has many interferences and is unavoidable. The actual imaging blur kernel is generally space-varying. The existing algorithm will always have deviations in the blur kernel it solves, which will sometimes reduce the quality of image restoration and take time. too long. Therefore, it is necessary to design a dedicated aero-optical effect degradation image restoration algorithm for these application requirements.
【发明内容】【Content of invention】
本发明要解决的技术问题在于针对现有技术中的缺陷,提供一种气动光学效应大视场退化图像逐点校正复原方法。The technical problem to be solved by the present invention is to provide a method for point-by-point correction and restoration of an aero-optical effect large field of view degraded image for the defects in the prior art.
本发明解决其技术问题所采用的技术方案是:The technical solution adopted by the present invention to solve its technical problems is:
提供一种气动光学效应大视场空变退化图像逐点复原方法,包括以下步骤:A method for point-by-point restoration of an aero-optical effect large field of view space-varying degraded image is provided, comprising the following steps:
S1、计算输入的退化图像的梯度,选取多个大梯度区域,根据大梯度在退化图像上的分布提取多个局部区域,并计算每个局部区域的模糊核;S1. Calculate the gradient of the input degraded image, select multiple large gradient regions, extract multiple local regions according to the distribution of large gradients on the degraded image, and calculate the blur kernel of each local region;
S2、逐点计算到最近两个局部区域中心点的距离,并根据每个像素点的两个距离对全图各点的模糊核进行反距离加权插值计算,得到全图各点模糊核初值,构成初始模糊核矩阵;S2. Calculate the distance to the center points of the two nearest local areas point by point, and perform inverse distance weighted interpolation calculation on the blur kernel of each point in the whole image according to the two distances of each pixel point, and obtain the initial value of the blur kernel of each point in the whole image , forming the initial fuzzy kernel matrix;
S3、根据初始模糊核矩阵建立空变退化模型,并添加由目标图像和各点初始模糊核二者灰度值决定的非负性约束正则化项和基于由目标图像和各点初始模糊核二者梯度值决定的自适应各向异性变系数的稀疏性约束正则化项使目标图像和各点模糊核具有非负性和空间自适应性;S3. Establish a space-varying degradation model based on the initial blur kernel matrix, and add a non-negativity constraint regularization item determined by the gray value of the target image and the initial blur kernel of each point and based on the two initial blur kernels of the target image and each point The sparsity-constrained regularization term of the adaptive anisotropic variable coefficient determined by the gradient value makes the target image and each point blur kernel non-negative and spatially adaptive;
S4、求解空变退化模型,得到各点的模糊核与各点的灰度值来实现逐点校正,最终输出空变退化复原图像。S4. Solve the spatial variation degradation model, obtain the blur kernel of each point and the gray value of each point to realize point-by-point correction, and finally output the restoration image of spatial variation degradation.
接上述技术方案,步骤S1的具体方法为:Following the above technical solution, the specific method of step S1 is:
S11、利用多尺度形态学梯度算子求得退化图像的梯度;S11. Using a multi-scale morphological gradient operator to obtain the gradient of the degraded image;
S12、利用梯度有用性指标滤除小结构梯度区域,在滤除后的梯度图像上选取长宽方向都大于一定值的大梯度局部区域,然后根据大梯度在退化图像上的分布提取多个局部区域;S12. Use the gradient usefulness index to filter out small structural gradient regions, select large gradient local regions whose length and width directions are greater than a certain value on the filtered gradient image, and then extract multiple local regions according to the distribution of large gradients on the degraded image area;
S13、利用基于空间相关约束的非负性最小二乘准则算法估计所提取出的 每个局部区域的模糊核。S13. Estimate the extracted blur kernel of each local region by using a non-negative least squares criterion algorithm based on spatial correlation constraints.
接上述技术方案,步骤S2的具体方法为:Following the above technical solution, the specific method of step S2 is:
S21、将每个局部区域的模糊核视为该局部区域各点的模糊核初值;S21. Taking the blur kernel of each local area as the initial value of the blur kernel of each point in the local area;
S22、计算每个像素点到所有局部区域中心点的欧氏距离;S22. Calculate the Euclidean distance from each pixel point to the center points of all local regions;
S23、比较得到每个像素点到最近两个局部区域中心点的欧式距离,并将距离视为相应的权重系数,根据该权重系数对相应像素点的模糊核进行反距离加权插值计算,得到相应像素点的模糊核初值。S23. Comparing and obtaining the Euclidean distance from each pixel point to the center points of the two nearest local areas, and regarding the distance as the corresponding weight coefficient, performing inverse distance weighted interpolation calculation on the blur kernel of the corresponding pixel point according to the weight coefficient, and obtaining the corresponding The initial value of the blur kernel for pixels.
接上述技术方案,步骤S4中具体利用Bregman多变量分离求解算法和滞后定点迭代方法,求解各点的模糊核和各点灰度值。Following the above technical solution, in step S4, the Bregman multivariate separation algorithm and the lag fixed-point iterative method are used to solve the fuzzy kernel and the gray value of each point.
本发明还提供一种气动光学效应大视场空变退化图像逐点复原系统,包括:The present invention also provides a point-by-point restoration system for large field of view space-varying degraded images with aero-optical effects, including:
局部区域筛选模块,用于计算输入退化图像的梯度,选取多个大梯度区域,根据大梯度在退化图像上的分布提取多个局部区域,并计算每个局部区域的模糊核;The local area screening module is used to calculate the gradient of the input degraded image, select multiple large gradient areas, extract multiple local areas according to the distribution of large gradients on the degraded image, and calculate the blur kernel of each local area;
模糊核初值计算模块,用于逐点计算到最近两个局部区域中心点的距离,并根据每个像素点的两个距离对全图各点的模糊核进行反距离加权插值计算,得到全图各点模糊核初值,构成初始模糊核矩阵;The initial value calculation module of the blur kernel is used to calculate the distance to the center points of the two nearest local areas point by point, and perform inverse distance weighted interpolation calculation on the blur kernel of each point in the whole image according to the two distances of each pixel point, and obtain the full The initial value of the fuzzy kernel of each point in the graph constitutes the initial fuzzy kernel matrix;
空变退化模型构建模块,用于根据初始模糊核矩阵建立空变退化模型,并添加非负性约束正则化项和基于自适应各向异性变系数的稀疏性约束正则化项使目标图像和各点模糊核具有非负性和空间自适应性;The spatial variation degradation model building block is used to establish the spatial variation degradation model according to the initial fuzzy kernel matrix, and add non-negativity constraint regularization items and sparsity constraint regularization items based on adaptive anisotropy variable coefficients to make the target image and each The point blur kernel is non-negative and spatially adaptive;
模型求解模块,用于求解空变退化模型,得到各点的模糊核与各点的灰度值来实现逐点校正,最终输出空变退化复原图像。The model solving module is used to solve the spatial variation degradation model, obtain the blur kernel of each point and the gray value of each point to realize point-by-point correction, and finally output the restoration image of spatial variation degradation.
接上述技术方案,局部区域筛选模块具体包括:Following the above technical solution, the local area screening module specifically includes:
梯度计算子模块,用于利用多尺度形态学梯度算子求得退化图像的梯度;The gradient calculation sub-module is used to obtain the gradient of the degraded image by using a multi-scale morphological gradient operator;
梯度滤除子模块,用于利用梯度有用性指标滤除小结构梯度区域,在滤除后的梯度图像上选取长宽方向都大于一定值的大梯度局部区域,然后根据大梯度在退化图像上的分布提取多个局部区域;The gradient filtering sub-module is used to filter out the small structural gradient area by using the gradient usefulness index, and select a large gradient local area whose length and width are greater than a certain value on the filtered gradient image, and then according to the large gradient on the degraded image The distribution of extracts multiple local regions;
区域模糊核估算子模块,用于利用基于空间相关约束的非负性最小二乘准则算法估计所提取出的每个局部区域的模糊核。The regional blur kernel estimation submodule is used for estimating the extracted blur kernel of each local region by using a non-negative least square criterion algorithm based on spatial correlation constraints.
接上述技术方案,模糊核初值计算模块具体包括:Following the above technical solution, the fuzzy kernel initial value calculation module specifically includes:
各点模糊核确定子模块,用于将每个局部区域的模糊核视为该局部区域各点的模糊核初值;The sub-module for determining the fuzzy kernel of each point is used to regard the fuzzy kernel of each local area as the initial value of the fuzzy kernel of each point in the local area;
距离计算子模块,用于计算每个像素点到所有局部区域中心点的欧氏距离;The distance calculation sub-module is used to calculate the Euclidean distance from each pixel point to the center points of all local areas;
加权模糊核计算子模块,用于比较得到每个像素点到最近两个局部区域中心点的欧式距离,并将距离视为相应的权重系数,根据该权重系数对相应像素点的模糊核进行反距离加权插值计算,得到相应像素点的模糊核初值。The weighted blur kernel calculation sub-module is used to compare the Euclidean distance between each pixel point and the center points of the two nearest local areas, and regard the distance as the corresponding weight coefficient, and reverse the blur kernel of the corresponding pixel point according to the weight coefficient Calculate the distance weighted interpolation to obtain the initial value of the blur kernel of the corresponding pixel.
接上述技术方案,模型求解模块具体利用Bregman多变量分离求解算法和滞后定点迭代方法,求解各点的模糊核和各点灰度值。Following the above technical solution, the model solution module specifically uses the Bregman multivariate separation solution algorithm and the hysteresis fixed-point iteration method to solve the fuzzy kernel and gray value of each point.
本发明还提供一种计算机存储介质,其可被处理器执行,且其内存储有计算机程序,该计算机程序执行上述技术方案所述的气动光学效应大视场空变退化图像逐点复原方法。The present invention also provides a computer storage medium, which can be executed by a processor, and has a computer program stored therein, and the computer program executes the point-by-point restoration method for an aero-optical effect large field of view space-varying degraded image described in the above technical solution.
本发明提供一种气动光学效应大视场退化图像逐点校正复原方法,包括以下步骤:The present invention provides a method for point-by-point correction and restoration of aero-optical effect large-field-of-view degraded images, which includes the following steps:
本发明产生的有益效果是:本发明的气动光学效应大视场退化图像逐点复原方法,在大视场条件下,通过插值构成初始模糊核矩阵满足各点模糊核连 续变化的规律,进一步向空变退化模型添加非负和基于自适应各向异性变系数的稀疏正则化项,在抑制噪声和保留边缘特征方面具有明显的效果,迭代求解各点模糊核和灰度值以获得清晰图像,相较于空不变复原方法复原效果更准确。The beneficial effects produced by the present invention are: the point-by-point restoration method of the aero-optical effect large field of view degraded image of the present invention, under the condition of large field of view, the initial fuzzy kernel matrix is formed by interpolation to meet the law of continuous change of the fuzzy kernel at each point, and further to The space-varying degradation model adds non-negative and sparse regularization items based on adaptive anisotropic variable coefficients, which have obvious effects in suppressing noise and retaining edge features. Iteratively solve the blur kernel and gray value of each point to obtain a clear image. Compared with the empty invariant restoration method, the restoration effect is more accurate.
【附图说明】【Description of drawings】
下面将结合附图及实施例对本发明作进一步说明,附图中:The present invention will be further described below in conjunction with accompanying drawing and embodiment, in the accompanying drawing:
图1为本发明实施例气动光学效应大视场退化图像逐点校正复原方法的流程图;Fig. 1 is a flowchart of a method for point-by-point correction and restoration of aero-optical effect large field of view degraded image according to an embodiment of the present invention;
图2为本发明实施例图像坐标与模糊核位置关系示意图;Fig. 2 is a schematic diagram of the relationship between image coordinates and blur kernel positions according to an embodiment of the present invention;
图3为本发明实施例正则化方案示意图;FIG. 3 is a schematic diagram of a regularization scheme according to an embodiment of the present invention;
图4为本发明实施例
Figure PCTCN2022093807-appb-000001
函数曲线图像;
Fig. 4 is the embodiment of the present invention
Figure PCTCN2022093807-appb-000001
F-curve image;
图5为本发明实施例
Figure PCTCN2022093807-appb-000002
函数曲线图像;
Fig. 5 is the embodiment of the present invention
Figure PCTCN2022093807-appb-000002
F-curve image;
图6为本发明实施例原始气动光学效应退化图像;Fig. 6 is an image of the original aero-optical effect degradation of the embodiment of the present invention;
图7为本发明实施例大梯度分布图像;Fig. 7 is the large gradient distribution image of the embodiment of the present invention;
图8为本发明实施例局部区域模糊核图像;Fig. 8 is a local area blur kernel image according to an embodiment of the present invention;
图9为本发明实施例代表点(1,1)插值估计空变模糊核图像;Fig. 9 is a representative point (1, 1) interpolation estimation space-variant blur kernel image of the embodiment of the present invention;
图10为本发明实施例气动光学效应退化图像空不变复原结果及空变复原结果对比图。Fig. 10 is a comparison chart of the space-invariant restoration results and the space-variant restoration results of the aero-optical effect degraded image according to the embodiment of the present invention.
【具体实施方式】【Detailed ways】
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
本发明实施例气动光学效应大视场空变退化图像逐点复原方法可采用 VC6.0的C++程序以及Matlab平台实现,运行环境为Windows10,处理器为Intel Core i7。According to the embodiment of the present invention, the point-by-point restoration method of the aero-optical effect, large field of view, and space-varying degraded image can be realized by using the C++ program of VC6.0 and the Matlab platform, the operating environment is Windows 10, and the processor is Intel Core i7.
如图1所示,本发明实施例的气动光学效应大视场空变退化图像逐点复原方法包括以下步骤:As shown in Figure 1, the point-by-point restoration method of the aero-optical effect large field of view space-varying degraded image according to the embodiment of the present invention includes the following steps:
包括以下步骤:Include the following steps:
S1、输入退化图像,计算退化图像的梯度,选取多个大梯度区域,根据大梯度在退化图像上的分布提取多个局部区域,并计算每个局部区域的模糊核;S1. Input a degraded image, calculate the gradient of the degraded image, select multiple regions with large gradients, extract multiple local regions according to the distribution of large gradients on the degraded image, and calculate the blur kernel of each local region;
S2、逐点计算到最近两个局部区域中心点的距离,并根据每个像素点的两个距离对全图各点的模糊核进行反距离加权插值计算,得到全图各点模糊核初值,构成初始模糊核矩阵;S2. Calculate the distance to the center points of the two nearest local areas point by point, and perform inverse distance weighted interpolation calculation on the blur kernel of each point in the whole image according to the two distances of each pixel point, and obtain the initial value of the blur kernel of each point in the whole image , forming the initial fuzzy kernel matrix;
S3、根据初始模糊核矩阵建立空变退化模型,并添加由目标图像和各点初始模糊核二者灰度值决定的非负性约束正则化项和基于由目标图像和各点初始模糊核二者梯度值决定的自适应各向异性变系数的稀疏性约束正则化项使目标图像和各点模糊核具有非负性和空间自适应性;S3. Establish a space-varying degradation model based on the initial blur kernel matrix, and add a non-negativity constraint regularization item determined by the gray value of the target image and the initial blur kernel of each point and based on the two initial blur kernels of the target image and each point The sparsity-constrained regularization term of the adaptive anisotropic variable coefficient determined by the gradient value makes the target image and each point blur kernel non-negative and spatially adaptive;
S4、求解空变退化模型,得到各点的模糊核与各点的灰度值来实现逐点校正,最终输出空变退化复原图像。S4. Solve the spatial variation degradation model, obtain the blur kernel of each point and the gray value of each point to realize point-by-point correction, and finally output the restoration image of spatial variation degradation.
进一步地,步骤S1的具体方法为:Further, the specific method of step S1 is:
S11、利用多尺度形态学梯度算子求得退化图像的梯度;S11. Using a multi-scale morphological gradient operator to obtain the gradient of the degraded image;
S12、利用梯度有用性指标滤除小结构梯度区域,在滤除后的梯度图像上选取长宽方向都大于一定值的大梯度局部区域,然后根据大梯度在退化图像上的分布提取多个局部区域;S12. Use the gradient usefulness index to filter out small structural gradient regions, select large gradient local regions whose length and width directions are greater than a certain value on the filtered gradient image, and then extract multiple local regions according to the distribution of large gradients on the degraded image area;
S13、利用基于空间相关约束的非负性最小二乘准则算法估计所提取出的每个局部区域的模糊核。S13. Estimate the blur kernel of each extracted local region by using a non-negative least squares criterion algorithm based on spatial correlation constraints.
步骤S2的具体方法为:The specific method of step S2 is:
S21、将每个局部区域的模糊核视为该局部区域各点的模糊核初值;S21. Taking the blur kernel of each local area as the initial value of the blur kernel of each point in the local area;
S22、计算每个像素点到所有局部区域中心点的欧氏距离;S22. Calculate the Euclidean distance from each pixel point to the center points of all local regions;
S23、比较得到每个像素点到最近两个局部区域中心点的欧式距离,并将距离视为相应的权重系数,根据该权重系数对相应像素点的模糊核进行反距离加权插值计算,得到相应像素点的模糊核初值。S23. Comparing and obtaining the Euclidean distance from each pixel point to the center points of the two nearest local areas, and regarding the distance as the corresponding weight coefficient, performing inverse distance weighted interpolation calculation on the blur kernel of the corresponding pixel point according to the weight coefficient, and obtaining the corresponding The initial value of the blur kernel for pixels.
本发明的一个较佳实施例中,步骤S1中,退化图像记为g(x,y),如图6所示,图像的大小为600×400。首先利用多尺度形态学梯度算子求得退化图像的梯度:In a preferred embodiment of the present invention, in step S1, the degraded image is recorded as g(x, y), as shown in FIG. 6, and the size of the image is 600×400. First, the gradient of the degraded image is obtained by using the multi-scale morphological gradient operator:
Figure PCTCN2022093807-appb-000003
Figure PCTCN2022093807-appb-000003
式中
Figure PCTCN2022093807-appb-000004
为梯度,
Figure PCTCN2022093807-appb-000005
Figure PCTCN2022093807-appb-000006
分别表示膨胀和腐蚀运算,(x,y)为图像各点坐标,x∈(0,600),y∈(0,400),d为尺度,取值为3,R为形态学结构元素半径,S R为形态学结构元素边长。
In the formula
Figure PCTCN2022093807-appb-000004
is the gradient,
Figure PCTCN2022093807-appb-000005
and
Figure PCTCN2022093807-appb-000006
represent expansion and erosion operations respectively, (x, y) are the coordinates of each point in the image, x∈(0,600), y∈(0,400), d is the scale, the value is 3, R is the radius of the morphological structure element, S R is Morphological structuring element side length.
利用梯度有用性指标γ来滤除小结构梯度区域:Use the gradient usefulness metric γ to filter out small structured gradient regions:
Figure PCTCN2022093807-appb-000007
Figure PCTCN2022093807-appb-000007
Figure PCTCN2022093807-appb-000008
Figure PCTCN2022093807-appb-000008
式中||·|| 2为l 2范数,N r(x,y)为以像素点(x,y)为中心的长宽均为r矩形邻域,r=1,2,3。(x′,y′)为邻域内的像素索引,x′=x±a,y′=y±b,a,b=0,1,2,3;
Figure PCTCN2022093807-appb-000009
可以消除
Figure PCTCN2022093807-appb-000010
中的梯度锯齿形小峰值,即图像梯度中的小结构梯度。
Figure PCTCN2022093807-appb-000011
是N r(x,y)中梯度绝对值之和。计算γ(x,y),设定一个阈值τ,γ(x,y)值小于τ表明(x,y)的邻域为小结构梯度区域,进行滤除。 本发明实例中常数c取值为0.1,阈值τ设为0.5。
In the formula, ||·|| 2 is the l 2 norm, N r (x, y) is the rectangular neighborhood with the length and width r=1, 2, 3 centered on the pixel point (x, y). (x', y') is the pixel index in the neighborhood, x'=x±a, y'=y±b, a, b=0,1,2,3;
Figure PCTCN2022093807-appb-000009
can be eliminated
Figure PCTCN2022093807-appb-000010
The gradient zigzag small peaks in , that is, the small structural gradients in the image gradient.
Figure PCTCN2022093807-appb-000011
is the sum of the absolute values of the gradients in N r (x,y). Calculate γ(x,y) and set a threshold τ. The value of γ(x,y) is less than τ, indicating that the neighborhood of (x,y) is a small structural gradient area, which is filtered out. In the example of the present invention, the constant c takes a value of 0.1, and the threshold τ is set to 0.5.
滤除小结构梯度区域后,在梯度图像上选取长宽方向都大于10的大梯度区域,如图7所示。如果未能选出区域,可适当改变区域选取的大小,或者此图已经是清晰图像,则无需恢复。最后根据大梯度在退化图像上的分布提取三个局部区域,将模糊核h(m,n)大小设定为21×21(通常设定范围为3~27且为奇数),其中m≤21,n≤21,利用现有基础使用基于空间相关约束的非负性最小二乘准则算法对所提取出的三个局部区域的模糊核h kAfter filtering out the small structural gradient area, select a large gradient area whose length and width are both greater than 10 on the gradient image, as shown in Figure 7. If the area cannot be selected, the size of the selected area can be appropriately changed, or the image is already a clear image, and there is no need to restore it. Finally, three local areas are extracted according to the distribution of large gradients on the degraded image, and the size of the blur kernel h(m,n) is set to 21×21 (usually the range is 3 to 27 and is an odd number), where m≤21 , n≤21, using the existing basis to use the non-negative least squares criterion algorithm based on spatial correlation constraints to extract the fuzzy kernels h k of the three local regions:
Figure PCTCN2022093807-appb-000012
Figure PCTCN2022093807-appb-000012
采用迭代极小化算法求解h k,令目标函数导数为零解得: Using iterative minimization algorithm to solve h k , let the objective function derivative be zero solution:
Figure PCTCN2022093807-appb-000013
Figure PCTCN2022093807-appb-000013
其中||·|| 1为l 1范数,A是模糊点对应原图中的一块区域,b为取自于退化图像的像素点所构成的一维列向量,h是一维列向量形式的模糊核。h i,h w表示模糊核中第i个分量及相邻的第w个分量的具体值,解得的三个局部区域模糊核及3D显示如图8所示。 Where ||·|| 1 is the l 1 norm, A is a blurred point corresponding to an area in the original image, b is a one-dimensional column vector composed of pixels from the degraded image, h is a one-dimensional column vector form the fuzzy kernel. h i , h w represent the specific values of the i-th component and the adjacent w-th component in the blur kernel, and the solved blur kernels and 3D displays of three local areas are shown in Figure 8.
步骤S2中,每个局部区域的模糊核可视为该局部区域各点的模糊核初值。由于只有小视场图像才可视为空不变的,关于大视场空变去模糊的问题,本发明依据气动光学效应空变模糊核在大视场内的变化具有连续性的规律,插值估计各点模糊核初值。以点(x,y)为例,比较点(x,y)到第k块模糊核估计区域中心点(x k,y k)的欧式距离存入集合D中,k=1,2,3。 In step S2, the blur kernel of each local area can be regarded as the initial value of the blur kernel of each point in the local area. Since only small field of view images can be regarded as space-invariant, regarding the problem of space-variant deblurring of large field of view, the present invention is based on the law that the change of the space-variant blur kernel of the aero-optical effect has continuity in the large field of view, and the interpolation estimation The initial value of each point fuzzy kernel. Take the point (x, y) as an example, compare the Euclidean distance between the point (x, y) and the center point (x k , y k ) of the k-th blur kernel estimation area and store it in the set D, k=1, 2, 3 .
比较D中各元素的大小,得到点(x,y)到最近两个模糊核估计区域中心点 的欧式距离分别记为D 1,D 2,如图2(a)所示。本发明将距离视为权重系数,对该点模糊核进行反距离加权插值操作。计算公式如下: Comparing the size of each element in D, the Euclidean distances from the point (x, y) to the centers of the two nearest blur kernel estimation regions are recorded as D 1 and D 2 , as shown in Figure 2(a). The present invention regards the distance as a weight coefficient, and performs an inverse distance weighted interpolation operation on the point fuzzy kernel. Calculated as follows:
Figure PCTCN2022093807-appb-000014
Figure PCTCN2022093807-appb-000014
式中h 1(m,n)为到点(x,y)的距离为D 1的局部区域中心点(x 1,y 1)的模糊核,h 2(m,n)为到点(x,y)的距离为D 2的局部区域中心点(x 2,y 2)的模糊核,h (x,y)(m,n)为点(x,y)处插值形成的模糊核,如图2(b)所示。依次类推,进而得到全图各点模糊核初值。代表点(1,1)插值模糊核及3D显示如图9所示。 In the formula, h 1 (m,n) is the blur kernel of the center point (x 1 ,y 1 ) of the local area whose distance to the point (x,y) is D 1 , and h 2 (m,n) is the blur kernel to the point (x,y) ,y) is the blur kernel of the central point (x 2 ,y 2 ) of the local area of D 2 , h (x,y) (m,n) is the blur kernel formed by interpolation at the point (x,y), such as Figure 2(b) shows. By analogy, the initial value of the blur kernel of each point in the whole image is obtained. The representative point (1,1) interpolation blur kernel and 3D display are shown in Figure 9.
步骤S3中,建立空变退化模型,添加基于自适应各向异性正则化变系数的稀疏性约束正则化项和非负性约束正则化项对目标图像和退化图像各点模糊核进行约束。构造模型过程如下:In step S3, a space-varying degradation model is established, and a sparsity-constrained regularization term and a non-negativity-constrained regularization term based on adaptive anisotropy regularization variable coefficients are added to constrain the blur kernel of each point of the target image and the degraded image. The process of constructing the model is as follows:
退化图像形成过程可建模成以下形式:The degraded image formation process can be modeled as the following form:
Figure PCTCN2022093807-appb-000015
Figure PCTCN2022093807-appb-000015
其中g(x,y)是退化图像,h(m,n)是模糊核,f(x,y)是清晰图像,n(x,y)是噪声。where g(x,y) is the degraded image, h(m,n) is the blur kernel, f(x,y) is the clear image, and n(x,y) is the noise.
在大视场条件下,本发明重视退化图像各点模糊不同这一事实,将g(x,y)各点{g(0,0),g(0,1),g(0,2),...,g(M-1,N-1)}用列向量g堆积起来,则空变退化过程用矩阵-向量的形式可表示为:Under the condition of large field of view, the present invention pays attention to the fact that each point of the degraded image has different blurs, and each point of g(x,y) {g(0,0), g(0,1), g(0,2) ,...,g(M-1,N-1)} are piled up with column vector g, then the space-varying degradation process can be expressed in matrix-vector form as:
g=Hf+n          (7)g=Hf+n (7)
其中g,f,n分别为g(x,y),f(x,y),n(x,y)的一维堆积列向量,H为称为模糊核矩阵,H从左至右,从上至下依次为每个像素点(x,y)的模糊核。当图像为空不变模糊时,H中从左至右,从上至下对应相同的模糊核,即每一点的h(m,n)是固定的。当图像为空变模糊时,H中从左至右,从上至下对应不同像素点的模糊核,即每一点的h(m,n)是变化的。Among them, g, f, and n are the one-dimensional stacked column vectors of g(x,y), f(x,y), and n(x,y) respectively, H is called the fuzzy kernel matrix, and H is from left to right, from From top to bottom is the blur kernel of each pixel (x, y). When the image is empty and unblurred, H corresponds to the same blur kernel from left to right and from top to bottom, that is, h(m,n) of each point is fixed. When the image is space-variable and blurred, the blur kernel corresponding to different pixel points from left to right and from top to bottom in H, that is, h(m,n) of each point is changed.
由于各像素点的模糊核矩阵H在插值形成过程中产生了一定的计算误差,精确度需要进一步提高。为了解决误差问题,令
Figure PCTCN2022093807-appb-000016
为已知的包含有误差的模糊核矩阵,即有:
Since the fuzzy kernel matrix H of each pixel point has a certain calculation error in the interpolation formation process, the accuracy needs to be further improved. In order to solve the error problem, let
Figure PCTCN2022093807-appb-000016
is the known fuzzy kernel matrix containing errors, that is:
Figure PCTCN2022093807-appb-000017
Figure PCTCN2022093807-appb-000017
其中
Figure PCTCN2022093807-appb-000018
中从左至右,从上至下依次为每个像素点(x,y)插值形成的模糊核h (x,y)(m,n),δ H为误差,建立空变退化模型如下:
in
Figure PCTCN2022093807-appb-000018
From left to right, from top to bottom, the fuzzy kernel h (x, y) (m, n) formed by the interpolation of each pixel point (x, y) in turn, δ H is the error, and the space-varying degradation model is established as follows:
Figure PCTCN2022093807-appb-000019
Figure PCTCN2022093807-appb-000019
进一步向公式(9)中添加合理的正则化项使得模型的解逼近真实的解,传统的空变退化模型中大多都采用固定正则化参数对每个像素点的4个方向上的平滑程度α 1234是相同的,达不到良好的效果。由于梯度具有方向性,当点的不同方向的梯度幅值不一样时,平滑应不一样。因此正则化参数的大小应与各点的梯度值有关,本发明针对大视场退化图像的校正问题,根据目标图像f(x,y)和模糊核h(x,y)各自的特点提出不同的各向异性正则化参数对各点4个方向分别进行不同的调整,以达到对各点的不同方向上进行不同的平滑,如图3所示。 Further adding a reasonable regularization term to formula (9) makes the solution of the model approach the real solution. Most of the traditional space-varying degradation models use fixed regularization parameters to adjust the smoothness of each pixel in the four directions α 1 , α 2 , α 3 , and α 4 are the same and cannot achieve good results. Due to the directionality of the gradient, when the magnitude of the gradient in different directions of the point is different, the smoothing should be different. Therefore, the size of the regularization parameter should be related to the gradient value of each point. The present invention aims at correcting the degraded image of a large field of view, and proposes different The anisotropic regularization parameter of , respectively adjusts the four directions of each point differently, so as to achieve different smoothing in different directions of each point, as shown in Figure 3.
实际上观测到的气动光学效应大视场图像存在许多不同的边缘特征,针对目标图像中目标和背景区域内的像素梯度值较小,灰度值比较接近,需作较大程度的正则化,以平滑该部分区域,抑制噪声影响。同时为了注意到目标与背景分界处像素灰度值的差异,对这部分区域的正则化要有所削弱以保持梯度差异,这样的正则化参数在数学解析上应为单调下降且为急剧下降的函数形式,为简化计算,本发明选择如下形式的正则化函数
Figure PCTCN2022093807-appb-000020
作为目标图像稀疏性约束正则化项系数以达到在抑制噪声的同时,保护边缘特征的目的。
In fact, there are many different edge features in the observed aero-optical effect large field of view image. The pixel gradient value in the target image and the background area in the target image is small, and the gray value is relatively close, so a large degree of regularization is required. To smooth this part of the area and suppress the influence of noise. At the same time, in order to notice the difference in the gray value of the pixel at the boundary between the target and the background, the regularization of this part of the area must be weakened to maintain the gradient difference. Such regularization parameters should decrease monotonically and sharply in mathematical analysis. Functional form, in order to simplify the calculation, the present invention selects the regularization function of the following form
Figure PCTCN2022093807-appb-000020
As the sparsity of the target image, the coefficient of the regularization term is constrained to achieve the purpose of protecting edge features while suppressing noise.
Figure PCTCN2022093807-appb-000021
Figure PCTCN2022093807-appb-000021
式中,
Figure PCTCN2022093807-appb-000022
为目标图像f(x,y)各点梯度值,初始值为步骤S1中所求
Figure PCTCN2022093807-appb-000023
各点的梯度值。C 1为目标图像的正则化常系数,一般设为1,当
Figure PCTCN2022093807-appb-000024
值过大时,适当调大C 1的值来加大平滑程度,反之调小。当C 1=1时,
Figure PCTCN2022093807-appb-000025
的范围在[0,1]之间,其函数曲线如图4所示,指数n在0~5之间取值,n值由衰减性决定,衰减愈快,n值取大些,反之取小。当n=0时,
Figure PCTCN2022093807-appb-000026
无方向性,各向相同,当n≠0时,显然可由梯度值
Figure PCTCN2022093807-appb-000027
来调整,使目标图像具有一定的空间自适应能力。
In the formula,
Figure PCTCN2022093807-appb-000022
is the gradient value of each point of the target image f(x,y), and the initial value is obtained in step S1
Figure PCTCN2022093807-appb-000023
Gradient value at each point. C 1 is the regularization constant coefficient of the target image, generally set to 1, when
Figure PCTCN2022093807-appb-000024
When the value is too large, properly increase the value of C 1 to increase the smoothness, and vice versa. When C 1 =1,
Figure PCTCN2022093807-appb-000025
The range is between [0, 1], and its function curve is shown in Figure 4. The index n takes a value between 0 and 5, and the value of n is determined by the attenuation. The faster the attenuation, the larger the value of n, and vice versa. Small. When n=0,
Figure PCTCN2022093807-appb-000026
No directionality, the same direction, when n≠0, obviously can be determined by the gradient value
Figure PCTCN2022093807-appb-000027
To adjust, so that the target image has a certain spatial adaptability.
针对模糊核图像具有类高斯状,不是陡峭的,各点梯度的上升和下降是连续的,且梯度变化主要体现在整体的衰减性上,相邻点之间过渡缓慢这一特点。本发明将此先验知识融入模型中,在大梯度区域内为了保护模糊核峰值,正则化参数应取较小值,在小梯度区域为了抑制噪声,则应取大一点。为了算法实现方便,首先计算出各点模糊核的梯度
Figure PCTCN2022093807-appb-000028
The fuzzy kernel image has a Gaussian-like shape, not steep, the rise and fall of the gradient of each point is continuous, and the gradient change is mainly reflected in the overall attenuation, and the transition between adjacent points is slow. The present invention integrates this prior knowledge into the model. In order to protect the peak value of the blur kernel in the large gradient area, the regularization parameter should take a smaller value, and in the small gradient area, in order to suppress noise, it should be larger. For the convenience of algorithm implementation, first calculate the gradient of the blur kernel at each point
Figure PCTCN2022093807-appb-000028
Figure PCTCN2022093807-appb-000029
Figure PCTCN2022093807-appb-000029
选择变化较为平缓的正则化函数
Figure PCTCN2022093807-appb-000030
作为模糊核稀疏性约束正则化项系数以保护模糊核峰值。
Choose a regularization function that varies more slowly
Figure PCTCN2022093807-appb-000030
Constrains regularization term coefficients as blur kernel sparsity to preserve blur kernel peaks.
Figure PCTCN2022093807-appb-000031
Figure PCTCN2022093807-appb-000031
式中,
Figure PCTCN2022093807-appb-000032
初始值为模糊核梯度
Figure PCTCN2022093807-appb-000033
中各点梯度值,C 2为模糊核的正则化常系数,一般设为1,当
Figure PCTCN2022093807-appb-000034
值过大时,适当调大C 2的值来加大平滑程度,反之调小。当C 2=1时,
Figure PCTCN2022093807-appb-000035
其对称单调下降函数曲线如图5所示。参数ξ为平滑控制系数,一般情况下ξ取1。ξ不为1时由衰减性决定, 衰减越快时,ξ的取值在0~1之间,保护大梯度,反之取大,显然可由梯度值
Figure PCTCN2022093807-appb-000036
来调整,使模糊核具有空间自适应性。
In the formula,
Figure PCTCN2022093807-appb-000032
The initial value is the blur kernel gradient
Figure PCTCN2022093807-appb-000033
Gradient value of each point in , C 2 is the regularization constant coefficient of the fuzzy kernel, generally set to 1, when
Figure PCTCN2022093807-appb-000034
When the value is too large, appropriately increase the value of C 2 to increase the smoothness, and vice versa. When C 2 =1,
Figure PCTCN2022093807-appb-000035
Its symmetrical monotone descending function curve is shown in Fig. 5 . The parameter ξ is the smoothing control coefficient, and ξ takes 1 under normal circumstances. When ξ is not 1, it is determined by the attenuation. When the attenuation is faster, the value of ξ is between 0 and 1, which protects a large gradient. Otherwise, it can be determined by the gradient value
Figure PCTCN2022093807-appb-000036
to adjust to make the blur kernel spatially adaptive.
此外,针对目标图像和模糊核具有非负性的特点,当解向量中出现负值时,需要对负值进行惩罚,逼使解向非负方向发展。为了减少计算量,本发明根据目标图像和模糊核图像的各点灰度值,选择如下形式的代价函数J(f,h)作为目标、模糊核非负性约束正则化项。In addition, considering the non-negative characteristics of the target image and the blur kernel, when a negative value appears in the solution vector, it is necessary to punish the negative value to force the solution to develop in a non-negative direction. In order to reduce the amount of calculation, according to the gray value of each point of the target image and the blur kernel image, the present invention selects the cost function J(f, h) of the following form as the non-negativity constraint regularization item of the target and blur kernel.
Figure PCTCN2022093807-appb-000037
Figure PCTCN2022093807-appb-000037
Figure PCTCN2022093807-appb-000038
是对f,h中负值进行惩罚的常系数,
Figure PCTCN2022093807-appb-000039
的取值范围在0~10之间,当f,h中负值过大时,
Figure PCTCN2022093807-appb-000040
取值小一些,反之取大,以保证目标图像和模糊核图像各点变化平缓。本实例中设为1,
Figure PCTCN2022093807-appb-000041
为与f,h中各元素有关的对角矩阵,即有:
Figure PCTCN2022093807-appb-000038
is a constant coefficient that penalizes negative values in f,h,
Figure PCTCN2022093807-appb-000039
The range of values is between 0 and 10. When the negative value of f and h is too large,
Figure PCTCN2022093807-appb-000040
The value is smaller, and vice versa, to ensure that the changes of each point of the target image and the blurred kernel image are gentle. Set to 1 in this example,
Figure PCTCN2022093807-appb-000041
is a diagonal matrix related to each element in f, h, namely:
Figure PCTCN2022093807-appb-000042
Figure PCTCN2022093807-appb-000042
其中p=M×N,b=m×n,对角元a i,b j取值为1和0。对角元a i,b j分别由f,h中对应第i,j个元素的值f i,h j决定,即有 Among them, p=M×N, b=m×n, and the diagonal elements a i and b j take values of 1 and 0. The diagonal elements a i , b j are respectively determined by the values f i , h j corresponding to the i, jth elements in f, h, that is,
Figure PCTCN2022093807-appb-000043
Figure PCTCN2022093807-appb-000043
令变量u=δ Hf,u是与模糊核相关的,基于上述说明,如果不考虑噪声,基于公式(9)建立空变去模糊的最小化模型如下: Let the variable u = δ H f, u is related to the blur kernel, based on the above description, if the noise is not considered, the minimization model of space-varying deblurring based on formula (9) is established as follows:
Figure PCTCN2022093807-appb-000044
Figure PCTCN2022093807-appb-000044
式中第一项为基本数据项,||·|| 1为l 1范数,W为M×M正交Haar小波变换矩阵,起到保护图像细节和纹理信息的作用,第二项和第三项分别是目标、模糊核的基于自适应各向异性变系数的稀疏性约束正则化项。J(f,h)为 目标、模糊核非负性约束正则化项。 In the formula, the first item is the basic data item, ||||| The three items are the sparsity-constrained regularization items based on the adaptive anisotropy variable coefficient of the target and the fuzzy kernel respectively. J(f,h) is the target, fuzzy kernel non-negativity constraint regularization term.
步骤S3中,本发明对构造的最小化模型的求解过程如下:In step S3, the solution process of the present invention to the minimized model constructed is as follows:
由于公式(16)中含有l 1范数,因此本发明采用Bregman多变量分离求解方法求解公式(16),令变量d 1=Wf,d 2=f并引入Bregman辅助变量t 1=d 1-Wf,t 2=d 2-f来更新迭代过程,即公式(16)可变换为: Since the formula (16) contains the l 1 norm, the present invention adopts the Bregman multivariate separation solution method to solve the formula (16), let the variables d 1 =Wf,d 2 =f and introduce the Bregman auxiliary variable t 1 =d 1 - Wf, t 2 =d 2 -f to update the iterative process, that is, formula (16) can be transformed into:
Figure PCTCN2022093807-appb-000045
Figure PCTCN2022093807-appb-000045
Figure PCTCN2022093807-appb-000046
为第n步迭代求解得到的结果,第n+1步迭代求解过程如下:
make
Figure PCTCN2022093807-appb-000046
It is the result obtained from the iterative solution of the nth step, and the iterative solution process of the n+1 step is as follows:
Figure PCTCN2022093807-appb-000047
Figure PCTCN2022093807-appb-000047
Figure PCTCN2022093807-appb-000048
Figure PCTCN2022093807-appb-000048
Figure PCTCN2022093807-appb-000049
Figure PCTCN2022093807-appb-000049
Figure PCTCN2022093807-appb-000050
Figure PCTCN2022093807-appb-000050
Bregman辅助变量的更新为:The update of the Bregman auxiliary variable is:
Figure PCTCN2022093807-appb-000051
Figure PCTCN2022093807-appb-000051
直到在迭代过程中达到迭代终止条件:Until the iteration termination condition is reached during iteration:
Figure PCTCN2022093807-appb-000052
Figure PCTCN2022093807-appb-000052
ε为设定任意小值,或达到最大迭代次数maxIter次时停止迭代。本发明 中ε设定为10 -6,maxIter取值为200。 ε is to set any small value, or stop iteration when the maximum number of iterations maxIter times is reached. In the present invention, ε is set to 10 -6 , and the value of maxIter is 200.
式(18)中关于变量f (n+1)极小化求导为零后,利用FFT在频域对上式中f (n+1)进行快速求解,即有: After minimizing the derivative of the variable f (n+1) in formula (18) to zero, use FFT to quickly solve f (n+1) in the above formula in the frequency domain, that is:
Figure PCTCN2022093807-appb-000053
Figure PCTCN2022093807-appb-000053
式中F(·)表示傅里叶变换,F -1(·)表示傅里叶逆变换,
Figure PCTCN2022093807-appb-000054
表示傅里叶复共轭算子,由此实现快速逐点校正,得到空变复原图像,如图10(b)所示。由图10可以看出,空变复原效果相较于空不变复原效果更佳。
In the formula, F( ) means Fourier transform, F -1 ( ) means inverse Fourier transform,
Figure PCTCN2022093807-appb-000054
Represents the Fourier complex conjugate operator, thereby realizing fast point-by-point correction and obtaining a space-variant restoration image, as shown in Figure 10(b). It can be seen from Figure 10 that the effect of space-variant restoration is better than that of space-invariant restoration.
本发明实施例的气动光学效应大视场空变退化图像逐点复原系统,主要用于实现上述方法实施例,该系统包括:The point-by-point restoration system of the aero-optical effect large-field-of-view space-varying degraded image in the embodiment of the present invention is mainly used to realize the above-mentioned method embodiment, and the system includes:
局部区域筛选模块,用于计算输入退化图像的梯度,选取多个大梯度区域,根据大梯度在退化图像上的分布提取多个局部区域,并计算每个局部区域的模糊核;The local area screening module is used to calculate the gradient of the input degraded image, select multiple large gradient areas, extract multiple local areas according to the distribution of large gradients on the degraded image, and calculate the blur kernel of each local area;
模糊核初值计算模块,用于逐点计算到最近两个局部区域中心点的距离,并根据每个像素点的两个距离对全图各点的模糊核进行反距离加权插值计算,得到全图各点模糊核初值,构成初始模糊核矩阵;The initial value calculation module of the blur kernel is used to calculate the distance to the center points of the two nearest local areas point by point, and perform inverse distance weighted interpolation calculation on the blur kernel of each point in the whole image according to the two distances of each pixel point, and obtain the full The initial value of the fuzzy kernel of each point in the graph constitutes the initial fuzzy kernel matrix;
空变退化模型构建模块,用于根据初始模糊核矩阵建立空变退化模型,并添加非负性约束正则化项和基于自适应各向异性变系数的稀疏性约束正则化项使目标图像和各点模糊核具有非负性和空间自适应性;The spatial variation degradation model building block is used to establish the spatial variation degradation model according to the initial fuzzy kernel matrix, and add non-negativity constraint regularization items and sparsity constraint regularization items based on adaptive anisotropy variable coefficients to make the target image and each The point blur kernel is non-negative and spatially adaptive;
模型求解模块,用于求解空变退化模型,得到各点的模糊核与各点的灰度值来实现逐点校正,最终输出空变退化复原图像。The model solving module is used to solve the spatial variation degradation model, obtain the blur kernel of each point and the gray value of each point to realize point-by-point correction, and finally output the restoration image of spatial variation degradation.
其中,局部区域筛选模块具体包括:Among them, the local area screening module specifically includes:
梯度计算子模块,用于利用多尺度形态学梯度算子求得退化图像的梯度;The gradient calculation sub-module is used to obtain the gradient of the degraded image by using a multi-scale morphological gradient operator;
梯度滤除子模块,用于利用梯度有用性指标滤除小结构梯度区域,在滤除后的梯度图像上选取长宽方向都大于一定值的大梯度局部区域,然后根据大梯度在退化图像上的分布提取多个局部区域;The gradient filtering sub-module is used to filter out the small structural gradient area by using the gradient usefulness index, and select a large gradient local area whose length and width are greater than a certain value on the filtered gradient image, and then according to the large gradient on the degraded image The distribution of extracts multiple local regions;
区域模糊核估算子模块,用于利用基于空间相关约束的非负性最小二乘准则算法估计所提取出的每个局部区域的模糊核。The regional blur kernel estimation submodule is used for estimating the extracted blur kernel of each local region by using a non-negative least square criterion algorithm based on spatial correlation constraints.
进一步地,模糊核初值计算模块具体包括:Further, the fuzzy kernel initial value calculation module specifically includes:
各点模糊核确定子模块,用于将每个局部区域的模糊核视为该局部区域各点的模糊核初值;The sub-module for determining the fuzzy kernel of each point is used to regard the fuzzy kernel of each local area as the initial value of the fuzzy kernel of each point in the local area;
距离计算子模块,用于计算每个像素点到所有局部区域中心点的欧氏距离;The distance calculation sub-module is used to calculate the Euclidean distance from each pixel point to the center points of all local areas;
加权模糊核计算子模块,用于比较得到每个像素点到最近两个局部区域中心点的欧式距离,并将距离视为相应的权重系数,根据该权重系数对相应像素点的模糊核进行反距离加权插值计算,得到相应像素点的模糊核初值。The weighted blur kernel calculation sub-module is used to compare the Euclidean distance between each pixel point and the center points of the two nearest local areas, and regard the distance as the corresponding weight coefficient, and reverse the blur kernel of the corresponding pixel point according to the weight coefficient Calculate the distance weighted interpolation to obtain the initial value of the blur kernel of the corresponding pixel.
进一步地,模型求解模块具体利用Bregman多变量分离求解算法,求解各点的模糊核和各点灰度值。Further, the model solving module specifically uses the Bregman multivariate separation and solving algorithm to solve the fuzzy kernel of each point and the gray value of each point.
各个模块的实现参见上文方法实施例,在此不赘述。For the implementation of each module, refer to the method embodiments above, and details are not described here.
本申请还提供一种计算机可读存储介质,如闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘、服务器、App应用商城等等,其上存储有计算机程序,程序被处理器执行时实现相应功能。本实施例的计算机可读存储介质用于被处理器执行时实现方法实施例的气动光学效应大视场退化图像逐点校正复原方法。The present application also provides a computer-readable storage medium, such as flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only Memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Programmable Read-Only Memory (PROM), Magnetic Storage, Magnetic Disk, Optical Disk, Server, App Store, etc., on which computer programs, program When executed by the processor, corresponding functions are realized. The computer-readable storage medium in this embodiment is used to implement the method for point-by-point correction and restoration of an image degraded by aero-optical effect and large field of view in the method embodiment when executed by a processor.
本发明的气动光学效应大视场退化图像逐点复原方法,能够为对气动光学效应空变退化图像各点的模糊核估计、模糊核优化、复原要求提供一种处理方法;本发明能够对气动光学效应大视场空变退化图像进行复原,能够满足航空航天领域在大视场对气动光学效应空变退化图像进行复原的要求。The point-by-point restoration method of the aero-optical effect large field of view degraded image can provide a processing method for blur kernel estimation, blur kernel optimization, and restoration requirements of each point of the aero-optical effect space-varying degraded image; The restoration of space-varying degraded images with large field of view due to optical effects can meet the requirements of the aerospace field for restoring space-varying and degraded images with aero-optical effects in a large field of view.
应当理解的是,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,而所有这些改进和变换都应属于本发明所附权利要求的保护范围。It should be understood that those skilled in the art can make improvements or changes based on the above description, and all these improvements and changes should belong to the protection scope of the appended claims of the present invention.

Claims (9)

  1. 一种气动光学效应大视场空变退化图像逐点复原方法,其特征在于,包括以下步骤:A method for point-by-point restoration of an aero-optical effect large field of view space-varying degraded image, characterized in that it comprises the following steps:
    S1、计算输入的退化图像的梯度,选取多个大梯度区域,根据大梯度在退化图像上的分布提取多个局部区域,并计算每个局部区域的模糊核;S1. Calculate the gradient of the input degraded image, select multiple large gradient regions, extract multiple local regions according to the distribution of large gradients on the degraded image, and calculate the blur kernel of each local region;
    S2、逐点计算到最近两个局部区域中心点的距离,并根据每个像素点的两个距离对全图各点的模糊核进行反距离加权插值计算,得到全图各点模糊核初值,构成初始模糊核矩阵;S2. Calculate the distance to the center points of the two nearest local areas point by point, and perform inverse distance weighted interpolation calculation on the blur kernel of each point in the whole image according to the two distances of each pixel point, and obtain the initial value of the blur kernel of each point in the whole image , forming the initial fuzzy kernel matrix;
    S3、根据初始模糊核矩阵建立空变退化模型,并添加由目标图像和各点初始模糊核二者灰度值决定的非负性约束正则化项和基于由目标图像与各点初始模糊核二者梯度值决定的自适应各向异性变系数的稀疏性约束正则化项使目标图像和各点模糊核具有非负性和空间自适应性;S3. Establish a space-varying degradation model based on the initial blur kernel matrix, and add a non-negativity constraint regularization item determined by the gray value of the target image and the initial blur kernel of each point and based on the two initial blur kernels of the target image and each point The sparsity-constrained regularization term of the adaptive anisotropic variable coefficient determined by the gradient value makes the target image and each point blur kernel non-negative and spatially adaptive;
    S4、求解空变退化模型,得到各点的模糊核与各点的灰度值来实现逐点校正,最终输出空变退化复原图像。S4. Solve the spatial variation degradation model, obtain the blur kernel of each point and the gray value of each point to realize point-by-point correction, and finally output the restoration image of spatial variation degradation.
  2. 根据权利要求1所述的动光学效应大视场空变退化图像逐点复原方法,其特征在于,步骤S1的具体方法为:The method for point-by-point restoration of a large-field-of-view space-varying degraded image with dynamic optical effects according to claim 1, wherein the specific method of step S1 is:
    S11、利用多尺度形态学梯度算子求得退化图像的梯度;S11. Using a multi-scale morphological gradient operator to obtain the gradient of the degraded image;
    S12、利用梯度有用性指标滤除小结构梯度区域,在滤除后的梯度图像上选取长宽方向都大于一定值的大梯度局部区域,然后根据大梯度在退化图像上的分布提取多个局部区域;S12. Use the gradient usefulness index to filter out small structural gradient regions, select large gradient local regions whose length and width directions are greater than a certain value on the filtered gradient image, and then extract multiple local regions according to the distribution of large gradients on the degraded image area;
    S13、利用基于空间相关约束的非负性最小二乘准则算法估计所提取出的每个局部区域的模糊核。S13. Estimate the blur kernel of each extracted local region by using a non-negative least squares criterion algorithm based on spatial correlation constraints.
  3. 根据权利要求1所述的气动光学效应大视场空变退化图像逐点复原方法,其特征在于,步骤S2的具体方法为:The method for point-by-point restoration of the aero-optical effect large-field-of-view space-varying degraded image according to claim 1, wherein the specific method of step S2 is:
    S21、将每个局部区域的模糊核视为该局部区域各点的模糊核初值;S21. Taking the blur kernel of each local area as the initial value of the blur kernel of each point in the local area;
    S22、计算每个像素点到所有局部区域中心点的欧氏距离;S22. Calculate the Euclidean distance from each pixel point to the center points of all local regions;
    S23、比较得到每个像素点到最近两个局部区域中心点的欧式距离,并将距离视为相应的权重系数,根据该权重系数对相应像素点的模糊核进行反距离加权插值计算,得到相应像素点的模糊核初值。S23. Comparing and obtaining the Euclidean distance from each pixel point to the center points of the two nearest local areas, and regarding the distance as the corresponding weight coefficient, performing inverse distance weighted interpolation calculation on the blur kernel of the corresponding pixel point according to the weight coefficient, and obtaining the corresponding The initial value of the blur kernel for pixels.
  4. 根据权利要求1所述的气动光学效应大视场空变退化图像逐点复原方法,其特征在于,步骤S4中具体利用Bregman多变量分离求解算法和滞后定点迭代方法,求解各点的模糊核和各点灰度值。The point-by-point restoration method of the aero-optical effect large-field-of-view space-varying degraded image according to claim 1, wherein in step S4, the Bregman multivariate separation solution algorithm and the hysteresis fixed-point iterative method are specifically used to solve the fuzzy kernel sum of each point The gray value of each point.
  5. 一种气动光学效应大视场空变退化图像逐点复原系统,其特征在于,包括:A point-by-point restoration system for aero-optical effect large-field space-varying degraded images, characterized in that it includes:
    局部区域筛选模块,用于计算输入退化图像的梯度,选取多个大梯度区域,根据大梯度在退化图像上的分布提取多个局部区域,并计算每个局部区域的模糊核;The local area screening module is used to calculate the gradient of the input degraded image, select multiple large gradient areas, extract multiple local areas according to the distribution of large gradients on the degraded image, and calculate the blur kernel of each local area;
    模糊核初值计算模块,用于逐点计算到最近两个局部区域中心点的距离,并根据每个像素点的两个距离对全图各点的模糊核进行反距离加权插值计算,得到全图各点模糊核初值,构成初始模糊核矩阵;The initial value calculation module of the blur kernel is used to calculate the distance to the center points of the two nearest local areas point by point, and perform inverse distance weighted interpolation calculation on the blur kernel of each point in the whole image according to the two distances of each pixel point, and obtain the full The initial value of the fuzzy kernel of each point in the graph constitutes the initial fuzzy kernel matrix;
    空变退化模型构建模块,用于根据初始模糊核矩阵建立空变退化模型,并添加非负性约束正则化项和基于自适应各向异性变系数的稀疏性约束正则化项使目标图像和各点模糊核具有非负性和空间自适应性;The spatial variation degradation model building block is used to establish the spatial variation degradation model according to the initial fuzzy kernel matrix, and add non-negativity constraint regularization items and sparsity constraint regularization items based on adaptive anisotropy variable coefficients to make the target image and each The point blur kernel is non-negative and spatially adaptive;
    模型求解模块,用于求解空变退化模型,得到各点的模糊核与各点的灰度值来实现逐点校正,最终输出空变退化复原图像。The model solving module is used to solve the spatial variation degradation model, obtain the blur kernel of each point and the gray value of each point to realize point-by-point correction, and finally output the restoration image of spatial variation degradation.
  6. 根据权利要求5所述的动光学效应大视场空变退化图像逐点复原系统,其特征在于,局部区域筛选模块具体包括:The point-by-point restoration system for large-field-of-view space-varying degraded images with dynamic optical effects according to claim 5, wherein the local area screening module specifically includes:
    梯度计算子模块,用于利用多尺度形态学梯度算子求得退化图像的梯度;The gradient calculation sub-module is used to obtain the gradient of the degraded image by using a multi-scale morphological gradient operator;
    梯度滤除子模块,用于利用梯度有用性指标滤除小结构梯度区域,在滤除后的梯度图像上选取长宽方向都大于一定值的大梯度局部区域,然后根据大梯度在退化图像上的分布提取多个局部区域;The gradient filtering sub-module is used to filter out the small structural gradient area by using the gradient usefulness index, and select a large gradient local area whose length and width are greater than a certain value on the filtered gradient image, and then according to the large gradient on the degraded image The distribution of extracts multiple local regions;
    区域模糊核估算子模块,用于利用基于空间相关约束的非负性最小二乘准则算法估计所提取出的每个局部区域的模糊核。The regional blur kernel estimation submodule is used for estimating the extracted blur kernel of each local region by using a non-negative least square criterion algorithm based on spatial correlation constraints.
  7. 根据权利要求5所述的气动光学效应大视场空变退化图像逐点复原系统,其特征在于,模糊核初值计算模块具体包括:The point-by-point restoration system for aero-optical effect large-field-of-view space-varying degraded images according to claim 5, wherein the blur kernel initial value calculation module specifically includes:
    各点模糊核确定子模块,用于将每个局部区域的模糊核视为该局部区域各点的模糊核初值;The sub-module for determining the fuzzy kernel of each point is used to regard the fuzzy kernel of each local area as the initial value of the fuzzy kernel of each point in the local area;
    距离计算子模块,用于计算每个像素点到所有局部区域中心点的欧氏距离;The distance calculation sub-module is used to calculate the Euclidean distance from each pixel point to the center points of all local areas;
    加权模糊核计算子模块,用于比较得到每个像素点到最近两个局部区域中心点的欧式距离,并将距离视为相应的权重系数,根据该权重系数对相应像素点的模糊核进行反距离加权插值计算,得到相应像素点的模糊核初值。The weighted blur kernel calculation sub-module is used to compare the Euclidean distance between each pixel point and the center points of the two nearest local areas, and regard the distance as the corresponding weight coefficient, and reverse the blur kernel of the corresponding pixel point according to the weight coefficient Calculate the distance weighted interpolation to obtain the initial value of the blur kernel of the corresponding pixel.
  8. 根据权利要求5所述的气动光学效应大视场空变退化图像逐点复原系统,其特征在于,模型求解模块具体利用Bregman多变量分离求解算法和滞后定点迭代方法,求解各点的模糊核和各点灰度值。The point-by-point restoration system of the aero-optical effect large field of view space-varying degraded image according to claim 5, wherein the model solution module specifically uses the Bregman multivariate separation solution algorithm and the hysteresis fixed-point iterative method to solve the fuzzy kernel of each point and The gray value of each point.
  9. 一种计算机存储介质,其特征在于,其可被处理器执行,且其内存储有计算机程序,该计算机程序执行权利要求1-4中任一项所述的气动光学效应大视场空变退化图像逐点复原方法。A computer storage medium, characterized in that it can be executed by a processor, and a computer program is stored therein, and the computer program executes the aero-optical effect and large field of view spatial variation degradation described in any one of claims 1-4 Image point-by-point restoration method.
PCT/CN2022/093807 2021-12-21 2022-05-19 Point-by-point correction and restoration method and system for large field-of-view degraded image having aero-optical effect WO2023115801A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111569294.6A CN113962908B (en) 2021-12-21 2021-12-21 Pneumatic optical effect large-visual-field degraded image point-by-point correction restoration method and system
CN202111569294.6 2021-12-21

Publications (1)

Publication Number Publication Date
WO2023115801A1 true WO2023115801A1 (en) 2023-06-29

Family

ID=79473314

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/093807 WO2023115801A1 (en) 2021-12-21 2022-05-19 Point-by-point correction and restoration method and system for large field-of-view degraded image having aero-optical effect

Country Status (2)

Country Link
CN (1) CN113962908B (en)
WO (1) WO2023115801A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117557626A (en) * 2024-01-12 2024-02-13 泰安大陆医疗器械有限公司 Auxiliary positioning method for spray head installation of aerosol sprayer
CN117726307A (en) * 2024-02-18 2024-03-19 成都汇智捷成科技有限公司 Data management method based on business center

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113962908B (en) * 2021-12-21 2022-05-10 武汉工程大学 Pneumatic optical effect large-visual-field degraded image point-by-point correction restoration method and system
CN117173058B (en) * 2023-11-03 2024-02-02 武汉工程大学 Unified restoration method and system for space-variant blurred image

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160301922A1 (en) * 2015-04-08 2016-10-13 Algolux Inc. Method for providing an estimation of a point spread function indicative of intrinsic camera blur
CN109919871A (en) * 2019-03-05 2019-06-21 重庆大学 Fuzzy core estimation method based on image and fuzzy core mixed constraints
CN113793284A (en) * 2021-11-17 2021-12-14 武汉工程大学 Image restoration method for nonuniform blocking of aerodynamic optical effect space-variant blurred image
CN113962908A (en) * 2021-12-21 2022-01-21 武汉工程大学 Pneumatic optical effect large-view-field degraded image point-by-point correction restoration method and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112365420B (en) * 2020-11-12 2024-03-15 重庆邮电大学 Fuzzy image blind restoration method based on non-local window gradient
CN113538374B (en) * 2021-07-15 2023-11-28 中国科学院上海技术物理研究所 Infrared image blurring correction method for high-speed moving object
CN113793285B (en) * 2021-11-17 2022-05-10 武汉工程大学 Ultrafast restoration method and system for pneumatic optical effect target twin image

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160301922A1 (en) * 2015-04-08 2016-10-13 Algolux Inc. Method for providing an estimation of a point spread function indicative of intrinsic camera blur
CN109919871A (en) * 2019-03-05 2019-06-21 重庆大学 Fuzzy core estimation method based on image and fuzzy core mixed constraints
CN113793284A (en) * 2021-11-17 2021-12-14 武汉工程大学 Image restoration method for nonuniform blocking of aerodynamic optical effect space-variant blurred image
CN113962908A (en) * 2021-12-21 2022-01-21 武汉工程大学 Pneumatic optical effect large-view-field degraded image point-by-point correction restoration method and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117557626A (en) * 2024-01-12 2024-02-13 泰安大陆医疗器械有限公司 Auxiliary positioning method for spray head installation of aerosol sprayer
CN117557626B (en) * 2024-01-12 2024-04-05 泰安大陆医疗器械有限公司 Auxiliary positioning method for spray head installation of aerosol sprayer
CN117726307A (en) * 2024-02-18 2024-03-19 成都汇智捷成科技有限公司 Data management method based on business center
CN117726307B (en) * 2024-02-18 2024-04-30 成都汇智捷成科技有限公司 Data management method based on business center

Also Published As

Publication number Publication date
CN113962908A (en) 2022-01-21
CN113962908B (en) 2022-05-10

Similar Documents

Publication Publication Date Title
WO2023115801A1 (en) Point-by-point correction and restoration method and system for large field-of-view degraded image having aero-optical effect
US9692939B2 (en) Device, system, and method of blind deblurring and blind super-resolution utilizing internal patch recurrence
Hyun Kim et al. Dynamic scene deblurring
US9485432B1 (en) Methods, systems and apparatuses for dual-camera based zooming
CN110675347B (en) Image blind restoration method based on group sparse representation
CN110796616B (en) Turbulence degradation image recovery method based on norm constraint and self-adaptive weighted gradient
CN112215773B (en) Local motion deblurring method and device based on visual saliency and storage medium
Mandal et al. Noise adaptive super-resolution from single image via non-local mean and sparse representation
WO2017100971A1 (en) Deblurring method and device for out-of-focus blurred image
CN106886978B (en) Super-resolution reconstruction method of image
Jon et al. Image restoration using overlapping group sparsity on hyper-Laplacian prior of image gradient
Rochefort et al. An improved observation model for super-resolution under affine motion
WO2023109008A1 (en) Method and system for restoring space-variant blurred image of aero-optic effect
WO2022233252A1 (en) Image processing method and apparatus, and computer device and storage medium
Mandal et al. Employing structural and statistical information to learn dictionary (s) for single image super-resolution in sparse domain
Cao et al. Single image motion deblurring with reduced ringing effects using variational Bayesian estimation
Cai et al. Water–air imaging: Distorted image reconstruction based on a twice registration algorithm
Chen et al. Blind restoration for nonuniform aerial images using nonlocal Retinex model and shearlet-based higher-order regularization
CN113506212A (en) Improved POCS-based hyperspectral image super-resolution reconstruction method
Yu et al. Research Status and Development Trend of Image Restoration Technology
Wen et al. Patch-wise blind image deblurring via Michelson channel prior
Qiao et al. Joint blind super-resolution and shadow removing
Jiang A multi-parameter regularization model for deblurring images corrupted by impulsive noise
CN117173058B (en) Unified restoration method and system for space-variant blurred image
Wu et al. Single text image super-resolution based on edge-compensated autoregressive model

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: 22909137

Country of ref document: EP

Kind code of ref document: A1