[go: up one dir, main page]

CN108288267B - A no-reference evaluation method for SEM image clarity based on dark channel - Google Patents

A no-reference evaluation method for SEM image clarity based on dark channel Download PDF

Info

Publication number
CN108288267B
CN108288267B CN201810042657.2A CN201810042657A CN108288267B CN 108288267 B CN108288267 B CN 108288267B CN 201810042657 A CN201810042657 A CN 201810042657A CN 108288267 B CN108288267 B CN 108288267B
Authority
CN
China
Prior art keywords
image
dark channel
edge
electron microscope
objective function
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
CN201810042657.2A
Other languages
Chinese (zh)
Other versions
CN108288267A (en
Inventor
李雷达
李巧月
卢兆林
周玉
胡波
祝汉城
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China University of Mining and Technology Beijing CUMTB
Original Assignee
China University of Mining and Technology Beijing CUMTB
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 China University of Mining and Technology Beijing CUMTB filed Critical China University of Mining and Technology Beijing CUMTB
Priority to CN201810042657.2A priority Critical patent/CN108288267B/en
Publication of CN108288267A publication Critical patent/CN108288267A/en
Application granted granted Critical
Publication of CN108288267B publication Critical patent/CN108288267B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10056Microscopic image
    • G06T2207/10061Microscopic image from scanning electron microscope
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30168Image quality inspection

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

本发明提出一种基于暗通道的扫描电镜图像清晰度无参考评价方法,包括步骤:对原始扫描电镜模糊图像进行暗通道预处理,再次对预处理后的图像计算它的边缘,得到边缘后对其用基于加权二乘法的保边滤波器进行增强去噪,最后根据人类的视觉特征,把最大梯度和平均梯度的加权作为图像的质量分数。本发明第一次把暗通道运用到扫描电镜图像质量评价上面,提出的方法性能优于目前典型的模糊图像质量评价方法。

Figure 201810042657

The invention provides a dark channel-based SEM image clarity evaluation method without reference. It uses an edge-preserving filter based on the weighted square method for enhanced denoising, and finally, according to human visual characteristics, the weighting of the maximum gradient and the average gradient is used as the quality score of the image. The present invention applies dark channel to SEM image quality evaluation for the first time, and the performance of the proposed method is better than the current typical fuzzy image quality evaluation method.

Figure 201810042657

Description

一种基于暗通道的扫描电镜图像清晰度无参考评价方法A no-reference evaluation method for SEM image clarity based on dark channel

技术领域technical field

本发明涉及图像质量评价领域,尤其是一种基于暗通道的扫描电镜图像清晰度无参考评价方法。The invention relates to the field of image quality evaluation, in particular to a dark channel-based scanning electron microscope image clarity evaluation method without reference.

背景技术Background technique

扫描电镜图像拓宽了人类的视觉,提供了获取细微结构信息的途径。在获取扫描电镜图像的过程中会引起各种不同类型的失真,这些失真直接影响人类对研究物品的判断,所以扫描电镜图像的质量评价具有十分重要的意义,但是目前扫描电镜图像的质量评价并没有得到关注。扫描电镜图像在成像过程中图像清晰度是最重要的一个技术指标,通常需要通过反复调整成像参数和设置获得清晰的图像,费时费力,所以急需一种专门针对扫描电镜清晰度评价的方法。SEM images broaden human vision and provide access to fine structural information. In the process of acquiring SEM images, various types of distortion will be caused, and these distortions directly affect the judgment of human beings on research items, so the quality evaluation of SEM images is of great significance. Not getting attention. Image clarity is one of the most important technical indicators in the imaging process of SEM images. Usually, it is necessary to repeatedly adjust imaging parameters and settings to obtain clear images, which is time-consuming and labor-intensive.

现有的评价图像清晰度的方法很多,下面对这些部分方法进行介绍。There are many existing methods for evaluating image sharpness, and some of these methods are introduced below.

清晰度无参考质量评价:近年来提出了一些图像模糊评价算法。文献Marziliano[1]等首次提出用Sobel算子检测图像边缘,然后计算边缘宽度。Ferzli[2]等提出恰可察觉模糊(JNB)方法,该方法将JNB的概念结合到概率总和模型,能预测不同内容的图像的相对模糊量。Niranjan[3]等人基于不同对比度值的人类模糊感知研究,计算每条边缘的模糊概率提出检测模糊累计概率(CPBD)方法改进了JNB方法。Bahrami[4]等在文献中定义了每个像素的最大局部差异(MLV)作为此像素与它的8-邻域的最大强度差异,每个像素的MLV分布的标准差就是清晰度的表征。No-reference quality evaluation of sharpness: Some image blur evaluation algorithms have been proposed in recent years. The literature Marziliano [1] and others first proposed to use the Sobel operator to detect the edge of the image, and then calculate the edge width. Ferzli [2] et al. proposed the Just Noticeable Blur (JNB) method, which combines the concept of JNB into a probability summation model, which can predict the relative blurring of images with different contents. Niranjan [3] et al., based on the research of human blur perception with different contrast values, calculated the blur probability of each edge and proposed the cumulative probability of detection blur (CPBD) method, which improved the JNB method. In the literature, Bahrami[4] defined the maximum local variance (MLV) of each pixel as the maximum intensity difference between this pixel and its 8-neighbor, and the standard deviation of the MLV distribution of each pixel is the representation of sharpness.

以上方法都没有针对扫描电镜图像进行设计,而且通过实验得出这些方法在评价扫描电镜图像质量方面性能都不理想,所以急需一种专门评价扫描电镜图像清晰度的方法。None of the above methods are designed for SEM images, and it is found that these methods are not ideal in evaluating the quality of SEM images, so a special method for evaluating SEM image clarity is urgently needed.

[1]Marziliano P,Dufaux F,Winkler S,et al.Perceptual blur and ringingmetrics:application to JPEG2000[J].Signal processing:Image communication,2004,19(2):163-172.[1]Marziliano P,Dufaux F,Winkler S,et al.Perceptual blur and ringingmetrics:application to JPEG2000[J].Signal processing:Image communication,2004,19(2):163-172.

[2]Ferzli R,Karam L J.A no-reference objective image sharpness metricbased on the notion of just noticeable blur(JNB)[J].IEEE Transactions onImage Processing,2009,18(4):717-728.[2] Ferzli R, Karam L J.A no-reference objective image sharpness metricbased on the notion of just noticeable blur(JNB)[J].IEEE Transactions onImage Processing,2009,18(4):717-728.

[3]Narvekar N D,Karam L J.A no-reference image blur metric based onthe cumulative probability of blur detection(CPBD)[J].IEEE Transactions onImage Processing,2011,20(9):2678-2683.[3]Narvekar N D,Karam L J.A no-reference image blur metric based on the cumulative probability of blur detection(CPBD)[J].IEEE Transactions onImage Processing,2011,20(9):2678-2683.

[4]Bahrami K,Kot A C.A fast approach for no-reference image sharpnessassessment based on maximum local variation[J].IEEE Signal ProcessingLetters,2014,21(6):751-755.[4]Bahrami K, Kot A C.A fast approach for no-reference image sharpnessassessment based on maximum local variation[J].IEEE Signal Processing Letters,2014,21(6):751-755.

发明内容SUMMARY OF THE INVENTION

发明目的:本发明针对现有的清晰度评价方法并不适合扫描电镜图像,提出了专门针对扫描电镜图像清晰度评价的方法,一种基于暗通道的扫描电镜图像清晰度无参考评价方法。Purpose of the invention: The present invention proposes a method for evaluating the sharpness of SEM images, which is a dark channel-based method for evaluating the sharpness of SEM images without reference.

技术方案:本发明提出的技术方案为:Technical scheme: The technical scheme proposed by the present invention is:

一种基于暗通道的扫描电镜图像清晰度无参考评价方法,该方法包括步骤:A no-reference evaluation method for scanning electron microscope image clarity based on a dark channel, the method comprising the steps of:

(1)获取扫描电镜模糊图像I,对I进行暗通道预处理;(1) obtain scanning electron microscope blurred image I, carry out dark channel preprocessing to I;

(2)用Sobel边缘算子提取暗通道预处理后的图像的边缘图像;(2) Extract the edge image of the image preprocessed by the dark channel with the Sobel edge operator;

(3)用基于加权最小二乘法的保边平滑滤波器对边缘图像进行滤波;(3) Filter the edge image with an edge-preserving smoothing filter based on the weighted least squares method;

(4)用滤波之后图像的最大梯度和平均梯度的加权作为评价扫描电镜模糊图像I的客观质量分数。(4) Use the weight of the maximum gradient and the average gradient of the filtered image as the objective quality score for evaluating the blurred image I of the SEM.

进一步的,所述步骤(1)中对图像I进行暗通道预处理的表达式为:Further, the expression that carries out dark channel preprocessing to image I in the described step (1) is:

Figure GDA0003487848720000021
Figure GDA0003487848720000021

式中,s(I)表示图像I进行暗通道预处理后的图像,s(I)(t)表示s(I)中像素点t处的像素值;Ω(t)表示以像素点t为中心的一个m×m的窗口,m为窗口的宽度;I(z)表示图像I中像素点z处的像素值。In the formula, s(I) represents the image I after dark channel preprocessing, s(I)(t) represents the pixel value at the pixel point t in s(I); Ω(t) represents the pixel point t as An m×m window in the center, where m is the width of the window; I(z) represents the pixel value at the pixel point z in the image I.

进一步的,所述步骤(2)中提取出的边缘图像表达式为:Further, the edge image expression extracted in the step (2) is:

g(x,y)=|Δxh(x,y)|+|Δyv(x,y)| (2)g(x,y)=| Δx h(x,y)|+|Δy v(x, y )| (2)

Δxh(x,y)=s(x+1,y-1)+2s(x+1,y)+s(x+1,y+1)-s(x-1,y-1)-2s(x-1,y)-s(x-1,y+1)Δ x h(x,y)=s(x+1,y-1)+2s(x+1,y)+s(x+1,y+1)-s(x-1,y-1) -2s(x-1,y)-s(x-1,y+1)

Δyv(x,y)=s(x-1,y+1)+2s(x,y+1)+s(x+1,y+1)-s(x-1,y-1)-2s(x,y-1)-s(x+1,y-1)Δy v(x, y )=s(x-1,y+1)+2s(x,y+1)+s(x+1,y+1)-s(x-1,y-1) -2s(x,y-1)-s(x+1,y-1)

式中,g表示边缘图像,g(x,y)表示边缘图像g中像素点(x,y)处的像素值,Δxh(x,y)和Δyv(x,y)分别表示图像s(I)水平方向的一阶导数和垂直方向的一阶导数。In the formula, g represents the edge image, g(x, y) represents the pixel value at the pixel point (x, y) in the edge image g, Δ x h(x, y) and Δ y v(x, y) represent respectively The first derivative of the image s(I) in the horizontal direction and the first derivative in the vertical direction.

进一步的,所述步骤(3)中用基于加权最小二乘法的保边平滑滤波器对边缘图像进行滤波的具体步骤包括:Further, in the described step (3), the specific steps of filtering the edge image with an edge-preserving smoothing filter based on the weighted least squares method include:

(4-1)构建目标函数:(4-1) Build the objective function:

Figure GDA0003487848720000031
Figure GDA0003487848720000031

其中,

Figure GDA0003487848720000032
in,
Figure GDA0003487848720000032

式中,u表示目标图像,up表示图像u上p点处的像素值;λ是正则项参数,ax,p(g)和ay,p(g)分别表示水平方向上的平滑权重和垂直方向上的平滑权重;l表示边缘图像g的对数亮度通道;α为指数,ε为一个很小的常数;In the formula, u represents the target image, u p represents the pixel value at point p on the image u; λ is the regularization parameter, a x , p(g) and a y, p (g) respectively represent the smoothing weight in the horizontal direction and the smoothing weight in the vertical direction; l represents the logarithmic luminance channel of the edge image g; α is an exponential, and ε is a small constant;

(4-2)将目标函数转换为矩阵形式:(4-2) Convert the objective function to matrix form:

Figure GDA0003487848720000033
Figure GDA0003487848720000033

式中,Ax为包含水平方向上平滑权重的对角矩阵,Ay为包含垂直方向上平滑权重的对角矩阵;Dx和Dy分别为水平方向离散差分算子和垂直方向离散差分算子;In the formula, A x is a diagonal matrix containing smooth weights in the horizontal direction, A y is a diagonal matrix containing smooth weights in the vertical direction; D x and Dy are the horizontal discrete difference operator and the vertical discrete difference operator, respectively. son;

(4-3)求解使目标函数最小化的u。(4-3) Find u that minimizes the objective function.

进一步的,所述求解使目标函数最小化的u的步骤为:Further, the step of solving u that minimizes the objective function is:

令目标函数等于0,将目标函数转换为:Let the objective function equal to 0, and convert the objective function to:

(Q+λLg)u=g (5)(Q+λL g )u=g (5)

其中,Lg是一个五点空间异性拉普拉斯矩阵,用于从稀疏约束集导出分段平滑调整图,

Figure GDA0003487848720000034
为与Dx方向相反的后向差分算子,
Figure GDA0003487848720000035
为与Dy方向相反的后向差分算子;Q为单位矩阵;where L g is a five-point spatially anisotropic Laplacian matrix for deriving a piecewise smooth adjustment map from a sparse constraint set,
Figure GDA0003487848720000034
is the backward difference operator opposite to the direction of D x ,
Figure GDA0003487848720000035
is the backward difference operator opposite to the direction of Dy ; Q is the identity matrix;

根据公式(5)即可计算出u。According to formula (5), u can be calculated.

进一步的,所述步骤(4)中滤波后的图像的最大梯度和平均梯度分别为:Further, the maximum gradient and average gradient of the filtered image in the step (4) are respectively:

MG=max(u(x,y))MG=max(u(x,y))

AG=(∑x,yu(x,y)/(w×h))AG=(∑ x,y u(x,y)/(w×h))

式中,MG和AG分别是滤波后的图像的最大梯度和平均梯度,w和h分别为滤波后图像的长度和宽度;where MG and AG are the maximum gradient and average gradient of the filtered image, respectively, and w and h are the length and width of the filtered image, respectively;

扫描电镜模糊图像I的客观质量分数为:IQA=MG×AGThe objective quality score of the SEM blurred image I is: IQA=MG×AG .

有益效果:与现有的清晰度无参考图像质量评价方法相比,本发明首次把暗通道用到扫描电镜图像质量评价中,并且性能有了明显的提升。Beneficial effects: Compared with the existing method for evaluating the quality of an image without a reference for sharpness, the present invention uses the dark channel for the image quality evaluation of the scanning electron microscope for the first time, and the performance is obviously improved.

附图说明Description of drawings

图1为本发明的流程图。FIG. 1 is a flow chart of the present invention.

具体实施方式Detailed ways

以下结合附图和实施例对本发明的技术方案作进一步说明。The technical solutions of the present invention will be further described below with reference to the accompanying drawings and embodiments.

本发明涉及一种基于暗通道的扫描电镜图像清晰度无参考评价方法。由于没有扫描电镜图像数据库,本实施例首先构建了大小为650幅扫描电镜图像的数据库,并通过主观实验得到图像的主观质量分数,从650幅扫描电镜图像中提取出来150幅模糊失真的图像和它对应的主观质量分数,其次对原始扫描电镜模糊图像进行暗通道预处理,再次对预处理后的图像计算它的边缘,得到边缘后对其用基于加权二乘法的保边滤波器进行增强去噪,最后根据人类的视觉特征,把最大梯度和平均梯度的加权作为图像的客观质量分数。本发明第一次把暗通道运用到图像质量评价上面,提出的方法性能优于目前典型的模糊图像质量评价方法。The invention relates to a method for evaluating the sharpness of scanning electron microscope images without reference based on a dark channel. Since there is no SEM image database, this embodiment first builds a database of 650 SEM images, and obtains the subjective quality scores of the images through subjective experiments, and extracts 150 blurred and distorted images from the 650 SEM images and Its corresponding subjective quality score, secondly, dark channel preprocessing is performed on the original SEM blurred image, and its edge is calculated for the preprocessed image again. Finally, according to the human visual characteristics, the weight of the maximum gradient and the average gradient is used as the objective quality score of the image. The present invention applies the dark channel to the image quality evaluation for the first time, and the performance of the proposed method is better than the current typical fuzzy image quality evaluation method.

下面结合附图1对本发明作更进一步的说明。The present invention will be further described below in conjunction with FIG. 1 .

步骤一:将150幅扫描电镜模糊图像Ii,i=1,2,……150,对Ii进行暗通道预处理。对图像Ii,定义暗通道为:Step 1: 150 SEM blurred images I i , i=1, 2, ... 150, perform dark channel preprocessing on I i . For image I i , the dark channel is defined as:

Figure GDA0003487848720000041
Figure GDA0003487848720000041

s(Ii)(x)是暗通道预处理后的图像;Ω(t)表示以像素点t为中心的一个m×m的窗口,m通过实验取值15最合适;公式中min表示取最小值操作;

Figure GDA0003487848720000044
表示图像Ii在色度分量c上的像素点z处的像素值。由于扫面电子显微图像都是灰度图像,只有一个通道,所以本发明中
Figure GDA0003487848720000042
即暗通道的公式为:s(I i )(x) is the image preprocessed by the dark channel; Ω(t) represents an m×m window centered on the pixel point t, and m is the most suitable value of 15 through experiments; in the formula, min represents the value of Min operation;
Figure GDA0003487848720000044
represents the pixel value of the image I i at the pixel point z on the chrominance component c. Since scanning electron microscope images are all grayscale images with only one channel, in the present invention,
Figure GDA0003487848720000042
That is, the formula for the dark channel is:

Figure GDA0003487848720000043
Figure GDA0003487848720000043

步骤二:用Sobel边缘算子提取暗通道预处理后的图像的边缘图像:Step 2: Use the Sobel edge operator to extract the edge image of the dark channel preprocessed image:

gi(x,y)=|Δxhi(x,y)|+|Δyvi(x,y)|g i (x,y)=|Δ x h i (x,y)|+|Δ y v i (x,y)|

Δxhi(x,y)=si(x+1,y-1)+2si(x+1,y)+si(x+1,y+1)-si(x-1,y-1)-2si(x-1,y)-si(x-1,y+1)Δ x h i (x,y)=s i (x+1,y-1)+2s i (x+1,y)+s i (x+1,y+1)-s i (x-1 ,y-1)-2s i (x-1,y)-s i (x-1,y+1)

Δyvi(x,y)=si(x-1,y+1)+2si(x,y+1)+si(x+1,y+1)-si(x-1,y-1)-2si(x,y-1)-si(x+1,y-1)Δ y v i (x,y)=s i (x-1,y+1)+2s i (x,y+1)+s i (x+1,y+1)-s i (x-1 ,y-1)-2s i (x,y-1)-s i (x+1,y-1)

式中,gi(x,y)表示边缘图像gi中像素点(x,y)处的像素值,Δxhi(x,y)和Δyvi(x,y)分别表示暗通道预处理后图像si(I)水平方向的一阶导数和垂直方向的一阶导数。In the formula, g i (x, y) represents the pixel value at the pixel point (x, y) in the edge image g i , and Δ x h i (x, y) and Δ y v i (x, y) represent the dark The first-order derivative in the horizontal direction and the first-order derivative in the vertical direction of the image si (I) after channel preprocessing.

步骤三:用基于加权最小二乘法的保边平滑滤波器对边缘图像gi(x,y)进行增强,同时去除了噪声。对于输入图像gi,我们设置目标图像为ui。一方面我们希望其尽可能近似gi,于此同时,ui除了在gi一些边缘梯度变化比较大的地方外,其整体应该越平滑越好。因此,所述基于加权最小二乘法的保边平滑滤波器对边缘图像进行滤波的具体步骤包括:Step 3: The edge image g i (x, y) is enhanced with an edge-preserving smoothing filter based on the weighted least squares method, and noise is removed at the same time. For the input image g i , we set the target image to be ui . On the one hand, we want it to be as close to gi as possible, and at the same time, ui should be as smooth as possible, except for some places where the gradient of gi is relatively large. Therefore, the specific steps for filtering the edge image by the edge-preserving smoothing filter based on the weighted least squares method include:

求最小化下列目标函数的解。Find a solution that minimizes the following objective function.

Figure GDA0003487848720000051
Figure GDA0003487848720000051

其中,in,

Figure GDA0003487848720000052
Figure GDA0003487848720000052

Figure GDA0003487848720000053
Figure GDA0003487848720000053

式中,目标函数第一项(uip-gip)2用于使输入图像和输出图像越相似越好,第二项是正则项,通过最小化ui的偏导,使得输出图像越平滑越好。λ是正则项参数,平衡两者比重,λ越大图像也就越平滑。平滑的权重分别是ax,p(gi)和ay,p(gi)。其中li是输入图像gi的对数亮度通道,α为指数,而ε是一个很小的常数(通常为0.0001)。In the formula, the first term of the objective function (u ip -g ip ) 2 is used to make the input image and the output image as similar as possible, and the second term is the regular term, which minimizes the partial derivative of u i to make the output image smoother the better. λ is a regular term parameter, which balances the proportions of the two. The larger the λ, the smoother the image. The smoothing weights are a x,p ( gi ) and a y,p ( gi ), respectively. where li is the logarithmic luminance channel of the input image gi , α is the exponential, and ε is a small constant (usually 0.0001).

将上式写成矩阵形式:Write the above equation in matrix form:

Figure GDA0003487848720000061
Figure GDA0003487848720000061

这里,Aix和Aiy是包含平滑权重的对角矩阵,Dix和Diy是离散差分算子。Here, A ix and A iy are diagonal matrices containing smoothing weights, and Di ix and D iy are discrete difference operators.

令目标函数等于0,将目标函数转换为:Let the objective function equal to 0, and convert the objective function to:

(Q+λLig)ui=gi (Q+λL ig )u i = gi

其中,Lig是一个五点空间异性拉普拉斯矩阵,

Figure GDA0003487848720000062
主要用于从稀疏约束集导出分段平滑调整图;
Figure GDA0003487848720000063
Figure GDA0003487848720000064
是后向差分算子。where L ig is a five-point spatially anisotropic Laplace matrix,
Figure GDA0003487848720000062
Mainly used to derive piecewise smooth adjustment maps from sparse constraint sets;
Figure GDA0003487848720000063
and
Figure GDA0003487848720000064
is the backward difference operator.

步骤四:最后用滤波之后图像的最大梯度和平均梯度的加权作为评价图像的质量分数。图像的最大梯度和平均梯度定义为:Step 4: Finally, use the weight of the maximum gradient and the average gradient of the filtered image as the quality score of the evaluation image. The maximum gradient and average gradient of an image are defined as:

MGi=max(ui(x,y))MG i =max(u i (x,y))

AGi=(∑x,yui(x,y)/(wi×hi))AG i =(∑ x,y u i (x,y)/( wi × hi ))

其中,MGi和AGi分别是滤波之后图像的最大梯度和平均梯度,w和h是滤波后的图像的长度和宽度。where MG i and AG i are the maximum gradient and average gradient of the filtered image, respectively, and w and h are the length and width of the filtered image.

扫描电镜模糊图像Ii的客观质量分数为:The objective quality score of the SEM blurred image I i is:

IQAi=MGi×AGi IQA i =MG i ×AG i

通过实验测试可以得出α取0.4366时,结果是最优的。Through experimental tests, it can be concluded that when α is 0.4366, the result is optimal.

实验结果以及性能:Experimental results and performance:

为了验证本发明提出的方法的性能,将本实施例预测得到的客观质量分数与主观质量分数进行比较,即判断上述技术方案所得的结果是否与人类视觉感官保持一致。由于本实施获得的客观质量分数与主观质量分数之间是非线性的,所以要对客观质量分数进行一个合适的非线性变换,即通过非线性拟合函数将图像客观质量分数映射到与主观质量分数相同的尺度上。通常选用五参数拟合函数,设定v表示客观质量分数,f(v)的表达式如下:In order to verify the performance of the method proposed by the present invention, the objective quality score predicted in this embodiment is compared with the subjective quality score, that is, it is judged whether the result obtained by the above technical solution is consistent with human visual sense. Since the objective quality score and subjective quality score obtained in this implementation are nonlinear, a suitable nonlinear transformation should be performed on the objective quality score, that is, the objective quality score of the image is mapped to the subjective quality score through a nonlinear fitting function. on the same scale. Usually a five-parameter fitting function is used, and v is set to represent the objective quality score, and the expression of f(v) is as follows:

Figure GDA0003487848720000065
Figure GDA0003487848720000065

其中,τi,i=1,2,3,4,5为拟合的参数。Among them, τ i , i=1, 2, 3, 4, 5 are parameters of fitting.

经过非线性拟合之后,可以选用三种常用指标来判定本发明的性能。定义第i幅扫描电镜图像的主观质量分数和经过非线性转换后的客观质量分数分别为ki和qi,下面分别介绍三个指标的计算过程。After nonlinear fitting, three common indexes can be selected to determine the performance of the present invention. The subjective quality score of the ith SEM image and the objective quality score after nonlinear transformation are defined as ki and qi respectively, and the calculation process of the three indicators is described below.

(1)皮尔森线性相关系数(PLCC):(1) Pearson Linear Correlation Coefficient (PLCC):

Figure GDA0003487848720000071
Figure GDA0003487848720000071

其中,N代表扫描电镜图像的数量,

Figure GDA0003487848720000072
Figure GDA0003487848720000073
分别表示N幅扫描电镜图像的主观质量分数均值和客观质量分数均值。where N represents the number of SEM images,
Figure GDA0003487848720000072
and
Figure GDA0003487848720000073
represent the mean subjective quality score and the mean objective quality score of N SEM images, respectively.

(2)均方根误差(RMSE):(2) Root Mean Square Error (RMSE):

Figure GDA0003487848720000074
Figure GDA0003487848720000074

(3)斯皮尔曼相关系数(SRCC):(3) Spearman correlation coefficient (SRCC):

Figure GDA0003487848720000075
Figure GDA0003487848720000075

其中,di表示扫描电镜图像Ii的主观质量分数与客观质量分数之间的排序差异。Among them, d i represents the ranking difference between the subjective quality score and the objective quality score of the SEM image I i .

以上三个性能指标分别从预测准确性和单调性两个角度判断本发明技术方案的性能,其中PLCC和RMSE是算法预测准确性的指标,PLCC和SRCC越高代表算法预测的准确性越高。检验算法的预测单调性指标是RMSE,RMSE越低代表算法能与主观评价保持一致,整体上算法的性能就越好。The above three performance indicators judge the performance of the technical solution of the present invention from the perspectives of prediction accuracy and monotonicity, wherein PLCC and RMSE are indicators of algorithm prediction accuracy, and higher PLCC and SRCC represent higher algorithm prediction accuracy. The prediction monotonicity index of the test algorithm is RMSE. The lower the RMSE, the better the algorithm performance is.

表1是本发明和11种典型的清晰度无参考评价方法性能的比较,为了方便观看,最好的性能已经加粗显示。Table 1 is a comparison of the performance of the present invention and 11 typical no-reference evaluation methods for sharpness. For the convenience of viewing, the best performance has been shown in bold.

表1本发明方法和现有清晰度无参考图像质量评价算法的性能对比Table 1 Performance comparison between the method of the present invention and the existing sharpness no-reference image quality evaluation algorithm

Figure GDA0003487848720000076
Figure GDA0003487848720000076

Figure GDA0003487848720000081
Figure GDA0003487848720000081

由上表,我们可以获得本发明提出来的方法和现有的典型清晰度无参考图像质量评价方法相比具有明显的优势,即PLCC/SRCC的数值明显高于所有方法,而RMSE最低。From the above table, we can obtain that the method proposed by the present invention has obvious advantages compared with the existing typical definition no-reference image quality evaluation methods, that is, the value of PLCC/SRCC is significantly higher than all methods, and the RMSE is the lowest.

以上所述仅是本发明的优选实施方式,应当指出:对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is only the preferred embodiment of the present invention, it should be pointed out: for those skilled in the art, under the premise of not departing from the principle of the present invention, several improvements and modifications can also be made, and these improvements and modifications are also It should be regarded as the protection scope of the present invention.

Claims (3)

1. A non-reference evaluation method for the definition of a scanning electron microscope image based on a dark channel is characterized by comprising the following steps:
(1) acquiring a scanning electron microscope blurred image I, and performing dark channel pretreatment on the I;
Figure FDA0003487848710000011
wherein, s (I) represents the image after the image I is subjected to dark channel preprocessing, and s (I), (t) represents the pixel value at the pixel point t in s (I); Ω (t) represents a window of m × m with the pixel point t as the center, and m is the width of the window; i (z) represents the pixel value at pixel point z in image I;
(2) extracting an edge image of the image subjected to dark channel preprocessing by using a Sobel edge operator;
(3) filtering the edge image by using an edge-preserving smoothing filter based on a weighted least square method; the method comprises the following specific steps:
31) constructing an objective function:
Figure FDA0003487848710000012
wherein,
Figure FDA0003487848710000013
wherein u represents the target image, upRepresents the pixel value at a point p on the image u; λ is a regularization term parameter, ax,p(g) And ay,p(g) Respectively representing the smoothing weight in the horizontal direction and the smoothing weight in the vertical directionWeighing; l represents the logarithmic luminance channel of the edge image g; alpha is an exponent, and epsilon is a very small constant;
32) converting the objective function to a matrix form:
Figure FDA0003487848710000014
in the formula, AxFor diagonal matrices containing smooth weights in the horizontal direction, AyIs a diagonal matrix containing smooth weights in the vertical direction; dxAnd DyRespectively a horizontal direction discrete difference operator and a vertical direction discrete difference operator;
Figure FDA0003487848710000015
is a reaction of with DxThe backward difference operator in the opposite direction is,
Figure FDA0003487848710000016
is a reaction of with DyBackward difference operators in opposite directions;
33) solving for u that minimizes the objective function;
(4) weighting the maximum gradient and the average gradient of the filtered image to be used as objective quality scores for evaluating the scanning electron microscope fuzzy image I; the maximum gradient and the average gradient of the filtered image are respectively:
MG=max(u(x,y))
AG=(∑x,yu(x,y)/(w×h))
in the formula, MG and AG are the maximum gradient and average gradient of the filtered image respectively, and w and h are the length and width of the filtered image respectively;
the objective quality fraction of the scanning electron microscope blurred image I is as follows: iQA ═ MG × AG
2. The method for non-reference evaluation of the definition of a scanning electron microscope image based on a dark channel according to claim 1, wherein the edge image extracted in the step (2) has an expression as follows:
g(x,y)=|Δxh(x,y)+|Δyv(x,y)| (2)
Δxh(x,y)=s(x+1,y-1)+2s(x+1,y)+s(x+1,y+1)-s(x-1,y-1)-2s(x-1,y)-s(x-1,y+1)
Δyv(x,y)=s(x-1,y+1)+2s(x,y+1)+s(x+1,y+1)-s(x-1,y-1)-2s(x,y-1)-s(x+1,y-1)
wherein g represents an edge image, g (x, y) represents a pixel value at a pixel point (x, y) in the edge image g, and Δxh (x, y) and Δyv (x, y) represents the first derivative of the image s (i) in the horizontal direction and the first derivative in the vertical direction, respectively.
3. The method for non-reference evaluation of the definition of a scanning electron microscope image based on a dark channel according to claim 2, wherein the step of solving u that minimizes the objective function is:
let the objective function equal to 0, convert the objective function to:
(Q+λLg)u=g (5)
wherein L isgIs a five-point space anisotropic Laplacian matrix which is used for deriving a piecewise smooth adjustment graph from a sparse constraint set,
Figure FDA0003487848710000021
Figure FDA0003487848710000022
is a reaction of with DxThe backward difference operator in the opposite direction is,
Figure FDA0003487848710000023
is a reaction of with DyBackward difference operators in opposite directions; q is an identity matrix;
u is calculated according to equation (5).
CN201810042657.2A 2018-01-17 2018-01-17 A no-reference evaluation method for SEM image clarity based on dark channel Expired - Fee Related CN108288267B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810042657.2A CN108288267B (en) 2018-01-17 2018-01-17 A no-reference evaluation method for SEM image clarity based on dark channel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810042657.2A CN108288267B (en) 2018-01-17 2018-01-17 A no-reference evaluation method for SEM image clarity based on dark channel

Publications (2)

Publication Number Publication Date
CN108288267A CN108288267A (en) 2018-07-17
CN108288267B true CN108288267B (en) 2022-04-05

Family

ID=62835521

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810042657.2A Expired - Fee Related CN108288267B (en) 2018-01-17 2018-01-17 A no-reference evaluation method for SEM image clarity based on dark channel

Country Status (1)

Country Link
CN (1) CN108288267B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111273581B (en) * 2020-01-23 2021-11-09 深圳市大拿科技有限公司 Control method of intelligent wardrobe and related product
CN117934384A (en) * 2023-12-28 2024-04-26 北京中科科仪光电科技有限公司 Image quality evaluation method and device suitable for scanning electron microscope
CN118918109B (en) * 2024-10-10 2024-12-27 杭州希诺智能医学有限公司 Image definition data processing method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104637064A (en) * 2015-02-28 2015-05-20 中国科学院光电技术研究所 Defocus blurred image definition detection method based on edge intensity weight
US20160071244A1 (en) * 2014-09-04 2016-03-10 National Taipei University Of Technology Method and system for image haze removal based on hybrid dark channel prior
CN106934770A (en) * 2017-02-08 2017-07-07 中国矿业大学 A kind of method and apparatus for evaluating haze image defog effect

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160071244A1 (en) * 2014-09-04 2016-03-10 National Taipei University Of Technology Method and system for image haze removal based on hybrid dark channel prior
CN104637064A (en) * 2015-02-28 2015-05-20 中国科学院光电技术研究所 Defocus blurred image definition detection method based on edge intensity weight
CN106934770A (en) * 2017-02-08 2017-07-07 中国矿业大学 A kind of method and apparatus for evaluating haze image defog effect

Also Published As

Publication number Publication date
CN108288267A (en) 2018-07-17

Similar Documents

Publication Publication Date Title
CN101877127B (en) Image reference-free quality evaluation method and system based on gradient profile
CN108682008B (en) A kind of Leukocyte Image clarity evaluation method and device
Liang et al. No-reference perceptual image quality metric using gradient profiles for JPEG2000
CN108053396B (en) No-reference evaluation method for multi-distortion image quality
Liu et al. Quality assessment for real out-of-focus blurred images
CN110443800B (en) Video image quality evaluation method
CN110706196B (en) Clustering perception-based no-reference tone mapping image quality evaluation algorithm
CN106651792B (en) Method and device for removing stripe noise of satellite image
CN105139391B (en) A kind of haze weather traffic image edge detection method
CN116660286A (en) Wire harness head peeling measurement and defect detection method and system based on image segmentation
CN108288267B (en) A no-reference evaluation method for SEM image clarity based on dark channel
CN112819739B (en) Image processing method and system for scanning electron microscope
CN117974706B (en) A concave point segmentation method for rock slices based on dynamic threshold and local search
WO2024016632A1 (en) Bright spot location method, bright spot location apparatus, electronic device and storage medium
CN114332081B (en) Textile surface abnormity determination method based on image processing
CN106651834A (en) Method and device for evaluating quality of substation equipment infrared thermal image with no reference image
Das et al. A comparative study of single image fog removal methods
CN103841410A (en) Half reference video QoE objective evaluation method based on image feature information
CN107330891B (en) Effective image quality evaluation system
CN120107088B (en) Image enhancement method and system based on deep learning
CN108776958B (en) Mix the image quality evaluating method and device of degraded image
CN108682005B (en) A semi-reference 3D composite image quality evaluation method based on covariance matrix features
Smith et al. Effect of pre-processing on binarization
CN115187551B (en) A display screen weak cross defect detection method based on frequency domain filtering of significant color channels
CN114862762A (en) Quality evaluation method and device for human body scanning image

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20220405