[go: up one dir, main page]

CN102213591A - Digital image analysis device - Google Patents

Digital image analysis device Download PDF

Info

Publication number
CN102213591A
CN102213591A CN2010101419423A CN201010141942A CN102213591A CN 102213591 A CN102213591 A CN 102213591A CN 2010101419423 A CN2010101419423 A CN 2010101419423A CN 201010141942 A CN201010141942 A CN 201010141942A CN 102213591 A CN102213591 A CN 102213591A
Authority
CN
China
Prior art keywords
image
digital image
lines
edge
image analysis
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.)
Granted
Application number
CN2010101419423A
Other languages
Chinese (zh)
Other versions
CN102213591B (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.)
Anmo Electronics Corp
Original Assignee
Anmo Electronics Corp
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 Anmo Electronics Corp filed Critical Anmo Electronics Corp
Priority to CN 201010141942 priority Critical patent/CN102213591B/en
Publication of CN102213591A publication Critical patent/CN102213591A/en
Application granted granted Critical
Publication of CN102213591B publication Critical patent/CN102213591B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Analysis (AREA)

Abstract

本案提出一种数字影像分析装置,其包含有:用于接收与一数字影像的影像边缘相关的复数个线条设定的装置;以及用于界定该复数个线条与该数字影像的影像边缘相交的复数个影像位置的装置。当计算机执行前述数字影像分析装置中的功能模块进行数字影像辨识时,仅需分析各线条的路径上的像素值,而无须对数字影像中的全部像素进行分析,大幅降低了计算机的处理器所需的运算资源。

Figure 201010141942

The present invention provides a digital image analysis device, which includes: a device for receiving a plurality of line settings related to an image edge of a digital image; and a device for defining a plurality of image positions where the plurality of lines intersect with the image edge of the digital image. When a computer executes the functional modules in the aforementioned digital image analysis device to perform digital image recognition, it only needs to analyze the pixel values on the path of each line, and does not need to analyze all pixels in the digital image, which greatly reduces the computing resources required by the computer's processor.

Figure 201010141942

Description

数字影像分析装置Digital Image Analysis Device

技术领域technical field

本发明有关对影像进行数字分析的技术,尤指和数字影像辨识、量测相关的方法和数字影像分析装置。The present invention relates to the technique of digitally analyzing images, especially a method related to digital image identification and measurement and a digital image analysis device.

背景技术Background technique

数字影像辨识技术的应用范围很广,例如,在产品检测、显微量测(microscopic measurement)、影像物件辨识等许多应用中,可利用影像辨识技术来判断数字影像中特定部位的边缘、形状等影像特征。Digital image recognition technology has a wide range of applications. For example, in many applications such as product inspection, microscopic measurement, and image object recognition, image recognition technology can be used to judge the edge and shape of specific parts in digital images. image features.

然而,习知的数字影像辨识方法,需要利用计算机的处理器对数字影像的全部像素进行像素值比对和分析,耗费的运算资源很高。因此,习知的数字影像辨识方法不仅处理速度受限于计算机的处理器运算能力,且难以在处理器运算能力较低的装置上执行。However, the conventional digital image recognition method needs to use a computer processor to compare and analyze the pixel values of all the pixels of the digital image, which consumes a lot of computing resources. Therefore, the processing speed of the conventional digital image recognition method is not only limited by the computing power of the processor of the computer, but also difficult to execute on devices with low processor computing power.

除此之外,习知的影像辨识方法也容易因为影像内容(例如影像纹路、影像形状等)的关系,而影响到影像辨识的正确性。In addition, conventional image recognition methods are also likely to affect the accuracy of image recognition due to the relationship between image content (such as image texture, image shape, etc.).

有鉴于此,如何改善或解决以上所述相关领域中的数字影像辨识方法的缺失,实系有待解决的问题。In view of this, how to improve or solve the deficiency of the above-mentioned digital image recognition method in related fields is a problem to be solved.

发明内容Contents of the invention

本说明书提供了一种数字影像分析装置,其包含有:用于接收与一数字影像的影像边缘相关的复数个线条设定的装置;以及用于界定该复数个线条与该数字影像的影像边缘相交的复数个影像位置的装置。This specification provides a digital image analysis device, which includes: a device for receiving a plurality of line settings related to an image edge of a digital image; and a device for defining the plurality of lines and the image edge of the digital image A device for intersecting multiple image positions.

前述数字影像分析装置的优点之一是,计算机的处理器在进行数字影像辨识时,仅需分析各线条的路径上的像素值,而无须对数字影像中的全部像素进行分析,大幅降低了处理器所需的运算资源。One of the advantages of the aforementioned digital image analysis device is that when the processor of the computer performs digital image recognition, it only needs to analyze the pixel values on the path of each line, instead of analyzing all the pixels in the digital image, which greatly reduces the processing time. Computing resources required by the processor.

附图说明Description of drawings

图1为本发明的数字影像分析装置的一实施例简化后的功能方块图。FIG. 1 is a simplified functional block diagram of an embodiment of the digital image analysis device of the present invention.

图2为本发明的数字影像辨识方法的一实施例流程图。FIG. 2 is a flowchart of an embodiment of the digital image recognition method of the present invention.

图3与图4为第1图中的显示器的显示画面的实施例。FIG. 3 and FIG. 4 are examples of display screens of the display in FIG. 1 .

图5为图4中的数字影像的局部放大图。FIG. 5 is a partially enlarged view of the digital image in FIG. 4 .

图6与图7为图1中的显示器的显示画面的实施例。6 and 7 are examples of display screens of the display in FIG. 1 .

图8为本发明的数字影像量测方法的一实施例流程图。FIG. 8 is a flowchart of an embodiment of the digital image measurement method of the present invention.

图9为图1中的显示器的显示画面的实施例。FIG. 9 is an embodiment of a display screen of the display in FIG. 1 .

【主要元件符号说明】[Description of main component symbols]

  100100   数字影像分析装置 Digital image analysis device   102102   标的物件subject matter   110110   影像撷取装置Image capture device   120120   主机Host   122122   处理器Processor   124124   储存模组storage module   130130   显示器display   140140   输入接口 input interface   150150   承载装置Carrying device   300、600、700、900300, 600, 700, 900   数字影像digital imaging   302、602302, 602   开孔opening   304、306、604、606304, 306, 604, 606   侧边side   310310   选项列option column   410、420、430、440、450、460、470、702、704、706、720、730、740、750、760、770、780、790、910、920、930、940、950、960410, 420, 430, 440, 450, 460, 470, 702, 704, 706, 720, 730, 740, 750, 760, 770, 780, 790, 910, 920, 930, 940, 950, 960   线条lines   412、422、432、442、452、462、472、552、554、556、612、622、632、642、652、662、672、712、714、716、722、732、742、752、762、772、782、792、912、922、932、942、952、962412, 422, 432, 442, 452, 462, 472, 552, 554, 556, 612, 622, 632, 642, 652, 662, 672, 712, 714, 716, 722, 732, 742, 752, 762, 772, 782, 792, 912, 922, 932, 942, 952, 962   影像位置Image location   502、504502, 504   线条端点line endpoint   510、512、514、516、518、520、522、524、526、528、530、532、534、536、538、540510, 512, 514, 516, 518, 520, 522, 524, 526, 528, 530, 532, 534, 536, 538, 540   像素pixel   710710   圆弧arc

具体实施方式Detailed ways

以下将配合相关图式来说明本发明的实施例。在这些图式中,相同的标号表示相同或类似的元件。Embodiments of the present invention will be described below in conjunction with related figures. In the drawings, the same reference numerals designate the same or similar elements.

在说明书及后续的权利要求当中使用了某些词汇来指称特定的元件。所属领域中技术人员应可理解,同样的元件可能会用不同的名词来称呼。本说明书及后续的权利要求并不以名称的差异来作为区分元件的方式,而是以元件在功能上的差异来作为区分的基准。在通篇说明书及后续的权项当中所提及的「包含」为一开放式的用语,故应解释成「包含但不限定于...」。Certain terms are used in the specification and following claims to refer to particular elements. Those skilled in the art should understand that the same element may be called by different terms. This description and the subsequent claims do not use the difference in name as the way to distinguish components, but the difference in function of the components as the basis for distinction. "Includes" mentioned throughout the specification and subsequent claims is an open term, so it should be interpreted as "including but not limited to...".

图1所绘示为本发明一实施例的数字影像分析装置100简化后的功能方块图。如图1所示,数字影像分析装置100包含有影像撷取装置110、主机120、显示器130、以及输入接口140。影像撷取装置110、显示器130及输入接口140耦接于主机120。「耦接」一词在说明书及后续的权项当中,包含任何直接及间接的连接手段。因此,影像撷取装置110、显示器130及输入接口140三者皆可直接(包含通过电性连接或无线传输、光学传输等讯号连接方式)连接至主机120,或通过其他装置或连接手段间接地电性或讯号连接至主机120。FIG. 1 is a simplified functional block diagram of a digital image analysis device 100 according to an embodiment of the present invention. As shown in FIG. 1 , the digital image analysis device 100 includes an image capture device 110 , a host 120 , a display 130 , and an input interface 140 . The image capturing device 110 , the display 130 and the input interface 140 are coupled to the host 120 . The term "coupled" in this specification and subsequent claims includes any direct and indirect means of connection. Therefore, the image capture device 110, the display 130, and the input interface 140 can be directly connected to the host 120 (including through electrical connection or signal connection methods such as wireless transmission and optical transmission), or indirectly through other devices or connection means. It is electrically or signally connected to the host 120 .

影像撷取装置110是用来感测置放于承载装置150的标的物件102的影像。实施上,影像撷取装置110可以是数字相机、数字摄影机、数字显微镜或任何其他具备影像感测能力的装置。在本实施例中,主机120包含有处理器122及储存模组124。储存模组124可用一或多个储存媒体来实现。The image capturing device 110 is used to sense the image of the target object 102 placed on the carrying device 150 . In practice, the image capturing device 110 may be a digital camera, a digital video camera, a digital microscope or any other device capable of image sensing. In this embodiment, the host 120 includes a processor 122 and a storage module 124 . The storage module 124 can be realized by one or more storage media.

数字影像分析装置100可用来进行数字影像辨识或是数字影像量测的作业,以下将搭配图2来进一步说明数字影像分析装置100的运作方式。The digital image analysis device 100 can be used for digital image recognition or digital image measurement. The operation of the digital image analysis device 100 will be further described below with reference to FIG. 2 .

图2为本发明的数字影像辨识方法的一实施例流程图200。FIG. 2 is a flowchart 200 of an embodiment of the digital image recognition method of the present invention.

在步骤210中,主机120的处理器122会将影像撷取装置110所感测到的标的物件102的数字影像,显示在显示器130上。例如,图3中所绘示的数字影像300是影像撷取装置110所感测到的一电路板的局部影像,其中,标号302代表该电路板上的一个开孔,标号304和306则代表该电路板的两个侧边。In step 210 , the processor 122 of the host 120 displays the digital image of the target object 102 sensed by the image capture device 110 on the display 130 . For example, the digital image 300 shown in FIG. 3 is a partial image of a circuit board sensed by the image capture device 110, wherein, reference numeral 302 represents an opening on the circuit board, and reference numerals 304 and 306 represent the circuit board. Both sides of the circuit board.

对于数字影像辨识处理而言,影像边缘的辨识是相当重要的一环。界定出影像边缘的位置后,便能进一步辨识出影像的形状。为了降低数字影像辨识处理所需的运算资源和提升辨识的速度及准确度,数字影像分析装置100在执行数字影像辨识的过程中,会与使用者互动,要求使用者提供有助判断影像边缘及/或形状的辅助信息。以下将以电路板的开孔302的影像辨识过程为例来加以说明。For digital image recognition processing, the recognition of image edges is a very important part. After defining the position of the edge of the image, the shape of the image can be further identified. In order to reduce the computing resources required for digital image recognition processing and improve the speed and accuracy of recognition, the digital image analysis device 100 will interact with the user during the process of digital image recognition, requiring the user to provide information that can help determine the edge of the image and /or auxiliary information for the shape. The following will take the image recognition process of the opening 302 of the circuit board as an example to illustrate.

在步骤220中,处理器122会将复数个辨识型样的选项,以文字或图案的形式显示于显示器130上供使用者选择。举例而言,如图3所示,处理器122可将多个辨识型样的选项(如圆形、椭圆形、多边形、不规则形、圆弧、直线、折线等等),用文字按钮的形式群组成选项列310,并显示于显示器130上。每一辨识型样选项都有一相对应的影像边缘计算方式,可用计算机程序的形式储存在储存模组124中。前述辨识型样选项的内容和数目仅为一实施例,并非局限本发明的实际实施方式。实施上,可依设计的需要增加、减少或改变辨识型样的选项和内容。In step 220, the processor 122 displays a plurality of options for identifying patterns in the form of text or patterns on the display 130 for the user to choose. For example, as shown in FIG. 3 , the processor 122 can use a plurality of options for identifying patterns (such as circles, ellipses, polygons, irregular shapes, arcs, straight lines, polylines, etc.) The form groups form option bar 310 and are displayed on display 130 . Each recognition pattern option has a corresponding image edge calculation method, which can be stored in the storage module 124 in the form of a computer program. The content and number of the aforementioned identification pattern options are only an example, and are not intended to limit the actual implementation of the present invention. In practice, the options and content of the identification pattern can be increased, decreased or changed according to the needs of the design.

在步骤230中,使用者需要从选项列310所呈现的多个辨识型样选项中选择与数字影像300的形状相关的一或多个辨识型样。实施上,使用者可通过输入接口140以游标点选、触控、声控、或其他指令输入方式,来选择一或多个辨识型样。在本实施例中,使用者可选择与电路板开孔302形状最接近的辨识型样「圆形」。In step 230 , the user needs to select one or more recognition patterns related to the shape of the digital image 300 from a plurality of recognition pattern options presented in the option bar 310 . In practice, the user can select one or more identification patterns through the input interface 140 by means of cursor selection, touch, voice control, or other command input methods. In this embodiment, the user can select the recognition pattern "circle" that is closest to the shape of the circuit board opening 302 .

在步骤240中,主机120会通过输入接口140接收使用者所选择的辨识型样设定,并记录在储存模组124中,以作为处理器122进行影像辨识时的参考依据。In step 240 , the host 120 receives the recognition pattern setting selected by the user through the input interface 140 and records it in the storage module 124 as a reference for the processor 122 to perform image recognition.

在步骤250中,使用者需要在数字影像300上粗略地设定复数个简单的线条。使用者可通过输入接口140用游标点选或触控的方式,来设定与数字影像300中欲辨识的开孔302的影像边缘相对应的复数个线条。所需线条的数量与使用者所选择的辨识型样有关。例如,当所选择的辨识型样为「圆形」或「圆弧」时,需要至少3个线条。当所选择的辨识型样为「直线」时,需要至少2个线条。当所选择的辨识型样为「多边形」、「不规则形」时,则需要较多数量的线条。In step 250 , the user needs to roughly set a plurality of simple lines on the digital image 300 . The user can set a plurality of lines corresponding to the image edge of the opening 302 to be identified in the digital image 300 by clicking or touching the input interface 140 . The number of lines required is related to the identification pattern selected by the user. For example, when the selected identification pattern is "circle" or "arc", at least 3 lines are required. When the selected identification pattern is "Straight Line", at least 2 lines are required. When the selected identification pattern is "polygon" or "irregular shape", a larger number of lines is required.

各线条只须与欲辨识的影像物件的影像边缘相交即可,亦即,各线条的两端点要分别位于影像边缘的两侧。各线条的长度不拘,形状也不限于直线,亦可以是曲线或不规则线。为降低后续计算的复杂度,各线条最好只与单一影像边缘相交。实施上,可将显示器130与输入接口140整合在一起,例如,可利用触控萤幕来实现显示器130与输入接口140两者的功能。Each line only needs to intersect with the image edge of the image object to be identified, that is, the two ends of each line should be respectively located on both sides of the image edge. The length of each line is not limited, and the shape is not limited to a straight line, and may be a curved line or an irregular line. In order to reduce the complexity of subsequent calculations, each line preferably only intersects with a single image edge. In practice, the display 130 and the input interface 140 can be integrated together, for example, a touch screen can be used to realize the functions of the display 130 and the input interface 140 .

如图4的实施例所示,使用者可在数字影像300上粗略地画出与开孔302的影像边缘相交的三个线条410、420和430。As shown in the embodiment of FIG. 4 , the user can roughly draw three lines 410 , 420 , and 430 on the digital image 300 that intersect the image edge of the opening 302 .

在步骤260中,主机120会通过输入接口140接收使用者所输入的多个线条的设定数据,并记录在储存模组124中,以作为处理器122进行影像边缘辨识时的参考依据。In step 260 , the host 120 receives the setting data of multiple lines input by the user through the input interface 140 , and records them in the storage module 124 as a reference when the processor 122 performs image edge recognition.

在步骤270中,处理器122会读取记录于储存模组124中的复数个线条的设定数据,并界定出该复数个线条与数字影像300中开孔302的影像边缘相交的复数个影像位置。例如,本实施例中的处理器122会计算出线条410与开孔302的影像边缘相交的影像位置412、线条420与开孔302的影像边缘相交的影像位置422、以及线条430与开孔302的影像边缘相交的影像位置432。In step 270, the processor 122 reads the setting data of a plurality of lines recorded in the storage module 124, and defines a plurality of images where the plurality of lines intersect with the image edge of the opening 302 in the digital image 300 Location. For example, the processor 122 in this embodiment will calculate the image position 412 where the line 410 intersects the image edge of the opening 302 , the image position 422 where the line 420 intersects the image edge of the opening 302 , and the distance between the line 430 and the opening 302 Image location 432 where image edges intersect.

处理器122计算各线条与开孔302的影像边缘相交的影像位置的方法有很多。在一实施例中,处理器122可计算各线条对应的路径上相邻像素间的像素值差异,并将像素值差异最大的位置设定为该线条与开孔302的影像边缘的相交位置。例如,在影像边缘两侧的像素值有明显差异的应用中,可采用这种影像位置的计算方式。There are many methods for the processor 122 to calculate the image position where each line intersects the edge of the image of the aperture 302 . In one embodiment, the processor 122 may calculate the pixel value difference between adjacent pixels on the path corresponding to each line, and set the position where the pixel value difference is the largest as the intersection position between the line and the image edge of the opening 302 . This calculation of image position can be used, for example, in applications where there are significant differences in pixel values on either side of the edge of the image.

请注意,在说明书及后续权项中所称的像素值,实施上可为像素的亮度值(1uminance)或彩度值(chrominance)。Please note that the pixel value referred to in the description and subsequent claims can be implemented as the luminance value (luminance) or chroma value (chrominance) of the pixel.

在另一实施例中,处理器122可在每一线条对应的路径上,沿着一预定方向依序计算相邻像素间的像素值差异,并将像素值差异达到或超过一预定临界值的第一个位置设定为该线条与开孔302的影像边缘的相交位置。例如,在影像边缘两侧的像素值没有显著差异,但影像边缘的像素值与影像边缘两侧的像素值明显有别的应用中,可采用这种影像位置的计算方式。为方便起见,以下以图5所绘示的数字影像300的局部放大图为例做说明。In another embodiment, the processor 122 may sequentially calculate the pixel value difference between adjacent pixels along a predetermined direction on the path corresponding to each line, and calculate the pixel value difference that reaches or exceeds a predetermined critical value. The first location is set as the intersection of the line with the edge of the image of the opening 302 . For example, in applications where there is no significant difference in pixel values on both sides of the edge of the image, but the pixel values on both sides of the edge of the image are significantly different from those on both sides of the edge of the image, this method of calculating the image position can be used. For convenience, the partial enlarged view of the digital image 300 shown in FIG. 5 is taken as an example for illustration below.

在图5中,像素510、512、514、516、518、520、524、526及528是开孔302的影像边缘上的局部像素。像素530、532、518、516、534、536、538及540是位于线条410的路径上的像素。编号502和504则代表线条410的两个端点。使用者可藉由左右调整线条410其中一端点(例如端点504)的位置的方式,来微调线条410与开孔302的影像边缘的相交位置。这种设定一线条与一影像边缘的相交位置的方式,相较于利用滑鼠(或触控手段)直接选定影像边缘上一特定点的方式而言,能提供使用者更高的选择精度。In FIG. 5 , pixels 510 , 512 , 514 , 516 , 518 , 520 , 524 , 526 , and 528 are local pixels on the image edge of aperture 302 . Pixels 530 , 532 , 518 , 516 , 534 , 536 , 538 , and 540 are pixels located on the path of line 410 . Numbers 502 and 504 represent the two endpoints of the line 410 . The user can fine-tune the intersection position of the line 410 and the edge of the image of the opening 302 by adjusting the position of one end point of the line 410 (for example, the end point 504 ) left or right. This way of setting the intersection position between a line and an image edge can provide users with higher options than using a mouse (or touch means) to directly select a specific point on the edge of an image. precision.

处理器122可延着方向D1,依序计算线条410的路径上两相邻像素间的像素值差异(例如,先计算像素530与532的像素值差异、再计算像素532与518的像素值差异、再计算像素518与516的像素值差异,依此类推),并与该预定临界值进行比较。在本实施例中,像素532与518的像素值差异是第一个超过该预定临界值的像素值差异,因此,处理器122可省略计算后续的像素值差异,并将像素532和像素518的交点位置552设定为线条410与开孔302的影像边缘相交的影像位置412。The processor 122 may follow the direction D1 to sequentially calculate the pixel value difference between two adjacent pixels on the path of the line 410 (for example, first calculate the pixel value difference between the pixels 530 and 532, then calculate the pixel value difference between the pixels 532 and 518, The difference between the pixel values of pixels 518 and 516 is then calculated, and so on), and compared with the predetermined threshold value. In this embodiment, the pixel value difference between pixels 532 and 518 is the first pixel value difference exceeding the predetermined critical value, therefore, the processor 122 may omit calculating subsequent pixel value differences, and combine the pixels 532 and 518 The intersection location 552 is set as the image location 412 where the line 410 intersects the image edge of the aperture 302 .

在另一实施例中,处理器122可先计算出线条410的路径上的复数个像素值的中位数或平均值,并将该中位数或平均值设为一临界值。换言之,该临界值的设定可以是动态调整的。接着,处理器122可延着方向D1,依序将线条410路径上的像素值与该临界值进行比较,并将像素值达到或跨越该临界值的第一个位置设定为线条410与开孔302的影像边缘的相交位置。假设像素518是线条410的路径沿着D1的方向上第一个像素值达到该临界值的像素,处理器122可省略比较后续的像素值,并以像素518的中心位置554作为线条410与开孔302的影像边缘相交的影像位置412。In another embodiment, the processor 122 may first calculate the median or the average value of the plurality of pixel values along the path of the line 410, and set the median or the average value as a critical value. In other words, the setting of the threshold can be dynamically adjusted. Next, the processor 122 can sequentially compare the pixel values on the path of the line 410 with the critical value along the direction D1, and set the first position where the pixel value reaches or crosses the critical value as the line 410 and the opening. 302 is the intersection position of the image edge. Assuming that the pixel 518 is the first pixel whose value reaches the critical value along the direction of D1 along the path of the line 410, the processor 122 may omit comparing the subsequent pixel values, and use the center position 554 of the pixel 518 as the line 410 and the open pixel. Image location 412 where image edges of holes 302 intersect.

假设像素518是线条410的路径沿着D1的方向上第一个像素值跨过该临界值(亦即像素值第一次大于或小于该临界值)的像素,处理器122可省略比较后续的像素值,并将像素518与像素532的交点位置552设定为线条410与开孔302的影像边缘相交的影像位置412。或者,处理器122亦可对像素值512和像素532的像素值进行内插运算,计算出该临界值所对应的位置556,并以位置556作为线条410与开孔302的影像边缘相交的影像位置412。Assuming that the pixel 518 is the first pixel whose pixel value crosses the critical value (that is, the pixel value is greater than or smaller than the critical value for the first time) along the path of the line 410 along the direction of D1, the processor 122 may omit comparing subsequent pixel value, and set the intersection position 552 of the pixel 518 and the pixel 532 as the image position 412 where the line 410 intersects the image edge of the opening 302 . Alternatively, the processor 122 can also interpolate the pixel value 512 and the pixel value of the pixel 532 to calculate the position 556 corresponding to the critical value, and use the position 556 as the image where the line 410 intersects with the image edge of the opening 302 Location 412.

由前述说明可知,处理器122界定各线条与影像物件的影像边缘的相交位置时的精度(Precision),可达到比一个像素单位还小的程度。It can be seen from the above description that the precision (Precision) when the processor 122 defines the intersection position of each line and the image edge of the image object can be smaller than one pixel unit.

接着,在步骤280中,处理器122会依据在步骤230中所选择的辨识型样,连接在步骤270中所获得的复数个影像位置,以辨识出数字影像300的一或多个局部边缘或完整边界。例如,在本实施例中,使用者在步骤230中所选择的辨识型样为「圆形」,故处理器122会依据在步骤270中所界定出的3个影像位置412、422及432来决定出一个圆周,以作为开孔302的影像边缘辨识结果。Next, in step 280, the processor 122 connects the plurality of image positions obtained in step 270 according to the identification pattern selected in step 230, so as to identify one or more local edges or edges of the digital image 300 full border. For example, in this embodiment, the recognition pattern selected by the user in step 230 is "circle", so the processor 122 will determine the three image positions 412, 422 and 432 defined in step 270. A circle is determined as the image edge recognition result of the opening 302 .

辨识出一影像物件的边界(例如开孔302的圆周)后,处理器122可依需要进一步计算出该影像物件的几何特征(例如开孔302的圆心408)的所在位置。After identifying the boundary of an image object (such as the circumference of the opening 302 ), the processor 122 can further calculate the location of the geometric feature of the image object (such as the center 408 of the opening 302 ) as needed.

以下再以电路板侧边304的影像辨识过程为例来说明本发明的数字影像辨识方法。Next, the digital image recognition method of the present invention will be described by taking the image recognition process of the circuit board side 304 as an example.

由于电路板侧边304是直线型的侧边,故使用者可在步骤230中选择与电路板侧边304的形状最接近的辨识型样「直线」,并于步骤250中设定与电路板侧边304的影像边缘相交的两个线条440与450。Since the circuit board side 304 is a linear side, the user can select the identification pattern "straight line" that is closest to the shape of the circuit board side 304 in step 230, and set it in step 250 to match the shape of the circuit board. Two lines 440 and 450 where the image edges of side 304 intersect.

在步骤270中,处理器122可利用前述的方式之一,界定出线条440与电路板侧边304的影像边缘相交的影像位置442,以及线条450与电路板侧边304的影像边缘相交的影像位置452。In step 270, the processor 122 can use one of the aforementioned methods to define the image position 442 where the line 440 intersects the image edge of the circuit board side 304 and the image where the line 450 intersects the image edge of the circuit board side 304 Location 452.

在步骤280中,由于储存模组124中所记录的辨识型样是「直线」,故处理器122会依据影像位置442与452决定出一直线,以作为电路板侧边304的影像边缘辨识结果。In step 280, since the identification pattern recorded in the storage module 124 is "straight line", the processor 122 determines a straight line according to the image positions 442 and 452 as the image edge identification result of the circuit board side 304 .

在另一实施例中,使用者亦可在步骤230中选择与电路板侧边304及侧边306两者的形状最接近的辨识型样「折线」,并于步骤250中设定与电路板侧边304的影像边缘相交的两个线条440与450、以及与电路板侧边306的影像边缘相交的两个线条460与470。之后,处理器122在步骤270中会界定出线条440与电路板侧边304的影像边缘相交的影像位置442、线条450与电路板侧边304的影像边缘相交的影像位置452、线条460与电路板侧边306的影像边缘相交的影像位置462、以及线条470与电路板侧边306的影像边缘相交的影像位置472。In another embodiment, in step 230, the user can also select the recognition pattern "polyline" that is closest to the shape of both the side 304 and the side 306 of the circuit board, and in step 250 set Two lines 440 and 450 intersect the image edge of side 304 and two lines 460 and 470 intersect the image edge of circuit board side 306 . Afterwards, in step 270, the processor 122 defines the image position 442 where the line 440 intersects the image edge of the circuit board side 304, the image position 452 where the line 450 intersects the image edge of the circuit board side 304, the line 460 and the circuit board. The image location 462 where the image edge of the board side 306 intersects and the image location 472 where the line 470 intersects the image edge of the circuit board side 306 .

如此一来,处理器122便可于步骤280中依据辨识型样「折线」的指示,将影像位置442、452、462及472连接成一L型折线,作为电路板侧边304及306两者的影像辨识结果。In this way, in step 280, the processor 122 can connect the image positions 442, 452, 462 and 472 to form an L-shaped fold line according to the indication of the recognized pattern "polyline", which is used as the edge of both sides 304 and 306 of the circuit board. Image recognition results.

获得开孔302的圆心408的位置,以及电路板侧边304及306的位置后,处理器122便能进一步计算出圆心408至电路板侧边304或306的距离。After obtaining the position of the center 408 of the opening 302 and the positions of the sides 304 and 306 of the circuit board, the processor 122 can further calculate the distance from the center 408 to the side 304 or 306 of the circuit board.

由前述说明可知,本发明的数字影像辨识方法仅需分析各线条的路径上的像素值,便能计算出该线条与一特定影像边缘的相交位置,进而达成辨识影像边缘的目的,而无须对数字影像300中的全部像素进行分析,大幅降低了处理器122所需的运算资源。此外,由于处理器122会以使用者所输入的辨识型样设定作为进行影像辨识时的参考依据,故可大幅提升辨识数字影像的边缘或外形时的准确度。As can be seen from the foregoing description, the digital image recognition method of the present invention only needs to analyze the pixel values on the path of each line to calculate the intersection position of the line and a specific image edge, thereby achieving the purpose of identifying the edge of the image without having to All the pixels in the digital image 300 are analyzed, which greatly reduces the computing resources required by the processor 122 . In addition, since the processor 122 uses the recognition pattern setting input by the user as a reference for image recognition, the accuracy of recognizing the edge or shape of the digital image can be greatly improved.

在应用上,数字影像分析装置100可用来实现产品检验、品管的目的。例如,承载装置150可用生产线上的输送带来实现,用来周期性将待检验的标的物件102(如前述的电路板)送至影像撷取装置110所对准的检测区域。待检测的标的物件之间往往会有许多相似的影像特征,故使用者只需于影像撷取装置110第一次进行影像撷取与辨识时,输入适当的辅助信息(例如影像辨识型样、与影像物件边缘有关的线条等)至主机120,影像撷取装置110便可依据同样的辅助信息自动完成后续标的物件102的影像辨识处理,进而实现良品或不良品的筛选作业。以下将以图6的例子作进一步说明。In terms of application, the digital image analysis device 100 can be used to achieve the purpose of product inspection and quality control. For example, the carrying device 150 can be realized by a conveyor belt on a production line, and is used to periodically deliver the target object 102 to be inspected (such as the aforementioned circuit board) to the inspection area where the image capture device 110 is aligned. There are often many similar image features between the target objects to be detected, so the user only needs to input appropriate auxiliary information (such as image recognition pattern, Lines related to the edge of the image object, etc.) to the host 120, the image capture device 110 can automatically complete the image recognition processing of the subsequent target object 102 according to the same auxiliary information, and then realize the screening operation of good or bad products. The example in FIG. 6 will be used for further description below.

在图6中,数字影像600是影像撷取装置110所感测到的另一电路板的局部影像,其中,标号602代表该电路板上的开孔,标号604和606则代表该电路板的两个侧边。一般而言,同一制程下的产品彼此间的差异通常会在有限的范围内。因此,数字影像分析装置100可保留使用者于辨识先前电路板的数字影像300的过程中所输入的辅助线条410、420、430、440、450、460和470,以及辨识型样「圆形」和「折线」(或「直线」)的设定。处理器122可利用前述的数字影像辨识方式之一,自动界定出线条410与开孔602的影像边缘相交的影像位置612、线条420与开孔602的影像边缘相交的影像位置622、以及线条430与开孔602的影像边缘相交的影像位置632。接着,处理器122可依据「圆形」辨识型样的设定,利用影像位置612、622及632这三个位置决定出开孔602的圆周,进而计算出开孔602的圆心608的位置。In FIG. 6 , a digital image 600 is a partial image of another circuit board sensed by the image capture device 110, wherein, reference numeral 602 represents an opening on the circuit board, and reference numerals 604 and 606 represent two holes of the circuit board. side. Generally speaking, the differences between products under the same process are usually within a limited range. Therefore, the digital image analysis device 100 can retain the auxiliary lines 410, 420, 430, 440, 450, 460, and 470 input by the user in the process of recognizing the digital image 300 of the previous circuit board, and recognize the pattern "circle". and "polyline" (or "line") settings. The processor 122 can use one of the aforementioned digital image recognition methods to automatically define the image position 612 where the line 410 intersects the image edge of the opening 602 , the image position 622 where the line 420 intersects the image edge of the opening 602 , and the line 430 The image location 632 that intersects the image edge of the aperture 602 . Then, the processor 122 can determine the circumference of the opening 602 by using the three positions of the image positions 612 , 622 and 632 according to the setting of the “circle” recognition pattern, and then calculate the position of the center 608 of the opening 602 .

相仿地,处理器122可利用前述的数字影像辨识方式之一,界定出线条440与电路板侧边604的影像边缘相交的影像位置642、线条450与电路板侧边604的影像边缘相交的影像位置652、线条460与电路板侧边606的影像边缘相交的影像位置662、以及线条470与电路板侧边606的影像边缘相交的影像位置672。接着,处理器122可于步骤280中依据辨识型样「折线」的设定,将影像位置642、652、662及672连接成一L型折线,作为电路板侧边604及606的影像辨识结果。Similarly, the processor 122 can use one of the aforementioned digital image recognition methods to define the image position 642 where the line 440 intersects the image edge of the circuit board side 604 and the image where the line 450 intersects the image edge of the circuit board side 604 Location 652 , image location 662 where line 460 intersects the image edge of circuit board side 606 , and image location 672 where line 470 intersects the image edge of circuit board side 606 . Next, the processor 122 can connect the image positions 642 , 652 , 662 and 672 into an L-shaped broken line according to the setting of the recognition pattern “polyline” in step 280 as the image recognition result of the circuit board sides 604 and 606 .

接下来,处理器122可进一步计算出开孔602的圆心608至电路板的侧边604及/或侧边606的距离,以判断开孔602的位置是否符合预设规格,进而决定该电路板是否为合格的电路板。Next, the processor 122 can further calculate the distance from the center 608 of the opening 602 to the side 604 and/or side 606 of the circuit board to determine whether the position of the opening 602 meets the preset specifications, and then determine the circuit board. Whether it is a qualified circuit board.

由前述说明可知,本发明的数字影像辨识方法应用在产品检测时,仅需使用者简单的涉入(例如,输入影像辨识型样及简单的几个线条等),便能以几乎全自动的方式完成后续产品的检测作业。再者,由于前述影像辨识及产品检验过程所需的运算资源远比习知方式低,故可有效改善品管系统的效率并降低所需的硬体成本。As can be seen from the above description, when the digital image recognition method of the present invention is applied to product inspection, it only needs the simple intervention of the user (for example, inputting the image recognition pattern and a few simple lines, etc.), and it can be almost fully automatic. To complete the testing work of subsequent products. Furthermore, since the aforementioned image recognition and product inspection processes require far less computing resources than conventional methods, the efficiency of the quality control system can be effectively improved and the required hardware costs can be reduced.

除了用来进行产品检验之外,数字影像分析装置100还可将前述的数字影像辨识方法运用在物件定位及对准的应用中。例如,当主机120的处理器122辨识出标的物件102与承载装置150上的特定位置(通常是定位线、定位边、定位角、定位点之类的设计)间的相对位置与距离后,便能控制承载装置150将标的物件102移动及/或旋转至一预定位置,以达成物件定位或对准的目的。In addition to being used for product inspection, the digital image analysis device 100 can also apply the aforementioned digital image recognition method to the application of object positioning and alignment. For example, after the processor 122 of the host computer 120 recognizes the relative position and distance between the target object 102 and a specific position on the carrying device 150 (usually a design such as a positioning line, a positioning edge, a positioning angle, or a positioning point), the The carrying device 150 can be controlled to move and/or rotate the target object 102 to a predetermined position, so as to achieve the purpose of object positioning or alignment.

对于呈现内凹状的数字影像而言,前述的数字影像辨识方法依然能成功地辨识出该数字影像的局部边缘或全部边界。例如,对于图7中所绘示的数字影像700而言,使用者可于步骤230中选择与数字影像700的形状接近的辨识型样「多边形」,并于步骤250中设定与数字影像700的影像边缘相交的多个线条720、730、740、750、760、770、780及790。如此一来,处理器122便能依据这些设定进行步骤270,以计算出这些线条与数字影像700的影像边缘相交的影像位置722、732、742、752、762、772、782及792。For a concave digital image, the aforementioned digital image recognition method can still successfully recognize the local edge or the entire boundary of the digital image. For example, for the digital image 700 shown in FIG. A plurality of lines 720 , 730 , 740 , 750 , 760 , 770 , 780 , and 790 intersect the edges of the image of the image. In this way, the processor 122 can perform step 270 according to these settings to calculate the image positions 722 , 732 , 742 , 752 , 762 , 772 , 782 and 792 where the lines intersect with the image edges of the digital image 700 .

另外,使用者可再次执行前述的数字影像辨识方法,但改选辨识型样「圆弧」,并设定与圆弧710的影像边缘相交的线条702、704及706。如此,处理器122便可辨识出线条702、704及706与圆弧710的影像边缘相交的影像位置712、714及716。In addition, the user can perform the aforementioned digital image recognition method again, but instead select the recognition pattern “arc” and set the lines 702 , 704 , and 706 intersecting the image edge of the arc 710 . In this way, the processor 122 can identify the image locations 712 , 714 , and 716 where the lines 702 , 704 , and 706 intersect the image edges of the arc 710 .

获得前述的影像位置712、714、716、722、732、742、752、762、772、782及792后,处理器122便可进一步依据前述的辨识型样「多边形」与「圆弧」的设定进行步骤280,依据这些影像位置决定数字影像700的多个影像边缘位置,进而迅速地辨识出数字影像700的完整形状。After obtaining the aforementioned image positions 712, 714, 716, 722, 732, 742, 752, 762, 772, 782, and 792, the processor 122 can further identify the pattern "polygon" and "arc" according to the aforementioned settings. Then proceed to step 280, determine a plurality of image edge positions of the digital image 700 according to these image positions, and then quickly recognize the complete shape of the digital image 700.

对于不规则形状的数字影像而言,使用者可选择辨识型样为「不规则形」,并多设定一些与该不规则形的数字影像的影像边缘相交的线条。使用者设定的线条越多,越能提升处理器122对该数字影像的外形辨识的正确性。For the digital image of irregular shape, the user can choose to identify the pattern as "irregular shape" and set more lines intersecting with the edge of the digital image of the irregular shape. The more lines the user sets, the more accurate the processor 122 can improve the shape recognition of the digital image.

请注意,前述流程图200中各步骤的执行顺序仅为一实施例,而非局限本发明的实施方式。例如,步骤230与步骤250的顺序可以对调。此外,亦可将数字影像分析装置100设计成专门用来辨识相同形状的标的物件的数字影像,此时便可将步骤220、230和240省略。Please note that the execution sequence of the steps in the aforementioned flow chart 200 is only an example, rather than limiting the implementation of the present invention. For example, the order of step 230 and step 250 can be reversed. In addition, the digital image analysis device 100 can also be designed to be specially used for recognizing digital images of objects of the same shape, and in this case, steps 220 , 230 and 240 can be omitted.

数字影像分析装置100可将前述的数字影像辨识方法进一步应用在数字影像量测上。例如,图8所绘示为本发明的数字影像量测方法的一实施例流程图800。流程图800中的步骤210至步骤280与前述流程图200中相同标号的流程相同,为简洁起见,在此不再赘述。The digital image analysis device 100 can further apply the aforementioned digital image recognition method to digital image measurement. For example, FIG. 8 shows a flowchart 800 of an embodiment of the digital image measurement method of the present invention. Steps 210 to 280 in the flowchart 800 are the same as the processes with the same numbers in the aforementioned flowchart 200 , and for the sake of brevity, details are not repeated here.

如图8所示,处理器122于步骤270界定出数字影像上的复数个影像位置后,可进一步执行步骤870,依据数字影像的缩放比例尺,将数字影像上两特定影像位置的间距、或多个影像位置的路径总长度,从像素距离换算成实际长度值。As shown in FIG. 8 , after the processor 122 defines a plurality of image positions on the digital image in step 270, it can further execute step 870, according to the scaling scale of the digital image, the distance between two specific image positions on the digital image, or more The total length of the path of image positions, converted from the pixel distance to the actual length value.

另外,处理器122于步骤280辨识出数字影像的局部边缘或全部边界后,还可进行步骤880,依据数字影像的影像边缘辨识结果,量测数字影像的特定影像特征值。以下用图9为例来进一步说明。In addition, after the processor 122 recognizes the partial edge or the entire boundary of the digital image in step 280, it may also proceed to step 880 to measure specific image feature values of the digital image according to the image edge recognition result of the digital image. The following uses FIG. 9 as an example for further description.

图9中的数字影像900是一圆管的截面影像。若要量测的标的是与数字影像900的影像内缘有关的影像特征值,例如内径尺寸、内圈截面积等,则使用者可于步骤230中选择与数字影像900的影像内缘形状接近的辨识型样「圆形」,并于步骤250依照一定的方向来设定与数字影像900的影像内缘相交的复数个线条。例如,在图9的实施例中,以由内向外的方式来设定线条910、920及930。The digital image 900 in FIG. 9 is a cross-sectional image of a circular tube. If the target to be measured is an image characteristic value related to the image inner edge of the digital image 900, such as the inner diameter size, inner ring cross-sectional area, etc., then the user can select a shape close to the image inner edge shape of the digital image 900 in step 230. The pattern "circle" is recognized, and in step 250, a plurality of lines intersecting the inner edge of the digital image 900 are set according to a certain direction. For example, in the embodiment of FIG. 9, the lines 910, 920, and 930 are set from the inside out.

之后,处理器122在步骤270中只要依据前述的计算方式,在各线条的路径上沿着各线条的绘制方向进行像素值分析,便能界定出线条910与数字影像900的影像内缘相交的影像位置912、线条920与影像内缘相交的影像位置922、以及线条930与影像内缘相交的影像位置932。亦即,前述的像素值分析运算,在线条910的路径上沿着方向D1进行、在线条920的路径上沿着方向D2进行、而在线条930的路径上则是沿着方向D3进行。Afterwards, in step 270, the processor 122 only needs to analyze the pixel values along the drawing direction of each line on the path of each line according to the above-mentioned calculation method, so as to define where the line 910 intersects with the image inner edge of the digital image 900 Image location 912 , image location 922 where line 920 intersects the inner edge of the image, and image location 932 where line 930 intersects the inner edge of the image. That is, the aforementioned pixel value analysis operation is performed along the direction D1 on the path of the line 910 , along the direction D2 on the path of the line 920 , and along the direction D3 on the path of the line 930 .

在步骤280中,处理器122便能利用影像位置912、922及932来决定出与辨识型样「圆形」相对应的一个圆周,以作为数字影像900的影像内缘的辨识结果。In step 280 , the processor 122 can use the image positions 912 , 922 and 932 to determine a circumference corresponding to the recognition pattern “circle” as the recognition result of the image inner edge of the digital image 900 .

辨识出数字影像900影像内缘的圆周后,处理器122便可在步骤880中进一步依据数字影像900的缩放比例尺,计算出与数字影像900的影像内缘有关的影像特征值,例如该圆管截面的内径尺寸、该圆管内圈的半径、周长、截面积、平均颜色等等。After identifying the circumference of the inner edge of the digital image 900, the processor 122 can further calculate image feature values related to the inner edge of the digital image 900 according to the scaling scale of the digital image 900 in step 880, for example, the circular tube The inner diameter of the section, the radius, circumference, cross-sectional area, average color, etc. of the inner ring of the tube.

相仿地,若要量测的标的是与数字影像900的影像外缘有关的影像特征值,例如外径尺寸、圆管外圈截面积等,使用者只要于步骤250中依照一定的方向来设定与数字影像900的影像外缘相交的复数个线条。例如,在图9的实施例中,以由外向内的方式设定线条950、960及970。处理器122在步骤270中便会在线条950的路径上沿着方向D5进行像素值分析、在线条960的路径上沿着方向D6进行像素值分析、并在线条970的路径上沿着方向D7进行像素值分析,进而界定出线条950与影像外缘相交的影像位置952、线条960与影像外缘相交的影像位置962、以及线条970与影像外缘相交的影像位置972。Similarly, if the object to be measured is the image feature value related to the image outer edge of the digital image 900, such as the outer diameter size, the cross-sectional area of the outer ring of the circular tube, etc., the user only needs to set it according to a certain direction in step 250. A plurality of lines intersecting the image outer edge of the digital image 900 is defined. For example, in the embodiment of FIG. 9, the lines 950, 960 and 970 are set from outside to inside. In step 270, the processor 122 will perform pixel value analysis along the direction D5 on the path of the line 950, perform pixel value analysis along the direction D6 on the path of the line 960, and perform pixel value analysis along the direction D7 on the path of the line 970. Pixel value analysis is performed to define the image location 952 where the line 950 intersects the outer edge of the image, the image location 962 where the line 960 intersects the outer edge of the image, and the image location 972 where the line 970 intersects the outer edge of the image.

接着,在步骤280中,处理器122便能利用影像位置952、962及972来辨识出数字影像900的影像外缘的圆周。Then, in step 280 , the processor 122 can use the image positions 952 , 962 and 972 to identify the circumference of the image outer edge of the digital image 900 .

因此,处理器122在步骤880中便可进一步依据数字影像900的缩放比例尺,计算出与数字影像900的影像外缘有关的影像特征值,例如该圆管截面的外径尺寸、该圆管外圈的半径、周长、截面积、平均颜色等等的数据。Therefore, in step 880, the processor 122 can further calculate image feature values related to the image outer edge of the digital image 900 according to the scaling scale of the digital image 900, such as the outer diameter of the circular tube section, the outer diameter of the circular tube Data on circle radius, circumference, cross-sectional area, average color, etc.

利用前述的数字影像量测方法,使用者只需提供少量的辅助信息,数字影像分析装置100便能迅速、正确地量测出影像物件的特定几何特征(Geometrical feature)值,例如,局部边缘长度、弧长、弧度、夹角、圆心角、圆周角、弦切角、影像物件的周长、面积、半径、直径、内径、外径等,或是影像物件的平均颜色、平均亮度等影像特征值。Using the aforementioned digital image measurement method, the user only needs to provide a small amount of auxiliary information, and the digital image analysis device 100 can quickly and accurately measure the specific geometrical feature (Geometrical feature) value of the image object, for example, the length of the local edge , arc length, radian, included angle, central angle, circumference angle, chord angle, perimeter, area, radius, diameter, inner diameter, outer diameter, etc. of the image object, or image features such as the average color and average brightness of the image object value.

实施上,处理器122除了辨识数字影像中特定影像部位的外形外,还可搭配适当的影像辨识机制,进一步辨识并计算该影像部位中所包含的特定影像特征(如颗粒、晶体结构等)的位置及/或数量,让使用者能进行更多的应用。In practice, in addition to identifying the shape of a specific image part in the digital image, the processor 122 can also be equipped with an appropriate image recognition mechanism to further identify and calculate the specific image features (such as particles, crystal structures, etc.) contained in the image part. location and/or quantity, allowing users to perform more applications.

如前所述,处理器122在界定各线条与影像物件的影像边缘的相交位置时的精度,可达到比一个像素单位还小的程度。因此,当前述的数字影像辨识方法应用在数字影像量测上时,可有效提升影像量测的准确度。As mentioned above, the precision of the processor 122 in defining the intersection position of each line and the image edge of the image object can be smaller than a pixel unit. Therefore, when the aforementioned digital image recognition method is applied to digital image measurement, the accuracy of image measurement can be effectively improved.

请注意,权利要求书中的装置权利要求中的各组成部分与前述的计算机程序流程的各个步骤对应一致,因此,权利要求书中的装置权利要求应当理解为主要通过说明书记载的计算机程序实现前述解决方案的功能模块架构。Please note that each component in the device claim in the claims corresponds to each step of the aforementioned computer program flow. Therefore, the device claim in the claims should be understood as realizing the aforementioned computer program mainly through the computer program described in the specification. The functional module architecture of the solution.

以上所述仅为本发明的较佳实施例,凡依本发明权利要求所做的均等变化与修饰,皆应属本发明的涵盖范围。The above descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made according to the claims of the present invention shall fall within the scope of the present invention.

Claims (15)

1. digital image analysis device, it includes:
Be used to receive the device that a plurality of lines relevant with the image edge of a digitized video are set; And
Be used to define the device of a plurality of image positions that the image edge of these a plurality of lines and this digitized video intersects.
2. digital image analysis device as claimed in claim 1, it includes in addition:
Be used to connect the device of these a plurality of image positions, with at least one local edge of this digitized video of identification.
3. digital image analysis device as claimed in claim 2, it includes in addition:
Be used to show the device of the option of a plurality of identification type samples; And
Be used to receive the device that selected one or more identification type sample of a user is set.
4. digital image analysis device as claimed in claim 3, the device that wherein is used to connect these a plurality of image positions includes:
Be used for setting the device that connects these a plurality of image positions according to this one or more identification type sample.
5. digital image analysis device as claimed in claim 3, the device that wherein is used to connect these a plurality of image positions includes:
Be used for determining the device of plural edges line according to this one or more identification type sample setting and these a plurality of image positions; And
Be used for determining one or more local edge of this digitized video or the device of integral edge according to this plural edges line.
6. digital image analysis device as claimed in claim 3, wherein this one or more identification type sample is set relevant with the shape of this digitized video.
7. digital image analysis device as claimed in claim 3, wherein one or more identification type sample of the quantity and this of these a plurality of lines is set corresponding.
8. digital image analysis device as claimed in claim 2, it includes in addition:
Be used at least one local edge, judge the device of position of a geometric properties of this digitized video according to this digitized video.
9. digital image analysis device as claimed in claim 2, it includes in addition:
Be used for identification result, calculate the geometrical characteristic of this digitized video or the device of image feature value according to image edge.
10. digital image analysis device as claimed in claim 1, it includes in addition:
Be used for calculating the device of the spacing or the path of these a plurality of image positions according to the scaling chi of this digitized video.
11. digital image analysis device as claimed in claim 1, the device that wherein is used to define these a plurality of image positions includes:
Be used to analyze the pixel value of the pixel on each lines respective path, with the device of the intersection location of the image edge that determines these lines and this digitized video.
12. digital image analysis device as claimed in claim 11, the device that wherein is used to analyze the pixel value of the pixel on each lines respective path includes:
Be used to calculate the device of the value differences between neighbor on each lines respective path; And
Be used for the set positions of value differences maximum device for the intersection location of the image edge of these lines and this digitized video.
13. digital image analysis device as claimed in claim 11, the device that wherein is used to analyze the pixel value of the pixel on each lines respective path includes:
Be used for calculating the device of the value differences between neighbor in regular turn along a predetermined direction in the path of each lines correspondence; And
Be used for value differences is met or exceeded the device of first set positions of a predetermined critical for the intersection location of the image edge of these lines and this digitized video.
14. digital image analysis device as claimed in claim 11, the device that wherein is used to analyze the pixel value of the pixel on each lines respective path includes:
Be used in the path of each lines correspondence the device that in regular turn pixel value on this path and a critical value is compared along a predetermined direction; And
First set positions that is used for pixel value reached or crosses over this critical value is the device of intersection location of the image edge of lines and this digitized video.
15. digital image analysis device as claimed in claim 14, the device that wherein is used to analyze the pixel value of the pixel on each lines respective path includes:
Be used for setting the device of the pairing critical value of these lines according to the pixel value on the path of each lines correspondence.
CN 201010141942 2010-04-01 2010-04-01 Digital Image Analysis Device Active CN102213591B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010141942 CN102213591B (en) 2010-04-01 2010-04-01 Digital Image Analysis Device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010141942 CN102213591B (en) 2010-04-01 2010-04-01 Digital Image Analysis Device

Publications (2)

Publication Number Publication Date
CN102213591A true CN102213591A (en) 2011-10-12
CN102213591B CN102213591B (en) 2013-10-23

Family

ID=44744994

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010141942 Active CN102213591B (en) 2010-04-01 2010-04-01 Digital Image Analysis Device

Country Status (1)

Country Link
CN (1) CN102213591B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI627561B (en) * 2017-08-03 2018-06-21 Window frame measuring method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5134661A (en) * 1991-03-04 1992-07-28 Reinsch Roger A Method of capture and analysis of digitized image data
TW416006B (en) * 1999-01-04 2000-12-21 Optron Corp Photoelectric tester and method for a printed circuit board
CN1080911C (en) * 1995-05-18 2002-03-13 欧姆龙公司 Object observing method and device
CN1550773A (en) * 2003-05-07 2004-12-01 ������������ʽ���� Machine vision inspection system and method having improved operations for increased precision inspection throughput
WO2008111724A1 (en) * 2007-03-14 2008-09-18 Daewoo Engineering & Construction Co., Ltd. Automatic test system and test method for slump flow of concrete using computing device
CN101334263A (en) * 2008-07-22 2008-12-31 东南大学 Method for locating the center of a circular target

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5134661A (en) * 1991-03-04 1992-07-28 Reinsch Roger A Method of capture and analysis of digitized image data
CN1080911C (en) * 1995-05-18 2002-03-13 欧姆龙公司 Object observing method and device
TW416006B (en) * 1999-01-04 2000-12-21 Optron Corp Photoelectric tester and method for a printed circuit board
CN1550773A (en) * 2003-05-07 2004-12-01 ������������ʽ���� Machine vision inspection system and method having improved operations for increased precision inspection throughput
WO2008111724A1 (en) * 2007-03-14 2008-09-18 Daewoo Engineering & Construction Co., Ltd. Automatic test system and test method for slump flow of concrete using computing device
CN101334263A (en) * 2008-07-22 2008-12-31 东南大学 Method for locating the center of a circular target

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI627561B (en) * 2017-08-03 2018-06-21 Window frame measuring method
US10197384B1 (en) 2017-08-03 2019-02-05 Ching Feng Home Fashions Co., Ltd. Window frame measuring method

Also Published As

Publication number Publication date
CN102213591B (en) 2013-10-23

Similar Documents

Publication Publication Date Title
TWI471776B (en) Method and computing device for determining angular contact geometry
JP6121425B2 (en) Measurement of belt wear by edge detection of raster images.
CN111640131B (en) Cell coating detection method, device and electronic equipment
TW201621584A (en) Apparatus and method for inspection of touch panel
TWI410880B (en) Computer program product related to digital image analyzing
WO2019100407A1 (en) Positioning of terminal screen based on transformation relation of coordinates of marking graphic points in pattern
EP3904865A1 (en) Image processing device, image processing method, and image processing program
JP5855961B2 (en) Image processing apparatus and image processing method
CN102213591B (en) Digital Image Analysis Device
CN102183206A (en) Line width measuring method for line on printed circuit board (PCB)
CN116703803A (en) Method, device and system for detecting burrs on the edges of battery pole pieces
CN114359179A (en) Panel detection method, system, electronic device and storage medium
CN118624641A (en) A vision-based multi-hole burr detection method, system and storage medium
JP5299196B2 (en) Marker detection device and program for marker detection device
CN116703912B (en) Mini-host network port integrity visual detection method
CN119437049A (en) Image measurement equipment and programs
JP2013140053A (en) Image processor and image processing method
CN110705465A (en) A Hand Shape Classification Method Based on Image Processing
JP2007033126A (en) Substrate inspection device, parameter adjusting method thereof and parameter adjusting device
JP5921190B2 (en) Image processing apparatus and image processing method
CN115937593A (en) A method for establishing a model method, an object detection method, and related equipment
CN114742142A (en) Liquid crystal display detection method and liquid crystal display detection equipment
CN115393305A (en) Industrial defect detection method, device, electronic equipment and storage medium
CN114359177A (en) Image display method, device, electronic device and storage medium of panel to be inspected
CN105930004A (en) Method and device for identifying terminal usage patterns

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant