CN109345551B - Method, system and computer storage medium for detecting concave envelope in outer contour of image - Google Patents
Method, system and computer storage medium for detecting concave envelope in outer contour of image Download PDFInfo
- Publication number
- CN109345551B CN109345551B CN201811089133.5A CN201811089133A CN109345551B CN 109345551 B CN109345551 B CN 109345551B CN 201811089133 A CN201811089133 A CN 201811089133A CN 109345551 B CN109345551 B CN 109345551B
- Authority
- CN
- China
- Prior art keywords
- outer contour
- image
- area
- contour
- end position
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 238000005070 sampling Methods 0.000 claims abstract description 50
- 238000001514 detection method Methods 0.000 claims abstract description 18
- 238000004891 communication Methods 0.000 claims description 3
- 238000012937 correction Methods 0.000 abstract description 8
- 239000011159 matrix material Substances 0.000 description 23
- 238000010586 diagram Methods 0.000 description 17
- 238000005507 spraying Methods 0.000 description 9
- 238000012545 processing Methods 0.000 description 8
- 238000005260 corrosion Methods 0.000 description 6
- 230000007797 corrosion Effects 0.000 description 6
- 239000011248 coating agent Substances 0.000 description 3
- 238000000576 coating method Methods 0.000 description 3
- 230000003628 erosive effect Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000001174 ascending effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000010339 dilation Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 229910052755 nonmetal Inorganic materials 0.000 description 1
Images
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/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
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/187—Segmentation; Edge detection involving region growing; involving region merging; involving connected component labelling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/60—Analysis of geometric attributes
- G06T7/64—Analysis of geometric attributes of convexity or concavity
-
- 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/10—Image acquisition modality
- G06T2207/10004—Still image; Photographic image
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Geometry (AREA)
- Image Analysis (AREA)
Abstract
一种图像外轮廓中凹包络检测方法、系统及其计算机存储介质。所述检测方法包括:对腐蚀图像的外轮廓上的像素点进行采样,并将采样点两两相连构成线段,经膨胀后与输入图像外轮廓求交集得到相交轮廓;然后,将相交轮廓分组并进行位置修正,连接每段轮廓修正后的开始结束位置,构成封闭区域,计算封闭区域面积,并找出面积大于某一阈值的封闭区域,则该封闭区域对应的轮廓即为图像的凹包络;最后将输入图像凹包络的凹陷区域封闭以及填充。该方法具有精度高、鲁棒性强等特点,可以有效地实现图像外轮廓中凹包络的检测与填充。
A method, system and computer storage medium for detecting concave envelope in the outer contour of an image. The detection method includes: sampling the pixel points on the outer contour of the corroded image, connecting the sampling points two by two to form line segments, and obtaining an intersection with the outer contour of the input image after expansion to obtain the intersecting contour; Perform position correction, connect the corrected start and end positions of each contour to form a closed area, calculate the area of the closed area, and find the closed area with an area greater than a certain threshold, then the contour corresponding to the closed area is the concave envelope of the image ; Finally, the concave area of the concave envelope of the input image is closed and filled. The method has the characteristics of high precision and strong robustness, and can effectively realize the detection and filling of the concave envelope in the outer contour of the image.
Description
技术领域technical field
本发明涉及图像处理技术领域,特别涉及一种图像外轮廓中凹包络的检测方法、系统及其计算机存储介质。The invention relates to the technical field of image processing, in particular to a method, a system and a computer storage medium for detecting a concave envelope in an outer contour of an image.
背景技术Background technique
喷涂机器人是一种重要的涂装生产设备,主要用于金属和非金属表面涂覆工作,是机器人技术和表面涂装工艺有机结合的产物。喷涂机器人不仅安全环保,而且能够高效、高质量的完成喷涂任务。Spraying robot is an important coating production equipment, mainly used for metal and non-metal surface coating work, is the product of the organic combination of robotics and surface coating technology. Spraying robots are not only safe and environmentally friendly, but also can complete spraying tasks efficiently and with high quality.
喷涂机器人的喷涂轨迹决定着工件的喷涂质量以及效率。在对目标物体进行喷涂轨迹自动规划前,需通过摄像机或者光幕等传感器采集目标物体的图像信息。由于目标物体的种类繁多,采集的图像中不乏凹图像。凹图像为特殊工件图像,需单独进行喷涂轨迹规划。因此,在图像分类时,所有图像需经过凹包络检测,凹包络为图像中凹陷区域的外轮廓。若图像检测结果为凹图像,则将其凹包络填充后再做轨迹规划。The spraying trajectory of the spraying robot determines the spraying quality and efficiency of the workpiece. Before automatically planning the spraying trajectory of the target object, it is necessary to collect the image information of the target object through sensors such as cameras or light curtains. Due to the wide variety of target objects, there are many concave images in the collected images. The concave image is a special workpiece image, and the spraying trajectory planning needs to be carried out separately. Therefore, in image classification, all images need to be detected by concave envelope, which is the outer contour of the concave area in the image. If the image detection result is a concave image, the concave envelope is filled and then trajectory planning is done.
发明内容SUMMARY OF THE INVENTION
为解决凹图像喷涂轨迹规划的问题,本发明提供了一种图像外轮廓中凹包络的检测方法、系统及计算机可读存储介质,该检测方法具有精度高、鲁棒性强等特点,可以有效地实现图像外轮廓中凹包络的检测。In order to solve the problem of spraying trajectory planning of concave images, the present invention provides a detection method, system and computer-readable storage medium for concave envelopes in outer contours of images. The detection method has the characteristics of high precision, strong robustness, etc. The detection of the concave envelope in the outer contour of the image is realized effectively.
本发明的第一方面提供了一种图像外轮廓中凹包络的检测方法,包括以下步骤:A first aspect of the present invention provides a method for detecting a concave envelope in an outer contour of an image, comprising the following steps:
输入图像;input image;
提取输入图像的外轮廓;Extract the outer contour of the input image;
对输入图像进行腐蚀处理得到腐蚀图像;Corrode the input image to obtain the corroded image;
提取腐蚀图像的外轮廓;Extract the outer contour of the eroded image;
将输入图像的外轮廓与腐蚀图像的外轮廓相叠加,即两幅图像的外轮廓对应位置的像素值相加;Superimpose the outer contour of the input image and the outer contour of the eroded image, that is, add the pixel values of the corresponding positions of the outer contours of the two images;
对腐蚀图像外轮廓上的像素点按预设间隔采样,采样点两两相连构成线段后与输入图像的外轮廓求交集,记录相交的外轮廓;The pixel points on the outer contour of the eroded image are sampled at preset intervals, and the sampling points are connected in pairs to form a line segment, and then the intersection is obtained with the outer contour of the input image, and the intersected outer contour is recorded;
如果没有交集,则所述输入图像不包括凹包络的外轮廓,返回所述输入图像;如果有交集,则调整每段相交的外轮廓的开始位置和结束位置,使得外轮廓与开始位置和结束位置连接线构成的封闭区域的面积最大;If there is no intersection, the input image does not include the outer contour of the concave envelope, and the input image is returned; if there is an intersection, the start position and end position of each intersecting outer contour are adjusted so that the outer contour and the start position sum The area of the closed area formed by the connecting line at the end position is the largest;
判断所述封闭区域的面积是否大于一预设值,如果是,则所述封闭区域的面积对应的外轮廓为图像的凹包络。It is judged whether the area of the closed area is larger than a preset value, and if so, the outer contour corresponding to the area of the closed area is the concave envelope of the image.
在一些具体的实施例中,所述输入图像的步骤包括输入图像为二值化的二维图像。In some specific embodiments, the step of inputting an image includes that the inputting image is a binarized two-dimensional image.
在一些具体的实施例中,在提取输入图像的外轮廓之前,还包括判断输入图像中是否有镂空区域的步骤,如果有,则填充所述镂空区域。In some specific embodiments, before extracting the outer contour of the input image, a step of judging whether there is a hollow area in the input image is further included, and if there is, filling the hollow area.
在一些具体的实施例中,所述对腐蚀图像外轮廓上的像素点按预设间隔采样,采样点两两相连构成线段后与输入图像的外轮廓求交集,记录相交的外轮廓的步骤包括:In some specific embodiments, the pixel points on the outer contour of the eroded image are sampled at preset intervals, the sampling points are connected in pairs to form a line segment, and then an intersection is obtained with the outer contour of the input image, and the step of recording the intersected outer contour includes: :
令采样的所述预设间隔为L,设腐蚀图像外轮廓上的所有像素点个数为N,当N/L有余数m时,则最后一段的间隔为m,采样点个数n=fix(N/L)+1,其中fix表示朝零方向取整;当N/L的余数为0时,采样点个数n=N/L,其中,L、N、m、n都为自然数;Let the preset interval of sampling be L, set the number of all pixels on the outer contour of the corroded image to be N, when N/L has a remainder m, then the interval of the last segment is m, and the number of sampling points is n=fix (N/L)+1, where fix means rounding toward zero; when the remainder of N/L is 0, the number of sampling points n=N/L, where L, N, m, and n are all natural numbers;
从采样点H1开始遍历,将采样点H1与之后的采样点H2、……Hn分别相连构成线段与输入图像的外轮廓求交集并记录交集点;然后从采样点H2开始遍历,将采样点H2与之后的采样点H3、……Hn分别相连构成线段与输入图像的外轮廓求交集并记录交集点;依次遍历,直到所有采样点分别两两相连构成线段与输入图像的外轮廓求交集,记录所有交集点;Start traversing from the sampling point H 1 , connect the sampling point H 1 with the subsequent sampling points H 2 ,... , connect the sampling point H 2 and the subsequent sampling points H 3 ,... The outer contour of the image is intersected, and all the intersection points are recorded;
判断相邻的交集点之间的像素点是否小于一预定值,如果是,则相邻的交集点所在的外轮廓属于同一段外轮廓;如果否,则相邻的交集点所在的外轮廓属于不同段的外轮廓;Determine whether the pixel points between adjacent intersection points are less than a predetermined value. If so, the outer contour where the adjacent intersection points are located belongs to the same outer contour; if not, the outer contour where the adjacent intersection points are located belongs to Outer contours of different segments;
记录所有具有交集点的外轮廓。Record all outer contours with intersection points.
在一些具体的实施例中,所述采样点两两相连构成线段后,对所述线段进行膨胀处理,然后与所述输入图像的外轮廓求交集。In some specific embodiments, after the sampling points are connected to form a line segment, the line segment is expanded, and then an intersection is obtained with the outer contour of the input image.
在一些具体的实施例中,所述调整每段相交的外轮廓的开始位置和结束位置,使得外轮廓与开始位置和结束位置连接线构成的封闭区域的面积最大的步骤包括:In some specific embodiments, the step of adjusting the start position and the end position of the outer contour intersected by each segment so that the area of the enclosed area formed by the outer contour and the connecting line between the start position and the end position is the largest including:
设每段相交的外轮廓上的像素点个数为r,每个像素点依次表示为I1,I2,…,Ir-1,Ir,I1为轮廓的开始位置,Ir为轮廓的结束位置;Let the number of pixels on the outer contour intersected by each segment be r, and each pixel point is expressed as I 1 , I 2 ,..., I r-1 , I r , I 1 is the starting position of the contour, and I r is the end position of the contour;
修正外轮廓的开始位置I1:保持外轮廓的结束位置Ir不变,连接外轮廓的开始位置和结束位置,计算外轮廓与开始位置和结束位置连线构成的封闭区域的面积,向左右移动开始位置,直到封闭区域的面积最大,并更新开始位置为Ib;Correct the start position I 1 of the outer contour: keep the end position I r of the outer contour unchanged, connect the start position and the end position of the outer contour, calculate the area of the closed area formed by the line connecting the outer contour and the start position and the end position, left and right Move the starting position until the area of the enclosed area is the largest, and update the starting position as I b ;
修正外轮廓的结束位置Ir:保持外轮廓开始位置Ib不变,连接外轮廓的开始位置和结束位置,计算外轮廓与开始位置和结束位置连线构成的封闭区域的面积,向左右移动结束位置,直到封闭区域的面积最大,并更新结束位置为Ie。Correct the end position I r of the outer contour: keep the start position I b of the outer contour unchanged, connect the start position and the end position of the outer contour, calculate the area of the closed area formed by the connection line between the outer contour and the start position and the end position, and move to the left and right End position until the area of the enclosed area is maximum, and update the end position to I e .
在一些具体的实施例中,还包括再次修正外轮廓的开始位置Ib:保持外轮廓结束位置Ie不变,连接外轮廓的开始位置和结束位置,计算外轮廓与开始位置和结束位置连线构成的封闭区域的面积,左右移动开始位置,直到封闭区域的面积最大,并更新开始位置为Ib’,则开始位置Ib’和结束位置Ie之间的外轮廓为图像的凹包络。In some specific embodiments, the method further includes correcting the start position Ib of the outer contour again: keeping the end position Ie of the outer contour unchanged, connecting the start position and the end position of the outer contour, and calculating the connection between the outer contour and the start position and the end position. The area of the closed area formed by the line, move the starting position left and right until the area of the closed area is the largest, and update the starting position to I b' , then the outer contour between the starting position I b' and the ending position I e is the concave envelope of the image network.
在一些具体的实施例中,还包括对所述凹包络所在的区域进行填充步骤:根据所述凹包络上的开始位置和结束位置画矩形框,将凹包络所在的区域封闭,并填充所述凹包络和矩形框围成的封闭区域。In some specific embodiments, it also includes the step of filling the area where the concave envelope is located: drawing a rectangular frame according to the start position and the end position on the concave envelope, closing the area where the concave envelope is located, and Fill the enclosed area enclosed by the concave envelope and the rectangular box.
本发明的第二方面提供了一种图像外轮廓中凹包络的检测系统,该系统包括:A second aspect of the present invention provides a detection system for a concave envelope in an outer contour of an image, the system comprising:
存储器以及一个或多个处理器;memory and one or more processors;
其中,所述存储器与所述一个或多个处理器通信连接,所述存储器中存储有可被所述一个或多个处理器执行的指令,所述指令被所述一个或多个处理器执行,以使所述一个或多个处理器用于执行前述的方法。wherein the memory is connected in communication with the one or more processors, the memory stores instructions executable by the one or more processors, and the instructions are executed by the one or more processors , so that the one or more processors are used to perform the aforementioned method.
本发明的第三方面提供了一种计算机可读存储介质,其上存储有计算机可执行指令,当所述计算机可执行指令被计算装置执行时,可操作来执行前述的方法。A third aspect of the present invention provides a computer-readable storage medium having computer-executable instructions stored thereon, which, when executed by a computing device, are operable to perform the aforementioned method.
本发明提供了一种图像外轮廓中凹包络检测方法、系统及其计算机存储介质。所述检测方法包括:对腐蚀图像的外轮廓上的像素点进行采样,并将采样点两两相连构成线段,经膨胀后与输入图像外轮廓求交集得到相交轮廓;然后,将相交轮廓分组并进行位置修正,连接每段轮廓修正后的开始结束位置,构成封闭区域,计算封闭区域面积,并找出面积大于某一阈值的封闭区域,则该封闭区域对应的轮廓即为图像的凹包络;最后将输入图像凹包络的凹陷区域封闭以及填充。该方法具有精度高、鲁棒性强等特点,可以有效地实现图像外轮廓中凹包络的检测与填充。The invention provides a method, a system and a computer storage medium for detecting a concave envelope in the outer contour of an image. The detection method includes: sampling the pixel points on the outer contour of the corroded image, connecting the sampling points two by two to form line segments, and obtaining an intersection with the outer contour of the input image after expansion to obtain the intersecting contour; Perform position correction, connect the corrected start and end positions of each contour to form a closed area, calculate the area of the closed area, and find the closed area with an area greater than a certain threshold, then the contour corresponding to the closed area is the concave envelope of the image ; Finally, the concave area of the concave envelope of the input image is closed and filled. The method has the characteristics of high precision and strong robustness, and can effectively realize the detection and filling of the concave envelope in the outer contour of the image.
附图说明Description of drawings
图1为本发明的一种图像外轮廓中凹包络的检测方法的流程图;1 is a flowchart of a method for detecting a concave envelope in an image outer contour of the present invention;
图2为输入图像的示意图;2 is a schematic diagram of an input image;
图3为输入图像的外轮廓示意图;3 is a schematic diagram of the outer contour of an input image;
图4为输入图像腐蚀结果示意图;FIG. 4 is a schematic diagram of the corrosion result of the input image;
图5为腐蚀图像的外轮廓示意图;5 is a schematic diagram of the outer contour of the corrosion image;
图6为图像腐蚀示意图;6 is a schematic diagram of image erosion;
图7为图像膨胀示意图;7 is a schematic diagram of image expansion;
图8为输入图像的外轮廓与腐蚀图像的外轮廓相加结果示意图;8 is a schematic diagram of the result of adding the outer contour of the input image and the outer contour of the eroded image;
图9为腐蚀图像外轮廓上的像素点采样示意图;9 is a schematic diagram of pixel sampling on the outer contour of the corroded image;
图10(a)、(b)、(c)为采样点两两相连构成线段示意图;Figure 10 (a), (b), (c) is a schematic diagram of a line segment formed by connecting two sampling points;
图11为膨胀的线段与输入图像外轮廓的交集示意图;11 is a schematic diagram of the intersection of the expanded line segment and the outer contour of the input image;
图12(a)、(b)、(c)为轮廓开始位置修正前示意图;Figure 12 (a), (b), (c) are schematic diagrams before the contour start position correction;
图13(a)、(b)为轮廓开始位置修正结果示意图;Figure 13 (a), (b) are schematic diagrams of the correction result of the contour start position;
图14(a)、(b)为轮廓结束位置修正结果示意图;Figure 14 (a), (b) is a schematic diagram of the correction result of the contour end position;
图15(a)、(b)为轮廓开始位置修正结果(再次修正)示意图;Figure 15 (a), (b) is a schematic diagram of the contour start position correction result (correction again);
图16为矩形框示意图;16 is a schematic diagram of a rectangular frame;
图17为封闭图像的凹包络示意图;17 is a schematic diagram of a concave envelope of a closed image;
图18为图像凹包络填充图像示意图。FIG. 18 is a schematic diagram of an image concave envelope filling image.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚明了,下面结合具体实施方式并参照附图,对本发明进一步详细说明。应该理解,这些描述只是示例性的,而并非要限制本发明的范围。此外,在以下说明中,省略了对公知结构和技术的描述,以避免不必要地混淆本发明的概念。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the specific embodiments and the accompanying drawings. It should be understood that these descriptions are exemplary only and are not intended to limit the scope of the invention. Also, in the following description, descriptions of well-known structures and techniques are omitted to avoid unnecessarily obscuring the concepts of the present invention.
为了使本发明的目的、技术方案及有益效果更加清楚明白,以下将结合附图及实施例,对本发明做进一步详细说明。In order to make the objectives, technical solutions and beneficial effects of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments.
本发明的第一方面提供了一种图像外轮廓中凹包络的检测方法100,如图1所示,包括以下步骤:A first aspect of the present invention provides a
步骤110:输入图像;具体的,输入图像可为二值化的二维图像InputImage,如图2所示。除了二值化的图像,输入图像还可为其他形式的数字图像。Step 110: Input an image; specifically, the input image may be a binarized two-dimensional image InputImage, as shown in FIG. 2 . In addition to binarized images, the input images can also be other forms of digital images.
步骤120:提取输入图像的外轮廓。Step 120: Extract the outer contour of the input image.
提取输入图像外轮廓Boundry,如图3所示。由sobel算子提取输入图像的工件外轮廓:sobel算子包含两个3x3的卷积核Gx与Gy,其中Gx=[-1,0,1;-2,0,2;-1,0,1]、Gy=[1,2,1;0,0,0;-1,-2,-1],图像中的每一个像素点都与这两个卷积核进行卷积运算,取其最大值输出即得到输入图像的工件外轮廓。Extract the outer contour Boundry of the input image, as shown in Figure 3. The outer contour of the input image is extracted by the sobel operator: the sobel operator contains two 3x3 convolution kernels Gx and Gy, where Gx=[-1,0,1;-2,0,2;-1,0, 1], Gy=[1,2,1;0,0,0;-1,-2,-1], each pixel in the image is convolved with these two convolution kernels, whichever is The output of the maximum value is the outer contour of the workpiece of the input image.
如果输入图像有镂空区域,需先将镂空区域填充,二值图像中即可将镂空区域的像素值置为1。If the input image has a hollow area, you need to fill the hollow area first, and the pixel value of the hollow area can be set to 1 in the binary image.
步骤130:对输入图像进行腐蚀处理得到腐蚀图像。Step 130: Corrosion processing is performed on the input image to obtain a corroded image.
对输入图像InputImage进行腐蚀处理得到腐蚀图像Img_erode,如图4所示。Corrosion processing is performed on the input image InputImage to obtain the eroded image Img_erode, as shown in Figure 4.
图像腐蚀是一种消除图像边界点,使图像边界向内部收缩的过程,可用来消除小且无意义的物体。如图6所示,B对A的腐蚀可表示为AΘB,图像A经结构元素B腐蚀后,图像A缩小了一圈,其腐蚀宽度由结构元素决定。结构元素SE由shape和parameters两个参数决定,其中形状参数shape可以是矩形、圆形等任意形状,parameters则控制形状参数shape的大小方向,通常结构元素要小于待处理的图像。二维结构元素可以理解成一个二维矩阵,矩阵元素的值为0或者1。Image erosion is a process of eliminating image boundary points and shrinking the image boundary inward, which can be used to eliminate small and meaningless objects. As shown in Figure 6, the corrosion of B to A can be expressed as AΘB. After image A is corroded by structural element B, image A is reduced by a circle, and its corrosion width is determined by the structural element. The structural element SE is determined by two parameters, shape and parameters. The shape parameter shape can be any shape such as a rectangle or a circle, and the parameters control the size and direction of the shape parameter shape. Usually, the structural element is smaller than the image to be processed. A two-dimensional structural element can be understood as a two-dimensional matrix, and the value of the matrix element is 0 or 1.
所述图像腐蚀的具体步骤为:The specific steps of the image erosion are:
用结构元素扫描图像的每一个像素;scan every pixel of the image with structuring elements;
结构元素与其覆盖的二值图像做“与”操作(对应位置的像素值点乘);The structuring element is "ANDed" with the binary image it covers (pixel value dot product at the corresponding position);
如果全为1,结果图像的该像素为1,否则为0。If all 1s, this pixel of the resulting image is 1, otherwise 0.
设结构元素为3*3的矩阵SE=[1,1,1;1,1,1;1,1,1],二值图像上的某点P,其周围的像素点为P0,P1,P2,P3,P4,P5,P6,P7,构成矩阵M=[P0,P1,P2;P3,P,P4;P5,P6,P7]。矩阵SE与矩阵M点乘得到矩阵Q=[P0,P1,P2;P3,P,P4;P5,P6,P7]。当矩阵Q中的所有元素都为1时,P点才为1,否则为0。Let the structuring element be a 3*3 matrix SE=[1,1,1; 1,1,1; 1,1,1], a point P on the binary image, the surrounding pixels are P0, P1, P2, P3, P4, P5, P6, P7, form a matrix M=[P0, P1, P2; P3, P, P4; P5, P6, P7]. Matrix SE and matrix M are dot-multiplied to obtain matrix Q=[P0, P1, P2; P3, P, P4; P5, P6, P7]. When all elements in the matrix Q are 1, the point P is 1, otherwise it is 0.
步骤140:提取腐蚀图像的外轮廓。Step 140: Extract the outer contour of the eroded image.
提取腐蚀图像Img_erode的外轮廓Boundry1,如图5所示。由sobel算子提取腐蚀图像Img_erode的外轮廓。Extract the outer contour Boundry1 of the eroded image Img_erode, as shown in Figure 5. The outer contour of the eroded image Img_erode is extracted by the sobel operator.
步骤150:将输入图像的外轮廓与腐蚀图像的外轮廓相叠加,即两幅图像的外轮廓对应位置的像素值相加,如图8所示。Step 150: Superimpose the outer contour of the input image and the outer contour of the eroded image, that is, add the pixel values of the corresponding positions of the outer contours of the two images, as shown in FIG. 8 .
步骤160:对腐蚀图像外轮廓上的像素点按预设间隔采样,采样点两两相连构成线段后与输入图像的外轮廓求交集,记录相交的外轮廓,如图9和10(a)、(b)、(c)所示。Step 160: Sampling the pixels on the outer contour of the eroded image at preset intervals, connecting the sampling points to form a line segment, and then finding an intersection with the outer contour of the input image, and recording the intersecting outer contour, as shown in Figures 9 and 10(a), (b) and (c).
具体的,对腐蚀图像外轮廓上的像素点采样,采样间隔为L。设腐蚀图像外轮廓上的所有像素点个数为N,当N/L有余数m时,则最后一段的间隔为m,采样点个数n=fix(N/L)+1,其中fix表示朝零方向取整;当N/L的余数为0时,采样点个数n=N/L。Specifically, the pixel points on the outer contour of the corroded image are sampled, and the sampling interval is L. Let the number of all pixels on the outer contour of the eroded image be N, when N/L has a remainder m, the interval of the last segment is m, and the number of sampling points is n=fix(N/L)+1, where fix means Round to zero; when the remainder of N/L is 0, the number of sampling points n=N/L.
采样点两两相连构成线段并进行膨胀处理后与输入图像的外轮廓Boundry求交集,所有交集点再求并集。The sampling points are connected two by two to form a line segment and after expansion processing, the intersection is obtained with the outer contour Boundry of the input image, and the union of all the intersection points is obtained.
在一个具体的实施例中,设采样点个数为n,采样点的序号为1,2,3,…,n-1,n。从采样点H1开始,将采样点H1与采样点H2相连构成线段H1H2并进行膨胀处理后,将膨胀后的线段H1’H2’与输入图像的外轮廓Boundry求交集,得到交集点矩阵V=H1’H2’∩Boundry,交集点表示H1’H2’与Boundry中坐标相同的点,可能不止一个;接着采样点H1与采样点H3相连构成线段H1H3并进行膨胀处理后,将膨胀后的线段H1’H3’与输入图像的外轮廓Boundry求交集,得到的交集点矩阵V1=H1’H3’∩Boundry,并入矩阵V;依次下去…;最后采样点H1与采样点Hn相连构成线段H1Hn并进行膨胀处理后,将膨胀后的线段H1’Hn’与输入图像的外轮廓Boundry求交集,得到的交集点矩阵Vn-2=H1’Hn’∩Boundry,并入矩阵V。当采样点H1遍历所有采样点(除自身外)后,接着从采样点H2开始遍历,依次循环,直到采样点Hn遍历所有采样点(除自身外),最终所有的交集点都存放于矩阵V中。In a specific embodiment, it is assumed that the number of sampling points is n, and the serial numbers of the sampling points are 1, 2, 3, ..., n-1, n. Starting from the sampling point H 1 , connect the sampling point H 1 and the sampling point H 2 to form a line segment H 1 H 2 and perform expansion processing, and then obtain the intersection of the expanded line segment H 1' H 2' and the outer contour Boundry of the input image , Obtain the intersection point matrix V=H 1' H 2' ∩ Boundry, the intersection point represents the point with the same coordinates in H 1' H 2' and Boundry, there may be more than one; then the sampling point H 1 is connected with the sampling point H 3 to form a line segment After H 1 H 3 and expansion processing, the expanded line segment H 1' H 3' and the outer contour Boundry of the input image are intersected, and the obtained intersection point matrix V 1 =H 1' H 3' ∩ Boundry is merged into Matrix V; go down in sequence...; Finally, the sampling point H 1 is connected with the sampling point H n to form a line segment H 1 H n and after expansion processing, the intersection of the expanded line segment H 1' H n' and the outer contour Boundry of the input image is obtained. , the obtained intersection point matrix V n-2 =H 1' H n' ∩Boundry is merged into the matrix V. When sampling point H 1 traverses all sampling points (except itself), then starts traversing from sampling point H 2 , and loops in turn, until sampling point H n traverses all sampling points (except itself), and finally all intersection points are stored in the matrix V.
判断相邻的交集点之间的像素点是否小于一预定值,如果是,则相邻的交集点所在的外轮廓属于同一段外轮廓;如果否,则相邻的交集点所在的外轮廓属于不同段的外轮廓;记录所有相交的外轮廓。Determine whether the pixel points between adjacent intersection points are less than a predetermined value. If so, the outer contour where the adjacent intersection points are located belongs to the same outer contour; if not, the outer contour where the adjacent intersection points are located belongs to Outer contours of different segments; record all intersecting outer contours.
膨胀是将与物体接触的所有背景点合并到该物体中,使边界向外部扩张的过程。如图7所示,B对A的膨胀可表示为图像A经结构元素B膨胀后,图像A扩大了一圈,其膨胀宽度由结构元素决定。Dilation is the process of merging all background points in contact with an object into that object, expanding the boundary to the outside. As shown in Figure 7, the expansion of B to A can be expressed as After the image A is expanded by the structuring element B, the image A is expanded by a circle, and its expansion width is determined by the structuring element.
所述步骤中对图像进行膨胀处理具体包括:In the step, the expansion processing of the image specifically includes:
用结构元素扫描图像的每一个像素;scan every pixel of the image with structuring elements;
结构元素与其覆盖的二值图像做“与”操作(对应位置的像素值点乘);The structuring element is "ANDed" with the binary image it covers (pixel value dot product at the corresponding position);
如果全为0,结果图像的该像素为0,否则为1。If all 0s, this pixel of the resulting image is 0, otherwise 1.
设结构元素为3*3的矩阵SE=[1,1,1;1,1,1;1,1,1],二值图像上的某点P,其周围的像素点为P0,P1,P2,P3,P4,P5,P6,P7,构成矩阵M=[P0,P1,P2;P3,P,P4;P5,P6,P7]。矩阵SE与矩阵M点乘得到矩阵Q=[P0,P1,P2;P3,P,P4;P5,P6,P7]。当矩阵Q中的所有元素都为0时,P点才为0,否则为1。Let the structuring element be a 3*3 matrix SE=[1,1,1; 1,1,1; 1,1,1], a point P on the binary image, the surrounding pixels are P0, P1, P2, P3, P4, P5, P6, P7, form a matrix M=[P0, P1, P2; P3, P, P4; P5, P6, P7]. Matrix SE and matrix M are dot-multiplied to obtain matrix Q=[P0, P1, P2; P3, P, P4; P5, P6, P7]. When all elements in the matrix Q are 0, the point P is 0, otherwise it is 1.
步骤170:判断是否具有相交的外轮廓。Step 170: Determine whether there are intersecting outer contours.
查找矩阵V中各交集点的坐标位置,并对应找到其在图像外轮廓Boundry上的位置序号,将位置序号按升序排列,当位置序号之间相差小于某一阈值时,则将其划归为同一组。Find the coordinate position of each intersection point in the matrix V, and find its position number on the Boundry of the outer contour of the image, and arrange the position numbers in ascending order. When the difference between the position numbers is less than a certain threshold, it is classified as the same group.
如果距阵V为空集,表示没有交集点,则所述输入图像不包括凹包络的外轮廓,返回所述输入图像,如图3所示。If the matrix V is an empty set, indicating that there is no intersection point, the input image does not include the outer contour of the concave envelope, and the input image is returned, as shown in FIG. 3 .
如果距阵V为非空集,表示存在交集点,则调整每段相交的外轮廓的开始位置和结束位置,使得外轮廓与开始位置和结束位置连接线构成的封闭区域的面积最大。因为通过上述步骤检测出来的外轮廓的凹包络可能跟实际的凹包络有一定偏差,如图12(b)可知,检测出的凹包络仅为实际凹包络的一部分,因此需要微调开始和结束位置找到实际的凹包络的开始和结束位置。具体的调整过程将每段相交的外轮廓放到原输入图像的外轮廓中进行,如图12—15所示,具体步骤如下:If the matrix V is a non-empty set, it means that there is an intersection point, then adjust the start position and end position of the outer contour intersected by each segment, so that the area of the enclosed area formed by the outer contour and the connecting line between the start position and the end position is the largest. Because the concave envelope of the outer contour detected by the above steps may have a certain deviation from the actual concave envelope, as shown in Figure 12(b), the detected concave envelope is only a part of the actual concave envelope, so it needs to be fine-tuned Start and end positions Find the actual concave envelope start and end positions. The specific adjustment process is performed by placing the intersecting outer contour of each segment into the outer contour of the original input image, as shown in Figure 12-15. The specific steps are as follows:
设每段相交的外轮廓上的像素点个数为r,每个像素点依次表示为I1,I2,…,Ir-1,Ir;I1为外轮廓的开始位置,Ir为外轮廓的结束位置;Let the number of pixels on the outer contour intersected by each segment be r, and each pixel point is expressed as I 1 , I 2 ,..., I r-1 , I r ; I 1 is the starting position of the outer contour, I r is the end position of the outer contour;
修正外轮廓的开始位置I1:保持外轮廓的结束位置Ir不变,连接外轮廓的开始位置和结束位置,计算外轮廓与开始位置和结束位置连线构成的封闭区域的面积,向左右移动开始位置,直到封闭区域的面积最大,并更新开始位置为Ib;Correct the start position I 1 of the outer contour: keep the end position I r of the outer contour unchanged, connect the start position and the end position of the outer contour, calculate the area of the closed area formed by the line connecting the outer contour and the start position and the end position, left and right Move the starting position until the area of the enclosed area is the largest, and update the starting position as I b ;
修正外轮廓的结束位置Ir:保持外轮廓开始位置Ib不变,连接外轮廓的开始位置和结束位置,计算外轮廓与开始位置和结束位置连线构成的封闭区域的面积,向左右移动结束位置,直到封闭区域的面积最大,并更新结束位置为Ie。Correct the end position I r of the outer contour: keep the start position I b of the outer contour unchanged, connect the start position and the end position of the outer contour, calculate the area of the closed area formed by the connection line between the outer contour and the start position and the end position, and move to the left and right End position until the area of the enclosed area is maximum, and update the end position to I e .
在一个具体的实施例中,设每段相交的外轮廓上的像素点个数为r,每个像素点依次表示为I1,I2,…,Ir-1,Ir(I1为轮廓的开始位置,Ir为轮廓的结束位置)。In a specific embodiment, let the number of pixels on the outer contour intersected by each segment be r, and each pixel is sequentially represented as I 1 , I 2 , . . . , I r-1 , I r (I 1 is The starting position of the contour, I r is the ending position of the contour).
首先,修正外轮廓的开始位置I1:保持轮廓结束位置Ir不变,左右移动开始位置(例如间隔2个位置序号的I-1与I3,I-1为原输入图像的外轮廓上的像素点),连接外轮廓上的开始和结束位置,得到由弦I-1Ir与外轮廓I-1Ir构成的封闭区域S-1,由弦I1Ir与外轮廓I1Ir构成的封闭区域S1,由弦I3Ir与外轮廓I3Ir构成的封闭区域S3,比较封闭区域S-1、S1、S3的面积大小,如图12(a)所示;First, correct the start position I 1 of the outer contour: keep the end position I r of the contour unchanged, and move the start position left and right (for example, I -1 and I 3 separated by 2 position numbers, I -1 is on the outer contour of the original input image pixel point), connect the start and end positions on the outer contour to obtain a closed area S -1 composed of the chord I -1 I r and the outer contour I -1 I r , and the chord I 1 I r and the outer contour I 1 The closed area S 1 formed by I r , the closed area S 3 formed by the chord I 3 I r and the outer contour I 3 I r , compare the area sizes of the closed areas S -1 , S 1 , and S 3 , as shown in Figure 12(a ) shown;
(a)若封闭区域S1的面积最大,则将序号间隔缩小为1,开始位置变为I0与I2,连接外轮廓的开始和结束位置,得到由弦I0Ir与外轮廓I0Ir构成的封闭区域S0,由弦I2Ir与外轮廓I2Ir构成的封闭区域S2,再次比较封闭区域S0、S1、S2的面积大小,找到面积最大的封闭区域,并更新开始位置为Ib;(a) If the area of the closed area S 1 is the largest, reduce the sequence number interval to 1, the start position becomes I 0 and I 2 , connect the start and end positions of the outer contour, and obtain the relationship between the chord I 0 I r and the outer contour I The closed area S 0 composed of 0 I r , the closed area S 2 composed of the chord I 2 I r and the outer contour I 2 I r , compare the areas of the closed areas S 0 , S 1 , and S 2 again, and find the one with the largest area. Close the area, and update the starting position as I b ;
(b)若封闭区域S-1的面积最大,则继续向后(或向左)移动两个序号位置,开始位置变为I-3,连接外轮廓的开始和结束位置,得到由弦I-3Ir与外轮廓I-3Ir构成的封闭区域S-3;(b) If the area of the closed area S -1 is the largest, then continue to move two serial number positions backward (or to the left), the start position becomes I -3 , and connect the start and end positions of the outer contour to obtain the chord I - 3 I r and the closed area S -3 formed by the outer contour I -3 I r ;
(b1)当封闭区域S-1的面积大于封闭区域S-3的面积时,将位置序号间隔缩小为1,重复(a)的操作;(b1) When the area of the enclosed area S -1 is larger than the area of the enclosed area S -3 , reduce the interval of the position serial numbers to 1, and repeat the operation of (a);
(b2)当封闭区域S-3的面积大于封闭区域S-1的面积时,继续向后移动两个序号位置,直到找到面积最大的开始位置,然后将序号间隔缩小为1,重复(a)的操作。(b2) When the area of the closed area S -3 is larger than the area of the closed area S -1 , continue to move the two serial number positions backward until the starting position with the largest area is found, then reduce the serial number interval to 1, and repeat (a) operation.
接着修正轮廓的结束位置Ir:保持外轮廓开始位置Ib不变,连接外轮廓开始和结束位置,左右移动结束位置,直到封闭区域的面积最大,并更新结束位置为Ie,相关流程参照(a)(b)。Then correct the end position I r of the contour: keep the start position I b of the outer contour unchanged, connect the start and end positions of the outer contour, move the end position left and right until the area of the closed area is the largest, and update the end position to I e , refer to the relevant process (a)(b).
最后再次修正轮廓的开始位置Ib:保持外轮廓结束位置Ie不变,连接外轮廓开始和结束位置,左右移动开始位置,直到封闭区域的面积最大,并更新开始位置为Ib’,相关流程参照(a)(b)。则开始位置Ib’和结束位置Ie之间的外轮廓为图像的凹包络。Finally, correct the start position Ib of the contour again: keep the end position Ie of the outer contour unchanged, connect the start and end positions of the outer contour, move the start position left and right until the area of the closed area is the largest, and update the start position to Ib' , related to Refer to (a)(b) for the flow. Then the outer contour between the start position I b' and the end position I e is the concave envelope of the image.
步骤180:判断所述封闭区域的面积是否大于一预设值,如果是,则所述封闭区域的面积对应的外轮廓为图像的凹包络,如果否,则所述封闭区域的面积对应的外轮廓并非图像的凹包络。Step 180: Determine whether the area of the closed area is greater than a preset value, if so, the outer contour corresponding to the area of the closed area is the concave envelope of the image; if not, the area corresponding to the closed area is The outer contour is not the concave envelope of the image.
具体的,连接每段轮廓修正后的开始结束位置,构成封闭区域,计算封闭区域面积,并找出面积大于某一阈值的封闭区域。那么该封闭区域对应的轮廓即为图像的凹包络Line。如图11所示,共有4条轮廓线。设由弦Ib’Ie与轮廓Ib’Ie构成的封闭区域为C0,由弦Ib1’Ie1与轮廓Ib1’Ie1构成的封闭区域为C1,由弦Ib2’Ie2与轮廓Ib2’Ie2构成的封闭区域为C2,由弦Ib3’Ie3与轮廓Ib3’Ie3构成的封闭区域为C3,找出面积大于某一阈值的封闭区域Ci(i=0,1,2,3),即可得到该图像的凹包络以及凹陷区域。Specifically, the modified start and end positions of each contour are connected to form a closed area, the area of the closed area is calculated, and the closed area with an area greater than a certain threshold is found. Then the contour corresponding to the closed area is the concave envelope Line of the image. As shown in Figure 11, there are 4 contour lines in total. Let the closed area composed of chord I b' I e and contour I b' I e be C 0 , the closed area composed of chord I b1' I e1 and contour I b1' I e1 be C 1 , and the closed area composed of chord I b2' The closed area composed of I e2 and contour I b2' I e2 is C 2 , the closed area composed of chord I b3' I e3 and contour I b3' I e3 is C 3 , find the closed area C whose area is greater than a certain threshold i (i=0, 1, 2, 3), the concave envelope and concave area of the image can be obtained.
进一步的,所述检测方法还包括对所述凹包络所在的区域进行填充步骤:根据所述凹包络上修正后的开始结束和结束位置画矩形框将凹包络所在的区域封闭,并填充所述凹包络所在的区域。Further, the detection method further includes a step of filling the area where the concave envelope is located: drawing a rectangular frame according to the corrected start, end and end positions on the concave envelope to close the area where the concave envelope is located, and Fills the area where the concave envelope is located.
在一些具体的实施例中,根据凹包络上修正后的开始结束位置画矩形框将凹区域封闭,如图16、17所示。连接凹包络的开始和结束位置,并以此为基础沿法向量方向画矩形框将凹区域封闭,如图17所示;接着将图像的镂空区域填充(镂空区域全部置1)使得图像成为全封闭图像,如图18所示;最后再进行轨迹规划。In some specific embodiments, a rectangular frame is drawn to enclose the concave area according to the modified start and end positions on the concave envelope, as shown in FIGS. 16 and 17 . Connect the start and end positions of the concave envelope, and draw a rectangular frame along the normal vector direction based on this to close the concave area, as shown in Figure 17; then fill the hollow area of the image (all the hollow areas are set to 1) so that the image becomes The fully enclosed image is shown in Figure 18; finally, the trajectory planning is carried out.
本发明的第二方面提供了一种图像外轮廓中凹包络的检测系统,该系统包括:A second aspect of the present invention provides a detection system for a concave envelope in an outer contour of an image, the system comprising:
存储器以及一个或多个处理器;memory and one or more processors;
其中,所述存储器与所述一个或多个处理器通信连接,所述存储器中存储有可被所述一个或多个处理器执行的指令,所述指令被所述一个或多个处理器执行,以使所述一个或多个处理器用于执行前述的方法。wherein the memory is connected in communication with the one or more processors, the memory stores instructions executable by the one or more processors, and the instructions are executed by the one or more processors , so that the one or more processors are used to perform the aforementioned method.
本发明的第三方面提供了一种计算机可读存储介质,其上存储有计算机可执行指令,当所述计算机可执行指令被计算装置执行时,可操作来执行前述的方法。A third aspect of the present invention provides a computer-readable storage medium having computer-executable instructions stored thereon, which, when executed by a computing device, are operable to perform the aforementioned method.
综上所述,本发明提供了一种图像外轮廓中凹包络检测方法、系统及其计算机存储介质。所述检测方法包括:对腐蚀图像的外轮廓上的像素点进行采样,并将采样点两两相连构成线段,经膨胀后与输入图像外轮廓求交集得到相交轮廓;然后,将相交轮廓分组并进行位置修正,连接每段轮廓修正后的开始结束位置,构成封闭区域,计算封闭区域面积,并找出面积大于某一阈值的封闭区域,则该封闭区域对应的轮廓即为图像的凹包络;最后将输入图像凹包络的凹陷区域封闭以及填充。该方法具有精度高、鲁棒性强等特点,可以有效地实现图像外轮廓中凹包络的检测与填充。To sum up, the present invention provides a method and system for detecting a concave envelope in an outer contour of an image, and a computer storage medium thereof. The detection method includes: sampling the pixel points on the outer contour of the corroded image, connecting the sampling points two by two to form line segments, and obtaining an intersection with the outer contour of the input image after expansion to obtain the intersecting contour; Perform position correction, connect the corrected start and end positions of each contour to form a closed area, calculate the area of the closed area, and find the closed area with an area greater than a certain threshold, then the contour corresponding to the closed area is the concave envelope of the image ; Finally, the concave area of the concave envelope of the input image is closed and filled. The method has the characteristics of high precision and strong robustness, and can effectively realize the detection and filling of the concave envelope in the outer contour of the image.
应当理解的是,本发明的上述具体实施方式仅仅用于示例性说明或解释本发明的原理,而不构成对本发明的限制。因此,在不偏离本发明的精神和范围的情况下所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。此外,本发明所附权利要求旨在涵盖落入所附权利要求范围和边界、或者这种范围和边界的等同形式内的全部变化和修改例。It should be understood that the above-mentioned specific embodiments of the present invention are only used to illustrate or explain the principle of the present invention, but not to limit the present invention. Therefore, any modifications, equivalent replacements, improvements, etc. made without departing from the spirit and scope of the present invention should be included within the protection scope of the present invention. Furthermore, the appended claims of this invention are intended to cover all changes and modifications that fall within the scope and boundaries of the appended claims, or the equivalents of such scope and boundaries.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811089133.5A CN109345551B (en) | 2018-09-18 | 2018-09-18 | Method, system and computer storage medium for detecting concave envelope in outer contour of image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811089133.5A CN109345551B (en) | 2018-09-18 | 2018-09-18 | Method, system and computer storage medium for detecting concave envelope in outer contour of image |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109345551A CN109345551A (en) | 2019-02-15 |
CN109345551B true CN109345551B (en) | 2020-11-20 |
Family
ID=65306013
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811089133.5A Active CN109345551B (en) | 2018-09-18 | 2018-09-18 | Method, system and computer storage medium for detecting concave envelope in outer contour of image |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109345551B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112819745B (en) * | 2019-10-31 | 2023-02-28 | 合肥美亚光电技术股份有限公司 | Nut kernel center worm-eating defect detection method and device |
CN112835371B (en) * | 2019-11-01 | 2023-11-21 | 广州极飞科技股份有限公司 | Land parcel fusing method, land parcel fusing device, and machine-readable storage medium |
CN113743161B (en) * | 2020-05-29 | 2024-04-09 | 合肥美亚光电技术股份有限公司 | Peanut kernel number identification method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101630364A (en) * | 2009-08-20 | 2010-01-20 | 天津大学 | Method for gait information processing and identity identification based on fusion feature |
CN105740860A (en) * | 2016-01-28 | 2016-07-06 | 河南大学 | Automatic detection method for Chinese character area of shop sign in natural scene |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9524028B2 (en) * | 2013-03-08 | 2016-12-20 | Fastvdo Llc | Visual language for human computer interfaces |
-
2018
- 2018-09-18 CN CN201811089133.5A patent/CN109345551B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101630364A (en) * | 2009-08-20 | 2010-01-20 | 天津大学 | Method for gait information processing and identity identification based on fusion feature |
CN105740860A (en) * | 2016-01-28 | 2016-07-06 | 河南大学 | Automatic detection method for Chinese character area of shop sign in natural scene |
Non-Patent Citations (2)
Title |
---|
掌纹样本采集技术及预处理技术的分析与研究;杨震群 等;《计算机应用》;20070228;第27卷(第2期);第380-386页 * |
数学形态学的基本算法及在图像预处理中应用;张艳玲 等;《科学技术与工程》;20070228;第7卷(第3期);第356-359页 * |
Also Published As
Publication number | Publication date |
---|---|
CN109345551A (en) | 2019-02-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Sun et al. | Disp r-cnn: Stereo 3d object detection via shape prior guided instance disparity estimation | |
CN107833238B (en) | Maximum Connected Domain Labeling Method, Object Tracking Method, Augmented Reality/Virtual Reality Device | |
CN108898147B (en) | Two-dimensional image edge flattening method and device based on angular point detection | |
CN109685732B (en) | High-precision depth image restoration method based on boundary capture | |
CN104123730B (en) | Remote sensing image based on roadway characteristic and laser point cloud method for registering and system | |
CN109345551B (en) | Method, system and computer storage medium for detecting concave envelope in outer contour of image | |
CN110866924A (en) | A kind of linear structured light centerline extraction method and storage medium | |
WO2020107326A1 (en) | Lane line detection method, device and computer readale storage medium | |
CN108898148B (en) | Digital image corner detection method, system and computer readable storage medium | |
CN111105452B (en) | Binocular vision-based high-low resolution fusion stereo matching method | |
CN107749987A (en) | A kind of digital video digital image stabilization method based on block motion estimation | |
CN105574894A (en) | Method and system for screening moving object feature point tracking results | |
CN103218827A (en) | Contour tracing method based on shape-transmitting united division and image-matching correction | |
CN110310305A (en) | A target tracking method and device based on BSSD detection and Kalman filter | |
CN112184804A (en) | Method and device for positioning high-density welding spots of large-volume workpiece, storage medium and terminal | |
CN114387329A (en) | Progressive regularization method of building outline based on high-resolution remote sensing images | |
CN117611525A (en) | Visual detection method and system for abrasion of pantograph slide plate | |
KR102340125B1 (en) | Apparatus for tracking feature point based on image for drone hovering and method thereof | |
CN113223074A (en) | Underwater laser stripe center extraction method | |
JP2017130067A (en) | Automatic image processing system for improving position accuracy level of satellite image and method thereof | |
CN114170596A (en) | Gesture recognition method, device, electronic device, construction machinery and storage medium | |
CN114155236A (en) | Laser stripe center line extraction method suitable for dynamic measurement environment | |
CN107909610A (en) | A kind of gray scale target perimeter evaluation method based on image grain and sub-pix border detection | |
CN107590790A (en) | A kind of unzoned lens fringe region deblurring method based on symmetrical edge filling | |
CN107369150B (en) | Method for detecting rectangular target and rectangular target detection device |
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 |