CN114565585A - Image detection method - Google Patents

Image detection method Download PDF

Info

Publication number
CN114565585A
CN114565585A CN202210199232.9A CN202210199232A CN114565585A CN 114565585 A CN114565585 A CN 114565585A CN 202210199232 A CN202210199232 A CN 202210199232A CN 114565585 A CN114565585 A CN 114565585A
Authority
CN
China
Prior art keywords
image
value
alignment mark
area
global
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.)
Pending
Application number
CN202210199232.9A
Other languages
Chinese (zh)
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.)
Beijing Semiconductor Equipment Institute
Original Assignee
Beijing Semiconductor Equipment Institute
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 Beijing Semiconductor Equipment Institute filed Critical Beijing Semiconductor Equipment Institute
Priority to CN202210199232.9A priority Critical patent/CN114565585A/en
Publication of CN114565585A publication Critical patent/CN114565585A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/62Analysis of geometric attributes of area, perimeter, diameter or volume
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/30108Industrial image inspection
    • G06T2207/30148Semiconductor; IC; Wafer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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)
  • Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • Quality & Reliability (AREA)
  • Image Analysis (AREA)

Abstract

The application provides an image detection method, wherein the method comprises the following steps: acquiring an alignment mark image of a semiconductor mask workpiece; extracting at least one partial image from the alignment mark image; for each local image, determining a local image detection value of the local image; determining a global image detection value of the alignment mark image; determining an image quality of the alignment mark image based on at least one local image detection value and the global image detection value. The method and the device have the advantages that the overall quality of the alignment mark image is evaluated, the local image quality of the alignment mark image is evaluated, and the effect of accurately judging the image quality of the alignment mark is achieved.

Description

一种图像检测方法an image detection method

技术领域technical field

本申请涉及图像识别技术领域,具体而言,涉及一种图像检测方法。The present application relates to the technical field of image recognition, and in particular, to an image detection method.

背景技术Background technique

在半导体工艺设备的制造过程中,需要将掩膜工件上的图像蚀刻到晶圆工件上,可以通过离轴对准系统对掩膜工件和晶圆工件上的对准标记确定掩膜工件和晶圆工件是否对准。在采集对准标记图像时,对准标记图像受到光源的照射范围、照射波长、光照强度、光照角度等诸多因素的影响,可能会导致标记纹理信息丢失、模糊、噪声或是失真。同时对准标记图像在信号采集、压缩、传输、处理、重建过程中本身就伴随着图像质量降低和失真。上述不利因素对离轴对准系统通过对准标记图像中的对准标记的检测、识别和定位产生严重影响。In the manufacturing process of semiconductor process equipment, the image on the mask workpiece needs to be etched onto the wafer workpiece. The off-axis alignment system can be used to align the alignment marks on the mask workpiece and the wafer workpiece to determine the mask workpiece and wafer workpiece. Whether the round workpiece is aligned. When collecting an alignment mark image, the alignment mark image is affected by many factors such as the illumination range of the light source, illumination wavelength, illumination intensity, illumination angle, etc., which may cause the loss, blur, noise or distortion of the mark texture information. At the same time, in the process of signal acquisition, compression, transmission, processing and reconstruction, the alignment mark image itself is accompanied by image quality degradation and distortion. The aforementioned disadvantages have a severe impact on the detection, identification, and positioning of off-axis alignment systems through alignment marks in alignment mark images.

目前,图像质量评价主要包括主观评价和客观评价。主观评价需要人工参与,对采集的所有图像进行打分与统计,耗时耗力。同时,由于人工中每个人的感官差异,因此主观评价的稳定性不足。At present, image quality evaluation mainly includes subjective evaluation and objective evaluation. Subjective evaluation requires manual participation, scoring and statistics on all the collected images, which is time-consuming and labor-intensive. At the same time, due to the sensory differences of each person in artificial, the stability of subjective evaluation is insufficient.

客观评价分为有参考和无参考两种方法。由于多数图像并没有固定的参考场景,因此一般采用无参考的方法。传统的图像质量评价主要针对的是图像整体区域质量的评价,并没有对图像感兴趣的局部进行质量上的判断。经常出现虽然对准标记图像的整体图像质量符合标准,但由于对准标记部分的图像的质量不足,进而导致离轴对准系统仍然无法判断半导体掩膜工件是否对准。Objective evaluation is divided into two methods: with reference and without reference. Since most images do not have a fixed reference scene, a reference-free method is generally used. The traditional image quality evaluation is mainly aimed at evaluating the quality of the overall image area, and does not judge the quality of the parts of interest in the image. It often occurs that although the overall image quality of the alignment mark image meets the standard, the off-axis alignment system still cannot judge whether the semiconductor mask workpiece is aligned due to insufficient image quality of the alignment mark portion.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本申请的目的在于提供一种图像检测方法,能够通过即对对准标记图像的全局进行质量评价,又对对准标记图像的对准标记的局部进行图像质量评价的方法,解决了现有技术中存在的对准标记图像符合检测标准,但对准标记部分的图像质量不高的问题,达到准确判断对准标记图像质量的效果。In view of this, the object of the present application is to provide an image detection method, which can solve the The problem in the prior art that the alignment mark image conforms to the detection standard, but the image quality of the alignment mark part is not high, achieves the effect of accurately judging the image quality of the alignment mark.

第一方面,本申请实施例提供了一种图像检测方法,所述方法包括:获取半导体掩膜工件的对准标记图像,其中,所述对准标记图像包括至少一个对准标记,所述至少一个对准标记为预先设置在所述半导体掩膜工件上的用于对所述半导体掩膜工件进行对准的标记;从所述对准标记图像中提取至少一个局部图像,其中,每个局部图像中包含对应的一个对准标记;针对每个局部图像,确定该局部图像的局部图像检测值;确定所述对准标记图像的全局图像检测值;根据至少一个局部图像检测值和所述全局图像检测值,确定所述对准标记图像的图像质量。In a first aspect, an embodiment of the present application provides an image detection method, the method includes: acquiring an alignment mark image of a semiconductor mask workpiece, wherein the alignment mark image includes at least one alignment mark, the at least one alignment mark An alignment mark is a mark pre-set on the semiconductor mask workpiece for aligning the semiconductor mask workpiece; at least one partial image is extracted from the alignment mark image, wherein each partial image The image contains a corresponding alignment mark; for each partial image, a partial image detection value of the partial image is determined; a global image detection value of the alignment mark image is determined; according to at least one partial image detection value and the global image detection value The image detection value determines the image quality of the alignment mark image.

可选地,从所述对准标记图像中提取至少一个局部图像的步骤包括:确定每个对准标记在所述对准标记图像中的图像位置;针对每个对准标记,生成与该对准标记对应的检测框,在所述检测框中包含该对准标记;针对每个对准标记,将与该对准标记对应的检测框中的图像,确定为一个局部图像。Optionally, the step of extracting at least one partial image from the alignment mark image comprises: determining an image position of each alignment mark in the alignment mark image; A detection frame corresponding to the alignment mark is included in the detection frame; for each alignment mark, the image in the detection frame corresponding to the alignment mark is determined as a partial image.

可选地,通过以下方式确定每个局部图像的局部图像检测值:确定该局部图像中的对准标记的边缘线和边缘点;根据所述边缘线和所述边缘点,确定出该局部图像中的对准标记对应的对准标记区域;将该局部图像中对准标记区域之外的区域确定为空白区域;根据对准标记区域的灰度值和空白区域的灰度值,确定该局部图像的局部图像检测值。Optionally, the partial image detection value of each partial image is determined by: determining the edge line and edge point of the alignment mark in the partial image; determining the partial image according to the edge line and the edge point the alignment mark area corresponding to the alignment mark in The local image detection value of the image.

可选地,每个局部图像检测值包括局部图像对比度值,其中,通过以下步骤确定每个局部图像的局部图像对比度值:确定所述对准标记区域的第一平均灰度值;确定所述空白区域的第二平均灰度值;将该局部图像中的所述对准标记区域的第一平均灰度值和该局部图像中的空白区域的第二平均灰度值的比值,确定为该局部图像的局部图像对比度值。Optionally, each partial image detection value includes a partial image contrast value, wherein the partial image contrast value of each partial image is determined by the following steps: determining a first average gray value of the alignment mark area; determining the the second average gray value of the blank area; the ratio of the first average gray value of the alignment mark area in the partial image to the second average gray value of the blank area in the partial image is determined as the The local image contrast value of the local image.

可选地,每个局部图像检测值还包括局部图像清晰度值,其中,通过以下步骤确定每个局部图像的局部图像清晰度值:根据该局部图像中的空白区域内的每个像素点的灰度值以及与各像素点相邻的参考像素点的灰度值,确定出该局部图像的局部图像清晰度值。Optionally, each partial image detection value further includes a partial image sharpness value, wherein the partial image sharpness value of each partial image is determined by the following steps: The gray value and the gray value of the reference pixel points adjacent to each pixel point determine the local image sharpness value of the local image.

可选地,通过以下公式确定所述对准标记区域的第一平均灰度值:Optionally, the first average gray value of the alignment mark area is determined by the following formula:

Figure BDA0003528573460000031
Figure BDA0003528573460000031

其中,GrayMeanValue为该局部图像的对准标记区域的图像的第一平均灰度值,f(x,y)为该局部图像的对准标记区域的图像的每个像素点的灰度值,Areamean为该局部图像的对准标记区域的面积。Wherein, GrayMeanValue is the first average gray value of the image in the alignment mark area of the partial image, f(x, y) is the gray value of each pixel of the image in the alignment mark area of the partial image, Area mean is the area of the alignment mark region of the partial image.

可选地,通过以下公式确定所述空白区域的第二平均灰度值:Optionally, the second average gray value of the blank area is determined by the following formula:

Figure BDA0003528573460000032
Figure BDA0003528573460000032

其中,GrayValueouter为该局部图像的空白区域的第二平均灰度值,f(x,y)outer为该局部图像的空白区域的每个像素点的灰度值,Areaouter为该局部图像的空白区域的面积。Among them, GrayValue outer is the second average gray value of the blank area of the partial image, f(x, y) outer is the gray value of each pixel in the blank area of the partial image, and Area outer is the The area of the blank area.

可选地,与空白区域内的每个像素点相邻的参考像素点包括第一参考像素点和第二参考像素点,所述第一参考像素点为与对应像素点的横坐标相同、纵坐标相邻的像素点;所述第二参考像素点为与对应像素点纵坐标相同,横坐标相邻的像素点;Optionally, the reference pixel points adjacent to each pixel point in the blank area include a first reference pixel point and a second reference pixel point, and the first reference pixel point is the same as the horizontal coordinate of the corresponding pixel point. Pixels whose coordinates are adjacent; the second reference pixel is a pixel whose ordinate is the same as that of the corresponding pixel, and whose abscissa is adjacent;

其中,通过以下公式确定出每个局部图像的局部图像清晰度值:Among them, the local image sharpness value of each local image is determined by the following formula:

Figure BDA0003528573460000041
Figure BDA0003528573460000041

其中,DR为该局部图像的局部图像清晰度值,f(xi,yi)outer为每个目标像素点的灰度值,f(xi+1,yi)outer为与每个目标像素点相邻的第一参考像素点的灰度值,f(xi,yi+1)outer为与每个目标像素点相邻的第二参考像素点的灰度值,m为该局部图像的空白区域内的像素点的个数。Among them, DR is the local image sharpness value of the local image, f(x i , y i ) outer is the gray value of each target pixel, and f(x i +1, y i ) outer is the same as each target pixel. The gray value of the first reference pixel adjacent to the pixel, f(x i , y i +1) outer is the gray value of the second reference pixel adjacent to each target pixel, m is the local The number of pixels in the blank area of the image.

可选地,确定所述对准标记图像的全局图像检测值的步骤包括:确定所述对准标记图像中大于所述预设灰度级的有效灰度图像的面积;根据所述有效灰度图像的面积与所述全局图像的面积的比值,确定出所述对准标记图像的基准灰度值;根据所述有效灰度图像的面积和所述基准灰度值,确定所述全局图像检测值。Optionally, the step of determining the global image detection value of the alignment mark image includes: determining an area of an effective grayscale image in the alignment mark image that is greater than the preset grayscale level; The ratio of the area of the image to the area of the global image determines the reference gray value of the alignment mark image; according to the area of the effective gray image and the reference gray value, the global image detection is determined value.

可选地,所述全局图像检测值包括第一全局图像比值,其中,通过以下步骤确定所述对准标记图像的第一全局图像比值:在所述对准标记图像中选取不同位置的预设数量个预设大小的目标矩形区域,所述目标矩形区域中不包括对准标记区域;针对每个目标矩形区域,根据该目标矩形区域中每个像素点的灰度值和所述基准灰度值,确定该目标矩形区域的偏离基准灰度值;针对每个目标矩形区域,根据所述偏离基准灰度值与该目标矩形区域的面积的比值,确定该目标矩形区域的偏离基准灰度平均值;根据所述基准灰度值、偏离基准灰度值、每个灰度级的像素的面积和所述全局图像的面积,确定所述对准标记图像的平均偏差;根据所述偏离基准灰度平均值与所述平均偏差的比值,确定所述全局图像的第一全局图像比值。Optionally, the global image detection value includes a first global image ratio, wherein the first global image ratio of the alignment mark image is determined by the following steps: selecting presets at different positions in the alignment mark image. A number of target rectangular areas of preset size, the target rectangular area does not include the alignment mark area; for each target rectangular area, according to the gray value of each pixel in the target rectangular area and the reference gray level value to determine the deviation from the reference gray value of the target rectangular area; for each target rectangular area, according to the ratio of the deviation from the reference gray value to the area of the target rectangular area, determine the average deviation of the target rectangular area from the reference gray value value; according to the reference gray value, the deviation from the reference gray value, the area of each gray level pixel and the area of the global image, determine the average deviation of the alignment mark image; according to the deviation from the reference gray The ratio of the degree mean to the mean deviation determines a first global image ratio of the global image.

可选地,所述全局图像检测值还包括第二全局图像比值,其中,通过以下步骤确定所述对准标记图像的第二全局图像比值:根据所述对准标记图像中的有效灰度图像的面积与所述对准标记图像的面积的比值,确定所述对准标记图像的第二全局图像比值。Optionally, the global image detection value further includes a second global image ratio, wherein the second global image ratio of the alignment mark image is determined by the following steps: according to an effective grayscale image in the alignment mark image The ratio of the area of the alignment mark image to the area of the alignment mark image determines a second global image ratio of the alignment mark image.

可选地,通过以下公式确定所述对准标记图像中的有效灰度图像的面积:Optionally, the area of the effective grayscale image in the alignment mark image is determined by the following formula:

Figure BDA0003528573460000051
Figure BDA0003528573460000051

其中,SumArea2为有效灰度图像的面积,Areai为第i个像素点的面积,n为全局图像中大于预设灰度级的像素点的数量。Among them, SumArea 2 is the area of the effective grayscale image, Area i is the area of the ith pixel, and n is the number of pixels in the global image that are greater than the preset gray level.

可选地,通过以下公式确定该目标矩形区域的偏离基准灰度值:Optionally, the deviation from the reference gray value of the target rectangular area is determined by the following formula:

Figure BDA0003528573460000052
Figure BDA0003528573460000052

其中,SumGrayOffset为偏离基准灰度值,yi为第i个像素点的灰度值,GrayBaseValue为基准灰度值,w为目标矩形区域的个数,a为每个目标矩形区域的第一边长,b为每个目标矩形区域的第二边长。Among them, SumGrayOffset is the deviation from the reference gray value, y i is the gray value of the ith pixel, GrayBaseValue is the reference gray value, w is the number of target rectangular areas, and a is the first side of each target rectangular area length, b is the length of the second side of each target rectangular area.

可选地,通过以下公式确定所述对准标记图像的平均偏差:Optionally, the average deviation of the alignment mark images is determined by the following formula:

Figure BDA0003528573460000053
Figure BDA0003528573460000053

其中,Sig为所述平均偏差,GrayBaseValue为基准灰度值,L为偏离基准灰度平均值,Hist(j)为所述全局图像中灰度级为j的所有像素点的面积,w为目标矩形区域的个数,a为每个目标矩形区域的第一边长,b为每个目标矩形区域的第二边长。Wherein, Sig is the average deviation, GrayBaseValue is the reference gray value, L is the average deviation from the reference gray level, Hist(j) is the area of all the pixels whose gray level is j in the global image, and w is the target The number of rectangular areas, a is the length of the first side of each target rectangular area, and b is the length of the second side of each target rectangular area.

可选地,通过以下公式确定所述全局图像的第一全局图像比值:Optionally, the first global image ratio of the global image is determined by the following formula:

Figure BDA0003528573460000054
Figure BDA0003528573460000054

其中,LR为所述第一全局图像比值,L为偏离基准灰度平均值,sig为所述平均偏差。Wherein, LR is the first global image ratio, L is the average deviation from the reference grayscale, and sig is the average deviation.

可选地,通过以下公式确定所述对准标记图像的第二全局图像比值:Optionally, the second global image ratio of the alignment mark image is determined by the following formula:

Figure BDA0003528573460000055
Figure BDA0003528573460000055

其中,AR为所述第二图像比值,SumArea2为有效灰度图像的面积,SumArea1为所述对准标记图像的面积。Wherein, AR is the ratio of the second image, SumArea 2 is the area of the effective grayscale image, and SumArea 1 is the area of the alignment mark image.

可选地,所述局部图像检测值包括对比度值和清晰度值,所述全局图像检测值包括第一全局图像比值和第二全局图像比值,其中,根据所述局部图像检测值和所述全局图像检测值,确定所述全局图像的图像质量的步骤包括:计算多个局部图像检测值的平均值,得到局部图像检测平均值,其中,所述局部图像检测平均值包括:对比度平均值和清晰度平均值;判断所述对比度平均值是否大于标准对比度值,所述清晰度平均值是否大于标准清晰度值,所述第一全局图像比值是否大于第一全局图像标准值,所述第二全局图像比值是否大于第二全局图像标准值;若所述对比度平均值大于标准对比度值,所述清晰度平均值大于标准清晰度值,所述第一全局图像比值大于第一全局图像标准值,所述第二全局图像比值大于第二全局图像标准值,则确定所述全局图像为高质量图像;若所述对比度平均值不大于标准对比度值和/或所述清晰度平均值不大于标准清晰度值和/或所述第一全局图像比值不大于第一全局图像标准值和/或所述第二全局图像比值不大于第二全局图像标准值,则确定所述全局图像为低质量图像。Optionally, the local image detection value includes a contrast value and a sharpness value, and the global image detection value includes a first global image ratio and a second global image ratio, wherein according to the local image detection value and the global image image detection value, the step of determining the image quality of the global image includes: calculating the average value of a plurality of local image detection values to obtain the local image detection average value, wherein the local image detection average value includes: a contrast average value and a clear Determine whether the average contrast value is greater than the standard contrast value, whether the average sharpness value is greater than the standard sharpness value, whether the first global image ratio is greater than the first global image standard value, the second global image ratio Whether the image ratio is greater than the second global image standard value; if the contrast average value is greater than the standard contrast value, the sharpness average value is greater than the standard sharpness value, and the first global image ratio is greater than the first global image standard value, so If the ratio of the second global image is greater than the standard value of the second global image, the global image is determined to be a high-quality image; if the average contrast value is not greater than the standard contrast value and/or the average value of the sharpness is not greater than the standard sharpness If the value and/or the first global image ratio is not greater than the first global image standard value and/or the second global image ratio is not greater than the second global image standard value, it is determined that the global image is a low-quality image.

第二方面,本申请实施例还提供了一种图像检测装置,所述装置包括:In a second aspect, an embodiment of the present application further provides an image detection device, the device comprising:

图像获取模块,用于获取半导体掩膜工件的对准标记图像,其中,所述对准标记图像包括至少一个对准标记,所述至少一个对准标记为预先设置在所述半导体掩膜工件上的用于对所述半导体掩膜工件进行对准的标记;An image acquisition module for acquiring an alignment mark image of a semiconductor mask workpiece, wherein the alignment mark image includes at least one alignment mark, and the at least one alignment mark is preset on the semiconductor mask workpiece the marks used to align the semiconductor mask workpiece;

局部图像提取模块,用于从所述对准标记图像中提取至少一个局部图像,其中,每个局部图像中包含对应的一个对准标记;a partial image extraction module, configured to extract at least one partial image from the alignment mark image, wherein each partial image includes a corresponding alignment mark;

局部图像检测值计算模块,用于对每个局部图像,确定该局部图像的局部图像检测值;The local image detection value calculation module is used to determine the local image detection value of the local image for each local image;

全局图像检测值计算模块,用于确定所述对准标记图像的全局图像检测值;a global image detection value calculation module for determining the global image detection value of the alignment mark image;

图像质量确定模块,用于根据至少一个局部图像检测值和所述全局图像检测值,确定所述对准标记图像的图像质量。An image quality determination module, configured to determine the image quality of the alignment mark image according to at least one local image detection value and the global image detection value.

第三方面,本申请实施例还提供一种电子设备,包括:处理器、存储器和总线,所述存储器存储有所述处理器可执行的机器可读指令,当电子设备运行时,所述处理器与所述存储器之间通过总线通信,所述机器可读指令被所述处理器执行时执行如上述的图像检测方法的步骤。In a third aspect, embodiments of the present application further provide an electronic device, including: a processor, a memory, and a bus, where the memory stores machine-readable instructions executable by the processor, and when the electronic device runs, the processing The processor and the memory communicate through a bus, and the machine-readable instructions execute the steps of the image detection method as described above when executed by the processor.

第四方面,本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行如上述的图像检测方法的步骤。In a fourth aspect, embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is run by a processor, the steps of the above-mentioned image detection method are executed.

本申请实施例提供的图像检测方法,能够通过即对对准标记图像的全局进行质量评价,又对对准标记图像的对准标记的局部进行图像质量评价的方法,解决了现有技术中存在的对准标记图像符合检测标准,但对准标记部分的图像质量不高的问题,达到准确判断对准标记图像质量的效果。The image detection method provided by the embodiments of the present application can solve the problem of existing problems in the prior art by not only performing quality evaluation on the global image of the alignment mark, but also performing image quality evaluation on the part of the alignment mark in the alignment mark image. The image of the alignment mark conforms to the detection standard, but the image quality of the alignment mark part is not high, so as to achieve the effect of accurately judging the image quality of the alignment mark.

为使本申请的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the preferred embodiments are exemplified below, and are described in detail as follows in conjunction with the accompanying drawings.

附图说明Description of drawings

为了更清楚地说明本申请实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本申请的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to illustrate the technical solutions of the embodiments of the present application more clearly, the following drawings will briefly introduce the drawings that need to be used in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, and therefore do not It should be regarded as a limitation of the scope, and for those of ordinary skill in the art, other related drawings can also be obtained according to these drawings without any creative effort.

图1为本申请实施例所提供的一种图像检测方法的流程图;1 is a flowchart of an image detection method provided by an embodiment of the present application;

图2为本申请实施例所提供的离轴对准系统的结构示意图;2 is a schematic structural diagram of an off-axis alignment system provided by an embodiment of the present application;

图3为本申请实施例所提供的半导体掩膜工件的示意图;3 is a schematic diagram of a semiconductor mask workpiece provided by an embodiment of the present application;

图4为本申请实施例所提供的局部图像的示意图。FIG. 4 is a schematic diagram of a partial image provided by an embodiment of the present application.

具体实施方式Detailed ways

为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本申请实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本申请的实施例的详细描述并非旨在限制要求保护的本申请的范围,而是仅仅表示本申请的选定实施例。基于本申请的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的每个其他实施例,都属于本申请保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only It is a part of the embodiments of the present application, but not all of the embodiments. The components of the embodiments of the present application generally described and illustrated in the drawings herein may be arranged and designed in a variety of different configurations. Thus, the following detailed description of the embodiments of the application provided in the accompanying drawings is not intended to limit the scope of the application as claimed, but is merely representative of selected embodiments of the application. Based on the embodiments of the present application, every other embodiment obtained by those skilled in the art without creative work falls within the protection scope of the present application.

首先,对本申请可适用的应用场景进行介绍。本申请可应用于图像检测。First, the applicable application scenarios of this application are introduced. The present application can be applied to image detection.

经研究发现,传统的图像质量评价主要针对的是图像整体区域质量的评价,并没有对图像感兴趣的局部进行质量上的判断。经常出现虽然对准标记图像的整体图像质量符合标准,但由于对准标记部分的图像的质量不足,进而导致离轴对准系统仍然无法判断半导体掩膜工件是否对准。After research, it is found that the traditional image quality evaluation is mainly aimed at the evaluation of the quality of the overall image area, and does not judge the quality of the part of interest in the image. It often occurs that although the overall image quality of the alignment mark image meets the standard, the off-axis alignment system still cannot judge whether the semiconductor mask workpiece is aligned due to insufficient image quality of the alignment mark portion.

基于此,本申请实施例提供了一种图像检测方法,以对准标记图像的质量进行检测。Based on this, the embodiments of the present application provide an image detection method to perform detection based on the quality of the alignment mark image.

请参阅图1,图1为本申请实施例所提供的一种图像检测方法的流程图。如图1中所示,本申请实施例提供的图像检测方法,包括:Please refer to FIG. 1 , which is a flowchart of an image detection method provided by an embodiment of the present application. As shown in FIG. 1 , the image detection method provided by the embodiment of the present application includes:

S101、获取半导体掩膜工件的对准标记图像。S101. Acquire an alignment mark image of the semiconductor mask workpiece.

其中,所述对准标记图像包括至少一个对准标记,所述至少一个对准标记为预先设置在所述半导体掩膜工件上的用于对所述半导体掩膜工件进行对准的标记。Wherein, the alignment mark image includes at least one alignment mark, and the at least one alignment mark is a mark preset on the semiconductor mask workpiece and used for aligning the semiconductor mask workpiece.

需要说明的是,对准标记图像可以由离轴对准系统进行拍摄,如图2所示,离轴对准系统200包括:待检测半导体掩膜工件201、第一成像透镜202、反射棱镜203、第二成像透镜204、第一分光棱镜205、光源206、第三成像透镜207、第二分光棱镜208、第四成像透镜209、相机210。It should be noted that the alignment mark image can be captured by an off-axis alignment system. As shown in FIG. 2 , the off-axis alignment system 200 includes: a semiconductor mask workpiece to be detected 201 , a first imaging lens 202 , and a reflecting prism 203 , a second imaging lens 204 , a first dichroic prism 205 , a light source 206 , a third imaging lens 207 , a second dichroic prism 208 , a fourth imaging lens 209 , and a camera 210 .

这里,光源206为半导体掩膜工件照明,光源206的光线经第一分光棱镜205、第二成像透镜204和反射棱镜203的反射,经第一成像透镜202为半导体掩膜工件提供照明。相机210经检测第一成像透镜202、反射棱镜203、第二成像透镜204、第一分光棱镜205、第三成像透镜207、第二分光棱镜208和第四成像透镜209采集半导体掩膜工件的对准标记图像。Here, the light source 206 illuminates the semiconductor mask workpiece. The light of the light source 206 is reflected by the first beam splitting prism 205 , the second imaging lens 204 and the reflecting prism 203 , and the first imaging lens 202 provides illumination for the semiconductor mask workpiece. The camera 210 captures the pair of semiconductor mask workpieces by detecting the first imaging lens 202, the reflecting prism 203, the second imaging lens 204, the first dichroic prism 205, the third imaging lens 207, the second dichroic prism 208 and the fourth imaging lens 209. Standard markup image.

其中,所述相机可以使用CCD(Charge-coupled Device,电荷耦合元件)相机或CMOS(Complementary Metal Oxide Semiconductor,互补金属氧化物半导体)相机。The camera may use a CCD (Charge-coupled Device, charge coupled device) camera or a CMOS (Complementary Metal Oxide Semiconductor, complementary metal oxide semiconductor) camera.

可选地,在获取到对准标记图像后,可以对对准标记图像进行下采样和滤波处理,所述下采样处理是对准标记图形缩放至标准对准标记图像大小,所述滤波处理可以对对准标记图像的亮度值进行优化,使对准标记图像特别亮的部分亮度降低,特别暗的地方亮度提升。这样,就可以获得经过图像处理的对准标记图像。Optionally, after the alignment mark image is acquired, down-sampling and filtering processing may be performed on the alignment mark image. The brightness value of the alignment mark image is optimized, so that the brightness of the particularly bright part of the alignment mark image is reduced, and the brightness of the particularly dark place is increased. In this way, an image-processed alignment mark image can be obtained.

示例性的,如图3所示,半导体掩膜工件上设置有至少一个对准标记303,用于将半导体掩膜工件对准。Exemplarily, as shown in FIG. 3 , the semiconductor mask workpiece is provided with at least one alignment mark 303 for aligning the semiconductor mask workpiece.

如图3所示,所述对准标记图像中,还可能拍摄到标记版外区域301和302,需要将标记版区域从所述对准标记中删除,以避免标记版外区域影响对对准标记图像的计算。As shown in FIG. 3 , in the alignment mark image, areas 301 and 302 outside the mark plate may also be photographed, and it is necessary to delete the mark plate area from the alignment mark to avoid the influence of the area outside the mark plate on the alignment. Calculation of labeled images.

S102、从所述对准标记图像中提取至少一个局部图像。S102. Extract at least one partial image from the alignment mark image.

其中,每个局部图像中包含对应的一个对准标记。Among them, each partial image contains a corresponding alignment mark.

其中,从所述对准标记图像中提取至少一个局部图像的步骤包括:确定每个对准标记在所述对准标记图像中的图像位置;针对每个对准标记,生成与该对准标记对应的检测框,在所述检测框中包含该对准标记;针对每个对准标记,将与该对准标记对应的检测框中的图像,确定为一个局部图像。Wherein, the step of extracting at least one partial image from the alignment mark image includes: determining the image position of each alignment mark in the alignment mark image; for each alignment mark, generating an alignment mark corresponding to the alignment mark The corresponding detection frame contains the alignment mark; for each alignment mark, the image in the detection frame corresponding to the alignment mark is determined as a partial image.

这里,可以通过图像分割技术从对准标记图像中提取出局部图像,在提取局部图像之前,需要对检测框进行形态学膨胀,以确定局部图像中包含完整的对准标记。Here, a partial image can be extracted from the alignment mark image by image segmentation technology. Before extracting the partial image, the detection frame needs to be morphologically expanded to determine that the partial image contains complete alignment marks.

S103、针对每个局部图像,确定该局部图像的局部图像检测值。S103. For each partial image, determine the partial image detection value of the partial image.

这里,可以通过以下方式确定每个局部图像的局部图像检测值:确定该局部图像中的对准标记的边缘线和边缘点;根据所述边缘线和所述边缘点,确定出该局部图像中的对准标记对应的对准标记区域;将该局部图像中对准标记区域之外的区域确定为空白区域;根据对准标记区域的灰度值和空白区域的灰度值,确定该局部图像的局部图像检测值。Here, the partial image detection value of each partial image can be determined by: determining the edge line and edge point of the alignment mark in the partial image; the alignment mark area corresponding to the alignment mark; determine the area outside the alignment mark area in the partial image as a blank area; determine the partial image according to the gray value of the alignment mark area and the gray value of the blank area The local image detection value of .

具体的,如图4所示,检测框401中的对准标记303区域即为对准标记区域,在检测框401和对准标记303之间的空白区域即为上述空白区域。Specifically, as shown in FIG. 4 , the alignment mark 303 area in the detection frame 401 is the alignment mark area, and the blank area between the detection frame 401 and the alignment mark 303 is the above blank area.

其中,局部图像检测值包括:局部图像对比度值和局部图像清晰度值。Wherein, the local image detection value includes: local image contrast value and local image sharpness value.

其中,通过以下步骤确定每个局部图像的局部图像对比度值:确定所述对准标记区域的第一平均灰度值;确定所述空白区域的第二平均灰度值;将该局部图像中的所述对准标记区域的第一平均灰度值和该局部图像中的空白区域的第二平均灰度值的比值,确定为该局部图像的局部图像对比度值。Wherein, the local image contrast value of each partial image is determined by the following steps: determining the first average gray value of the alignment mark area; determining the second average gray value of the blank area; The ratio of the first average gray value of the alignment mark area to the second average gray value of the blank area in the partial image is determined as the partial image contrast value of the partial image.

可以通过以下步骤确定每个局部图像的局部图像清晰度值:根据该局部图像中的空白区域内的每个像素点的灰度值以及与各像素点相邻的参考像素点的灰度值,确定出该局部图像的局部图像清晰度值。The local image sharpness value of each local image can be determined by the following steps: according to the gray value of each pixel point in the blank area in the local image and the gray value of the reference pixel point adjacent to each pixel point, The partial image sharpness value of the partial image is determined.

具体的,通过以下公式确定所述对准标记区域的第一平均灰度值:Specifically, the first average gray value of the alignment mark area is determined by the following formula:

Figure BDA0003528573460000111
Figure BDA0003528573460000111

其中,GrayMeanValue为该局部图像的对准标记区域的图像的第一平均灰度值,f(x,y)为该局部图像的对准标记区域的图像的每个像素点的灰度值,Areamean为该局部图像的对准标记区域的面积。Wherein, GrayMeanValue is the first average gray value of the image in the alignment mark area of the partial image, f(x, y) is the gray value of each pixel of the image in the alignment mark area of the partial image, Area mean is the area of the alignment mark region of the partial image.

具体的,通过以下公式确定所述空白区域的第二平均灰度值:Specifically, the second average gray value of the blank area is determined by the following formula:

Figure BDA0003528573460000112
Figure BDA0003528573460000112

其中,GrayValueouter为该局部图像的空白区域的第二平均灰度值,f(x,y)outer为该局部图像的空白区域的每个像素点的灰度值,Areaouter为该局部图像的空白区域的面积。Among them, GrayValue outer is the second average gray value of the blank area of the partial image, f(x, y) outer is the gray value of each pixel in the blank area of the partial image, and Area outer is the The area of the blank area.

其中,与空白区域内的每个像素点相邻的参考像素点包括第一参考像素点和第二参考像素点,所述第一参考像素点为与对应像素点的横坐标相同、纵坐标相邻的像素点;所述第二参考像素点为与对应像素点纵坐标相同,横坐标相邻的像素点。The reference pixel points adjacent to each pixel point in the blank area include a first reference pixel point and a second reference pixel point, and the first reference pixel point is the same as the abscissa and the ordinate of the corresponding pixel. The second reference pixel is a pixel whose ordinate is the same as that of the corresponding pixel, and whose abscissa is adjacent.

可以通过以下公式确定出每个局部图像的局部图像清晰度值:The local image sharpness value of each local image can be determined by the following formula:

Figure BDA0003528573460000113
Figure BDA0003528573460000113

其中,DR为该局部图像的局部图像清晰度值,f(xi,yi)outer为每个目标像素点的灰度值,f(xi+1,yi)outer为与每个目标像素点相邻的第一参考像素点的灰度值,f(xi,yi+1)outer为与每个目标像素点相邻的第二参考像素点的灰度值,m为该局部图像的空白区域内的像素点的个数。Among them, DR is the local image sharpness value of the local image, f(x i , y i ) outer is the gray value of each target pixel, and f(x i +1, y i ) outer is the same as each target pixel. The gray value of the first reference pixel adjacent to the pixel, f(x i , y i +1) outer is the gray value of the second reference pixel adjacent to each target pixel, m is the local The number of pixels in the blank area of the image.

S104、确定所述对准标记图像的全局图像检测值。S104. Determine the global image detection value of the alignment mark image.

具体的,确定所述对准标记图像的全局图像检测值的步骤包括:确定所述对准标记图像中大于所述预设灰度级的有效灰度图像的面积;根据所述有效灰度图像的面积与所述全局图像的面积的比值,确定出所述对准标记图像的基准灰度值;根据所述有效灰度图像的面积和所述基准灰度值,确定所述全局图像检测值。Specifically, the step of determining the global image detection value of the alignment mark image includes: determining an area of an effective grayscale image in the alignment mark image that is greater than the preset grayscale level; according to the effective grayscale image The ratio of the area of the effective grayscale image to the area of the global image determines the reference gray value of the alignment mark image; according to the area of the effective grayscale image and the reference gray value, the global image detection value is determined .

其中,全局图像检测值包括第一全局图像比值和第二全局图像比值。Wherein, the global image detection value includes a first global image ratio and a second global image ratio.

这里,每个像素点的灰度级分为1至255灰度级,示例性的,预设灰度级可以为200至255灰度级,这样,就可以确定出对准标记图像中所有灰度级在200至255的像素点,并将上述灰度级在200至255的像素点组成的图像,确定为有效灰度图像。Here, the gray level of each pixel is divided into 1 to 255 gray levels. Exemplarily, the preset gray level can be 200 to 255 gray levels. In this way, all gray levels in the alignment mark image can be determined. The pixel points with the gray level from 200 to 255, and the image composed of the above-mentioned pixel points with the gray level from 200 to 255 is determined as an effective grayscale image.

其中,通过以下步骤确定所述对准标记图像的第一全局图像比值:在所述对准标记图像中选取不同位置的预设数量个预设大小的目标矩形区域,所述目标矩形区域中不包括对准标记区域;针对每个目标矩形区域,根据该目标矩形区域中每个像素点的灰度值和所述基准灰度值,确定该目标矩形区域的偏离基准灰度值;针对每个目标矩形区域,根据所述偏离基准灰度值与该目标矩形区域的面积的比值,确定该目标矩形区域的偏离基准灰度平均值;根据所述基准灰度值、偏离基准灰度值、每个灰度级的像素的面积和所述全局图像的面积,确定所述对准标记图像的平均偏差;根据所述偏离基准灰度平均值与所述平均偏差的比值,确定所述全局图像的第一图像比值。Wherein, the first global image ratio of the alignment mark image is determined by the following steps: selecting a preset number of target rectangular areas with preset sizes in different positions in the alignment mark image, and no target rectangular area in the target rectangular area Including the alignment mark area; for each target rectangular area, according to the gray value of each pixel in the target rectangular area and the reference gray value, determine the deviation reference gray value of the target rectangular area; for each target rectangular area For the target rectangular area, according to the ratio of the deviation from the reference gray value to the area of the target rectangular area, determine the average value of the deviation from the reference grayscale of the target rectangular area; The average deviation of the alignment mark image is determined by the area of pixels of each gray level and the area of the global image; The first image ratio.

示例性的,可以将所述对准标记图像划分为9个目标矩形采集区域,分别在9个目标矩形采集区域采集目标矩形区域,得到9个目标矩形区域。Exemplarily, the alignment mark image may be divided into 9 target rectangular acquisition areas, and the target rectangular areas are acquired in the 9 target rectangular acquisition areas respectively to obtain 9 target rectangular areas.

这样,可以平均地在对准标记图像中采集目标矩形区域,使第一图像比值的数据更加精确可信。In this way, the target rectangular area can be collected in the alignment mark image on average, so that the data of the first image ratio is more accurate and credible.

其中,可以通过以下公式确定所述对准标记图像中的有效灰度图像的面积:Wherein, the area of the effective grayscale image in the alignment mark image can be determined by the following formula:

Figure BDA0003528573460000121
Figure BDA0003528573460000121

其中,SumArea2为有效灰度图像的面积,Areai为第i个像素点的面积,n为全局图像中大于预设灰度级的像素点的数量。Among them, SumArea 2 is the area of the effective grayscale image, Area i is the area of the ith pixel, and n is the number of pixels in the global image that are greater than the preset gray level.

可以通过以下公式确定该目标矩形区域的偏离基准灰度值:The deviation from the reference gray value of the target rectangular area can be determined by the following formula:

Figure BDA0003528573460000131
Figure BDA0003528573460000131

其中,SumGrayOffset为偏离基准灰度值,yi为第i个像素点的灰度值,GrayBaseValue为基准灰度值,w为目标矩形区域的个数,a为每个目标矩形区域的第一边长,b为每个目标矩形区域的第二边长。Among them, SumGrayOffset is the deviation from the reference gray value, y i is the gray value of the ith pixel, GrayBaseValue is the reference gray value, w is the number of target rectangular areas, and a is the first side of each target rectangular area length, b is the length of the second side of each target rectangular area.

可以通过以下公式确定所述对准标记图像的平均偏差:The average deviation of the alignment mark images can be determined by the following formula:

Figure BDA0003528573460000132
Figure BDA0003528573460000132

其中,Sig为所述平均偏差,GrayBaseValue为基准灰度值,L为偏离基准灰度平均值,Hist(j)为所述全局图像中灰度级为j的所有像素点的面积,w为目标矩形区域的个数,a为每个目标矩形区域的第一边长,b为每个目标矩形区域的第二边长。Wherein, Sig is the average deviation, GrayBaseValue is the reference gray value, L is the average deviation from the reference gray level, Hist(j) is the area of all the pixels whose gray level is j in the global image, and w is the target The number of rectangular areas, a is the length of the first side of each target rectangular area, and b is the length of the second side of each target rectangular area.

可以通过以下公式确定所述全局图像的第一图像比值:The first image ratio of the global image can be determined by the following formula:

Figure BDA0003528573460000133
Figure BDA0003528573460000133

其中,LR为所述第一图像比值,L为偏离基准灰度平均值,sig为所述平均偏差。Wherein, LR is the first image ratio, L is the average deviation from the reference grayscale, and sig is the average deviation.

其中,可以通过以下步骤确定所述对准标记图像的第二全局图像比值:根据所述对准标记图像中的有效灰度图像的面积与所述对准标记图像的面积的比值,确定所述对准标记图像的第二全局图像比值。Wherein, the second global image ratio of the alignment mark image may be determined by the following steps: determining the The second global image ratio of the alignment marker image.

其中,通过以下公式确定所述对准标记图像的第二全局图像比值:Wherein, the second global image ratio of the alignment mark image is determined by the following formula:

Figure BDA0003528573460000134
Figure BDA0003528573460000134

其中,AR为所述第二全局图像比值,SumArea2为有效灰度图像的面积,SumArea1为所述对准标记图像的面积。Wherein, AR is the second global image ratio, SumArea 2 is the area of the effective grayscale image, and SumArea 1 is the area of the alignment mark image.

S105、根据至少一个局部图像检测值和所述全局图像检测值,确定所述对准标记图像的图像质量。S105. Determine the image quality of the alignment mark image according to at least one local image detection value and the global image detection value.

其中,根据所述局部图像检测值和所述全局图像检测值,确定所述全局图像的图像质量的步骤包括:Wherein, the step of determining the image quality of the global image according to the local image detection value and the global image detection value includes:

计算多个局部图像检测值的平均值,得到局部图像检测平均值,其中,所述局部图像检测平均值包括:对比度平均值和清晰度平均值;calculating the average value of a plurality of local image detection values to obtain the local image detection average value, wherein the local image detection average value includes: a contrast average value and a sharpness average value;

判断所述对比度平均值是否大于标准对比度值,所述清晰度平均值是否大于标准清晰度值,所述第一全局图像比值是否大于第一全局图像标准值,所述第二全局图像比值是否大于第二全局图像标准值;Determine whether the average contrast value is greater than the standard contrast value, whether the average sharpness value is greater than the standard sharpness value, whether the first global image ratio is greater than the first global image standard value, and whether the second global image ratio is greater than the second global image standard value;

若所述对比度平均值大于标准对比度值,所述清晰度平均值大于标准清晰度值,所述第一全局图像比值大于第一全局图像标准值,所述第二全局图像比值大于第二全局图像标准值,则确定所述全局图像为高质量图像;If the contrast average value is greater than the standard contrast value, the sharpness average value is greater than the standard sharpness value, the first global image ratio is greater than the first global image standard value, and the second global image ratio is greater than the second global image standard value, then it is determined that the global image is a high-quality image;

若所述对比度平均值不大于标准对比度值和/或所述清晰度平均值不大于标准清晰度值和/或所述第一全局图像比值不大于第一全局图像标准值和/或所述第二全局图像比值不大于第二全局图像标准值,则确定所述全局图像为低质量图像。If the contrast average value is not greater than the standard contrast value and/or the sharpness average value is not greater than the standard sharpness value and/or the first global image ratio value is not greater than the first global image standard value and/or the first global image standard value If the ratio of the two global images is not greater than the standard value of the second global image, it is determined that the global image is a low-quality image.

可选地,若所述对准标记图像为低质量图像,可以删除低质量图像或重新获取对准标记图像,并再次进行检测。Optionally, if the alignment mark image is a low-quality image, the low-quality image may be deleted or the alignment mark image may be re-acquired and detected again.

本申请实施例提供的图像检测方法,能够通过即对对准标记图像的全局进行质量评价,又对对准标记图像的对准标记的局部进行图像质量评价的方法,解决了现有技术中存在的对准标记图像符合检测标准,但对准标记部分的图像质量不高的问题,达到准确判断对准标记图像质量的效果。The image detection method provided by the embodiments of the present application can solve the problem of existing problems in the prior art by not only performing quality evaluation on the global image of the alignment mark, but also performing image quality evaluation on the part of the alignment mark in the alignment mark image. The image of the alignment mark conforms to the detection standard, but the image quality of the alignment mark part is not high, so as to achieve the effect of accurately judging the image quality of the alignment mark.

基于同一发明构思,本申请实施例中还提供了与图像检测方法对应的图像检测装置,由于本申请实施例中的装置解决问题的原理与本申请实施例上述图像检测方法相似,因此装置的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, the embodiment of the present application also provides an image detection device corresponding to the image detection method. Reference may be made to the implementation of the method, and repeated descriptions will not be repeated.

具体的,图像检测装置包括:图像获取模块,用于获取半导体掩膜工件的对准标记图像,其中,所述对准标记图像包括至少一个对准标记,所述至少一个对准标记为预先设置在所述半导体掩膜工件上的用于对所述半导体掩膜工件进行对准的标记;Specifically, the image detection device includes: an image acquisition module for acquiring an alignment mark image of the semiconductor mask workpiece, wherein the alignment mark image includes at least one alignment mark, and the at least one alignment mark is preset markings on the semiconductor mask workpiece for aligning the semiconductor mask workpiece;

局部图像提取模块,用于从所述对准标记图像中提取至少一个局部图像,其中,每个局部图像中包含对应的一个对准标记;a partial image extraction module, configured to extract at least one partial image from the alignment mark image, wherein each partial image includes a corresponding alignment mark;

局部图像检测值计算模块,用于对每个局部图像,确定该局部图像的局部图像检测值;The local image detection value calculation module is used to determine the local image detection value of the local image for each local image;

全局图像检测值计算模块,用于确定所述对准标记图像的全局图像检测值;a global image detection value calculation module for determining the global image detection value of the alignment mark image;

图像质量确定模块,用于根据至少一个局部图像检测值和所述全局图像检测值,确定所述对准标记图像的图像质量。An image quality determination module, configured to determine the image quality of the alignment mark image according to at least one local image detection value and the global image detection value.

本申请实施例提供的图像检测装置,能够通过即对对准标记图像的全局进行质量评价,又对对准标记图像的对准标记的局部进行图像质量评价的方法,解决了现有技术中存在的对准标记图像符合检测标准,但对准标记部分的图像质量不高的问题,达到准确判断对准标记图像质量的效果。The image detection device provided by the embodiment of the present application can solve the problem of existing problems in the prior art by performing both the global quality assessment of the alignment mark image and the image quality assessment of the local alignment mark of the alignment mark image. The image of the alignment mark conforms to the detection standard, but the image quality of the alignment mark part is not high, so as to achieve the effect of accurately judging the image quality of the alignment mark.

本申请实施例所提供的一种电子设备。所述电子设备包括处理器、存储器和总线。An electronic device provided by an embodiment of the present application. The electronic device includes a processor, memory, and a bus.

所述存储器存储有所述处理器可执行的机器可读指令,当电子设备运行时,所述处理器与所述存储器之间通过总线通信,所述机器可读指令被所述处理器执行时,可以执行如上述图1所示方法实施例中的图像检测方法的步骤,具体实现方式可参见方法实施例,在此不再赘述。The memory stores machine-readable instructions executable by the processor, when the electronic device is running, the processor and the memory communicate through a bus, and when the machine-readable instructions are executed by the processor , the steps of the image detection method in the method embodiment shown in FIG. 1 may be performed, and the specific implementation can refer to the method embodiment, which will not be repeated here.

本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时可以执行如上述图1所示方法实施例中的图像检测方法的步骤,具体实现方式可参见方法实施例,在此不再赘述。Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is run by a processor, the image detection method in the method embodiment shown in FIG. 1 can be executed. For the specific implementation, please refer to the method embodiment, which will not be repeated here.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,又例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些通信接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. The apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some communication interfaces, indirect coupling or communication connection of devices or units, which may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个处理器可执行的非易失的计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-OnlyMemory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a processor-executable non-volatile computer-readable storage medium. Based on such understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, removable hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes.

最后应说明的是:以上所述实施例,仅为本申请的具体实施方式,用以说明本申请的技术方案,而非对其限制,本申请的保护范围并不局限于此,尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,其依然可以对前述实施例所记载的技术方案进行修改或可轻易想到变化,或者对其中部分技术特征进行等同替换;而这些修改、变化或者替换,并不使相应技术方案的本质脱离本申请实施例技术方案的精神和范围,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。Finally, it should be noted that the above-mentioned embodiments are only specific implementations of the present application, and are used to illustrate the technical solutions of the present application, rather than limit them. The embodiments describe the application in detail, and those of ordinary skill in the art should understand that: any person skilled in the art can still modify the technical solutions described in the foregoing embodiments within the technical scope disclosed in the application. Or can easily think of changes, or equivalently replace some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions in the embodiments of the application, and should be covered in this application. within the scope of protection. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (17)

1. An image detection method, characterized in that the method comprises:
acquiring an alignment mark image of a semiconductor mask workpiece, wherein the alignment mark image comprises at least one alignment mark, and the at least one alignment mark is a mark which is arranged on the semiconductor mask workpiece in advance and is used for aligning the semiconductor mask workpiece;
extracting at least one partial image from the alignment mark images, wherein each partial image comprises a corresponding alignment mark;
for each local image, determining a local image detection value of the local image;
determining a global image detection value of the alignment mark image;
determining an image quality of the alignment mark image based on at least one local image detection value and the global image detection value.
2. The method of claim 1, wherein the step of extracting at least one partial image from the alignment mark image comprises:
determining an image position of each alignment mark in the alignment mark image;
generating a detection frame corresponding to each alignment mark, wherein the detection frame comprises the alignment mark;
for each alignment mark, determining the image in the detection frame corresponding to the alignment mark as a local image.
3. The method of claim 1, wherein the local image detection values for each local image are determined by:
determining edge lines and edge points of the alignment marks in the local image;
determining an alignment mark area corresponding to an alignment mark in the local image according to the edge line and the edge point;
determining a region other than the alignment mark region in the partial image as a blank region;
and determining a local image detection value of the local image according to the gray value of the alignment mark area and the gray value of the blank area.
4. The method of claim 3, wherein each local image detection value comprises a local image contrast value,
wherein the local image contrast value for each local image is determined by:
determining a first average gray value of the alignment mark region;
determining a second average gray value of the blank area;
and determining the ratio of the first average gray value of the alignment mark area in the local image to the second average gray value of the blank area in the local image as the local image contrast value of the local image.
5. The method of claim 3, wherein each local image detection value further comprises a local image sharpness value,
wherein the local image sharpness value of each local image is determined by:
and determining the local image definition value of the local image according to the gray value of each pixel point in the blank area in the local image and the gray value of the reference pixel point adjacent to each pixel point.
6. The method of claim 3, wherein the first average gray value of the alignment mark region is determined by the following formula:
Figure FDA0003528573450000021
wherein, GrayMeanValue is the first average gray value of the image of the alignment mark Area of the local image, f (x, y) is the gray value of each pixel point of the image of the alignment mark Area of the local image, AreameanIs the area of the alignment mark region of the partial image.
7. The method of claim 3, wherein the second average gray value of the blank region is determined by the following formula:
Figure FDA0003528573450000031
wherein, GrayValueouterA second average gray value of a blank region of the partial image, f (x, y)outerIs the gray value, Area, of each pixel point in the blank Area of the local imageouterIs the area of the blank area of the partial image.
8. The method of claim 3, wherein the reference pixels adjacent to each pixel in the blank area comprise a first reference pixel and a second reference pixel, the first reference pixel being a pixel adjacent to the same abscissa as the corresponding pixel and having the same ordinate;
the second reference pixel point is a pixel point which is the same as the corresponding pixel point in vertical coordinate and adjacent to the horizontal coordinate;
wherein the local image sharpness value of each local image is determined by the following formula:
Figure FDA0003528573450000032
wherein DR is a local image definition value of the local image, f (x)i,yi)outerIs the gray value of each target pixel point, f (x)i+1,yi)outerIs the gray value of the first reference pixel adjacent to each target pixel, f (x)i,yi+1)outerAnd m is the number of pixel points in the blank area of the local image, wherein m is the gray value of a second reference pixel point adjacent to each target pixel point.
9. The method of claim 1, wherein determining a global image detection value for the alignment mark image comprises:
determining the area of an effective gray level image larger than a preset gray level in the alignment mark image;
determining a reference gray value of the alignment mark image according to the ratio of the area of the effective gray image to the area of the global image;
and determining the global image detection value according to the area of the effective gray image and the reference gray value.
10. The method of claim 9, wherein the global image detection value comprises a first global image ratio value,
wherein a first global image ratio of the alignment mark image is determined by:
selecting a preset number of target rectangular areas with preset sizes at different positions in the alignment mark image, wherein the target rectangular areas do not comprise alignment mark areas;
for each target rectangular region, determining a deviation reference gray value of the target rectangular region according to the gray value of each pixel point in the target rectangular region and the reference gray value;
for each target rectangular region, determining an average value of the deviation reference gray scale of the target rectangular region according to the ratio of the deviation reference gray scale value to the area of the target rectangular region;
determining the average deviation of the alignment mark image according to the reference gray value, the deviation reference gray value, the area of the pixel of each gray level and the area of the global image;
and determining a first global image ratio of the global image according to the ratio of the deviation reference gray level average value to the average deviation.
11. The method of claim 9, wherein the global image detection value further comprises a second global image ratio value,
wherein a second global image ratio of the alignment mark image is determined by:
and determining a second global image ratio of the alignment mark image according to the ratio of the area of the effective gray scale image in the alignment mark image to the area of the alignment mark image.
12. The method of claim 9, wherein the area of the effective grayscale image in the alignment mark image is determined by the formula:
Figure FDA0003528573450000041
wherein, SumArea2Area, being the Area of the effective gray scale imageiAnd n is the number of pixel points larger than the preset gray level in the global image.
13. The method of claim 10, wherein the deviation from the reference gray value of the target rectangular region is determined by the following formula:
Figure FDA0003528573450000051
wherein SumGrayOffset is the deviation from the reference gray level value, yiAnd taking the gray value of the ith pixel point, taking GrayBaseValue as a reference gray value, taking w as the number of the target rectangular regions, taking a as the first side length of each target rectangular region, and taking b as the second side length of each target rectangular region.
14. The method of claim 10, wherein the average deviation of the alignment mark image is determined by the following equation:
Figure FDA0003528573450000052
wherein Sig is the average deviation, gray base value is a reference gray value, L is a deviation reference gray average value, hist (j) is the area of all pixels with gray level j in the global image, w is the number of the target rectangular regions, a is the first side length of each target rectangular region, and b is the second side length of each target rectangular region.
15. The method of claim 10, wherein the first global image ratio for the global image is determined by the following equation:
Figure FDA0003528573450000053
wherein LR is the first global image ratio, L is a deviation reference gray level average value, and sig is the average deviation.
16. The method of claim 11, wherein the second global image ratio of the alignment mark image is determined by the following equation:
Figure FDA0003528573450000054
wherein AR is the second global image ratio, SumArea2SumArea, the area of the effective gray image1Is the area of the alignment mark image.
17. The method of claim 1, wherein the local image detection values comprise contrast values and sharpness values, wherein the global image detection values comprise first global image ratios and second global image ratios,
wherein determining the image quality of the global image based on the local image detection value and the global image detection value comprises:
calculating an average value of a plurality of local image detection values to obtain a local image detection average value, wherein the local image detection average value comprises: a contrast average and a sharpness average;
judging whether the contrast average value is greater than a standard contrast value or not, whether the definition average value is greater than a standard definition value or not, whether the first global image ratio is greater than a first global image standard value or not and whether the second global image ratio is greater than a second global image standard value or not;
if the contrast average value is greater than a standard contrast value, the definition average value is greater than a standard definition value, the first global image ratio is greater than a first global image standard value, and the second global image ratio is greater than a second global image standard value, determining that the global image is a high-quality image;
and if the contrast average value is not greater than a standard contrast value and/or the definition average value is not greater than a standard definition value and/or the first global image ratio value is not greater than a first global image standard value and/or the second global image ratio value is not greater than a second global image standard value, determining that the global image is a low-quality image.
CN202210199232.9A 2022-03-02 2022-03-02 Image detection method Pending CN114565585A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210199232.9A CN114565585A (en) 2022-03-02 2022-03-02 Image detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210199232.9A CN114565585A (en) 2022-03-02 2022-03-02 Image detection method

Publications (1)

Publication Number Publication Date
CN114565585A true CN114565585A (en) 2022-05-31

Family

ID=81715739

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210199232.9A Pending CN114565585A (en) 2022-03-02 2022-03-02 Image detection method

Country Status (1)

Country Link
CN (1) CN114565585A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220244652A1 (en) * 2021-01-29 2022-08-04 Canon Kabushiki Kaisha Measurement apparatus, lithography apparatus and article manufacturing method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103544708A (en) * 2013-10-31 2014-01-29 南京邮电大学 Image quality objective evaluation method based on MMTD
WO2020038124A1 (en) * 2018-08-21 2020-02-27 深圳创维-Rgb电子有限公司 Image contrast enhancement method and apparatus, and device and storage medium
CN111179245A (en) * 2019-12-27 2020-05-19 成都中科创达软件有限公司 Image quality detection method, device, electronic equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103544708A (en) * 2013-10-31 2014-01-29 南京邮电大学 Image quality objective evaluation method based on MMTD
WO2020038124A1 (en) * 2018-08-21 2020-02-27 深圳创维-Rgb电子有限公司 Image contrast enhancement method and apparatus, and device and storage medium
CN111179245A (en) * 2019-12-27 2020-05-19 成都中科创达软件有限公司 Image quality detection method, device, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李策;胡治佳;肖利梅;张爱华;: "基于全局和局部低秩矩阵分解的图像显著目标检测算法", 兰州理工大学学报, no. 06, 31 December 2015 (2015-12-31) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220244652A1 (en) * 2021-01-29 2022-08-04 Canon Kabushiki Kaisha Measurement apparatus, lithography apparatus and article manufacturing method
US11693328B2 (en) * 2021-01-29 2023-07-04 Canon Kabushiki Kaisha Measurement apparatus, lithography apparatus and article manufacturing method

Similar Documents

Publication Publication Date Title
US8698916B2 (en) Red-eye filter method and apparatus
US10620005B2 (en) Building height calculation method, device, and storage medium
JP6701118B2 (en) Image processing apparatus and image processing method
WO2019233264A1 (en) Image processing method, computer readable storage medium, and electronic device
CN109829904B (en) Method and device for detecting dust on screen, electronic equipment and readable storage medium
CN109190628A (en) A kind of plate camber detection method based on machine vision
EP2252088A1 (en) Image processing method and system
EP1474779A2 (en) Assessing the photo quality of a captured image in a digital still camera
CN108154491B (en) Image reflection eliminating method
CN111724375A (en) A screen detection method and system
JP3814353B2 (en) Image segmentation method and image segmentation apparatus
CN114565585A (en) Image detection method
CN113375555A (en) Power line clamp measuring method and system based on mobile phone image
JP2004239733A (en) Screen defect detection method and apparatus
JP2019209734A (en) Track identification apparatus
JP7228341B2 (en) Image processing device, image processing method, and image processing program
TWI530913B (en) Moving subject detecting system and method
TWI620147B (en) Image synthesis method for synthesizing people
CN115272173A (en) Tin ball defect detection method and device, computer equipment and storage medium
CN112164058B (en) Silk screen region coarse positioning method and device for optical filter and storage medium
CN112997217A (en) Document detection from video images
CN109934215B (en) A method of identification
JP2004219072A (en) Screen streak defect detection method and device
US10958899B2 (en) Evaluation of dynamic ranges of imaging devices
CN113920065A (en) Imaging quality evaluation method for visual inspection system in industrial field

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