CN110288564B - Binarization speckle quality evaluation method based on power spectrum analysis - Google Patents

Binarization speckle quality evaluation method based on power spectrum analysis Download PDF

Info

Publication number
CN110288564B
CN110288564B CN201910427975.5A CN201910427975A CN110288564B CN 110288564 B CN110288564 B CN 110288564B CN 201910427975 A CN201910427975 A CN 201910427975A CN 110288564 B CN110288564 B CN 110288564B
Authority
CN
China
Prior art keywords
speckle
sub
error
value
power spectrum
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.)
Active
Application number
CN201910427975.5A
Other languages
Chinese (zh)
Other versions
CN110288564A (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.)
Nanjing University of Science and Technology
Original Assignee
Nanjing University of Science and Technology
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 Nanjing University of Science and Technology filed Critical Nanjing University of Science and Technology
Priority to CN201910427975.5A priority Critical patent/CN110288564B/en
Publication of CN110288564A publication Critical patent/CN110288564A/en
Application granted granted Critical
Publication of CN110288564B publication Critical patent/CN110288564B/en
Active 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
    • 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)
  • Quality & Reliability (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

本发明公开了一种基于功率谱分析的二值化散斑质量评价方法,该方法包括以下步骤:相机采集二值化散斑图案;对采集的图案进行灰度值的提取并做降噪处理;设定子区大小及框定目标子区;在选定子区内获取图片功率谱、散斑占空比、噪声方差;将功率谱进行傅里叶逆变换,进而求解散斑相邻两点为同一散斑基元的概率密度函数;设定误差求解精度,求解散斑误差值以及各值对应的概率,并求出误差均值与方差,并求解所有目标子区平均均值以及方差,以此达到评价散斑的目的。本发明采用功率谱分析的方式进行了二值化散斑质量评价,方法能够按照实验者对于实验的精度要求自由选择误差精度,具有设备简单、方便实用等优点。

Figure 201910427975

The invention discloses a method for evaluating the quality of binarized speckle based on power spectrum analysis. The method includes the following steps: collecting a binarized speckle pattern by a camera; extracting the gray value of the collected pattern and performing noise reduction processing ; Set the size of the sub-region and frame the target sub-region; obtain the image power spectrum, speckle duty cycle, and noise variance in the selected sub-region; perform inverse Fourier transform on the power spectrum, and then solve the two adjacent points of the speckle is the probability density function of the same speckle primitive; set the error solving precision, solve the speckle error value and the corresponding probability of each value, and find the error mean and variance, and solve the average mean and variance of all target sub-regions, so as to achieve the purpose of evaluating speckle. The present invention uses the power spectrum analysis method to evaluate the quality of the binarized speckle, the method can freely select the error precision according to the experimenter's requirement for the precision of the experiment, and has the advantages of simple equipment, convenience and practicality, and the like.

Figure 201910427975

Description

基于功率谱分析的二值化散斑质量评价方法A Binarized Speckle Quality Evaluation Method Based on Power Spectrum Analysis

技术领域technical field

本发明涉及光测实验固体力学领域,尤其是一种基于功率谱分析的二值化散斑质量评价方法。The invention relates to the field of solid mechanics of optical measurement experiments, in particular to a binarized speckle quality evaluation method based on power spectrum analysis.

背景技术Background technique

二值化散斑广泛运用于数字图像相干(DIC)的测量中,其具有灰度梯度大,测量误差小等优点。Binarized speckle is widely used in the measurement of digital image coherence (DIC), which has the advantages of large gray gradient and small measurement error.

现今对于二值化散斑的质量评价多从散斑占空比、散斑半径等角度出发,缺少对于散斑功率谱的考量。并且,现有的散斑质量评价多采用数值模拟的方式。如,潘兵、吴大方等人在《数字图像相关方法中散斑图的质量评价研究》一文中利用五幅明显不同的散斑图进行了精确平移,并将测量值与预计值进行对比,分析均值误差和标准差,这样的方式缺少普遍性,并缺少具体的实验实施方案。Nowadays, the quality evaluation of binarized speckle mostly starts from the angle of speckle duty ratio and speckle radius, and lacks the consideration of speckle power spectrum. In addition, the existing speckle quality evaluation mostly adopts the method of numerical simulation. For example, Pan Bing, Wu Dafang et al. used five distinctly different speckle images for precise translation in the paper "Research on the Quality Evaluation of Speckle Images in Digital Image Correlation Methods", and compared the measured values with the predicted values. The analysis of mean error and standard deviation lacks generality and lacks specific experimental implementations.

发明内容SUMMARY OF THE INVENTION

本发明的目的在于提供一种基于功率谱分析的二值化散斑质量评价方法,以功率谱分析为基础,从实验角度出发,简洁直观地评价功率谱好坏,操作简单,易于实现。The purpose of the present invention is to provide a binarized speckle quality evaluation method based on power spectrum analysis. Based on the power spectrum analysis, from an experimental point of view, the quality of the power spectrum can be evaluated concisely and intuitively, with simple operation and easy implementation.

实现本发明目的的技术解决方案为:一种基于功率谱分析的二值化散斑质量评价方法,该方法实验装置包括相机、散斑图案固定板、待测二值化散斑、白光源、光学平台、电子计算机;该方法包括以下步骤:The technical solution to achieve the purpose of the present invention is: a method for evaluating the quality of binarized speckle based on power spectrum analysis, the experimental device of the method includes a camera, a speckle pattern fixing plate, a binarized speckle to be measured, a white light source, Optical platform, electronic computer; the method includes the following steps:

步骤1、相机采集二值化散斑图案;Step 1. The camera collects the binarized speckle pattern;

步骤2、对采集的图案进行灰度值提取,并以矩阵的形式进行保存,从矩阵中提取噪声分量并去除,得到散斑占空比、相机噪声表达式;Step 2, extracting the gray value of the collected pattern and saving it in the form of a matrix, extracting and removing noise components from the matrix, and obtaining the expression of speckle duty ratio and camera noise;

步骤3、设定子区大小,框定若干目标子区;Step 3. Set the size of the sub-area, and frame several target sub-areas;

步骤4、选取目标子区,获取图片相应子区功率谱:利用图像子区自相关傅里叶变换或者其他方式求得图片子区功率谱,将结果存入矩阵SxxStep 4, select the target sub-region, obtain the corresponding sub-region power spectrum of the picture: utilize the image sub-region autocorrelation Fourier transform or other methods to obtain the picture sub-region power spectrum, and store the result in the matrix S xx ;

步骤5、设定子区大小,将功率谱减去由子区大小决定的定值分量与散斑占空比平方的乘积,进而求解散斑相邻两点为同一散斑基元的概率密度函数;Step 5. Set the size of the sub-region, subtract the product of the fixed value component determined by the size of the sub-region and the square of the speckle duty cycle from the power spectrum, and then solve the probability density function that two adjacent points of the speckle are the same speckle primitive ;

步骤6、设定误差求解精度,求解散斑误差值以及各值对应的概率,并求出误差均值与方差;Step 6. Set the error solving precision, solve the speckle error value and the probability corresponding to each value, and obtain the error mean and variance;

步骤7、重新选取目标子区,重复步骤4~步骤6,直至目标子区选取完毕,利用各子区误差均值与方差求取总误差均值与方差。Step 7: Re-select the target sub-area, repeat steps 4 to 6 until the target sub-area is selected, and use the error mean and variance of each sub-area to obtain the total error mean and variance.

本发明与现有技术相比,其显著优点是:(1)本发明方法创新型地采用了功率谱分析的方式进行了二值化散斑质量评价,并从实验的角度实现了该功能;(2)方法能够按照实验者对于实验的精度要求自由选择误差精度,精度值可小于0.001pixel;(3)所需要的设备简单、方便实用、结果直观明显等优点。Compared with the prior art, the present invention has the following significant advantages: (1) the method of the present invention innovatively adopts the power spectrum analysis method to evaluate the quality of the binarized speckle, and realizes this function from an experimental point of view; (2) The method can freely choose the error accuracy according to the experimenter's requirements for the accuracy of the experiment, and the accuracy value can be less than 0.001 pixel; (3) The required equipment is simple, convenient and practical, and the results are intuitive and obvious.

附图说明Description of drawings

图1为本发明测量装置示意图。FIG. 1 is a schematic diagram of the measuring device of the present invention.

图2为本发明基于功率谱分析的二值化散斑质量评价方法流程图。FIG. 2 is a flow chart of a method for evaluating the quality of binarized speckle based on power spectrum analysis according to the present invention.

图3为本发明实施例中散斑的质量分析结果示意图。FIG. 3 is a schematic diagram of a quality analysis result of speckle in an embodiment of the present invention.

具体实施方式Detailed ways

如图1、图2所示,该二值化散斑质量评价方法的实验装置包括:一台工业相机1、高分辨率镜头2、散斑图案固定板及其夹持装置3、待测二值化散斑4、白光源5、光学平台6、电子计算机7;该方法包括以下步骤:As shown in Figures 1 and 2, the experimental device of the binarized speckle quality evaluation method includes: an industrial camera 1, a high-resolution lens 2, a speckle pattern fixing plate and its clamping device 3, a second to be measured Valued speckle 4, white light source 5, optical table 6, electronic computer 7; the method includes the following steps:

步骤1、相机采集二值化散斑图案:在白光源的照射下,利用带高分辨率镜头的工业相机对二值化散斑进行采集。Step 1. The camera collects the binarized speckle pattern: under the illumination of a white light source, an industrial camera with a high-resolution lens is used to collect the binarized speckle.

步骤2、图像特征及噪声特征提取:对采集的图案进行灰度值的提取,并以矩阵的形式进行保存。进而将灰度矩阵分为两大块子矩阵,两块子矩阵之间的数据均具有明显数值大小差距。接着对两块子矩阵分别求均值,并记录下各像素点实际取值与该均值的差值,记录该差值作为各像素点噪声值。最后将噪声表达式看成均值为零的高斯概率分布表达式,像素点噪声值方差即为该表达式方差,则噪声概率密度分布表达式f(I)为:Step 2: Extracting image features and noise features: extracting grayscale values of the collected patterns and saving them in the form of a matrix. Furthermore, the grayscale matrix is divided into two sub-matrices, and the data between the two sub-matrices have obvious numerical differences. Then, average the two sub-matrices respectively, and record the difference between the actual value of each pixel and the average, and record the difference as the noise value of each pixel. Finally, the noise expression is regarded as a Gaussian probability distribution expression with a mean value of zero, and the variance of the pixel noise value is the variance of the expression, then the noise probability density distribution expression f(I) is:

Figure BDA0002068092530000021
Figure BDA0002068092530000021

其中,I为噪声灰度值,σ为噪声方差;Among them, I is the noise gray value, σ is the noise variance;

将数值较大的子矩阵的元素个数和整个灰度矩阵元素个数的比值看成散斑占空比,记为δ。The ratio of the number of elements of the sub-matrix with a larger value to the number of elements of the entire grayscale matrix is regarded as the speckle duty ratio, denoted as δ.

步骤3、设定子区大小,其为L*L的矩形区域,用户设定N个目标子区。Step 3. Set the size of the sub-area, which is a L*L rectangular area, and the user sets N target sub-areas.

步骤4、选取目标子区,获取图片相应子区功率谱:利用图像子区自相关傅里叶变换或者其他方式求得图片子区功率谱,进而将结果存入矩阵SxxStep 4: Select the target sub-region, and obtain the power spectrum of the corresponding sub-region of the picture: obtain the power spectrum of the picture sub-region by using the autocorrelation Fourier transform of the image sub-region or other methods, and then store the result in the matrix S xx .

步骤5、先求解由子区大小决定的定值分量,表示为

Figure BDA0002068092530000031
结果如下:Step 5. First solve the fixed value component determined by the size of the sub-region, which is expressed as
Figure BDA0002068092530000031
The result is as follows:

Figure BDA0002068092530000032
Figure BDA0002068092530000032

其中,u、v为功率谱变量,L为子区尺寸参数。Among them, u and v are power spectrum variables, and L is the sub-region size parameter.

接着,将散斑占空比与由子区大小决定的定值分量相乘,并求散斑功率谱与其的差值并以矩阵形式存储,所得差值表示为

Figure BDA0002068092530000033
结果为:Next, multiply the speckle duty cycle by the fixed value component determined by the size of the sub-area, and calculate the difference between the speckle power spectrum and the speckle power spectrum and store it in the form of a matrix. The obtained difference is expressed as
Figure BDA0002068092530000033
The result is:

Figure BDA0002068092530000034
Figure BDA0002068092530000034

再求解

Figure BDA0002068092530000035
与(δ-δ2)的商的傅里叶逆变换Fsame(x,y),以矩阵形式保存:Solve again
Figure BDA0002068092530000035
The inverse Fourier transform of the quotient with (δ-δ 2 ), F same (x,y), is stored as a matrix:

Figure BDA0002068092530000036
Figure BDA0002068092530000036

最后,求解散斑相邻两点为同一散斑基元的概率密度函数fsame(x,y):Finally, solve the probability density function f same (x, y) that two adjacent points of the speckle are the same speckle primitive:

Figure BDA0002068092530000037
Figure BDA0002068092530000037

步骤6、以像素为单位设定误差求解精度。Step 6. Set the error solving precision in pixels.

散斑误差值以及各值对应的概率的求解步骤如下:The steps for solving the speckle error value and the probability corresponding to each value are as follows:

首先,划定3σ区域内为可能存在的误差范围,利用设定的误差求解精度ε对该区域进行划分,得到各取样点坐标:First, the 3σ region is defined as the possible error range, and the region is divided by the set error solution accuracy ε, and the coordinates of each sampling point are obtained:

Figure BDA0002068092530000038
Figure BDA0002068092530000038

i=-Ni,-Ni+1…0…Ni-1,Nii=-N i ,-N i +1...0...N i -1,N i ,

j=-Nj,-Nj+1…0…Nj-1,Nj j=-N j ,-N j +1...0...N j -1,N j

其中,

Figure BDA0002068092530000039
in,
Figure BDA0002068092530000039

紧接着确认两点灰度之间的相干值Ri,jThen confirm the coherence value Ri ,j between the two grayscales:

Figure BDA00020680925300000310
Figure BDA00020680925300000310

其中,I~N(1,2σ2)。Among them, I~N(1,2σ 2 ).

再求解各个取样点取得最大值的概率:Then solve the probability that each sampling point achieves the maximum value:

Figure BDA00020680925300000311
Figure BDA00020680925300000311

其中,erf(x)为误差函数,f(Ri,j)为Ri,j满足的概率密度分布函数,其表达式为:Among them, erf(x) is the error function, f(R i,j ) is the probability density distribution function satisfied by R i,j , and its expression is:

Figure BDA00020680925300000312
Figure BDA00020680925300000312

其中,

Figure BDA0002068092530000041
in,
Figure BDA0002068092530000041

以上最大值的求法采用数值解法。The above maximum value is obtained by numerical solution.

求解完散斑误差值以及各值对应的概率后,而后求误差均值与方差。误差均值与方差包含水平、竖直两个方向的单向误差δU、δV,包含两方向的综合误差δUV。其计算步骤如下:After solving the speckle error value and the corresponding probability of each value, then calculate the error mean and variance. The error mean and variance include the one-way errors δ U and δ V in the horizontal and vertical directions, and the comprehensive error δ UV in the two directions. The calculation steps are as follows:

首先,求每个像素点的误差ΔδU,ΔδV,ΔδUV均值及方差,分别记为E(ΔδU)、D(ΔδU)、E(ΔδV)、D(ΔδV)、E(ΔδUV)、D(ΔδUV),计算方法如下:First, find the mean and variance of the errors Δδ U , Δδ V , Δδ UV for each pixel, denoted as E(Δδ U ), D(Δδ U ), E(Δδ V ), D(Δδ V ), E( Δδ UV ), D(Δδ UV ), the calculation method is as follows:

Figure BDA0002068092530000042
Figure BDA0002068092530000042

Figure BDA0002068092530000043
Figure BDA0002068092530000043

Figure BDA0002068092530000044
Figure BDA0002068092530000044

Figure BDA0002068092530000045
Figure BDA0002068092530000045

Figure BDA0002068092530000046
Figure BDA0002068092530000046

Figure BDA0002068092530000047
Figure BDA0002068092530000047

进而,再引入子区大小对于误差的影响,计算子区总体误差,均值分别记为:E(δU)、E(δV)、E(δUV),方差分别记为D(δU)、D(δV)、D(δUV),结果为:Then, the influence of the sub-region size on the error is introduced, and the overall error of the sub-region is calculated. The mean values are respectively recorded as: E(δ U ), E(δ V ), E(δ UV ), and the variances are respectively recorded as D(δ U ) , D(δ V ), D(δ UV ), the results are:

Figure BDA0002068092530000048
Figure BDA0002068092530000048

Figure BDA0002068092530000049
Figure BDA0002068092530000049

Figure BDA00020680925300000410
Figure BDA00020680925300000410

步骤7、重新选取目标子区,重复步骤4、5、6,直至目标子区选取完毕,记录下各子区误差均值与方差。利用各个子区误差均值与方差求得总误差均值与方差,均值分别记为:EU)、EV)、EUV),方差分别记为:DU)、DV)、DUV),计算方式如下:Step 7: Re-select the target sub-area, repeat steps 4, 5, and 6 until the target sub-area is selected, and record the error mean and variance of each sub-area. The total error mean and variance are obtained by using the error mean and variance of each sub-area . δ U ), D totalV ), D totalUV ) are calculated as follows:

Figure BDA0002068092530000051
Figure BDA0002068092530000051

Figure BDA0002068092530000052
Figure BDA0002068092530000052

Figure BDA0002068092530000053
Figure BDA0002068092530000053

最终得出的误差均值作为主要考量散斑质量的因素。The final error mean is used as the main factor to consider the speckle quality.

采用上述测量方式,对于若干散斑进行实际的散斑质量分析。利用数值模拟软件制取了一系列半径为2,不同占空比的散斑。利用上述计算方法对散斑的质量进行分析,其分析结果如图3所示,从实施结果可以看出,实验结果和理论分析拟合良好。Using the above measurement methods, the actual speckle quality analysis is performed for several speckles. A series of speckles with a radius of 2 and different duty ratios were obtained by numerical simulation software. The quality of the speckle is analyzed by the above calculation method, and the analysis result is shown in Figure 3. It can be seen from the implementation result that the experimental result and the theoretical analysis fit well.

Claims (4)

1.一种基于功率谱分析的二值化散斑质量评价方法,其特征在于,该方法的实验装置包括相机、散斑图案固定板、待测二值化散斑、白光源、光学平台、电子计算机,该方法包括以下步骤:1. A method for evaluating the quality of binarized speckle based on power spectrum analysis, characterized in that the experimental device of the method comprises a camera, a speckle pattern fixing plate, a binarized speckle to be measured, a white light source, an optical table, Electronic computer, the method includes the following steps: 步骤1、相机采集二值化散斑图案;Step 1. The camera collects the binarized speckle pattern; 步骤2、对采集的二值化散斑图案进行灰度值提取,并以矩阵的形式进行保存,从矩阵中提取噪声分量并去除,得到散斑占空比、相机噪声表达式;Step 2, extracting the gray value of the collected binarized speckle pattern, and saving it in the form of a matrix, extracting and removing noise components from the matrix, and obtaining the expression of the speckle duty ratio and the camera noise; 步骤3、设定子区大小,框定若干目标子区;Step 3. Set the size of the sub-area, and frame several target sub-areas; 步骤4、选取目标子区,获取图片相应子区功率谱:利用图像子区自相关傅里叶变换求得图片子区功率谱,将结果存入矩阵SxxStep 4, select the target sub-region, obtain the power spectrum of the corresponding sub-region of the picture: utilize the autocorrelation Fourier transform of the image sub-region to obtain the power spectrum of the picture sub-region, and store the result in the matrix S xx ; 步骤5、设定子区大小,将功率谱减去由子区大小决定的定值分量与散斑占空比平方的乘积,进而求解散斑相邻两点为同一散斑基元的概率密度函数;Step 5. Set the size of the sub-region, subtract the product of the fixed value component determined by the size of the sub-region and the square of the speckle duty cycle from the power spectrum, and then solve the probability density function that two adjacent points of the speckle are the same speckle primitive ; 所述的定值分量表示为
Figure FDA0003684214090000011
结果如下:
The constant value component is expressed as
Figure FDA0003684214090000011
The result is as follows:
Figure FDA0003684214090000012
Figure FDA0003684214090000012
其中,u、v为功率谱变量,L为子区尺寸参数;Among them, u and v are power spectrum variables, and L is the sub-region size parameter; 概率密度函数求解方式如下:The probability density function is solved as follows: 将散斑占空比与由子区大小决定的定值分量相乘,并求散斑功率谱与其的差值并以矩阵形式存储,所得差值表示为
Figure FDA0003684214090000013
结果为:
Multiply the speckle duty cycle by the fixed value component determined by the size of the sub-area, and calculate the difference between the speckle power spectrum and it and store it in the form of a matrix. The obtained difference is expressed as
Figure FDA0003684214090000013
The result is:
Figure FDA0003684214090000014
Figure FDA0003684214090000014
求解
Figure FDA0003684214090000015
与(δ-δ2)的商的傅里叶逆变换Fsame(x,y),结果以矩阵形式保存:
solve
Figure FDA0003684214090000015
Inverse Fourier transform F same (x,y) of the quotient with (δ-δ 2 ), the result is stored in matrix form:
Figure FDA0003684214090000016
Figure FDA0003684214090000016
求解散斑相邻两点为同一散斑基元的概率密度函数fsame(x,y):Solve the probability density function f same (x, y) that two adjacent points of the speckle are the same speckle primitive:
Figure FDA0003684214090000017
Figure FDA0003684214090000017
步骤6、设定误差求解精度,误差求解精度单位为像素,求解散斑误差值以及各值对应的概率,并求出误差均值与方差;Step 6. Set the error solving accuracy, the unit of error solving accuracy is pixel, solve the speckle error value and the probability corresponding to each value, and obtain the error mean and variance; 散斑误差值以及各值对应的概率的求解步骤如下:The steps for solving the speckle error value and the probability corresponding to each value are as follows: 划定3σ区域内为可能存在的误差范围,利用设定的两方向误差求解精度εi、εj对该区域进行划分,得到各取样点坐标:Delineate the 3σ area as the possible error range, and use the set two-direction error solution accuracy ε i , ε j to divide the area, and obtain the coordinates of each sampling point:
Figure FDA0003684214090000018
Figure FDA0003684214090000018
i=-Ni,-Ni+1...0...Ni-1,Nii=-N i , -N i +1...0...N i -1,N i , j=-Nj,-Nj+1...0...Nj-1,Nj j =-Nj, -Nj +1...0... Nj -1, Nj 其中,
Figure FDA0003684214090000021
in,
Figure FDA0003684214090000021
确认两点灰度之间的相干值Ri,jConfirm the coherence value Ri ,j between the two-point grayscales:
Figure FDA0003684214090000022
Figure FDA0003684214090000022
其中,I~N(1,2σ2);Among them, I~N(1, 2σ 2 ); 求解各个取样点取得最大值的概率
Figure FDA0003684214090000023
Find the probability of obtaining the maximum value for each sampling point
Figure FDA0003684214090000023
Figure FDA0003684214090000024
Figure FDA0003684214090000024
其中,erf(x)为误差函数,f(Ri,j)为Ri,j满足的概率密度分布函数,其表达式为:Among them, erf(x) is the error function, f(R i, j ) is the probability density distribution function satisfied by R i, j , and its expression is:
Figure FDA0003684214090000025
Figure FDA0003684214090000025
其中,
Figure FDA0003684214090000026
in,
Figure FDA0003684214090000026
以上最大值的求法采用数值解法;The above maximum value is obtained by numerical solution method; 误差均值与方差包含水平、竖直两个方向的单向误差δU、δV,包含两方向的综合误差δUV,其计算方法如下:The error mean and variance include the one-way errors δ U , δ V in the horizontal and vertical directions, and the comprehensive error δ UV in the two directions. The calculation method is as follows: 求每个像素点的误差ΔδU,ΔδV,ΔδUV均值及方差,分别记为E(ΔδU)、D(ΔδU)、E(ΔδV)、D(ΔδV)、E(ΔδUV)、D(ΔδUV),计算方法如下:Find the error Δδ U , Δδ V , Δδ UV mean and variance of each pixel, denoted as E(Δδ U ), D(Δδ U ), E(Δδ V ), D(Δδ V ), E(Δδ UV ) ), D(Δδ UV ), the calculation method is as follows:
Figure FDA0003684214090000027
Figure FDA0003684214090000027
Figure FDA0003684214090000028
Figure FDA0003684214090000028
Figure FDA0003684214090000029
Figure FDA0003684214090000029
Figure FDA00036842140900000210
Figure FDA00036842140900000210
Figure FDA0003684214090000031
Figure FDA0003684214090000031
Figure FDA0003684214090000032
Figure FDA0003684214090000032
引入子区大小对于误差的影响,计算子区总体误差,均值分别记为:E(δU)、E(δV)、E(δUV),方差分别记为D(δU)、D(δV)、D(δUV),结果为:The influence of the size of the sub-region on the error is introduced, and the overall error of the sub-region is calculated. The mean values are respectively recorded as: E(δ U ), E(δ V ), E(δ UV ), and the variances are respectively recorded as D(δ U ), D( δ V ), D(δ UV ), the result is: E(δU)=E(ΔδU),
Figure FDA0003684214090000033
E(δ U )=E(Δδ U ),
Figure FDA0003684214090000033
E(δV)=E(ΔδV),
Figure FDA0003684214090000034
E(δ V )=E(Δδ V ),
Figure FDA0003684214090000034
E(δUV)=E(ΔδUV),
Figure FDA0003684214090000035
E(δ UV )=E(Δδ UV ),
Figure FDA0003684214090000035
步骤7、重新选取目标子区,重复步骤4~步骤6,直至目标子区选取完毕,利用各子区误差均值与方差求取总误差均值与方差;Step 7, re-select the target sub-area, repeat steps 4 to 6, until the target sub-area is selected, use the error mean and variance of each sub-area to obtain the total error mean and variance; 总误差均值与方差,均值分别记为:EU)、EV)、EUV),方差分别记为:DU)、DV)、DUV),计算方式如下:The mean and variance of the total error are recorded as: E totalU ), E totalV ), E totalUV ), and the variance is recorded as: D totalU ), D totalV ) , D totalUV ), calculated as follows:
Figure FDA0003684214090000036
Figure FDA0003684214090000036
Figure FDA0003684214090000037
Figure FDA0003684214090000037
Figure FDA0003684214090000038
Figure FDA0003684214090000038
2.根据权利要求1所述的基于功率谱分析的二值化散斑质量评价方法,其特征在于,步骤2中的噪声分量去除以及噪声形式提取具体方法如下:2. The method for evaluating the quality of binarized speckle based on power spectrum analysis according to claim 1, wherein the specific methods for removing noise components and extracting noise forms in step 2 are as follows: 步骤2-1,将灰度矩阵分为两大块子矩阵,对两块子矩阵分别求均值,并记录下各像素点实际取值与该均值的差值,记录该差值作为各像素点噪声值;Step 2-1, divide the grayscale matrix into two sub-matrices, calculate the average value of the two sub-matrices respectively, and record the difference between the actual value of each pixel and the average, and record the difference as each pixel. noise value; 步骤2-2,噪声看成均值为零的高斯概率分布,像素点噪声值方差即为表达式方差,则噪声概率密度分布表达式f(I)为:Step 2-2, the noise is regarded as a Gaussian probability distribution with a mean value of zero, and the variance of the pixel noise value is the expression variance, then the noise probability density distribution expression f(I) is:
Figure FDA0003684214090000039
Figure FDA0003684214090000039
其中,I为噪声灰度值,σ为噪声方差。Among them, I is the noise gray value, and σ is the noise variance.
3.根据权利要求2所述的基于功率谱分析的二值化散斑质量评价方法,其特征在于,步骤2中的散斑占空比为数值较大的子矩阵的元素个数和整个灰度矩阵元素个数的比值,记为δ。3. The binarized speckle quality evaluation method based on power spectrum analysis according to claim 2, wherein the speckle duty ratio in step 2 is the number of elements of the sub-matrix with a larger value and the entire grayscale. The ratio of the number of elements in the degree matrix, denoted as δ. 4.根据权利要求1所述的基于功率谱分析的二值化散斑质量评价方法,其特征在于,步骤3中的子区为L*L的矩形区域,目标子区个数为N。4 . The binarized speckle quality evaluation method based on power spectrum analysis according to claim 1 , wherein the sub-region in step 3 is a L*L rectangular region, and the number of target sub-regions is N. 5 .
CN201910427975.5A 2019-05-22 2019-05-22 Binarization speckle quality evaluation method based on power spectrum analysis Active CN110288564B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910427975.5A CN110288564B (en) 2019-05-22 2019-05-22 Binarization speckle quality evaluation method based on power spectrum analysis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910427975.5A CN110288564B (en) 2019-05-22 2019-05-22 Binarization speckle quality evaluation method based on power spectrum analysis

Publications (2)

Publication Number Publication Date
CN110288564A CN110288564A (en) 2019-09-27
CN110288564B true CN110288564B (en) 2022-08-23

Family

ID=68002478

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910427975.5A Active CN110288564B (en) 2019-05-22 2019-05-22 Binarization speckle quality evaluation method based on power spectrum analysis

Country Status (1)

Country Link
CN (1) CN110288564B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112629828B (en) * 2020-11-27 2023-07-04 奥比中光科技集团股份有限公司 Optical information detection method, device and equipment
CN113077429B (en) * 2021-03-30 2022-09-23 四川大学 Speckle quality evaluation method based on adjacent sub-area correlation coefficient
CN113888614B (en) * 2021-09-23 2022-05-31 合肥的卢深视科技有限公司 Depth recovery method, electronic device, and computer-readable storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104833483A (en) * 2015-04-29 2015-08-12 山东大学 Speckle measuring and evaluating method and application in laser projection display
DE102015114376B4 (en) * 2015-08-28 2017-10-12 Visteon Global Technologies, Inc. Apparatus and method for characterizing subjective speckle formation

Also Published As

Publication number Publication date
CN110288564A (en) 2019-09-27

Similar Documents

Publication Publication Date Title
CN110108348B (en) Micro-amplitude vibration measurement method and system for thin-walled parts based on motion-amplified optical flow tracking
CN110288564B (en) Binarization speckle quality evaluation method based on power spectrum analysis
Grediac et al. 50th anniversary article: effect of sensor noise on the resolution and spatial resolution of displacement and strain maps estimated with the grid method
CN112161574B (en) A three-dimensional measurement system and measurement method based on divergent multi-line laser projection
CN105579809B (en) Measuring method, measuring apparatus, and computer-readable recording medium
CN115791830B (en) Steel plate detection system, steel plate detection method and electronic equipment
TWI573984B (en) System and method of adjusting matching image
JP2017504307A5 (en)
WO2015008404A1 (en) Method and device for measuring displacement distribution using regular pattern, and program for such method and device
CN102759440B (en) Resolution testing device and method thereof
CN104089580A (en) Concrete surface crack width measuring instrument and method based on smart phone
CN112014408B (en) Detection method for reconstructing pcb based on structured light principle
CN101561249A (en) Device and method for automatically detecting fit dimension of surgical knife blade
CN104316401A (en) Two-dimensional digital image correlation method-based particle strain testing device
CN101576372A (en) Automatic detection device and detection method for size of use part of surgical instrument
CN101183460B (en) Quantification method of color image background clutter
Boutelier TecPIV—A MATLAB-based application for PIV-analysis of experimental tectonics
CN110211091A (en) A kind of full resolution pricture reconstructing method, device and crack nondestructive detection system
CN106018198A (en) Bubble particle size back calculation method
CN120558535B (en) Automatic performance detection method and device for array light source super-surface projection device
CN205981439U (en) Thin wall task work makes mode testing arrangement based on machine vision
CN106022354B (en) Image MTF measurement methods based on SVM
CN106500577A (en) A kind of clinac vane grating method for detecting position
CN120598864A (en) A method and system for quickly detecting defects of flexible screens after defoaming
TW201416993A (en) System for estimating image correlation degree based on feature speckles and method thereof

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
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Liu Cong

Inventor after: Wu Wenjie

Inventor before: Wu Wenjie

Inventor before: Liu Cong

GR01 Patent grant
GR01 Patent grant