CN118328897B - Method for measuring slot hole size of sheet metal workpiece - Google Patents
Method for measuring slot hole size of sheet metal workpiece Download PDFInfo
- Publication number
- CN118328897B CN118328897B CN202410765779.XA CN202410765779A CN118328897B CN 118328897 B CN118328897 B CN 118328897B CN 202410765779 A CN202410765779 A CN 202410765779A CN 118328897 B CN118328897 B CN 118328897B
- Authority
- CN
- China
- Prior art keywords
- contour
- measuring
- rectangle
- file
- value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 239000002184 metal Substances 0.000 title claims abstract description 27
- 238000005259 measurement Methods 0.000 claims abstract description 80
- 238000001514 detection method Methods 0.000 claims description 5
- 125000000174 L-prolyl group Chemical group [H]N1C([H])([H])C([H])([H])C([H])([H])[C@@]1([H])C(*)=O 0.000 claims description 3
- 238000003860 storage Methods 0.000 claims description 3
- 238000012163 sequencing technique Methods 0.000 claims 2
- 230000002452 interceptive effect Effects 0.000 abstract description 3
- 230000000007 visual effect Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 241001292396 Cirrhitidae Species 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000000691 measurement method Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000008094 contradictory effect Effects 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000005096 rolling process Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000011179 visual inspection Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
- G01B11/24—Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
- G06V10/22—Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
- G06V10/225—Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition based on a marking or identifier characterising the area
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
- G06V10/22—Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
- G06V10/235—Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition based on user input or interaction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/74—Image or video pattern matching; Proximity measures in feature spaces
- G06V10/75—Organisation of the matching processes, e.g. simultaneous or sequential comparisons of image or video features; Coarse-fine approaches, e.g. multi-scale approaches; using context analysis; Selection of dictionaries
- G06V10/751—Comparing pixel values or logical combinations thereof, or feature values having positional relevance, e.g. template matching
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Databases & Information Systems (AREA)
- Computing Systems (AREA)
- Artificial Intelligence (AREA)
- Health & Medical Sciences (AREA)
- Evolutionary Computation (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
本发明涉及机器视觉测量技术领域,公开了一种钣金工件槽孔尺寸的测量方法,包括以下步骤:S1:建立标准参数文件;S2:登录操作系统,进行图像采集;S3:对采集到的图像中待检测轮廓进行测量;S4:将测量结果的实际值与标准参数文件中的标准值进行对比:小于公差值,则输出“OK”;否则输出“NG”;S5:保存测量结果数据;与现有技术相比,本发明的钣金工件槽孔尺寸的测量方法,无需在图像上人工交互操作以确定待测量特征,克服了当工件测量特征数量较多时候通过鼠标选取图像并拟合成特征的繁琐操作,只需将测量结果与标准数据进行比对即可判断是否在精度范围内,能够有效提升该类产品的测量效率。
The invention relates to the technical field of machine vision measurement, and discloses a method for measuring the size of a slot hole of a sheet metal workpiece, comprising the following steps: S1: establishing a standard parameter file; S2: logging into an operating system and performing image acquisition; S3: measuring a contour to be detected in the acquired image; S4: comparing an actual value of a measurement result with a standard value in the standard parameter file: if it is less than a tolerance value, output "OK"; otherwise, output "NG"; S5: saving measurement result data; compared with the prior art, the method for measuring the size of a slot hole of a sheet metal workpiece of the invention does not require manual interactive operation on an image to determine features to be measured, overcomes the cumbersome operation of selecting an image through a mouse and fitting it into features when the number of workpiece measurement features is large, and only requires comparing the measurement result with standard data to determine whether it is within the accuracy range, thereby effectively improving the measurement efficiency of such products.
Description
技术领域Technical Field
本发明涉及机器视觉测量技术领域,具体地,涉及一种钣金工件槽孔尺寸的测量方法。The invention relates to the technical field of machine vision measurement, and in particular to a method for measuring the size of a slot hole of a sheet metal workpiece.
背景技术Background Art
钣金工件是利用钣金加工技术加工而成的零部件或工件,在工业制造领域,钣金工件的孔槽尺寸精度是决定产品质量的重要因素。Sheet metal workpieces are parts or workpieces processed using sheet metal processing technology. In the field of industrial manufacturing, the hole and groove dimensional accuracy of sheet metal workpieces is an important factor in determining product quality.
传统测量中,使用游标卡尺、千分尺等工具进行测量需与工件进行接触,容易对工件表面造成划痕,且人工检测劳动强度大,测量过程容易受到生理因素和外界干扰的影响,效率不高。In traditional measurement, the use of tools such as vernier calipers and micrometers requires contact with the workpiece, which can easily cause scratches on the workpiece surface. In addition, manual inspection is labor-intensive, and the measurement process is easily affected by physiological factors and external interference, making it inefficient.
随着视觉测量系统在识别、定位、测量任务中的突出表现,视觉测量系统已经开始逐步取代人工测量。With the outstanding performance of visual measurement systems in identification, positioning and measurement tasks, visual measurement systems have begun to gradually replace manual measurement.
目前市场的视觉测量多为影像仪或视觉测量仪等视觉设备,但不适用于钣金类工件测量。当钣金工件需要测量特征较多时,需要先采集图像,然后在图像上一一拟合特征,效率较低。Currently, most visual measurement devices on the market are imagers or visual measuring instruments, but they are not suitable for sheet metal workpiece measurement. When a sheet metal workpiece has many features to measure, it is necessary to first capture the image and then fit the features one by one on the image, which is inefficient.
发明内容Summary of the invention
本发明的目的在于提供一种钣金工件槽孔尺寸的测量方法,其用于解决上述技术问题。The purpose of the present invention is to provide a method for measuring the size of a slot hole of a sheet metal workpiece, which is used to solve the above-mentioned technical problem.
一种钣金工件槽孔尺寸的测量方法,包括以下步骤:A method for measuring the size of a slot hole of a sheet metal workpiece comprises the following steps:
S1:建立标准参数文件:S1: Create standard parameter file:
S11:对Pro/ENGINEER的PRT.1文件转存为DWG文件;S11: Convert the PRT.1 file of Pro/ENGINEER to DWG file;
S12:保留DWG文件的尺寸表格信息并导出为CSV文件;S12: Keep the dimension table information of the DWG file and export it as a CSV file;
S13:将CSV文件转为Excel文件,得到原始标准参数表;S13: Convert the CSV file into an Excel file to obtain an original standard parameter table;
S14:对原始标准参数表中的轮廓进行排序,得到标准参数文件;S14: sorting the profiles in the original standard parameter table to obtain a standard parameter file;
对原始标准参数表中的轮廓进行排序的方法为:The method to sort the contours in the original standard parameter table is:
S141:记录待检测轮廓的总数、最小行列值和最大行列值:行值是区分待排序轮廓是哪一行开始的依据,列值是区分哪些轮廓是一行开始的依据;S141: Record the total number of contours to be detected, the minimum row and column values, and the maximum row and column values: the row value is the basis for distinguishing which row the contours to be sorted start from, and the column value is the basis for distinguishing which contours start from a row;
S142:确定所有轮廓所在的行列;S142: Determine the rows and columns where all contours are located;
S143:根据行列值依次对同类型的轮廓进行排序并编号:同类轮廓中,行列值最小的轮廓是第一个轮廓,列值最小的轮廓是所在行的第一个轮廓,列值最大的轮廓是所在行的最后一个轮廓;S143: sorting and numbering the contours of the same type according to the row and column values: among the contours of the same type, the contour with the smallest row and column value is the first contour, the contour with the smallest column value is the first contour in the row, and the contour with the largest column value is the last contour in the row;
S2:登录操作系统,进行图像采集;S2: Log in to the operating system and collect images;
S3:对采集到的图像中待检测轮廓进行测量:S3: Measure the contour to be detected in the acquired image:
S31:根据亚像素轮廓圆度和矩形度区分轮廓形状;S31: distinguishing contour shapes according to sub-pixel contour roundness and rectangularity;
S32:对筛选出的同类型的轮廓进行重新排序:采用步骤S14中对原始标准参数表中的轮廓进行排序的方法相同的方法对同类型的轮廓进行重新排序并编号;S32: reordering the selected contours of the same type: reordering and numbering the contours of the same type using the same method as the method of sorting the contours in the original standard parameter table in step S14;
S33:拟合出对应的轮廓特征并进行测量;S33: fitting the corresponding contour features and measuring them;
S4:将测量结果的实际值与标准参数文件中的标准值进行对比:小于公差值,则输出“OK”;否则输出“NG”;S4: Compare the actual value of the measurement result with the standard value in the standard parameter file: if it is less than the tolerance value, output "OK"; otherwise, output "NG";
S5:保存测量结果数据。S5: Save the measurement result data.
根据本发明的一实施方式,在步骤S142中,如果一个轮廓至少纵跨相邻的两行,则该轮廓属于其最大行值落入的行。According to an embodiment of the present invention, in step S142, if a contour vertically spans at least two adjacent rows, the contour belongs to the row where its maximum row value falls.
根据本发明的一实施方式,在步骤S143:根据行列值依次对同类型的轮廓进行排序并编号后,还包括步骤S144:删除原始标准参数表中代表孔深、沉孔及最大实体要求的符号和数据,增加代表长度信息的符号,并在S33:拟合出对应的轮廓特征并进行测量后,将长度信息用增加的长度信息符号表示。According to one embodiment of the present invention, after step S143: sorting and numbering the same type of contours in sequence according to the row and column values, it also includes step S144: deleting the symbols and data representing the hole depth, countersink and maximum entity requirements in the original standard parameter table, adding symbols representing length information, and after S33: fitting the corresponding contour features and measuring them, the length information is represented by the added length information symbol.
根据本发明的一实施方式,在步骤31中,根据亚像素轮廓圆度和矩形度区分轮廓形状的标准为:亚像素轮廓圆度在[0.7,1.0]的形状为圆形,亚像素轮廓矩形度在[0.8,0.9]的形状为槽形,亚像素轮廓矩形度在[0.92,0.99]的形状为圆角矩形。According to one embodiment of the present invention, in step 31, the standard for distinguishing contour shapes based on sub-pixel contour roundness and rectangularity is: the shape of the sub-pixel contour roundness in [0.7, 1.0] is a circle, the shape of the sub-pixel contour rectangularity in [0.8, 0.9] is a groove, and the shape of the sub-pixel contour rectangularity in [0.92, 0.99] is a rounded rectangle.
根据本发明的一实施方式,在步骤S33中,拟合出对应的轮廓特征并进行测量的方法包括:According to an embodiment of the present invention, in step S33, the method of fitting the corresponding contour features and measuring includes:
按照步骤S32中对圆形轮廓的排序,依次将亚像素轮廓圆度在[0.7,1.0]的形状拟合成圆形,记录其圆心坐标与半径,得到圆形孔的测量结果;According to the order of the circular contours in step S32, the shapes of the sub-pixel contours with roundness in [0.7, 1.0] are sequentially fitted into circles, and the coordinates of the center of the circle and the radius are recorded to obtain the measurement results of the circular holes;
按照步骤S32中对槽型轮廓的排序,依次将亚像素轮廓矩形度在[0.8,0.9]的形状拟合成槽形,槽形孔由一个矩形与两个半圆三个部分组成,将槽形轮廓拟合成圆与直线,获得圆心和半径参数,得到槽型的最小外接矩形,进而得到槽型的整体长度,得到槽形孔的测量结果;According to the order of the slot profiles in step S32, the shapes with sub-pixel profile rectangularity in [0.8, 0.9] are sequentially fitted into slots. The slot hole consists of a rectangle and two semicircles. The slot profile is fitted into a circle and a straight line to obtain the center and radius parameters, and the minimum circumscribed rectangle of the slot is obtained, and then the overall length of the slot is obtained, and the measurement result of the slot hole is obtained;
按照步骤S32中对圆角矩形的排序,依次将亚像素轮廓矩形度在[0.92,0.99]的形状拟合成圆角矩形,得到圆角矩形的最小外接矩形,获取圆角矩形的长度与宽度,得到圆角矩形孔的测量结果。According to the sorting of the rounded rectangles in step S32, the shapes with sub-pixel contour rectangularity in [0.92, 0.99] are fitted into rounded rectangles in turn to obtain the minimum circumscribed rectangle of the rounded rectangle, and the length and width of the rounded rectangle are obtained to obtain the measurement result of the rounded rectangle hole.
根据本发明的一实施方式,在对轮廓进行测量前,操作员先登录操作系统并创建一个针对待检测产品的空的文件夹,该文件夹用作存放保存的模板、标准参数文件及其参数测量结果文件的位置,步骤S1中建立的标准参数文件和步骤S5中的测量结果数据文件即存放在该文件夹中。According to one embodiment of the present invention, before measuring the contour, the operator first logs into the operating system and creates an empty folder for the product to be inspected. The folder is used as a location for storing saved templates, standard parameter files and parameter measurement result files thereof. The standard parameter file established in step S1 and the measurement result data file in step S5 are stored in the folder.
根据本发明的一实施方式,步骤S2中:登录操作系统后有:S21:模板操作、S22:连接相机、S23:进行测量三个选项;According to an embodiment of the present invention, in step S2: after logging into the operating system, there are three options: S21: template operation, S22: connecting to a camera, and S23: performing measurement;
如果上述文件夹中存放有模板,用户可选择S22:连接相机选项,工业相机将进行图像采集,并把采集到的图片发送给计算机,计算机根据采集到的图片判断工件类型,并在判断成功后从上述的文件夹中读取模板,对图像进行模板匹配,然后选择S23选项并进入步骤S3;If there is a template stored in the above folder, the user can select S22: Connect Camera option, the industrial camera will perform image acquisition and send the acquired pictures to the computer, the computer determines the workpiece type based on the acquired pictures, and reads the template from the above folder after the judgment is successful, performs template matching on the image, and then selects S23 option and enters step S3;
如果上述文件夹中没有存放模板,在用户登录操作系统后,选择S21:模板操作,打开模板操作界面,连接相机进行采图,使用采集到的图片进行模板创建,并将创建的模板保存到上述文件夹中后,返回系统界面,并进入S22选项。If there is no template stored in the above folder, after the user logs in to the operating system, select S21: Template operation, open the template operation interface, connect the camera to capture images, use the captured images to create a template, save the created template to the above folder, return to the system interface, and enter the S22 option.
根据本发明的一实施方式,使用采集到的图片进行模板创建的方法为:操作者使用工业相机采集到的图像,在图像框内绘制一个带角度的矩形,选出要创建成模板的图像区域及角度,形成模板,然后将模板保存到上述文件夹中,以便于作为模板对后续通过选项S22获得的图像进行对比,以判断工件类型。According to one embodiment of the present invention, the method for creating a template using a captured image is as follows: the operator uses the image captured by the industrial camera to draw an angled rectangle in the image frame, selects the image area and angle to be created as a template, forms a template, and then saves the template to the above-mentioned folder, so that it can be used as a template for comparison with subsequent images obtained through option S22 to determine the type of workpiece.
根据本发明的一实施方式,步骤S4中,将测量结果的实际值与标准参数文件中的标准值进行对比的方法为:对工件使用带角度的矩形拟合出工件左上角两条线的虚拟交点,并记录各检测特征与交点的相对位置,根据标准参数文件的相对位置与所测量记录相对位置一致的尺寸数据进行比对判断。According to one embodiment of the present invention, in step S4, the method for comparing the actual value of the measurement result with the standard value in the standard parameter file is: use an angled rectangle to fit the virtual intersection of two lines in the upper left corner of the workpiece, and record the relative position of each detection feature and the intersection, and compare and judge according to the dimensional data whose relative position in the standard parameter file is consistent with the measured recorded relative position.
根据本发明的一实施方式,步骤S5中:保存测量结果数据时,测量结果数据文件同时输出Excel表格和PDF文件存放。According to an embodiment of the present invention, in step S5: when saving the measurement result data, the measurement result data file is simultaneously output as an Excel table and a PDF file for storage.
与现有技术相比,本发明的钣金工件槽孔尺寸的测量方法具有以下优点:Compared with the prior art, the method for measuring the slot size of a sheet metal workpiece of the present invention has the following advantages:
本发明的钣金工件槽孔尺寸的测量方法,无需在图像上人工交互操作以确定待测量特征,克服了当工件测量特征数量较多时候通过鼠标选取图像并拟合成特征的繁琐操作,只需将测量结果与标准数据进行比对即可判断是否在精度范围内,能够有效提升该类产品的测量效率。The method for measuring the slot hole size of a sheet metal workpiece of the present invention does not require manual interactive operation on the image to determine the features to be measured, and overcomes the cumbersome operation of selecting the image by mouse and fitting it into features when the number of workpiece measurement features is large. It only needs to compare the measurement result with the standard data to determine whether it is within the accuracy range, which can effectively improve the measurement efficiency of such products.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为PRT.1文件的示意图;Figure 1 is a schematic diagram of a PRT.1 file;
图2为轮廓分布图;Figure 2 is a profile distribution diagram;
图3为相对位置取点示意图;Fig. 3 is a schematic diagram of relative position points;
图4为创建模板文件的案例;Figure 4 is an example of creating a template file;
图5为PDF文件导出示意图;Figure 5 is a schematic diagram of PDF file export;
图6为Excel文件导出示意图;Figure 6 is a schematic diagram of Excel file export;
图7为钣金工件槽孔尺寸的测量方法的流程图;FIG7 is a flow chart of a method for measuring the size of a slot hole in a sheet metal workpiece;
图8为视觉测量系统的软件流程图。Figure 8 is a software flow chart of the visual measurement system.
本发明功能的实现及优点将结合实施例,参照附图做进一步说明。The realization of the functions and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings.
具体实施方式DETAILED DESCRIPTION
以下将以图式揭露本发明的多个实施方式,为明确说明起见,许多实务上的细节将在以下叙述中一并说明。然而,应了解到,这些实务上的细节不应用以限制本发明。也就是说,在本发明的部分实施方式中,这些实务上的细节是非必要的。此外,为简化图式起见,一些习知惯用的结构与组件在图式中将以简单的示意的方式绘示之。The following will disclose multiple embodiments of the present invention with drawings. For the purpose of clear description, many practical details will be described together in the following description. However, it should be understood that these practical details should not be used to limit the present invention. That is, in some embodiments of the present invention, these practical details are not necessary. In addition, in order to simplify the drawings, some conventional structures and components will be depicted in a simple schematic manner in the drawings.
需要说明,本发明实施例中所有方向性指示(诸如上、下、左右、前、后……)仅用于解释在某一特定姿态(如附图所示)下各部件之间的相对位置关系、运动情况等,如果该特定姿态发生改变时,则该方向性指示也相应地随之改变。It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
另外,在本发明中如涉及“第一”、“第二”等的描述仅用于描述目的,并非特别指称次序或顺位的意思,亦非用以限定本发明,其仅仅是为了区别以相同技术用语描述的组件或操作而已,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。另外,各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本发明要求的保护范围之内。In addition, in the present invention, the descriptions of "first", "second", etc. are only used for descriptive purposes, and do not specifically refer to the order or sequence, nor are they used to limit the present invention. They are only used to distinguish components or operations described with the same technical terms, and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
为能进一步了解本发明的内容、特点及功效,兹例举以下实施例,并配合附图详细说明如下:In order to further understand the content, features and effects of the present invention, the following embodiments are given as examples and described in detail with reference to the accompanying drawings:
为了克服现有技术的不足,本发明提出了一种钣金工件槽孔尺寸的测量方法,通过建模处理后进行测量,不仅能够实现对钣金工件的多种类型孔槽进行尺寸测量,还能够通过创建模板实现不同钣金工件的测量。In order to overcome the shortcomings of the prior art, the present invention proposes a method for measuring the slot hole size of a sheet metal workpiece. By performing measurement after modeling processing, not only can the size measurement of various types of slots and holes of the sheet metal workpiece be realized, but also the measurement of different sheet metal workpieces can be realized by creating templates.
在介绍本发明之前,先介绍支持本发明的测量方法的视觉检测系统,测量系统功能须包括工件图像实时采集、工件图像处理、工件尺寸实时测量与结果界面显示。测量系统主要包括硬件部分和软件部分两个方面,硬件部分主要由光源、相机、载物台以及上位机四部分组成,软件部分主要是由图像处理算法及交互界面设计组成,软件系统是基于Windows11,64位操作系统,联合Halcon以及C#编程以实现图像处理及测量来实现多类型钣金工件视觉测量系统。系统软件部分主要基于VisualStudio2022平台,使用C#语言中的WinForm框架设计界面、Halcon视觉库开发高精度测量软件,使用SQLite数据库对系统的账号数据等进行管理。当进行尺寸测量时,相机的分辨率以及画面的大小均会对测量的精度造成影响。在已知所需测量精度的情况下,计算相机所需最小分辨率时,可以通过式子来计算,其中ε为方向系统精度、L为视野方向长度、N为方向像素数量。对于本发明的测量系统,精度要求为0.1mm、视野宽高为320mm,故可求解得出单一方向至少需要3200像素才可以满足最低需求。通常在生产实践中,考虑到像素误差、系统稳定性等因素,一般选用分辨率为最低需求3~4倍或以上的相机。因本发明测量系统无需对运动物体进行测量,帧率要求较低,故可选用全局快门或卷帘快门相机;因为本测量系统为参数测量系统,故可采用黑白相机。综上所述,本发明选用了海康威视公司的MV-CH500-90TM-F-NF CMOS全局快门黑白工业相机,其分辨率为7008*7000,帧率为15.5 fps;为了减小视差以及镜头畸变对成像质量造成的影响,本发明选用了锐灿的XF-10MDT01090436×120DSS-D-L90双远心镜头,其放大倍率为0.109,畸变率小于0. 066%,工作距离为120mm,视野范围为110mm。对于光源选型,通常可以选用条形光源、环形光源、背光源、同轴光源等。相比与其它光源,背光源具有可以提高对比度、消除阴影、增强边缘特征等优势,故本发明的测量系统选用背光源作为测量系统光源。Before introducing the present invention, the visual inspection system that supports the measurement method of the present invention is first introduced. The functions of the measurement system must include real-time acquisition of workpiece images, workpiece image processing, real-time measurement of workpiece dimensions, and display of the result interface. The measurement system mainly includes two aspects: hardware and software. The hardware part is mainly composed of four parts: light source, camera, stage, and host computer. The software part is mainly composed of image processing algorithm and interactive interface design. The software system is based on Windows 11, 64-bit operating system, combined with Halcon and C# programming to realize image processing and measurement to realize a multi-type sheet metal workpiece visual measurement system. The system software part is mainly based on the Visual Studio 2022 platform, using the WinForm framework design interface in the C# language, the Halcon visual library to develop high-precision measurement software, and the SQLite database to manage the system's account data, etc. When performing dimensional measurement, the camera resolution and the size of the screen will affect the measurement accuracy. When the required measurement accuracy is known, the minimum resolution required for the camera can be calculated by the formula To calculate, where ε is the directional system accuracy, L is the length of the field of view, and N is the number of directional pixels. For the measurement system of the present invention, the accuracy requirement is 0.1mm and the field of view width and height is 320mm, so it can be solved that at least 3200 pixels are required in a single direction to meet the minimum requirement. Usually in production practice, considering factors such as pixel error and system stability, a camera with a resolution of 3 to 4 times or more of the minimum requirement is generally selected. Because the measurement system of the present invention does not need to measure moving objects, the frame rate requirement is relatively low, so a global shutter or rolling shutter camera can be selected; because this measurement system is a parameter measurement system, a black and white camera can be used. In summary, the present invention uses Hikvision's MV-CH500-90TM-F-NF CMOS global shutter black and white industrial camera, which has a resolution of 7008*7000 and a frame rate of 15.5 fps; in order to reduce the impact of parallax and lens distortion on imaging quality, the present invention uses Ruican's XF-10MDT01090436×120DSS-D-L90 dual telecentric lens, which has a magnification of 0.109, a distortion rate of less than 0.066%, a working distance of 120mm, and a field of view of 110mm. For the selection of light sources, strip light sources, ring light sources, backlight sources, coaxial light sources, etc. can usually be selected. Compared with other light sources, backlight sources have the advantages of improving contrast, eliminating shadows, and enhancing edge features, so the measurement system of the present invention uses backlight sources as the measurement system light source.
基于上述测量系统,本发明一种钣金工件槽孔尺寸的测量方法,包括以下步骤:Based on the above measurement system, a method for measuring the size of a slot hole of a sheet metal workpiece according to the present invention comprises the following steps:
S1:建立标准参数文件:S1: Create standard parameter file:
S11:对Pro/ENGINEER的PRT.1文件转存为DWG文件;S11: Convert the PRT.1 file of Pro/ENGINEER to DWG file;
S12:保留DWG文件的尺寸表格信息并导出为CSV文件;S12: Keep the dimension table information of the DWG file and export it as a CSV file;
S13:将CSV文件转为Excel文件,得到原始标准参数表;S13: Convert the CSV file into an Excel file to obtain an original standard parameter table;
S14:对原始标准参数表中的轮廓进行排序,得到标准参数文件。S14: Sort the profiles in the original standard parameter table to obtain a standard parameter file.
对原始标准参数表中的轮廓进行排序的方法为:The method to sort the contours in the original standard parameter table is:
S141:记录待检测轮廓的总数、最小行列值和最大行列值:行值是区分待排序轮廓是哪一行开始的依据,列值是区分哪些轮廓是一行开始的依据;S141: Record the total number of contours to be detected, the minimum row and column values, and the maximum row and column values: the row value is the basis for distinguishing which row the contours to be sorted start from, and the column value is the basis for distinguishing which contours start from a row;
S142:确定所有轮廓所在的行列;如果一个轮廓至少纵跨相邻的两行,则该轮廓属于其最大行值落入的行;S142: Determine the rows and columns where all contours are located; if a contour spans at least two adjacent rows, the contour belongs to the row where its maximum row value falls;
S143:根据行列值依次对同类型的轮廓进行排序并编号:同类轮廓中,行列值最小的轮廓是第一个轮廓,列值最小的轮廓是所在行的第一个轮廓,列值最大的轮廓是所在行的最后一个轮廓;S143: sorting and numbering the contours of the same type according to the row and column values: among the contours of the same type, the contour with the smallest row and column value is the first contour, the contour with the smallest column value is the first contour in the row, and the contour with the largest column value is the last contour in the row;
以下将以一个实施例来详细说明对原始标准参数表中的轮廓进行排序的方法:The following is a detailed description of a method for sorting the profiles in the original standard parameter table using an embodiment:
请参阅图2,如图2所示,矩形框为待排序的轮廓,数字为排序后结果。以下将以图2中的图像为例,对待检测轮廓进行重新排序的方法进行详细介绍:如图2所示,图片中的轮廓从上至下,从左至右共有三行三列,第一行第一列的轮廓为第一个轮廓,也为第一行的第一个轮廓,记为轮廓1,以一条水平线从上往下扫过图片时,检测到轮廓1,至少有一条水平线B同时穿过轮廓4和轮廓2,在这一行中,轮廓1作为第一行的开始,轮廓2属于第一行,轮廓4纵跨第一行和第二行;这里需要判断轮廓4是属于第一行还是第二行,其中,以一条水平线从上至下逐个像素扫过图片,接触到矩形时就把这条直线对应的行值标记为这个矩形的最小行值,离开这个矩形时就把直线的行值标记为这个矩形的最大行值。线条A是轮廓4的最小行值,线条D是轮廓4的最大行值,线条C是轮廓3的最小行值,因轮廓3的最小行值大于轮廓4的最小行值且小于轮廓4的最大行值,轮廓4的最大行值小于轮廓3的最大行值,所以判定轮廓4属于第二行,在这一行中,轮廓3的列值小于轮廓4的列值,轮廓4的列值小于轮廓5的列值,所以,轮廓3作为第二行的开始;同理可得轮廓6作为第三行的开始;得到每一行的开始轮廓后,判断同一行的其他轮廓序号,第一行中,轮廓2的列值比轮廓1大,将其命名为轮廓2;第二行中,上文已经判断轮廓4为第二行的排序轮廓,且其列值比轮廓3大,故将其命名为轮廓4,轮廓5的列值比轮廓4大,故将其命名为轮廓5;同理可得轮廓6、轮廓7的排序,通过上述方式,可对待检测轮廓进行重新排序。Please refer to FIG2. As shown in FIG2, the rectangular box is the contour to be sorted, and the number is the sorted result. The following will take the image in FIG2 as an example to introduce in detail the method for reordering the contour to be detected: As shown in FIG2, the contours in the image are in three rows and three columns from top to bottom and from left to right. The contour in the first row and the first column is the first contour, which is also the first contour in the first row, recorded as contour 1. When a horizontal line is swept across the image from top to bottom, contour 1 is detected. At least one horizontal line B passes through contour 4 and contour 2 at the same time. In this row, contour 1 is the beginning of the first row, contour 2 belongs to the first row, and contour 4 spans the first row and the second row. Here, it is necessary to judge whether contour 4 belongs to the first row or the second row. A horizontal line is swept across the image pixel by pixel from top to bottom. When it touches the rectangle, the row value corresponding to the straight line is marked as the minimum row value of the rectangle. When it leaves the rectangle, the row value of the straight line is marked as the maximum row value of the rectangle. Line A is the minimum row value of contour 4, line D is the maximum row value of contour 4, and line C is the minimum row value of contour 3. Since the minimum row value of contour 3 is greater than the minimum row value of contour 4 and less than the maximum row value of contour 4, and the maximum row value of contour 4 is less than the maximum row value of contour 3, contour 4 is determined to belong to the second row. In this row, the column value of contour 3 is less than the column value of contour 4, and the column value of contour 4 is less than the column value of contour 5, so contour 3 is the beginning of the second row; similarly, contour 6 can be obtained as the beginning of the third row; after obtaining the starting contour of each row, the sequence numbers of other contours in the same row are determined. In the first row, the column value of contour 2 is greater than that of contour 1, so it is named contour 2; in the second row, contour 4 has been determined as the sorted contour of the second row, and its column value is greater than that of contour 3, so it is named contour 4, and the column value of contour 5 is greater than that of contour 4, so it is named contour 5; similarly, the sorting of contours 6 and 7 can be obtained. In the above manner, the contours to be detected can be re-sorted.
S144:删除原始标准参数表中代表孔深、沉孔及最大实体要求的符号和数据,增加代表长度信息的符号,并在S33:拟合出对应的轮廓特征并进行测量后,将长度信息用增加的长度信息符号表示;S144: deleting the symbols and data representing the hole depth, countersink and maximum entity requirements in the original standard parameter table, adding a symbol representing the length information, and after fitting the corresponding contour features and measuring them in S33: the length information is represented by the added length information symbol;
在排序并编号过后,需要手动对部分参数名称以及标准值进行修改。因为在GDT字体中n为直径符号、x代表孔深符号、v代表沉孔符号、M代表最大实体要求,而由于本发明中的视觉测量系统为2D视觉测量系统,无法对孔深等深度信息进行测量,故需要将参数x、参数M与参数v手动排除,且槽的具体参数标注于工件设计图上而非参数表中,故需要人工添加槽的参数进入表格中,其中槽的长度信息在原始参数中并无字母表示,故本发明采用字母l与实际标准参数值的组合来表示其标准值并添加入标准参数文件中。After sorting and numbering, some parameter names and standard values need to be manually modified. Because in the GDT font, n is the diameter symbol, x represents the hole depth symbol, v represents the countersink symbol, and M represents the maximum entity requirement. Since the visual measurement system in the present invention is a 2D visual measurement system, it is impossible to measure depth information such as hole depth, so it is necessary to manually exclude parameters x, M and v, and the specific parameters of the groove are marked on the workpiece design drawing rather than in the parameter table, so it is necessary to manually add the parameters of the groove into the table, where the length information of the groove is not represented by letters in the original parameters, so the present invention uses a combination of letter l and the actual standard parameter value to represent its standard value and add it to the standard parameter file.
S2:登录操作系统,进行图像采集;S2: Log in to the operating system and collect images;
操作系统具有管理员界面和操作员界面,管理员界面主要功能是对内部账号进行增加、删除、修改管理员权限等,操作员界面主要功能是与摄像头进行连接、采图、显示、进行测量、创建模板、数据信息对比以及保存导出等,在对待检测轮廓进行测量时,登录的是操作员界面;The operating system has an administrator interface and an operator interface. The main function of the administrator interface is to add, delete, and modify the administrator's rights of internal accounts. The main function of the operator interface is to connect to the camera, collect images, display, measure, create templates, compare data information, save and export, etc. When measuring the contour to be detected, the operator interface is logged in;
在对轮廓进行测量前,操作员先登录操作系统并创建一个针对待检测产品的空的文件夹,该文件夹用作存放保存的模板、标准参数文件及其参数测量结果文件的位置,步骤S1中建立的标准参数文件和步骤S5中的测量结果数据文件即存放在该文件夹中。Before measuring the contour, the operator first logs into the operating system and creates an empty folder for the product to be inspected. The folder is used as the location for storing the saved templates, standard parameter files and their parameter measurement result files. The standard parameter file established in step S1 and the measurement result data file in step S5 are stored in this folder.
在进行测量时,为了获取工件的摆放角度以及标准参数文件信息,需要事先为工件创建模板以便后续获取工件角度及匹配情况等信息;创建的模板即存放在创建的文件夹中。When measuring, in order to obtain the placement angle of the workpiece and the standard parameter file information, it is necessary to create a template for the workpiece in advance so as to obtain the workpiece angle and matching information later; the created template is stored in the created folder.
在从操作员界面登录操作系统后有:S21:模板操作、S22:连接相机、S23:进行测量三个选项。After logging into the operating system from the operator interface, there are three options: S21: Template operation, S22: Connect camera, and S23: Perform measurement.
如果上述文件夹中存放有模板,用户可选择S22:连接相机选项,工业相机将进行图像采集,并把采集到的图片发送给计算机,计算机根据采集到的图片判断工件类型,并在判断成功后从上述的文件夹中读取模板,对图像进行模板匹配,然后选择S23选项并进入步骤S3。If there are templates stored in the above folder, the user can select S22: Connect camera option, the industrial camera will perform image acquisition and send the acquired pictures to the computer. The computer determines the type of workpiece based on the acquired pictures, and reads the template from the above folder after the judgment is successful, performs template matching on the image, and then selects S23 option and enters step S3.
如果上述文件夹中没有存放模板,在用户登录操作系统后,选择S21:模板操作,打开模板操作界面,连接相机进行采图、使用采集到的图片进行模板创建,并将创建的模板保存到上述文件夹中后,返回系统界面,并进入S22选项。If there is no template stored in the above folder, after the user logs in to the operating system, select S21: Template operation, open the template operation interface, connect the camera to capture images, use the captured images to create templates, save the created templates to the above folder, return to the system interface, and enter the S22 option.
请参阅图4,使用采集到的图片进行模板创建的方法为:操作者使用工业相机采集到的图像,在图像框内绘制一个带角度的矩形,选出要创建成模板的图像区域及角度,形成模板,然后将模板保存到上述文件夹中,以便于作为模板对后续通过选项S22获得的图像进行对比,以判断工件类型。Please refer to Figure 4. The method for creating a template using the captured image is as follows: the operator uses the image captured by the industrial camera to draw an angled rectangle in the image frame, selects the image area and angle to be created as a template, forms a template, and then saves the template to the above folder so that it can be used as a template for comparison with subsequent images obtained through option S22 to determine the type of workpiece.
S3:对采集到的图像中待检测轮廓进行测量:S3: Measure the contour to be detected in the acquired image:
S31:根据亚像素轮廓圆度和矩形度区分轮廓形状;S31: distinguishing contour shapes according to sub-pixel contour roundness and rectangularity;
根据亚像素轮廓圆度和矩形度区分轮廓形状的标准为:亚像素轮廓圆度在[0.7,1.0]的形状为圆形,亚像素轮廓矩形度在[0.8,0.9]的形状为槽形,亚像素轮廓矩形度在[0.92,0.99]的形状为圆角矩形;The standard for distinguishing contour shapes based on sub-pixel contour roundness and rectangularity is: the shape with sub-pixel contour roundness in [0.7, 1.0] is a circle, the shape with sub-pixel contour rectangularity in [0.8, 0.9] is a groove, and the shape with sub-pixel contour rectangularity in [0.92, 0.99] is a rounded rectangle.
S32:对筛选出的同类型的轮廓进行重新排序:采用步骤S14中对原始标准参数表中的轮廓进行排序的方法相同的方法对同类型的轮廓进行重新排序并编号;S32: reordering the selected contours of the same type: reordering and numbering the contours of the same type using the same method as the method of sorting the contours in the original standard parameter table in step S14;
S33:拟合出对应的轮廓特征并进行测量。S33: Fitting corresponding contour features and measuring them.
拟合出对应的轮廓特征并进行测量的方法包括:Methods for fitting corresponding contour features and measuring include:
按照步骤S32中对圆形轮廓的排序,依次将亚像素轮廓圆度在[0.7,1.0]的形状拟合成圆形,记录其圆心坐标与半径,得到圆形孔的测量结果;According to the order of the circular contours in step S32, the shapes of the sub-pixel contours with roundness in [0.7, 1.0] are sequentially fitted into circles, and the coordinates of the center of the circle and the radius are recorded to obtain the measurement results of the circular holes;
按照步骤S32中对槽型轮廓的排序,依次将亚像素轮廓矩形度在[0.8,0.9]的形状拟合成槽形,槽形孔由一个矩形与两个半圆三个部分组成,将槽形轮廓拟合成圆与直线,获得圆心和半径参数,得到槽型的最小外接矩形,进而得到槽型的整体长度,得到槽形孔的测量结果;According to the order of the slot profiles in step S32, the shapes with sub-pixel profile rectangularity in [0.8, 0.9] are sequentially fitted into slots. The slot hole consists of a rectangle and two semicircles. The slot profile is fitted into a circle and a straight line to obtain the center and radius parameters, and the minimum circumscribed rectangle of the slot is obtained, and then the overall length of the slot is obtained, and the measurement result of the slot hole is obtained;
按照步骤S32中对圆角矩形的排序,依次将亚像素轮廓矩形度在[0.92,0.99]的形状拟合成圆角矩形,得到圆角矩形的最小外接矩形,获取圆角矩形的长度与宽度,得到圆角矩形孔的测量结果;According to the sorting of the rounded rectangles in step S32, the shapes with sub-pixel outline rectangularity in [0.92, 0.99] are sequentially fitted into rounded rectangles to obtain the minimum circumscribed rectangle of the rounded rectangle, and the length and width of the rounded rectangle are obtained to obtain the measurement result of the rounded rectangle hole;
S4:将测量结果的实际值与标准参数文件中的标准值进行对比:小于公差值,则输出“OK”;否则输出“NG”。S4: Compare the actual value of the measurement result with the standard value in the standard parameter file: if it is less than the tolerance value, output "OK"; otherwise, output "NG".
将测量结果的实际值与标准参数文件中的标准值进行对比的方法为:对工件使用带角度的矩形拟合出工件左上角两条线的虚拟交点,并记录各检测特征与交点的相对位置,根据标准参数文件的相对位置与所测量记录相对位置一致的尺寸数据进行比对判断。The method for comparing the actual value of the measurement result with the standard value in the standard parameter file is as follows: use an angled rectangle to fit the virtual intersection of the two lines in the upper left corner of the workpiece, and record the relative position of each detection feature and the intersection, and compare and judge the dimensional data that is consistent with the relative position in the standard parameter file and the measured recorded relative position.
测量结果与标准参数文件比对时,测量结果排序后的结果编号与标准参数文件排序并不一定相同,故需要对测量结果进行重新排序。测量系统测量工件获取直径参数时,也记录位置信息以便与标准参数进行比对。因所提供的标准参数文件位置信息是以工件左上角作为工件原点而非图像原点的相对位置。本发明使用带角度的矩形对工件进行拟合后求解出其最靠近原点的两条边虚拟交点,并记录各检测特征与交点的相对位置。如图3所示,对圆形孔赋值时使用圆心与该交点的相对位置、槽型孔则使用靠上圆弧的圆心与该交点的相对位置、圆角矩形孔则使用靠上的边缘的中点与该交点的相对位置作为位置信息写入。When the measurement results are compared with the standard parameter file, the result number after the measurement results are sorted is not necessarily the same as the standard parameter file sorting, so the measurement results need to be re-sorted. When the measurement system measures the workpiece to obtain the diameter parameters, it also records the position information for comparison with the standard parameters. Because the position information provided in the standard parameter file uses the upper left corner of the workpiece as the workpiece origin rather than the relative position of the image origin. The present invention uses an angled rectangle to fit the workpiece and then solves the virtual intersection of its two sides closest to the origin, and records the relative position of each detection feature and the intersection. As shown in Figure 3, when assigning values to circular holes, the relative position of the center of the circle and the intersection is used, the relative position of the center of the upper arc and the intersection is used for slot-type holes, and the relative position of the midpoint of the upper edge and the intersection is used for rounded rectangular holes as the position information written.
测量系统获得标准参数与测量结果中相对位置参数信息后,将其一一比对,工件检测特征(圆形孔、槽形孔、圆角矩形孔)相对工件原点位置与标准参数文件相同时,将标准参数文件中的标准值写入测量结果中待填写标准值一栏;实际测量数值则填写在实际值一栏;再将标准值与实际值进行差值运算取绝对值,小于公差则在待填写的测量结果一栏中输出“OK”,否则输出“NG”;After the measurement system obtains the relative position parameter information in the standard parameters and the measurement results, it compares them one by one. When the relative position of the workpiece detection feature (circular hole, slotted hole, rounded rectangular hole) to the workpiece origin is the same as that in the standard parameter file, the standard value in the standard parameter file is written into the column of the standard value to be filled in the measurement result; the actual measured value is filled in the column of the actual value; then the standard value and the actual value are calculated by difference to obtain the absolute value. If it is less than the tolerance, "OK" is output in the column of the measurement result to be filled, otherwise "NG" is output;
S5:保存测量结果数据:保存测量结果数据时,测量结果数据文件同时输出Excel表格和PDF文件存放。本发明的钣金工件槽孔尺寸的测量方法,为方便人工记录和查阅,导出PDF和Excel文件格式。PDF文件可避免字体乱码、不同设备格式不一致问题;Excel文件利于人工对统计数据。S5: Save the measurement result data: When saving the measurement result data, the measurement result data file is simultaneously exported as an Excel table and a PDF file for storage. The sheet metal workpiece slot hole size measurement method of the present invention exports PDF and Excel file formats for the convenience of manual recording and reference. PDF files can avoid font garbled characters and inconsistent formats of different devices; Excel files are conducive to manual statistical data.
以上仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换或改进等,均应包含在本发明的保护范围之内。The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions or improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410765779.XA CN118328897B (en) | 2024-06-14 | 2024-06-14 | Method for measuring slot hole size of sheet metal workpiece |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410765779.XA CN118328897B (en) | 2024-06-14 | 2024-06-14 | Method for measuring slot hole size of sheet metal workpiece |
Publications (2)
Publication Number | Publication Date |
---|---|
CN118328897A CN118328897A (en) | 2024-07-12 |
CN118328897B true CN118328897B (en) | 2024-08-09 |
Family
ID=91769748
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410765779.XA Active CN118328897B (en) | 2024-06-14 | 2024-06-14 | Method for measuring slot hole size of sheet metal workpiece |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118328897B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114972825A (en) * | 2022-07-19 | 2022-08-30 | 天津七一二移动通信有限公司 | Method for realizing automatic detection of MMI key icon matrix |
CN116630266A (en) * | 2023-05-23 | 2023-08-22 | 无锡市锡山区半导体先进制造创新中心 | Ellipse detection method, computing equipment and storage medium for workpiece inner hole profile |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07117394B2 (en) * | 1992-08-19 | 1995-12-18 | エフセル・インターナショナル協同組合 | Sheet metal processing inspection device |
JP3923657B2 (en) * | 1998-06-15 | 2007-06-06 | 大日本印刷株式会社 | Diameter measurement method for circular holes |
CN117537706A (en) * | 2023-09-28 | 2024-02-09 | 三峡大学 | Sheet metal hole positioning size detection method based on three-axis coordinate conversion and monocular vision fusion |
CN117333458A (en) * | 2023-10-10 | 2024-01-02 | 杭州深度视觉科技有限公司 | Method and system for detecting irregular workpieces with holes based on contour difference |
-
2024
- 2024-06-14 CN CN202410765779.XA patent/CN118328897B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114972825A (en) * | 2022-07-19 | 2022-08-30 | 天津七一二移动通信有限公司 | Method for realizing automatic detection of MMI key icon matrix |
CN116630266A (en) * | 2023-05-23 | 2023-08-22 | 无锡市锡山区半导体先进制造创新中心 | Ellipse detection method, computing equipment and storage medium for workpiece inner hole profile |
Also Published As
Publication number | Publication date |
---|---|
CN118328897A (en) | 2024-07-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12190418B2 (en) | Methods for automatically generating a common measurement across multiple assembly units | |
CN107609557B (en) | Pointer instrument reading identification method | |
CN100582663C (en) | Image processing method, three-dimensional position measuring method and image processing apparatus | |
JP5273196B2 (en) | Image processing device | |
US8428335B2 (en) | Combining feature boundaries | |
CN114608444A (en) | A Dimensional Measurement Method Based on a Scoring System | |
CN102157004A (en) | Automatic image mosaicking method for high-accuracy image measuring apparatus of super-view field part | |
JP3963975B2 (en) | Mounting position data creation method and mounting inspection method | |
CN115018735A (en) | Fracture width identification method and system for correcting two-dimensional code image based on Hough transform | |
CN117274040A (en) | An image acquisition method suitable for automated image defect detection and its application | |
CN118328897B (en) | Method for measuring slot hole size of sheet metal workpiece | |
JP4788475B2 (en) | Image processing apparatus and image processing method | |
JP2008116207A (en) | Image measuring apparatus, image measuring method and program | |
CN113342354B (en) | Automatic analysis method, system and device for electrode model coordinate system points | |
CN114422653A (en) | Book flattening line laser rapid calibration method and laser scanner | |
CN114897892B (en) | Method for calculating characteristic parameters of apparent cracks and holes of PC (polycarbonate) member | |
JP2002228424A (en) | Offline teaching method for image measuring device by optimization of illuminating condition | |
CN118816749A (en) | A method and device for evaluating workpiece contour based on machine vision | |
CN1427245A (en) | Plane measuring method based on single piece image | |
CN118699543A (en) | Laser galvanometer spatial calibration method, device, computer equipment and storage medium | |
CN118537297A (en) | Panel laser processing system based on template matching algorithm | |
CN118568904A (en) | Element identification and connection relation analysis method and system for electrical drawing | |
CN118799605A (en) | Method, device, computer equipment and storage medium for defect detection of target object | |
TWI387891B (en) | System and method for determining types of a side in a sheet metal part | |
CN118640796A (en) | Dimension measuring method and related equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
EE01 | Entry into force of recordation of patent licensing contract | ||
EE01 | Entry into force of recordation of patent licensing contract |
Application publication date: 20240712 Assignee: FOSHAN W & M SANITARY WARE CO.,LTD. Assignor: GUANGDONG POLYTECHNIC NORMAL University Contract record no.: X2024980025818 Denomination of invention: A measurement method for slot size of sheet metal workpieces Granted publication date: 20240809 License type: Common License Record date: 20241118 |