[go: up one dir, main page]

CN110749280B - Method, system and computer readable medium for extracting index coordinates of peak position - Google Patents

Method, system and computer readable medium for extracting index coordinates of peak position Download PDF

Info

Publication number
CN110749280B
CN110749280B CN201910943439.0A CN201910943439A CN110749280B CN 110749280 B CN110749280 B CN 110749280B CN 201910943439 A CN201910943439 A CN 201910943439A CN 110749280 B CN110749280 B CN 110749280B
Authority
CN
China
Prior art keywords
peak
peak signal
normalized
discrete single
peak position
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
CN201910943439.0A
Other languages
Chinese (zh)
Other versions
CN110749280A (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.)
Huazhong University of Science and Technology
Original Assignee
Huazhong 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 Huazhong University of Science and Technology filed Critical Huazhong University of Science and Technology
Priority to CN201910943439.0A priority Critical patent/CN110749280B/en
Publication of CN110749280A publication Critical patent/CN110749280A/en
Application granted granted Critical
Publication of CN110749280B publication Critical patent/CN110749280B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/002Measuring arrangements characterised by the use of optical techniques for measuring two or more coordinates
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J1/00Photometry, e.g. photographic exposure meter
    • G01J1/10Photometry, e.g. photographic exposure meter by comparison with reference light or electric value provisionally void
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J9/00Measuring optical phase difference; Determining degree of coherence; Measuring optical wavelength

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Microscoopes, Condenser (AREA)

Abstract

The invention discloses a method, a system and a computer readable medium for extracting a peak position index coordinate, which utilize an optical measurement system to obtain a normalized discrete unimodal signal, utilize a preset intensity threshold value T to obtain the intercepted discrete unimodal signal, calculate a dynamic threshold value of the intercepted discrete unimodal signal and filter the normalized discrete unimodal signal to obtain a new normalized intercepted unimodal signal, thereby realizing the rapid and accurate positioning of the peak position index coordinate of the normalized discrete unimodal signal and improving the measurement accuracy of the optical measurement system.

Description

一种提取峰值位置索引坐标的方法、系统及计算机可读介质A method, system and computer-readable medium for extracting peak position index coordinates

技术领域technical field

本发明属于光学测量领域,具体涉及利用一种提取峰值位置索引坐标的方法、系统及计算机可读介质。The invention belongs to the field of optical measurement, and in particular relates to a method, a system and a computer-readable medium for extracting peak position index coordinates.

背景技术Background technique

已知在众多光学精密测量技术如共聚焦显微镜、色散共焦显微镜、激光三角传感器、星空探测、哈特曼夏克(Shack-Hartmann)波前传感器和生物大分子定位等光学应用领域中,探测器如线阵探测器或面阵探测器上会采集得到一个一维或二维的单峰信号,上述测量技术中测量精度与单峰信号的峰值位置索引坐标定位精度直接相关。It is known that in many optical precision measurement techniques such as confocal microscopy, dispersive confocal microscopy, laser triangulation sensors, star detection, Shack-Hartmann wavefront sensors, and biomacromolecule localization and other optical applications, detection. A one-dimensional or two-dimensional single-peak signal is collected on a detector such as a linear array detector or an area-array detector. In the above measurement technology, the measurement accuracy is directly related to the positioning accuracy of the peak position index coordinates of the single-peak signal.

如在共聚焦显微测量技术中,点光源经过共聚焦物镜在被测物体表面聚焦成光斑后沿原路返回,再通过分光镜将来自物体信号的光导入针孔探测器;当物体位于物镜的焦平面时,探测器接收到的光能最大;当物体偏离物镜的焦平面时,反射光被聚焦于针孔前或后的某一位置,此时探测器仅接收一小部分光能量;这样就可以通过探测器检测光强信号的强弱变化来反映物体相对于焦平面的位置。当物体沿物镜的光轴方向扫描运动时,可在不同的扫描高度获得不同光强度,其中以光轴扫描位置作为索引坐标,相应的针孔探测器强度即是强度信息,上述两者则组成了单峰信号。在测量中,通过定位单峰信号的峰值位置索引坐标,即可获得被测位置的高度。再比如在哈特曼夏克(Shack-Hartmann)波前传感器中,当光束入射到哈特曼-夏克波前传感器上时,传感器上的微透镜阵列将光束分割成许多微小的子孔径。每部分光波经过微透镜后分别汇聚在子孔径焦点上形成子孔径光斑阵列图像。当入射光波为理想平面波时,在微透镜阵列焦点上得到的将是一组均匀分布规则的光斑图,即二维单峰信号;当入射光波存在波前畸变的时候,在微透镜阵列焦平面处得到的阵列图像将不再均匀分布,而是与前述理想波前的光斑图存在一定的偏离。这种偏离是根据二维单峰信号的峰值位置索引坐标来衡量的,因此波前探测精度直接受制于峰值位置索引坐标定位精度。对于二维单峰信号如上述光斑图中,索引坐标存在两个维度,可分别表示一张图片中两个方向的像素索引值.从计算本质上看,对二维单峰信号的峰值位置索引坐标(两个坐标)其实就是对两个一维单峰信号的峰值位置索引坐标的定位。For example, in confocal microscopy measurement technology, the point light source is focused on the surface of the object to be measured into a light spot through the confocal objective lens and then returns along the original path, and then the light from the object signal is introduced into the pinhole detector through the spectroscope; when the object is located in the objective lens When the focal plane is at the focal plane, the light energy received by the detector is the largest; when the object deviates from the focal plane of the objective lens, the reflected light is focused on a certain position before or behind the pinhole, and the detector only receives a small amount of light energy at this time; In this way, the position of the object relative to the focal plane can be reflected by detecting the intensity change of the light intensity signal by the detector. When the object scans along the optical axis of the objective lens, different light intensities can be obtained at different scanning heights. The optical axis scanning position is used as the index coordinate, and the corresponding pinhole detector intensity is the intensity information. The above two are composed of a single peak signal. During the measurement, the height of the measured position can be obtained by locating the index coordinates of the peak position of the single-peak signal. For another example, in the Shack-Hartmann wavefront sensor, when a light beam is incident on the Hartmann-Shack wavefront sensor, a microlens array on the sensor divides the light beam into many tiny sub-apertures. After each part of the light wave passes through the microlens, it converges on the sub-aperture focal point to form a sub-aperture light spot array image. When the incident light wave is an ideal plane wave, a set of uniformly distributed and regular light spot patterns will be obtained at the focal point of the microlens array, that is, a two-dimensional single-peak signal; when the incident light wave has wavefront distortion, the focal plane of the microlens array will be The array image obtained at , will no longer be uniformly distributed, but deviate from the spot pattern of the ideal wavefront described above. This deviation is measured according to the peak position index coordinates of the two-dimensional single-peak signal, so the wavefront detection accuracy is directly subject to the positioning accuracy of the peak position index coordinates. For a two-dimensional single-peak signal, such as the above-mentioned speckle diagram, the index coordinates have two dimensions, which can respectively represent the pixel index values in two directions in a picture. The coordinates (two coordinates) are actually the positioning of the index coordinates of the peak positions of the two one-dimensional single-peak signals.

一维单峰信号的峰值位置索引坐标的快速准确可靠提取直接影响最终测量结果准确度和可靠性以及测量频率,其要求峰值位置索引坐标算法同时具有优越的峰值性能(高准确性,高可靠性)和良好的计算效率。现有的峰值位置索引坐标算法包括大值法(MPM),重心法(COM),抛物线拟合法(PFM),高斯拟合法(GFM)和sinc2拟合法(SFM)。其中最大值法(MPM)通过直接选取光强最大点所对应的光谱波长作为峰值,其极容易受到噪声的影响,但具有极高的计算效率;重心法(COM)具有较高的峰值提取准确性和可靠性,具有较高的计算效率;而拟合法如抛物线拟合法(PFM)、高斯拟合法(GFM)和sinc2拟合法(SFM)的峰值提取准确性和可靠性更高,但计算效率过低,难以实现快速在线测量。以发表于《Applied optics》上的《Influence of sample surface height for evaluation ofpeak extraction algorithms in confocal microscopy》(Chen C,Wang J,Liu X,etal.Influence of sample surface height for evaluation of peak extractionalgorithms in confocal microscopy[J].Applied optics,2018,57(22):6516-6526.)的结论为示例,在共焦显微测量领域,对轴向共焦响应信号峰值的准确可靠获取是实现高精度的共焦显微测量的前提。但由于实际的轴向响应信号的数学模型复杂,并非文献中所述的高斯形式或sinc2形式,而基于数学模型的拟合峰值定位精度取决于信号模型与数学拟合模型间的差异性。The fast, accurate and reliable extraction of the peak position index coordinates of the one-dimensional single-peak signal directly affects the accuracy and reliability of the final measurement result and the measurement frequency, which requires the peak position index coordinate algorithm to have superior peak performance (high accuracy, high reliability ) and good computational efficiency. Existing peak position index coordinate algorithms include large value method (MPM), center of gravity method (COM), parabolic fitting method (PFM), Gaussian fitting method (GFM) and sinc2 fitting method (SFM). Among them, the maximum value method (MPM) directly selects the spectral wavelength corresponding to the maximum light intensity point as the peak value, which is easily affected by noise, but has extremely high computational efficiency; the center of gravity method (COM) has high peak extraction accuracy. The peak extraction accuracy and reliability of the fitting methods such as parabolic fitting method (PFM), Gaussian fitting method (GFM) and sinc2 fitting method (SFM) are higher, but the computational efficiency is higher. Too low, it is difficult to achieve fast online measurement. Take "Influence of sample surface height for evaluation of peak extraction algorithms in confocal microscopy" published in "Applied optics" (Chen C, Wang J, Liu X, et al. Influence of sample surface height for evaluation of peak extractionalgorithms in confocal microscopy [ J].Applied optics, 2018,57(22):6516-6526.) is an example, in the field of confocal microscopy, the accurate and reliable acquisition of the peak value of the axial confocal response signal is to achieve high-precision confocal microscopy. premise. However, since the mathematical model of the actual axial response signal is complex, it is not the Gaussian form or sinc2 form described in the literature, and the fitting peak positioning accuracy based on the mathematical model depends on the difference between the signal model and the mathematical fitting model.

发明内容SUMMARY OF THE INVENTION

针对现有技术的以上缺陷或改进需求,本发明提供了一种提取峰值位置索引坐标的方法、系统及计算机可读介质,其利用光学测量系统获取归一化的离散单峰信号,利用预设强度阈值T获得截取后的离散单峰信号,计算截取后的离散单峰信号的动态阈值并对归一化的离散单峰信号进行滤除得到新的归一化的截取单峰信号,从而实现对归一化离散的单峰信号的峰值位置索引坐标的快速准确定位,以提高光学测量系统的测量准确度。In view of the above defects or improvement requirements of the prior art, the present invention provides a method, system and computer-readable medium for extracting peak position index coordinates, which use an optical measurement system to obtain a normalized discrete single-peak signal, and use a preset The intensity threshold T obtains the truncated discrete single-peak signal, calculates the dynamic threshold of the truncated discrete single-peak signal, and filters the normalized discrete single-peak signal to obtain a new normalized truncated single-peak signal, thereby realizing Fast and accurate positioning of the index coordinates of the peak position of the normalized discrete single-peak signal to improve the measurement accuracy of the optical measurement system.

为实现上述目的,按照本发明的一个方面,提供了一种提取峰值位置索引坐标的方法,具体步骤包括:In order to achieve the above object, according to one aspect of the present invention, a method for extracting the index coordinates of the peak position is provided, and the specific steps include:

S1.利用光学测量系统获取离散单峰信号的索引坐标和强度信息,得到归一化的离散单峰信号,其中xk和Ik分别为归一化的离散单峰信号第k个采样点处的索引坐标和光强值,k=1,...,i,i为归一化的离散信号的采样点个数;S1. Use the optical measurement system to obtain the index coordinates and intensity information of the discrete single-peak signal, and obtain a normalized discrete single-peak signal, where x k and I k are the kth sampling point of the normalized discrete single-peak signal, respectively The index coordinates and light intensity value of , k=1,...,i, i is the number of sampling points of the normalized discrete signal;

S2.预设强度阈值T,截取归一化的离散单峰信号强度大于等于阈值T的采样点信息得到截取后的离散单峰信号,其中,xj c和Ij c分别为截取后的离散单峰信号中第j个采样点处的索引坐标和光强值,j=1,...,n,n为截取后的离散单峰信号的采样点个数;S2. Preset the intensity threshold T, and intercept the sampling point information of the normalized discrete single-peak signal intensity greater than or equal to the threshold T to obtain the intercepted discrete single-peak signal, wherein x j c and I j c are the intercepted discrete single-peak signals respectively. The index coordinate and light intensity value at the jth sampling point in the single-peak signal, j=1,...,n, where n is the number of sampling points of the discrete single-peak signal after interception;

S3.计算截取后的离散单峰信号的动态阈值Td,动态阈值Td具体计算过程为:S3. Calculate the dynamic threshold T d of the truncated discrete single-peak signal. The specific calculation process of the dynamic threshold T d is as follows:

Figure GDA0002529015540000031
Figure GDA0002529015540000031

其中,c1为第一权重参数,c2为第二权重参数,p0为参考峰值位置索引坐标;Wherein, c 1 is the first weight parameter, c 2 is the second weight parameter, and p 0 is the reference peak position index coordinate;

S4.滤除归一化的离散单峰信号中光强Ik小于动态阈值Td的离散点,得到新的归一化的截取单峰信号,其中,xl和Il分别为新的归一化的截取单峰信号第l个采样点处的索引坐标和光强值,l=1,....,m,m为新的归一化离散单峰信号的采样点个数;S4. Filter out the discrete points where the light intensity I k is less than the dynamic threshold T d in the normalized discrete single-peak signal, and obtain a new normalized intercepted single-peak signal, where x l and I l are the new normalized The index coordinate and light intensity value at the l-th sampling point of the intercepted single-peak signal are normalized, l=1,...,m, where m is the number of sampling points of the new normalized discrete single-peak signal;

S5.利用新的归一化离散单峰信号的索引坐标和光强值及动态阈值Td求得归一化的离散单峰信号的峰值位置索引坐标

Figure GDA0002529015540000032
从而实现对归一化离散的单峰信号的峰值位置索引坐标的快速准确定位,以提高光学测量系统的测量准确度。S5. Use the index coordinates and light intensity value of the new normalized discrete single-peak signal and the dynamic threshold T d to obtain the index coordinates of the peak position of the normalized discrete single-peak signal
Figure GDA0002529015540000032
Thereby, the fast and accurate positioning of the index coordinates of the peak position of the normalized discrete single-peak signal is realized, so as to improve the measurement accuracy of the optical measurement system.

作为本发明的进一步改进,光学测量系统为共聚焦显微镜、色散共焦显微镜、激光三角传感器、星空探测和哈特曼夏克波前传感器中的任意一种。As a further improvement of the present invention, the optical measurement system is any one of confocal microscope, dispersive confocal microscope, laser triangulation sensor, starry sky detection and Hartmann-Shack wavefront sensor.

作为本发明的进一步改进,参考峰值位置索引坐标利用重心法或拟合法求得。As a further improvement of the present invention, the index coordinates of the reference peak position are obtained by the barycentric method or the fitting method.

作为本发明的进一步改进,参考峰值位置索引坐标具体为:As a further improvement of the present invention, the reference peak position index coordinates are specifically:

Figure GDA0002529015540000033
Figure GDA0002529015540000033

作为本发明的进一步改进,第一权重参数为:

Figure GDA0002529015540000034
第二权重参数为:
Figure GDA0002529015540000041
As a further improvement of the present invention, the first weight parameter is:
Figure GDA0002529015540000034
The second weight parameter is:
Figure GDA0002529015540000041

其中,X为归一化的离散单峰信号的理想峰值位置索引坐标。Among them, X is the ideal peak position index coordinate of the normalized discrete single peak signal.

为实现上述目的,按照本发明的另一个方面,提供了一种提取峰值位置索引坐标的系统,包括至少一个处理单元、以及至少一个存储单元,其中,存储单元存储有计算机程序,当程序被处理单元执行时,使得处理单元执行上述方法的步骤。In order to achieve the above object, according to another aspect of the present invention, there is provided a system for extracting peak position index coordinates, comprising at least one processing unit and at least one storage unit, wherein the storage unit stores a computer program, and when the program is processed When the unit is executed, the processing unit is caused to execute the steps of the above method.

为实现上述目的,按照本发明的另一个方面,提供了一种计算机可读介质,其存储有可由终端设备执行的计算机程序,当程序在终端设备上运行时,使得终端设备执行上述方法的步骤。In order to achieve the above object, according to another aspect of the present invention, a computer readable medium is provided, which stores a computer program executable by a terminal device, and when the program runs on the terminal device, the terminal device performs the steps of the above method. .

总体而言,通过本发明所构思的以上技术方案与现有技术相比,具有以下有益效果:In general, compared with the prior art, the above technical solutions conceived by the present invention have the following beneficial effects:

1.本发明的一种提取峰值位置索引坐标的方法、系统及计算机可读介质,其利用光学测量系统获取归一化的离散单峰信号,利用预设强度阈值T获得截取后的离散单峰信号,计算截取后的离散单峰信号的动态阈值并对归一化的离散单峰信号进行滤除得到新的归一化的截取单峰信号,从而实现对归一化离散的单峰信号的峰值位置索引坐标的快速准确定位,以提高光学测量系统的测量准确度,同时,由于动态阈值不仅仅与全局阈值前后的强度点有关,也与其他点有关,并且还涉及到离散信号的导数信息,即动态阈值的求取对原始离散信号的利用更充分,因此即使在采样间隔较大,即实际的离散采样点较少时,仍然具有很优越的峰值定位性能,适用于那些对计算效率特别敏感的应用领域。其可以大幅度的降低峰值提取的系统误差和标准差,并且不依赖于轴向响应信号的模型,可极大地提高峰值提取的准确性和可靠性。1. A method, system and computer-readable medium for extracting peak position index coordinates of the present invention, which utilizes an optical measurement system to obtain a normalized discrete single-peak signal, and utilizes a preset intensity threshold T to obtain an intercepted discrete single-peak signal. signal, calculate the dynamic threshold of the truncated discrete single-peak signal and filter the normalized discrete single-peak signal to obtain a new normalized truncated single-peak signal, thereby realizing the normalized discrete single-peak signal. Fast and accurate positioning of the index coordinates of the peak position to improve the measurement accuracy of the optical measurement system. At the same time, since the dynamic threshold is not only related to the intensity points before and after the global threshold, but also related to other points, and also involves the derivative information of the discrete signal , that is, the calculation of the dynamic threshold makes more full use of the original discrete signal, so even when the sampling interval is large, that is, when the actual discrete sampling points are few, it still has a very superior peak positioning performance, which is suitable for those with special computational efficiency. Sensitive application areas. It can greatly reduce the systematic error and standard deviation of peak extraction, and does not depend on the model of the axial response signal, which can greatly improve the accuracy and reliability of peak extraction.

2.本发明的一种提取峰值位置索引坐标的方法、系统及计算机可读介质,提出的动态阈值重心法具有算法简单,计算效率高等优点,虽然是围绕共焦显微镜中一维信号的处理展开,但根据共聚焦显微镜,色散共焦显微镜,激光三角传感器,星空探测,哈特曼夏克波前传感器,生物大分子定位等领域中一维和二维信号具有相同的信号特征和峰值定位需求,因此也可适用于上述应用中类高斯型信号的峰值的快速高准确性高可靠性提取。2. A method, system and computer-readable medium for extracting peak position index coordinates of the present invention, the proposed dynamic threshold centroid method has the advantages of simple algorithm and high computational efficiency, although it is developed around the processing of one-dimensional signals in a confocal microscope. , but according to the fields of confocal microscopy, dispersive confocal microscopy, laser triangulation sensors, star detection, Hartmann-Shack wavefront sensors, biomacromolecule localization and other fields, one-dimensional and two-dimensional signals have the same signal characteristics and peak localization requirements, so also It can be applied to the fast, high-accuracy and high-reliability extraction of the peaks of Gaussian-like signals in the above-mentioned applications.

具体实施方式Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

此外,下面所描述的本发明各个实施方式中所涉及到的技术特征只要彼此之间未构成冲突就可以相互组合。下面结合具体实施方式对本发明进一步详细说明。In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other. The present invention will be further described in detail below in conjunction with specific embodiments.

为了清楚起见,方便的是对于贯穿本公开所使用的许多术语的定义进行介绍。一般说来,在此处定义的意义中这些术语都被一致地使用。然而,在某些实例中,可以依赖于这些术语的上下文,对其赋予不同的意义和/或进一步的解释。For the sake of clarity, it is convenient to introduce definitions of many terms used throughout this disclosure. Generally, these terms are used consistently within the meanings defined herein. However, in some instances, these terms may be assigned different meanings and/or further interpretations depending on their context.

单峰信号:指由探测器如线阵探测器或面阵探测器上接收的强度数据以及相应的索引坐标,且在索引坐标范围内只有一个最强位置;Single peak signal: refers to the intensity data and corresponding index coordinates received by a detector such as a linear array detector or an area array detector, and there is only one strongest position within the index coordinate range;

索引坐标:指离散单峰信号中采样强度数据所对应的位置;对于一维离散单峰信号,索引坐标指代采样点的一维位置;而对于二维离散单峰信号,索引坐标指代采样点的二维位置;Index coordinate: refers to the position corresponding to the sampling intensity data in the discrete single-peak signal; for a one-dimensional discrete single-peak signal, the index coordinate refers to the one-dimensional position of the sampling point; and for a two-dimensional discrete single-peak signal, the index coordinate refers to the sampling point the two-dimensional position of the point;

强度数据:指在指定的索引坐标下的单峰信号中强度取值;Intensity data: refers to the intensity value of the single peak signal under the specified index coordinate;

峰值位置索引坐标:指基于离散单峰信号应用某种规则确定的索引坐标,该索引坐标的取值近似于离散单峰信号中强度数据的峰值点所对应的索引坐标。Peak position index coordinate: refers to the index coordinate determined by applying a certain rule based on the discrete single-peak signal. The value of the index coordinate is similar to the index coordinate corresponding to the peak point of the intensity data in the discrete single-peak signal.

参考峰值位置索引坐标:指基于离散单峰信号确定的峰值位置索引坐标。Reference peak position index coordinate: refers to the peak position index coordinate determined based on the discrete single-peak signal.

理想峰值位置索引坐标:指连续的单峰信号中强度数据最大点所对应的位置。Ideal peak position index coordinate: refers to the position corresponding to the maximum point of intensity data in the continuous single-peak signal.

一种提取单峰信号峰值位置索引坐标的方法,具体步骤包括:A method for extracting the index coordinates of the peak position of a single peak signal, the specific steps include:

S1.利用光学测量系统获取离散单峰信号的索引坐标和强度信息,得到归一化的离散单峰信号,其中xk和Ik分别为归一化的离散单峰信号第k个采样点处的索引坐标和光强值,k=1,...,i,i为归一化的离散信号的采样点个数;S1. Use the optical measurement system to obtain the index coordinates and intensity information of the discrete single-peak signal, and obtain a normalized discrete single-peak signal, where x k and I k are the kth sampling point of the normalized discrete single-peak signal, respectively The index coordinates and light intensity value of , k=1,...,i, i is the number of sampling points of the normalized discrete signal;

作为一个优选的方案,光学测量系统可以为共聚焦显微镜、色散共焦显微镜、激光三角传感器、星空探测、哈特曼夏克波前传感器中的任意一种。As a preferred solution, the optical measurement system can be any one of a confocal microscope, a dispersive confocal microscope, a laser triangulation sensor, a starry sky detection, and a Hartmann-Shack wavefront sensor.

S2.预设强度阈值T,截取归一化的离散单峰信号强度大于等于阈值T的采样点信息得到截取后的离散单峰信号,其中,xj c和Ij c分别为截取后的离散单峰信号中第j个采样点处的索引坐标和光强值,j=1,...,n,n为截取后的离散单峰信号的采样点个数;S2. Preset the intensity threshold T, and intercept the sampling point information of the normalized discrete single-peak signal intensity greater than or equal to the threshold T to obtain the intercepted discrete single-peak signal, wherein x j c and I j c are the intercepted discrete single-peak signals respectively. The index coordinate and light intensity value at the jth sampling point in the single-peak signal, j=1,...,n, where n is the number of sampling points of the discrete single-peak signal after interception;

作为一个示例,强度阈值T可依据经验值进行设定。As an example, the intensity threshold T may be set based on empirical values.

S3.计算截取后的离散单峰信号的动态阈值Td,动态阈值Td具体计算过程为:S3. Calculate the dynamic threshold T d of the truncated discrete single-peak signal. The specific calculation process of the dynamic threshold T d is as follows:

Figure GDA0002529015540000061
Figure GDA0002529015540000061

其中,c1为第一权重参数,c2为第二权重参数,p0为参考峰值位置索引坐标;Wherein, c 1 is the first weight parameter, c 2 is the second weight parameter, and p 0 is the reference peak position index coordinate;

参考峰值位置索引坐标p0可以利用现有技术中已有的求取参考峰值位置索引坐标的方法求得,作为一个优选的方案,可以利用重心法或拟合法求得;The reference peak position index coordinate p 0 can be obtained by using the existing method for obtaining the reference peak position index coordinate in the prior art, and as a preferred solution, it can be obtained by the center of gravity method or the fitting method;

作为一个更优选的方案,参考峰值位置索引坐标具体为:

Figure GDA0002529015540000062
As a more preferred solution, the reference peak position index coordinates are specifically:
Figure GDA0002529015540000062

进一步地,可利用现有的峰值定位计算公式的定位误差与理想峰值的关系式:Further, the relationship between the positioning error of the existing peak positioning calculation formula and the ideal peak value can be used:

Figure GDA0002529015540000063
Figure GDA0002529015540000063

其中,

Figure GDA0002529015540000064
X为归一化的离散单峰信号的理想峰值位置索引坐标,e为定位误差,p为归一化的离散单峰信号的峰值位置索引坐标;in,
Figure GDA0002529015540000064
X is the ideal peak position index coordinate of the normalized discrete single-peak signal, e is the positioning error, and p is the peak position index coordinate of the normalized discrete single-peak signal;

进而,利用现有的峰值定位计算公式的定位误差与理想峰值的关系式得到第一权重参数和第二权重参数,分别为:

Figure GDA0002529015540000065
Figure GDA0002529015540000066
Furthermore, the relationship between the positioning error of the existing peak positioning calculation formula and the ideal peak value is used to obtain the first weight parameter and the second weight parameter, which are respectively:
Figure GDA0002529015540000065
and
Figure GDA0002529015540000066

S4.滤除归一化的离散单峰信号中光强Ik小于动态阈值Td的离散点,得到新的归一化的截取单峰信号,其中,xl和Il分别为新的归一化的截取单峰信号第l个采样点处的索引坐标和光强值,l=1,....,m,m为新的归一化离散单峰信号的采样点个数;S4. Filter out the discrete points where the light intensity I k is less than the dynamic threshold T d in the normalized discrete single-peak signal, and obtain a new normalized intercepted single-peak signal, where x l and I l are the new normalized The index coordinate and light intensity value at the l-th sampling point of the intercepted single-peak signal are normalized, l=1,...,m, where m is the number of sampling points of the new normalized discrete single-peak signal;

S5.利用新的归一化离散单峰信号及动态阈值Td求得归一化的离散单峰信号的峰值位置索引坐标

Figure GDA0002529015540000067
从而实现对归一化离散的单峰信号的峰值位置索引坐标的快速准确定位,以提高光学测量系统的测量准确度。S5. Use the new normalized discrete single-peak signal and the dynamic threshold T d to obtain the peak position index coordinates of the normalized discrete single-peak signal
Figure GDA0002529015540000067
Thereby, the fast and accurate positioning of the index coordinates of the peak position of the normalized discrete single-peak signal is realized, so as to improve the measurement accuracy of the optical measurement system.

一种提取峰值位置索引坐标的系统,包括至少一个处理单元、以及至少一个存储单元,其中,存储单元存储有计算机程序,当程序被处理单元执行时,使得处理单元执行上述方法的步骤。A system for extracting peak position index coordinates includes at least one processing unit and at least one storage unit, wherein the storage unit stores a computer program, which when executed by the processing unit causes the processing unit to execute the steps of the above method.

一种计算机可读介质,其存储有可由终端设备执行的计算机程序,当程序在终端设备上运行时,使得终端设备执行上述方法的步骤。A computer-readable medium storing a computer program executable by a terminal device, when the program runs on the terminal device, causes the terminal device to execute the steps of the above method.

以现有技术中的两种峰值索引坐标算法为示例,其中,两种算法分别为全局阈值重心法(STCM)和sinc2拟合法(SFM),分别计算其峰值索引坐标的系统误差、标准差以及计算效率,经过对比可知,本发明实施例的提取方法的计算效率和准确率远高于上述两种算法,因此,本发明实施例的提取方法具有快速高准确度高可靠性的峰值提取性能。Take two peak index coordinate algorithms in the prior art as an example, wherein, the two algorithms are global threshold centroid method (STCM) and sinc2 fitting method (SFM), respectively, calculate the systematic error, standard deviation and Computational efficiency, it can be seen from the comparison that the calculation efficiency and accuracy of the extraction method of the embodiment of the present invention are much higher than the above two algorithms. Therefore, the extraction method of the embodiment of the present invention has the peak extraction performance of fast, high accuracy and high reliability.

本领域的技术人员容易理解,以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。Those skilled in the art can easily understand that the above are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention, etc., All should be included within the protection scope of the present invention.

Claims (6)

1.一种提取峰值位置索引坐标的方法,其特征在于,具体步骤包括:1. a method for extracting peak position index coordinates, is characterized in that, concrete steps comprise: S1.利用光学测量系统获取离散单峰信号的索引坐标和强度信息,得到归一化的离散单峰信号,其中xk和Ik分别为归一化的离散单峰信号第k个采样点处的索引坐标和光强值,k=1,...,i,i为归一化的离散信号的采样点个数;S1. Use the optical measurement system to obtain the index coordinates and intensity information of the discrete single-peak signal, and obtain a normalized discrete single-peak signal, where x k and I k are the kth sampling point of the normalized discrete single-peak signal, respectively The index coordinates and light intensity value of , k=1,...,i, i is the number of sampling points of the normalized discrete signal; S2.预设强度阈值T,截取归一化的离散单峰信号强度大于阈值T的采样点信息得到截取后的离散单峰信号,其中,xj c和Ij c分别为截取后的离散单峰信号中第j个采样点处的索引坐标和光强值,j=1,...,n,n为截取后的离散单峰信号的采样点个数;S2. Preset the intensity threshold T, intercept the information of the sampling points whose intensity of the normalized discrete single-peak signal is greater than the threshold T to obtain the intercepted discrete single-peak signal, wherein x j c and I j c are respectively the discrete single-peak signal after interception The index coordinate and light intensity value at the jth sampling point in the peak signal, j=1,...,n, where n is the number of sampling points of the truncated discrete single-peak signal; S3.计算截取后的离散单峰信号的动态阈值Td,动态阈值Td具体计算过程为:S3. Calculate the dynamic threshold T d of the truncated discrete single-peak signal. The specific calculation process of the dynamic threshold T d is as follows:
Figure FDA0002529015530000011
Figure FDA0002529015530000011
其中,c1为第一权重参数,c2为第二权重参数,p0为参考峰值位置索引坐标;Wherein, c 1 is the first weight parameter, c 2 is the second weight parameter, and p 0 is the reference peak position index coordinate; 所述第一权重参数为:
Figure FDA0002529015530000012
The first weight parameter is:
Figure FDA0002529015530000012
所述第二权重参数为:
Figure FDA0002529015530000013
The second weight parameter is:
Figure FDA0002529015530000013
其中,X为归一化的离散单峰信号的理想峰值位置索引坐标;Among them, X is the ideal peak position index coordinate of the normalized discrete single-peak signal; S4.滤除归一化的离散单峰信号中光强Ik小于动态阈值Td的离散点,得到新的归一化的截取单峰信号,其中,xl和Il分别为新的归一化的截取单峰信号第l个采样点处的索引坐标和光强值,l=1,....,m,m为新的归一化离散单峰信号的采样点个数;S4. Filter out the discrete points where the light intensity I k is less than the dynamic threshold T d in the normalized discrete single-peak signal, and obtain a new normalized intercepted single-peak signal, where x l and I l are the new normalized The index coordinate and light intensity value at the l-th sampling point of the intercepted single-peak signal are normalized, l=1,...,m, where m is the number of sampling points of the new normalized discrete single-peak signal; S5.利用新的归一化离散单峰信号及动态阈值Td求得归一化的离散单峰信号的峰值位置索引坐标
Figure FDA0002529015530000014
从而实现对归一化离散的单峰信号的峰值位置索引坐标的快速准确定位,以提高光学测量系统的测量准确度。
S5. Use the new normalized discrete single-peak signal and the dynamic threshold T d to obtain the peak position index coordinates of the normalized discrete single-peak signal
Figure FDA0002529015530000014
Thereby, the fast and accurate positioning of the index coordinates of the peak position of the normalized discrete single-peak signal is realized, so as to improve the measurement accuracy of the optical measurement system.
2.根据权利要求1所述的一种提取峰值位置索引坐标的方法,其特征在于,所述光学测量系统为共聚焦显微镜、色散共焦显微镜、激光三角传感器、星空探测和哈特曼夏克波前传感器中的任意一种。2. a kind of method for extracting peak position index coordinates according to claim 1, is characterized in that, described optical measurement system is confocal microscope, dispersive confocal microscope, laser triangulation sensor, starry sky detection and Hartmann Shack wavefront any of the sensors. 3.根据权利要求1或2所述的一种提取峰值位置索引坐标的方法,其特征在于,所述参考峰值位置索引坐标利用重心法或拟合法求得。3 . The method for extracting peak position index coordinates according to claim 1 , wherein the reference peak position index coordinates are obtained by using a barycentric method or a fitting method. 4 . 4.根据权利要求1或2所述的一种提取峰值位置索引坐标的方法,其特征在于,所述参考峰值位置索引坐标具体为:4. The method for extracting peak position index coordinates according to claim 1 or 2, wherein the reference peak position index coordinates are specifically:
Figure FDA0002529015530000021
Figure FDA0002529015530000021
5.一种提取峰值位置索引坐标的系统,其特征在于,包括至少一个处理单元、以及至少一个存储单元,其中,所述存储单元存储有计算机程序,当所述程序被所述处理单元执行时,使得所述处理单元执行权利要求1~4任一权利要求所述方法的步骤。5. A system for extracting peak position index coordinates, comprising at least one processing unit and at least one storage unit, wherein the storage unit stores a computer program, and when the program is executed by the processing unit , so that the processing unit executes the steps of the method according to any one of claims 1 to 4 . 6.一种计算机可读存储介质,其特征在于,其存储有可由终端设备执行的计算机程序,当所述程序在终端设备上运行时,使得所述终端设备执行权利要求1~4任一权利要求所述方法的步骤。6. A computer-readable storage medium, characterized in that it stores a computer program executable by a terminal device, and when the program runs on the terminal device, the terminal device is made to execute any one of claims 1 to 4. The steps of the method are required.
CN201910943439.0A 2019-09-30 2019-09-30 Method, system and computer readable medium for extracting index coordinates of peak position Active CN110749280B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910943439.0A CN110749280B (en) 2019-09-30 2019-09-30 Method, system and computer readable medium for extracting index coordinates of peak position

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910943439.0A CN110749280B (en) 2019-09-30 2019-09-30 Method, system and computer readable medium for extracting index coordinates of peak position

Publications (2)

Publication Number Publication Date
CN110749280A CN110749280A (en) 2020-02-04
CN110749280B true CN110749280B (en) 2020-08-11

Family

ID=69277633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910943439.0A Active CN110749280B (en) 2019-09-30 2019-09-30 Method, system and computer readable medium for extracting index coordinates of peak position

Country Status (1)

Country Link
CN (1) CN110749280B (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005009877A (en) * 2003-06-16 2005-01-13 Olympus Corp Height measuring device
US7990522B2 (en) * 2007-11-14 2011-08-02 Mitutoyo Corporation Dynamic compensation of chromatic point sensor intensity profile data selection
CN104315994A (en) * 2014-11-05 2015-01-28 哈尔滨工业大学 Algorithm for extracting peak value position of confocal axial response curve
CN104361226A (en) * 2014-11-05 2015-02-18 哈尔滨工业大学 Confocal axial response curve peak position extracting algorithm
CN107632383B (en) * 2017-09-30 2018-07-03 华中科技大学 Center of gravity method is compensated for the dynamic of confocal microscope peak extraction
CN109186458B (en) * 2018-09-28 2019-06-18 华中科技大学 A Compensation Fitting Differential Signal Method for Dispersive Confocal Peak Extraction
CN109540806B (en) * 2018-10-16 2019-11-05 华中科技大学 A method of confocal microscopy peak value is extracted using dynamic threshold gravity model appoach

Also Published As

Publication number Publication date
CN110749280A (en) 2020-02-04

Similar Documents

Publication Publication Date Title
CN110160751B (en) A broadband wavefront error detection device and detection method based on phase recovery
WO2021008606A1 (en) Wavefront error measurement apparatus and measurement method for optimizing phase retrieval on the basis of extended nijboer-zernike mode
CN109099859B (en) Apparatus and method for measuring three-dimensional topography of surface defects of large aperture optical components
CN102175426B (en) Confocal Interferometric Fixed Focus and Curvature Radius Measurement Method
CN108801475B (en) Wavefront detection method based on spatial frequency domain reference
CN102589851B (en) Method for Measuring Focal Length of Reflective Confocal Lens
CN107621356B (en) Microscope focus offset measuring equipment
CN104537656B (en) Optical fiber beam expansion collimates the detection method of lens barrel outgoing eccentric method
CN109186956A (en) A kind of transient state wavefront distortion measurement method for the online situation of beam shaping element
CN111220361A (en) Method for measuring focal length of micro-lens array
CN115790373B (en) Dispersion confocal measurement system and measurement method thereof
CN102589852A (en) Autocollimating type confocal method for measuring focal length of lens
CN103033260A (en) Wave surface separation and defocusing based phase retrieval wavefront analyzer and analytical method thereof
CN102914373A (en) Hartmann wave-front sensor based on micro-cylindrical lens array
CN115031856A (en) Shack-Hartmann wavefront sensor wavefront restoration method based on sub-spot screening
CN110017791B (en) Optical fiber connector end surface parameter measuring device and measuring method
CN113175894B (en) Object surface three-dimensional morphology white light interferometry device and method
CN109580182B (en) Method and device for measuring refractive index of curved optical element based on Brewster's law
NL2010457A (en) Hartmann wavefront measuring instrument adapted for non-uniform light illumination.
CN115523839A (en) Splicing sub-mirror edge error high-precision real-time detection method based on observation target
CN107607195A (en) A kind of beam quality measuring method obtained in real time based on complex amplitude
CN105466576A (en) Device and method for synchronously measuring height and angle non-isohalo wavefront errors of atmospheric turbulence
CN113624358A (en) Three-dimensional displacement compensation method and control device for photothermal reflection microscopic thermal imaging
CN110749280B (en) Method, system and computer readable medium for extracting index coordinates of peak position
CN108955904B (en) Multifunctional wavefront detection device considering point-surface target

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