CN118379317A - A glass fiber cloth edge recognition method, device and storage medium - Google Patents
A glass fiber cloth edge recognition method, device and storage medium Download PDFInfo
- Publication number
- CN118379317A CN118379317A CN202410816792.3A CN202410816792A CN118379317A CN 118379317 A CN118379317 A CN 118379317A CN 202410816792 A CN202410816792 A CN 202410816792A CN 118379317 A CN118379317 A CN 118379317A
- Authority
- CN
- China
- Prior art keywords
- edge
- pixel
- gradient
- point
- areas
- 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
Links
- 239000004744 fabric Substances 0.000 title claims abstract description 35
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000003860 storage Methods 0.000 title claims abstract description 12
- 239000003365 glass fiber Substances 0.000 title claims abstract description 8
- 238000012216 screening Methods 0.000 claims abstract description 15
- 238000001914 filtration Methods 0.000 claims abstract description 12
- 230000011218 segmentation Effects 0.000 claims abstract description 8
- 238000004590 computer program Methods 0.000 claims description 12
- 239000011152 fibreglass Substances 0.000 claims description 12
- 239000000284 extract Substances 0.000 claims description 10
- 238000001514 detection method Methods 0.000 claims description 6
- 230000001629 suppression Effects 0.000 claims description 6
- 238000004364 calculation method Methods 0.000 claims description 4
- 239000011159 matrix material Substances 0.000 claims description 3
- 230000000717 retained effect Effects 0.000 claims description 3
- 238000012163 sequencing technique Methods 0.000 abstract 1
- 230000006870 function Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 4
- 238000004519 manufacturing process Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 2
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 2
- 238000005520 cutting process Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000009977 dual effect Effects 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 241001270131 Agaricus moelleri Species 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/13—Edge detection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
- G06T7/0004—Industrial image inspection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/12—Edge-based segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/136—Segmentation; Edge detection involving thresholding
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30108—Industrial image inspection
- G06T2207/30124—Fabrics; Textile; Paper
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Image Analysis (AREA)
Abstract
Description
技术领域Technical Field
本发明涉及数字图像处理技术领域,尤其涉及一种玻纤布边缘识别方法、设备及存储介质。The present invention relates to the technical field of digital image processing, and in particular to a method, device and storage medium for identifying an edge of a fiberglass cloth.
背景技术Background technique
玻纤布在生产过程中需要经过精确的切割以获得所需的尺寸和形状,切割过程中,如果刀片变钝或安装不牢固,可能会导致切割不完全,从而在玻纤布边缘形成突出形状的毛边,这些突出的毛边会干扰机器视觉系统或边缘识别算法对玻纤布边缘的准确检测,误报可能会导致生产过程中的错误判断,如尺寸偏差、形状不准确等,从而影响产品质量和生产效率。During the production process, fiberglass cloth needs to be precisely cut to obtain the required size and shape. During the cutting process, if the blade becomes blunt or is not installed firmly, it may cause incomplete cutting, resulting in protruding burrs on the edge of the fiberglass cloth. These protruding burrs will interfere with the machine vision system or edge recognition algorithm to accurately detect the edge of the fiberglass cloth. False alarms may lead to incorrect judgments in the production process, such as size deviation, inaccurate shape, etc., thus affecting product quality and production efficiency.
发明内容Summary of the invention
本发明所要解决的技术问题是:提供一种玻纤布边缘识别方法、设备及存储介质,有效解决背景技术中的问题。The technical problem to be solved by the present invention is to provide a method, device and storage medium for identifying the edge of a glass fiber cloth, which effectively solve the problems in the background technology.
为了达到上述目的,本发明所采用的技术方案是:一种玻纤布边缘识别方法,包括如下步骤:In order to achieve the above object, the technical solution adopted by the present invention is: a method for identifying the edge of a fiberglass cloth, comprising the following steps:
获取包含布面边缘的图片并且灰度化;Get the image containing the edge of the cloth and grayscale it;
使用canny滤波识别出边缘,并通过阈值分割提取边缘区域;Use canny filtering to identify edges and extract edge areas through threshold segmentation;
分离非连通区域后对区域进行第一次高度筛选;After separating the non-connected regions, the regions are subjected to the first high-level screening;
对筛选后的区域提取出亚像素精度的骨架;Extract the skeleton with sub-pixel accuracy from the filtered area;
连接相邻的亚像素骨架,然后再次进行高度筛选;Connect adjacent sub-pixel skeletons and then perform height screening again;
对筛选后的亚像素骨架进行直线拟合,拟合的结果即为疑似边缘;Perform straight line fitting on the filtered sub-pixel skeleton, and the fitting result is the suspected edge;
将疑似边缘转换为像素区域,对区域进行排序后,以第一个区域的最右边的像素点为基准创建一个竖线,该竖线即为布面边缘。The suspected edge is converted into a pixel area. After sorting the areas, a vertical line is created based on the rightmost pixel point of the first area. The vertical line is the edge of the cloth.
进一步地,使用canny滤波识别出边缘,并通过阈值分割提取边缘区域中,具体步骤为:Furthermore, the canny filter is used to identify the edge, and the edge area is extracted by threshold segmentation. The specific steps are as follows:
首先对图像进行高斯滤波;First, perform Gaussian filtering on the image;
其次分别计算水平方向和垂直方向的梯度值;Secondly, calculate the gradient values in the horizontal and vertical directions respectively;
计算梯度值以及梯度方向;Calculate the gradient value and gradient direction;
进行非极大值抑制,将当前像素的梯度强度与沿正负梯度方内上的两个像素进行比较;Perform non-maximum suppression and compare the gradient strength of the current pixel with the two pixels along the positive and negative gradient squares;
进行双阈值检测边缘连接。Perform dual threshold detection for edge connections.
进一步地,水平方向的梯度值为gx(m,n),垂直方向的梯度值为gy(m,n),梯度值的计算公式为:Furthermore, the gradient value in the horizontal direction is g x (m,n), and the gradient value in the vertical direction is g y (m,n). The calculation formula of the gradient value is:
梯度方向。Gradient direction .
进一步地,进行非极大值抑制,将当前像素的梯度强度与沿正负梯度方内上的两个像素进行比较,如果当前像素的梯度强度与另外两个像素相比最大则该像素点保留为边缘点,否则该像素点将被抑制。Furthermore, non-maximum suppression is performed to compare the gradient strength of the current pixel with the two pixels along the positive and negative gradient squares. If the gradient strength of the current pixel is the largest compared with the other two pixels, the pixel is retained as an edge point, otherwise the pixel will be suppressed.
进一步地,进行双阙值检测边缘连接时,先设置高、低两个阈值,遍历整个灰度矩阵,若某点的梯度高于高阈值,则在结果中置1,若该点的梯度值低于低阈值,则在结果中置0。Furthermore, when performing double threshold value detection on edge connections, first set the high and low thresholds, traverse the entire grayscale matrix, and if the gradient of a point is higher than the high threshold, set it to 1 in the result; if the gradient value of the point is lower than the low threshold, set it to 0 in the result.
进一步地,若该点的梯度值介于高低阈值之间,则需要进行如下判断:检查该点(将其视为中心点)的8邻域点,看是否存在梯度值高于高阈值的点,若存在,则说明该中心点和确定的边缘点相连接,故在结果中置1,否则置0,此处选择的高阈值为20,低阈值为40。Furthermore, if the gradient value of the point is between the high and low thresholds, the following judgment is required: check the 8 neighboring points of the point (regard it as the center point) to see if there is a point with a gradient value higher than the high threshold. If so, it means that the center point is connected to the determined edge point, so set 1 in the result, otherwise set it to 0. The high threshold selected here is 20 and the low threshold is 40.
进一步地,分离非连通区域后对区域进行初步高度筛选,高度设置为30像素。Furthermore, after separating the non-connected regions, the regions are preliminarily screened for height, and the height is set to 30 pixels.
进一步地,连接相邻的亚像素骨架,然后再次进行高度筛选,高度设置为20像素。Furthermore, adjacent sub-pixel skeletons are connected and then height screening is performed again, with the height set to 20 pixels.
本发明中还包括一种计算机设备,包括相机、存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述相机与所述处理器通信连接,所述处理器执行所述计算机程序时,实现如上述的方法。The present invention also includes a computer device, including a camera, a memory, a processor, and a computer program stored in the memory and executable on the processor. The camera is communicatively connected to the processor, and when the processor executes the computer program, the method described above is implemented.
本发明中还包括一种存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如上述的方法。The present invention also includes a storage medium on which a computer program is stored. When the computer program is executed by a processor, the method described above is implemented.
本发明的有益效果为:本发明通过获取包含布面边缘的图片并且灰度化,使用canny滤波识别出边缘,并通过阈值分割提取边缘区域,分离非连通区域后对区域进行第一次高度筛选,提取出亚像素精度的骨架,对筛选后的亚像素骨架进行直线拟合,拟合的结果即为疑似边缘,将疑似边缘转换为像素区域,对区域进行排序后,以第一个区域的最右边的像素点为基准创建一个竖线,该竖线即为布面边缘。通过灰度化和Canny滤波等图像处理技术,本发明能够更准确地识别出玻纤布的边缘,特别地,亚像素精度的骨架提取和直线拟合进一步提高了边缘识别的精度,使得识别结果更加接近真实的布面边缘,有效地去除了非连通区域和可能的毛边区域,从而减少了毛边对边缘识别结果的影响。The beneficial effects of the present invention are as follows: the present invention obtains a picture containing the edge of the cloth and grayscales it, uses Canny filtering to identify the edge, extracts the edge area through threshold segmentation, separates the non-connected area, performs a first height screening on the area, extracts a skeleton with sub-pixel accuracy, performs linear fitting on the screened sub-pixel skeleton, and the fitting result is the suspected edge, converts the suspected edge into a pixel area, sorts the area, and creates a vertical line based on the rightmost pixel point of the first area, which is the edge of the cloth. Through image processing technologies such as grayscale and Canny filtering, the present invention can more accurately identify the edge of the glass fiber cloth. In particular, the sub-pixel accuracy skeleton extraction and linear fitting further improve the accuracy of edge recognition, making the recognition result closer to the real cloth edge, effectively removing the non-connected area and the possible burr area, thereby reducing the influence of the burr on the edge recognition result.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
图1为本发明实施例中玻纤布边缘识别方法的流程图;FIG1 is a flow chart of a method for identifying an edge of a fiberglass cloth according to an embodiment of the present invention;
图2为本发明实施例中计算机设备的结构示意图。FIG. 2 is a schematic diagram of the structure of a computer device in an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.
需要说明的是,当元件被称为“固定于”另一个元件,它可以直接在另一个元件上或者也可以存在居中的元件。当一个元件被认为是“连接”另一个元件,它可以是直接连接到另一个元件或者可能同时存在居中元件。本文所使用的术语“垂直的”、“水平的”、“左”、“右”以及类似的表述只是为了说明的目的,并不表示是唯一的实施方式。It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for illustrative purposes only and are not intended to be the only implementation method.
除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。本文所使用的术语“及/或”包括一个或多个相关的所列项目的任意的和所有的组合。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and/or" used herein includes any and all combinations of one or more related listed items.
如图1所示,一种玻纤布边缘识别方法,包括如下步骤:As shown in FIG1 , a method for identifying the edge of a fiberglass cloth includes the following steps:
获取包含布面边缘的图片并且灰度化;Get the image containing the edge of the cloth and grayscale it;
使用canny滤波识别出边缘,并通过阈值分割提取边缘区域;Use canny filtering to identify edges and extract edge areas through threshold segmentation;
分离非连通区域后对区域进行第一次高度筛选;After separating the non-connected regions, the regions are subjected to the first high-level screening;
对筛选后的区域提取出亚像素精度的骨架;Extract the skeleton with sub-pixel accuracy from the filtered area;
连接相邻的亚像素骨架,然后再次进行高度筛选;Connect adjacent sub-pixel skeletons and then perform height screening again;
对筛选后的亚像素骨架进行直线拟合,拟合的结果即为疑似边缘;Perform straight line fitting on the filtered sub-pixel skeleton, and the fitting result is the suspected edge;
将疑似边缘转换为像素区域,对区域进行排序后,以第一个区域的最右边的像素点为基准创建一个竖线,该竖线即为布面边缘。The suspected edge is converted into a pixel area. After sorting the areas, a vertical line is created based on the rightmost pixel point of the first area. The vertical line is the edge of the cloth.
本发明的具体实施过程为首先获取包含布面边缘的图片并且灰度化;其次使用canny滤波识别出边缘,并通过阈值分割提取边缘区域;分离非连通区域后对区域进行第一次高度筛选;对筛选后的区域提取出亚像素精度的骨架;连接相邻的亚像素骨架,然后再次进行高度筛选;对筛选后的亚像素骨架进行直线拟合,拟合的结果即为疑似边缘;将疑似边缘转换为像素区域,对区域进行排序后,以第一个区域的最右边的像素点为基准创建一个竖线,该竖线即为布面边缘。通过灰度化和Canny滤波等图像处理技术,本发明能够更准确地识别出玻纤布的边缘,特别地,亚像素精度的骨架提取和直线拟合进一步提高了边缘识别的精度,使得识别结果更加接近真实的布面边缘,有效地去除了非连通区域和可能的毛边区域,从而减少了毛边对边缘识别结果的影响。The specific implementation process of the present invention is to first obtain a picture containing the edge of the cloth and grayscale it; secondly, use Canny filtering to identify the edge, and extract the edge area through threshold segmentation; separate the non-connected area and perform the first height screening on the area; extract the skeleton with sub-pixel accuracy from the screened area; connect the adjacent sub-pixel skeletons, and then perform height screening again; perform straight line fitting on the screened sub-pixel skeleton, and the fitting result is the suspected edge; convert the suspected edge into a pixel area, sort the areas, and create a vertical line based on the rightmost pixel point of the first area, and the vertical line is the edge of the cloth. Through image processing technologies such as grayscale and Canny filtering, the present invention can more accurately identify the edge of glass fiber cloth. In particular, the sub-pixel accuracy skeleton extraction and straight line fitting further improve the accuracy of edge recognition, making the recognition result closer to the real cloth edge, effectively removing the non-connected area and possible burr area, thereby reducing the influence of burrs on edge recognition results.
本发明中,使用canny滤波识别出边缘,并通过阈值分割提取边缘区域中,具体步骤为:In the present invention, canny filtering is used to identify edges, and threshold segmentation is used to extract edge areas. The specific steps are as follows:
首先对图像进行高斯滤波;First, perform Gaussian filtering on the image;
其次分别计算水平方向和垂直方向的梯度值;Secondly, calculate the gradient values in the horizontal and vertical directions respectively;
计算梯度值以及梯度方向;Calculate the gradient value and gradient direction;
进行非极大值抑制,将当前像素的梯度强度与沿正负梯度方内上的两个像素进行比较;Perform non-maximum suppression and compare the gradient strength of the current pixel with the two pixels along the positive and negative gradient squares;
进行双阈值检测边缘连接。Perform dual threshold detection for edge connections.
水平方向的梯度值为gx(m,n),垂直方向的梯度值为gy(m,n),梯度值的计算公式为:The horizontal gradient value is g x (m,n), and the vertical gradient value is g y (m,n). The calculation formula of the gradient value is:
梯度方向。Gradient direction .
在进行非极大值抑制,将当前像素的梯度强度与沿正负梯度方内上的两个像素进行比较时,如果当前像素的梯度强度与另外两个像素相比最大则该像素点保留为边缘点,否则该像素点将被抑制。When performing non-maximum suppression, the gradient strength of the current pixel is compared with the two pixels along the positive and negative gradient squares. If the gradient strength of the current pixel is the largest compared with the other two pixels, the pixel point is retained as an edge point, otherwise the pixel point will be suppressed.
在进行双阙值检测边缘连接时,先设置高、低两个阈值,遍历整个灰度矩阵,若某点的梯度高于高阈值,则在结果中置1,若该点的梯度值低于低阈值,则在结果中置0。若该点的梯度值介于高低阈值之间,则需要进行如下判断:检查该点(将其视为中心点)的8邻域点,看是否存在梯度值高于高阈值的点,若存在,则说明该中心点和确定的边缘点相连接,故在结果中置1,否则置0,此处选择的高阈值为20,低阈值为40。When performing double threshold value detection for edge connection, first set the high and low thresholds, traverse the entire grayscale matrix, and if the gradient of a point is higher than the high threshold, set it to 1 in the result, and if the gradient value of the point is lower than the low threshold, set it to 0 in the result. If the gradient value of the point is between the high and low thresholds, the following judgment is required: check the 8 neighboring points of the point (regard it as the center point) to see if there is a point with a gradient value higher than the high threshold. If so, it means that the center point is connected to the determined edge point, so set it to 1 in the result, otherwise set it to 0. The high threshold selected here is 20 and the low threshold is 40.
本发明优选实施例中,分离非连通区域后对区域进行初步高度筛选,高度设置为30像素,可以有效地去除那些面积较小、可能是由噪声或干扰产生的非布面边缘区域。这有助于减少后续处理的计算量,同时提高边缘识别的准确性;连接相邻的亚像素骨架,然后再次进行高度筛选,高度设置为20像素,可以进一步去除这些不必要的细节,使边缘轮廓更加平滑、连续。In the preferred embodiment of the present invention, after separating the non-connected areas, the areas are preliminarily screened with a height setting of 30 pixels, which can effectively remove those non-fabric edge areas with small areas that may be caused by noise or interference. This helps to reduce the amount of calculation for subsequent processing and improve the accuracy of edge recognition; connecting adjacent sub-pixel skeletons and then performing height screening again with a height setting of 20 pixels can further remove these unnecessary details and make the edge contour smoother and more continuous.
请参见图2示出的本申请实施例提供的计算机设备的结构示意图。本申请实施例提供的一种计算机设备,包括:相机、处理器410和存储器420,存储器420存储有处理器410可执行的计算机程序,计算机程序被处理器410执行时执行如上的方法。Please refer to the structural diagram of the computer device provided by the embodiment of the present application shown in Figure 2. A computer device provided by the embodiment of the present application includes: a camera, a processor 410 and a memory 420, the memory 420 stores a computer program executable by the processor 410, and the computer program executes the above method when executed by the processor 410.
本申请实施例还提供了一种存储介质430,该存储介质430上存储有计算机程序,该计算机程序被处理器410运行时执行如上的方法。The embodiment of the present application further provides a storage medium 430 on which a computer program is stored. When the computer program is run by the processor 410, the above method is executed.
其中,存储介质430可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(Static Random Access Memory,简称SRAM),电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,简称EEPROM),可擦除可编程只读存储器(Erasable Programmable Read Only Memory,简称EPROM),可编程只读存储器(Programmable Red-Only Memory,简称PROM),只读存储器(Read-Only Memory,简称ROM),磁存储器,快闪存储器,磁盘或光盘。Among them, the storage medium 430 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable red-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, disk or optical disk.
在本发明的描述中,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。“多个”的含义是两个或两个以上,除非另有明确具体的限定。In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. "Multiple" means two or more, unless otherwise clearly and specifically defined.
在本发明中,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”、“固定”等术语应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或成一体;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通或两个元件的相互作用关系。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本发明中的具体含义。In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必针对相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,“计算机可读介质”可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。The logic and/or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present invention. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.
本行业的技术人员应该了解,本发明不受上述实施例的限制,上述实施例和说明书中描述的只是说明本发明的原理,在不脱离本发明精神和范围的前提下,本发明还会有各种变化和改进,这些变化和改进都落入要求保护的本发明范围内。本发明要求保护范围由所附的权利要求书及其等效物界定。Those skilled in the art should understand that the present invention is not limited to the above embodiments, and the above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, and these changes and improvements fall within the scope of the present invention to be protected. The scope of protection of the present invention is defined by the attached claims and their equivalents.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410816792.3A CN118379317B (en) | 2024-06-24 | 2024-06-24 | Glass fiber cloth edge identification method, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410816792.3A CN118379317B (en) | 2024-06-24 | 2024-06-24 | Glass fiber cloth edge identification method, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN118379317A true CN118379317A (en) | 2024-07-23 |
CN118379317B CN118379317B (en) | 2024-09-13 |
Family
ID=91912654
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410816792.3A Active CN118379317B (en) | 2024-06-24 | 2024-06-24 | Glass fiber cloth edge identification method, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118379317B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101964108A (en) * | 2010-09-10 | 2011-02-02 | 中国农业大学 | Real-time on-line system-based field leaf image edge extraction method and system |
WO2020224424A1 (en) * | 2019-05-07 | 2020-11-12 | 腾讯科技(深圳)有限公司 | Image processing method and apparatus, computer readable storage medium, and computer device |
CN113763379A (en) * | 2021-09-23 | 2021-12-07 | 成都唐源电气股份有限公司 | Method and device for detecting broken string of dropper, computer equipment and storage medium |
CN115272256A (en) * | 2022-08-02 | 2022-11-01 | 广州大学 | Sub-pixel level sensing optical fiber path Gaussian extraction method and system |
CN115731257A (en) * | 2022-11-15 | 2023-03-03 | 济南大学 | Image-based Leaf Shape Information Extraction Method |
WO2023134792A2 (en) * | 2022-12-15 | 2023-07-20 | 苏州迈创信息技术有限公司 | Led lamp wick defect detection method |
CN118212179A (en) * | 2024-02-05 | 2024-06-18 | 钛玛科(北京)工业科技有限公司 | Angle detection method for complex background |
-
2024
- 2024-06-24 CN CN202410816792.3A patent/CN118379317B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101964108A (en) * | 2010-09-10 | 2011-02-02 | 中国农业大学 | Real-time on-line system-based field leaf image edge extraction method and system |
WO2020224424A1 (en) * | 2019-05-07 | 2020-11-12 | 腾讯科技(深圳)有限公司 | Image processing method and apparatus, computer readable storage medium, and computer device |
CN113763379A (en) * | 2021-09-23 | 2021-12-07 | 成都唐源电气股份有限公司 | Method and device for detecting broken string of dropper, computer equipment and storage medium |
CN115272256A (en) * | 2022-08-02 | 2022-11-01 | 广州大学 | Sub-pixel level sensing optical fiber path Gaussian extraction method and system |
CN115731257A (en) * | 2022-11-15 | 2023-03-03 | 济南大学 | Image-based Leaf Shape Information Extraction Method |
WO2023134792A2 (en) * | 2022-12-15 | 2023-07-20 | 苏州迈创信息技术有限公司 | Led lamp wick defect detection method |
CN118212179A (en) * | 2024-02-05 | 2024-06-18 | 钛玛科(北京)工业科技有限公司 | Angle detection method for complex background |
Non-Patent Citations (2)
Title |
---|
YU CAO: ""Sub-pixel edge extraction method based on subpixel edge detection model"", 《2022 IEEE CONFERENCE ON TELECOMMUNICATIONS, OPTICS AND COMPUTER SCIENCE (TOCS)》, 18 January 2023 (2023-01-18) * |
彭博;黄大荣;郭黎;蔡晓禹;李少博;: "基于像素-亚像素级形态分析的路面三维图像裂缝自动识别算法", 重庆交通大学学报(自然科学版), no. 09, 29 May 2018 (2018-05-29) * |
Also Published As
Publication number | Publication date |
---|---|
CN118379317B (en) | 2024-09-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106960208B (en) | Method and system for automatically segmenting and identifying instrument liquid crystal number | |
JP7508556B2 (en) | Character segmentation method, device, and computer-readable storage medium | |
CN111027546B (en) | Character segmentation method, device and computer readable storage medium | |
CN110309687A (en) | Method and device for correcting a two-dimensional code image | |
CN115908415B (en) | Edge-based defect detection method, device, equipment and storage medium | |
CN108318773B (en) | Method and system for detecting broken strands of power transmission wires | |
CN110660072B (en) | Method and device for identifying straight line edge, storage medium and electronic equipment | |
CN114004858B (en) | Method and device for identifying surface codes of aerial cables based on machine vision | |
CN112669295A (en) | Lithium battery pole piece defect detection method based on secondary threshold segmentation theory | |
CN116109637B (en) | System and method for detecting appearance defects of turbocharger impeller based on vision | |
CN114495098B (en) | Diaxing algae cell statistical method and system based on microscope image | |
CN113533372B (en) | Paper defect detection method, system, device and computer storage medium | |
CN113129260B (en) | An automatic detection method and device for internal defects of lithium battery cell | |
CN118379317B (en) | Glass fiber cloth edge identification method, equipment and storage medium | |
CN114355467A (en) | Detection model establishment and multi-image-based track foreign matter detection method | |
CN114596242A (en) | Defect detection method, defect detection device, electronic equipment and computer readable storage medium | |
CN115689970A (en) | Defect detection method and device for display panel, electronic equipment and storage medium | |
KR20240107019A (en) | Unsupervised Image clustering method combined with anomaly detection for Semi-automatic Labeling at PCB inspection system | |
CN112329572B (en) | Rapid static living body detection method and device based on frame and flash point | |
CN115830049A (en) | Corner point detection method and device | |
JP4247993B2 (en) | Image inspection apparatus, image inspection method, control program, and readable storage medium | |
CN113808126B (en) | Chip polarity direction determination method, computer device and storage medium | |
CN115131546A (en) | Tail fiber occupation port detection method and device, electronic equipment and storage medium | |
Raihan et al. | An Experimental Analysis on the Sensitivity of the Most Widely Used Edge Detection Methods to Different Noise Types | |
CN118351059A (en) | Circuit board detection method, device, computer equipment and storage medium |
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 |