[go: up one dir, main page]

CN105740882A - Target identification method and target identification device based on multi-scale invariant description - Google Patents

Target identification method and target identification device based on multi-scale invariant description Download PDF

Info

Publication number
CN105740882A
CN105740882A CN201610041524.4A CN201610041524A CN105740882A CN 105740882 A CN105740882 A CN 105740882A CN 201610041524 A CN201610041524 A CN 201610041524A CN 105740882 A CN105740882 A CN 105740882A
Authority
CN
China
Prior art keywords
target
contour
contour point
matching
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610041524.4A
Other languages
Chinese (zh)
Inventor
杨剑宇
徐浩然
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou University
Original Assignee
Suzhou University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou University filed Critical Suzhou University
Priority to CN201610041524.4A priority Critical patent/CN105740882A/en
Publication of CN105740882A publication Critical patent/CN105740882A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/74Image or video pattern matching; Proximity measures in feature spaces
    • G06V10/75Organisation 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/752Contour matching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V2201/00Indexing scheme relating to image or video recognition or understanding
    • G06V2201/07Target detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Theoretical Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Computing Systems (AREA)
  • Databases & Information Systems (AREA)
  • Artificial Intelligence (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Image Analysis (AREA)

Abstract

The invention discloses a target identification method and a target identification device based on multi-scale invariant description. The method comprises the following steps: first, getting the shape of a to-be-identified target as a target shape, extracting a closed contour from the edge of the target shape, and getting the contour points and the coordinate of each contour point to complete extraction of the contour information of the target shape; then, calculating the parameters (namely, area parameter, arc length parameter and center of gravity parameter) of each contour point in each contour layer as a complete multi-scale invariant descriptor of the contour point to complete extraction and effective expression of the global features and local features; and finally, matching the to-be-identified target with templates based on the multi-scale invariant descriptor of each contour point in the target shape to get the optimal matching template corresponding to the to-be-identified target so as to determine the category of the to-be-identified target. Thus, extraction and effective expression of the global features and local features of the target shape are realized, and high identification efficiency and high identification accuracy are both ensured.

Description

一种基于多尺度不变量描述的目标识别方法及装置A method and device for target recognition based on multi-scale invariant description

技术领域technical field

本发明涉及目标识别技术领域,更具体地说,涉及一种基于多尺度不变量描述的目标识别方法及装置。The present invention relates to the technical field of target recognition, and more specifically, to a method and device for target recognition based on multi-scale invariant description.

背景技术Background technique

机器视觉认知一直是人们研究的热点,利用物体形状特征进行目标识别是机器视觉的主要研究课题,这项研究的最新进展主要是设计智能的形状描述符来充分提取目标形状特征用以进行更好的相似性度量,在工程中得到了广泛应用,如宽基线匹配、目标识别与分类、图像及视频的匹配与检索、机器人自动导航、场景分类、纹理识别和数据挖掘等多个领域中。Machine vision cognition has always been a research hotspot. Using object shape features for target recognition is the main research topic of machine vision. The latest progress in this research is to design intelligent shape descriptors to fully extract target shape features for more accurate A good similarity measure has been widely used in engineering, such as wide baseline matching, target recognition and classification, image and video matching and retrieval, robot automatic navigation, scene classification, texture recognition and data mining and other fields.

通常,根据特征来源把以形状描述为基础的目标识别方法分为两类:基于轮廓的方法和基于变换域的方法。其中,前者特征全部来自于目标轮廓,如Moravec、Harris角点特征、轮廓周长、紧密度、偏心率、Hausdroff距离等,具有简单但有效的特点,因此,在机器人视觉领域得到了广泛的应用。基于轮廓的方法主要通过两种方式描述目标特征:基于全局特征和基于局部特征。其中,基于全局特征能够描述目标的整体特征,对目标形状简单、局部细节较少的轮廓特别有用,但是对局部形状变化不敏感,细节区分度不高,如ShapeContexts,Inner-Distance和Multi-scaleRepresentation等,因此,识别准确率较低。而基于局部特征能够克服上述局部区分度的问题,而且即使部分目标轮廓被遮挡或发生变形,其它局部特征也能被匹配和识别,但是由于失去全局形状结构信息,识别精度仍受到影响,如ShapeTree,ClassSegmentSets,ContourFlexibility等。且上述方法计算复杂度均较高,因此,识别效率较低。Generally, object recognition methods based on shape description are divided into two categories according to the source of features: contour-based methods and transform domain-based methods. Among them, the former features all come from the target contour, such as Moravec, Harris corner feature, contour perimeter, compactness, eccentricity, Hausdroff distance, etc., which are simple but effective, so they have been widely used in the field of robot vision. . Contour-based methods mainly describe target features in two ways: based on global features and based on local features. Among them, based on global features, it can describe the overall characteristics of the target, which is especially useful for contours with simple target shapes and few local details, but it is not sensitive to local shape changes, and the detail discrimination is not high, such as ShapeContexts, Inner-Distance and Multi-scaleRepresentation etc. Therefore, the recognition accuracy is low. However, based on local features, the above-mentioned problem of local discrimination can be overcome, and even if part of the target contour is occluded or deformed, other local features can also be matched and recognized, but due to the loss of global shape structure information, the recognition accuracy is still affected, such as ShapeTree , ClassSegmentSets, ContourFlexibility, etc. Moreover, the calculation complexity of the above methods is high, so the recognition efficiency is low.

综上所述,如何提供一种能够同时保证较高的识别效率及识别准确率的的目标识别方法,是目前本领域技术人员亟待解决的问题。To sum up, how to provide an object recognition method capable of ensuring high recognition efficiency and recognition accuracy at the same time is an urgent problem to be solved by those skilled in the art.

发明内容Contents of the invention

本发明的目的是提供一种基于多尺度不变量描述的目标识别方法及装置,以同时保证较高的识别效率及识别准确率。The purpose of the present invention is to provide a target recognition method and device based on multi-scale invariant description, so as to ensure high recognition efficiency and recognition accuracy at the same time.

为了实现上述目的,本发明提供如下技术方案:In order to achieve the above object, the present invention provides the following technical solutions:

一种基于多尺度不变量描述的目标识别方法,包括:A target recognition method based on multi-scale invariant description, including:

获取待识别目标的形状作为目标形状,并由所述目标形状的边缘提取一个封闭的轮廓,获取该轮廓上的所有轮廓点及每个轮廓点的坐标;Obtaining the shape of the target to be identified as the target shape, and extracting a closed contour from the edge of the target shape, obtaining all contour points on the contour and the coordinates of each contour point;

确定轮廓的层数,并基于每个所述轮廓点的坐标计算每个所述轮廓点对应于每层的面积参数、弧长参数及重心参数,作为该轮廓点的多尺度不变量描述子;Determining the number of layers of the contour, and calculating the area parameter, arc length parameter and center of gravity parameter of each contour point corresponding to each layer based on the coordinates of each contour point, as the multi-scale invariant descriptor of the contour point;

利用每个所述轮廓点的多尺度不变量描述子,将所述待识别目标与预设模板库中的模板进行匹配,得到所述待识别目标的最佳匹配模板,并确定所述最佳匹配模板的类别为所述待识别目标的类别。Using the multi-scale invariant descriptor of each contour point, match the target to be recognized with the template in the preset template library to obtain the best matching template of the target to be recognized, and determine the best The category of the matching template is the category of the target to be identified.

优选的,由所述目标形状的边缘提取一个封闭的轮廓,包括:Preferably, a closed contour is extracted from the edge of the target shape, including:

采用Canny算子针对所述目标形状的边缘提取一个封闭的轮廓。A Canny operator is used to extract a closed contour for the edge of the target shape.

优选的,确定轮廓的层数,包括:Preferably, determining the number of layers of the outline includes:

步骤A:确定当前层为1;Step A: Determine that the current layer is 1;

步骤B:将当前层加1作为当前层,计算每个所述轮廓点对应于当前层的面积参数、弧长参数及重心参数与该轮廓点对应于当前层减1所得到的层的面积参数、弧长参数及重心参数之间的差异,并判断全部所述轮廓点对应的所述差异的和与所述轮廓点的数量的比值是否小于差异阈值,如果是,则确定当前层减1得到的层对应的层数为所述轮廓的层数,如果否,则执行步骤C;Step B: add 1 to the current layer as the current layer, calculate the area parameter, arc length parameter and center of gravity parameter corresponding to each of the contour points corresponding to the current layer and the area parameter of the layer obtained by subtracting 1 from the contour point corresponding to the current layer , the difference between the arc length parameter and the center of gravity parameter, and judge whether the ratio of the sum of the differences corresponding to all the contour points to the number of the contour points is less than the difference threshold, if so, then determine the current layer minus 1 to obtain The layer number corresponding to the layer is the layer number of the outline, if not, then perform step C;

步骤C:返回执行步骤B。Step C: Go back to step B.

优选的,计算每个所述轮廓点对应于当前层的面积参数、弧长参数及重心参数,包括:Preferably, calculating the area parameter, arc length parameter and center of gravity parameter corresponding to each of the contour points of the current layer includes:

确定任一轮廓点为目标轮廓点,以所述目标轮廓点的坐标为中心,以与所述当前层对应的半径为预设半径作圆,得到与所述当前层对应的预设圆;Determining any contour point as a target contour point, taking the coordinates of the target contour point as the center, and making a circle with a radius corresponding to the current layer as a preset radius, to obtain a preset circle corresponding to the current layer;

将所述目标形状中被所述预设圆截取的,与所述目标轮廓点具有直接连接关系的区域的面积与所述预设圆的面积的比值作为所述目标轮廓点的面积参数;Taking the ratio of the area of the area intercepted by the preset circle in the target shape and having a direct connection relationship with the target contour point to the area of the preset circle as the area parameter of the target contour point;

将所述目标形状中被所述预设圆切割出的,与所述目标轮廓点具有直接连接关系的弧段的长度与所述预设圆的周长的比值作为所述目标轮廓点的弧长参数;Taking the ratio of the length of the arc segment cut out by the preset circle in the target shape and having a direct connection relationship with the target contour point to the circumference of the preset circle as the arc of the target contour point long parameter;

确定所述目标形状中被所述预设圆截取的,与所述目标轮廓点具有直接连接关系的区域的重心与所述目标轮廓点的距离,并将该距离与所述预设半径的比值作为所述目标轮廓点的重心参数。Determining the distance between the center of gravity of the region intercepted by the preset circle in the target shape and having a direct connection relationship with the target contour point and the target contour point, and calculating the ratio of the distance to the preset radius As the center of gravity parameter of the target contour point.

优选的,确定与所述当前层对应的半径为预设半径,包括:Preferably, determining the radius corresponding to the current layer as a preset radius includes:

将所述目标形状的等效半径与2的N次方的比值作为所述当前层对应的预设半径,其中,N为所述当前层对应的层数。The ratio of the equivalent radius of the target shape to 2 to the Nth power is used as the preset radius corresponding to the current layer, where N is the number of layers corresponding to the current layer.

优选的,确定所述目标形状的等效半径,包括:Preferably, determining the equivalent radius of the target shape includes:

计算所述目标形状的面积,并对所述目标形状的面积进行开平方得到所述目标形状的等效半径。calculating the area of the target shape, and taking the square root of the area of the target shape to obtain an equivalent radius of the target shape.

优选的,利用每个所述轮廓点的多尺度不变量描述子,将所述待识别目标与预设模板库中的模板进行匹配,得到所述待识别目标的最佳匹配模板,包括:Preferably, using the multi-scale invariant descriptor of each of the contour points, the target to be identified is matched with templates in a preset template library to obtain the best matching template of the target to be identified, including:

将所述待识别目标的多尺度不变量描述子与所述模板的多尺度不变量描述子进行匹配度的计算,并确定匹配度不大于其他模板的匹配度的模板为所述最佳匹配模板。Calculating the matching degree between the multi-scale invariant descriptor of the target to be identified and the multi-scale invariant descriptor of the template, and determining the template whose matching degree is not greater than that of other templates as the best matching template .

优选的,将所述待识别目标的多尺度不变量描述子与所述模板的多尺度不变量描述子进行匹配度的计算,包括:Preferably, the calculation of the matching degree between the multi-scale invariant descriptor of the target to be identified and the multi-scale invariant descriptor of the template includes:

将所述待识别目标的轮廓点按序排列组成目标序列,将需要与所述待识别目标进行匹配的一个模板的轮廓点按序排列组成匹配序列;Arranging the contour points of the target to be identified in order to form a target sequence, and arranging the contour points of a template that needs to be matched with the target to be identified in order to form a matching sequence;

利用动态规划算法计算所述目标序列与所述匹配序列之间的匹配度,作为所述待识别目标与对应模板之间的匹配度。Using a dynamic programming algorithm to calculate the matching degree between the target sequence and the matching sequence as the matching degree between the target to be identified and the corresponding template.

优选的,利用动态规划算法计算所述目标序列与所述匹配序列之间的匹配度,包括:Preferably, using a dynamic programming algorithm to calculate the matching degree between the target sequence and the matching sequence includes:

求取每两个所述轮廓点对应的多尺度不变量描述子之间的欧氏距离,并确定该距离为两个所述轮廓点之间的匹配代价,其中,两个所述轮廓点分别包括于所述目标序列及所述匹配序列;Calculate the Euclidean distance between the multi-scale invariant descriptors corresponding to every two contour points, and determine the distance as the matching cost between the two contour points, wherein the two contour points are respectively included in said target sequence and said matching sequence;

将得到的所述匹配代价的和作为所述匹配度。The sum of the obtained matching costs is used as the matching degree.

一种基于多尺度不变量描述的目标识别装置,包括:A target recognition device based on multi-scale invariant description, comprising:

提取模块,用于获取待识别目标的形状作为目标形状,并由所述目标形状的边缘提取一个封闭的轮廓,获取该轮廓上的所有轮廓点及每个轮廓点的坐标;The extraction module is used to obtain the shape of the target to be identified as the target shape, and extract a closed contour from the edge of the target shape, and obtain all contour points on the contour and the coordinates of each contour point;

确定轮廓的层数,并基于每个所述轮廓点的坐标计算每个所述轮廓点对应于每层的面积参数、弧长参数及重心参数,作为该轮廓点的多尺度不变量描述子;Determining the number of layers of the contour, and calculating the area parameter, arc length parameter and center of gravity parameter of each contour point corresponding to each layer based on the coordinates of each contour point, as the multi-scale invariant descriptor of the contour point;

利用每个所述轮廓点的多尺度不变量描述子,将所述待识别目标与预设模板库中的模板进行匹配,得到所述待识别目标的最佳匹配模板,并确定所述最佳匹配模板的类别为所述待识别目标的类别。Using the multi-scale invariant descriptor of each contour point, match the target to be recognized with the template in the preset template library to obtain the best matching template of the target to be recognized, and determine the best The category of the matching template is the category of the target to be identified.

本发明提供的一种基于多尺度不变量描述的目标识别方法及装置,首先获得待识别目标的目标形状,进而由目标形状的边缘提取封闭的轮廓并得到所有轮廓点及每个轮廓点的坐标,以实现目标形状的轮廓信息的提取;然后计算每个轮廓点在每个轮廓的层的参数,即面积参数、弧长参数和重心参数,作为每个轮廓点完整的多尺度不变量描述子,以实现全局特征和局部特征的提取及有效表示,最后依据目标形状中每个轮廓点的多尺度不变量描述子将待识别目标与模板进行匹配,得到与待识别目标对应的最佳匹配模板,以确定待识别目标的类别。由此,在上述过程中,不仅仅关注全局特征或者局部特征,而是同时对全局特征、局部特征及全局特征和局部特征之间的关系进行考虑,多尺度、多层次、多方面地进行分析,或者说,通过上述步骤,实现了对目标形状的全局特征和局部特征的提取及有效表示,从而避免了背景技术中仅基于全局特征或局部特征造成识别准确率较低的情况;且,不同于背景技术所提供的目标识别方法的计算复杂度较高,本发明实施例在将待识别目标与模板进行匹配时所依据的多尺度不变量描述子通常维数较小,因此计算复杂度较低,实现了同时保证较高的识别效率及识别准确率。A target recognition method and device based on multi-scale invariant description provided by the present invention first obtains the target shape of the target to be recognized, then extracts the closed contour from the edge of the target shape and obtains all contour points and the coordinates of each contour point , to achieve the extraction of the contour information of the target shape; then calculate the parameters of each contour point in each contour layer, that is, the area parameter, arc length parameter and center of gravity parameter, as a complete multi-scale invariant descriptor for each contour point , in order to realize the extraction and effective representation of global features and local features, and finally match the target to be recognized with the template according to the multi-scale invariant descriptor of each contour point in the target shape, and obtain the best matching template corresponding to the target to be recognized , to determine the category of the target to be identified. Therefore, in the above process, not only focus on global features or local features, but also consider global features, local features, and the relationship between global features and local features at the same time, and conduct multi-scale, multi-level, and multi-faceted analysis , or in other words, through the above steps, the extraction and effective representation of the global and local features of the target shape are realized, thus avoiding the low recognition accuracy in the background technology based only on global or local features; and, different Due to the high computational complexity of the target recognition method provided by the background technology, the multi-scale invariant descriptor used in the embodiment of the present invention when matching the target to be recognized with the template usually has a small dimension, so the computational complexity is relatively small. Low, achieving high recognition efficiency and recognition accuracy at the same time.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only It is an embodiment of the present invention, and those skilled in the art can also obtain other drawings according to the provided drawings without creative work.

图1为本发明实施例提供的一种基于多尺度不变量描述的目标识别方法的流程图;FIG. 1 is a flow chart of an object recognition method based on multi-scale invariant description provided by an embodiment of the present invention;

图2为本发明实施例提供的一种基于多尺度不变量描述的目标识别方法中涉及的目标形状的具体例子的示意图;FIG. 2 is a schematic diagram of a specific example of the target shape involved in a target recognition method based on multi-scale invariant description provided by an embodiment of the present invention;

图3为本发明实施例提供的一种基于多尺度不变量描述的目标识别方法中确定轮廓的层数的流程图;Fig. 3 is a flow chart of determining the number of layers of a contour in an object recognition method based on multi-scale invariant description provided by an embodiment of the present invention;

图4为本发明实施例提供的一种基于多尺度不变量描述的目标识别方法中目标形状的具体示意图;FIG. 4 is a specific schematic diagram of a target shape in a target recognition method based on multi-scale invariant description provided by an embodiment of the present invention;

图5为本发明实施例提供的一种基于多尺度不变量描述的目标识别方法中目标形状被预设圆截取后的示意图;5 is a schematic diagram of a target shape intercepted by a preset circle in a target recognition method based on multi-scale invariant description provided by an embodiment of the present invention;

图6为本发明实施例提供的一种基于多尺度不变量描述的目标识别方法中目标形状被预设圆分割后的示意图;Fig. 6 is a schematic diagram of a target recognition method based on multi-scale invariant description provided by an embodiment of the present invention after the target shape is divided by a preset circle;

图7为本发明实施例提供的一种基于多尺度不变量描述的目标识别装置的结构示意图。FIG. 7 is a schematic structural diagram of an object recognition device based on multi-scale invariant description provided by an embodiment of the present invention.

具体实施方式detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

请参阅图1,为本发明实施例提供的一种基于多尺度不变量描述的目标识别方法的流程图,需要说明的是,本发明实施例提供的一种基于多尺度不变量描述的目标识别方法所能够应用的技术领域包含但不限于建筑物识别、车辆识别、手势识别及商品分类等等,具体可以包括以下步骤:Please refer to Figure 1, which is a flow chart of a target recognition method based on multi-scale invariant description provided by an embodiment of the present invention. It should be noted that the target recognition method based on multi-scale invariant description provided by an embodiment of the present invention The technical fields to which the method can be applied include but are not limited to building recognition, vehicle recognition, gesture recognition and commodity classification, etc., and may specifically include the following steps:

S1:获取待识别目标的形状作为目标形状,并由目标形状的边缘提取一个封闭的轮廓,获取该轮廓上的所有轮廓点及每个轮廓点的坐标。S1: Obtain the shape of the target to be recognized as the target shape, and extract a closed contour from the edge of the target shape, and obtain all contour points on the contour and the coordinates of each contour point.

需要说明的是,本发明涉及的目标形状均可以为具有闭合轮廓的形状,如图2所示为本发明涉及的目标形状的具体例子。另外,轮廓点的数量为轮廓上所有点的个数,其具体取值根据实际情况进行确定,以完整表示目标形状的轮廓特征为准。It should be noted that the target shapes involved in the present invention can all be shapes with closed contours, as shown in FIG. 2 , which is a specific example of the target shapes involved in the present invention. In addition, the number of contour points is the number of all points on the contour, and its specific value is determined according to the actual situation, and the contour features that completely represent the target shape shall prevail.

在数字图像中,形状的边缘可以由一系列具有坐标信息的轮廓点表示,本发明实施例中目标形状的轮廓点的集合S可以表示为:In a digital image, the edge of a shape can be represented by a series of contour points with coordinate information, and the set S of contour points of the target shape in the embodiment of the present invention can be expressed as:

S={p(i)|i∈[1,n]}S={p(i)|i∈[1,n]}

其中,n表示轮廓的长度,即轮廓点的个数;p(i)表示轮廓点的序列中的第i个轮廓点,且有:Among them, n represents the length of the contour, that is, the number of contour points; p(i) represents the i-th contour point in the sequence of contour points, and has:

p(i)={u(i),v(i)}p(i)={u(i),v(i)}

其中,u(i)、v(i)分别是p(i)的横纵坐标。Among them, u(i), v(i) are the horizontal and vertical coordinates of p(i), respectively.

S2:确定轮廓的层数,并基于每个轮廓点的坐标计算每个轮廓点对应于每层的面积参数、弧长参数及重心参数,作为该轮廓点的多尺度不变量描述子。S2: Determine the number of layers of the contour, and calculate the area parameter, arc length parameter, and center of gravity parameter of each contour point corresponding to each layer based on the coordinates of each contour point, as the multi-scale invariant descriptor of the contour point.

需要说明的是,轮廓的层数即为每个轮廓点对应的多尺度不变量描述子的层数,通过确定轮廓的层数,可以计算得到每个轮廓点在每层轮廓下的面积参数、弧长参数及重心参数,以构成每个轮廓点的完整的多尺度不变量描述子。其中,轮廓点的层数可以由工作人员根据实际需要进行确定,如可以直接设定其层数,也可以根据一定的算法得到,均在本发明的保护范围之内。It should be noted that the number of layers of the contour is the number of layers of the multi-scale invariant descriptor corresponding to each contour point. By determining the number of layers of the contour, the area parameter of each contour point under the contour of each layer can be calculated, Arc length parameters and center of gravity parameters to form a complete multi-scale invariant descriptor for each contour point. Wherein, the number of layers of contour points can be determined by the staff according to actual needs. If the number of layers can be set directly, it can also be obtained according to a certain algorithm, all of which are within the protection scope of the present invention.

S3:利用每个轮廓点的多尺度不变量描述子,将待识别目标与预设模板库中的模板进行匹配,得到待识别目标的最佳匹配模板,并确定最佳匹配模板的类别为待识别目标的类别。S3: Using the multi-scale invariant descriptor of each contour point, match the target to be recognized with the template in the preset template library, obtain the best matching template of the target to be recognized, and determine the category of the best matching template as the target to be recognized Identify the class of objects.

其中,预设模板库为由工作人员预先设置的模板库,预设模板库中的每个模板均具有对应的多尺度不变量描述子,而每个模板的多尺度不变量描述子的计算方法与待识别目标的多尺度不变量描述子的计算方法相同,在此不再赘述。通过目标形状具有的每个轮廓点的多尺度不变量描述子与每个模板的轮廓点的多尺度不变量描述子进行匹配,进而得到与待识别目标匹配的最佳匹配模板,并确定最佳匹配模板的类别为待识别目标的类别。Among them, the preset template library is a template library preset by the staff, each template in the preset template library has a corresponding multi-scale invariant descriptor, and the calculation method of the multi-scale invariant descriptor of each template The calculation method is the same as that of the multi-scale invariant descriptor of the target to be recognized, and will not be repeated here. Match the multi-scale invariant descriptor of each contour point of the target shape with the multi-scale invariant descriptor of the contour point of each template, and then obtain the best matching template matching the target to be recognized, and determine the best The category of the matching template is the category of the target to be recognized.

本发明提供的一种基于多尺度不变量描述的目标识别方法及装置,首先获得待识别目标的目标形状,进而由目标形状的边缘提取封闭的轮廓并得到所有轮廓点及每个轮廓点的坐标,以实现目标形状的轮廓信息的提取;然后计算每个轮廓点在每个轮廓的层的参数,即面积参数、弧长参数和重心参数,作为每个轮廓点完整的多尺度不变量描述子,以实现全局特征和局部特征的提取及有效表示,最后依据目标形状中每个轮廓点的多尺度不变量描述子将待识别目标与模板进行匹配,得到与待识别目标对应的最佳匹配模板,以确定待识别目标的类别。由此,在上述过程中,不仅仅关注全局特征或者局部特征,而是同时对全局特征、局部特征及全局特征和局部特征之间的关系进行考虑,多尺度、多层次、多方面地进行分析,或者说,通过上述步骤,实现了对目标形状的全局特征和局部特征的提取及有效表示,从而避免了背景技术中仅基于全局特征或局部特征造成识别准确率较低的情况;且,不同于背景技术所提供的目标识别方法的计算复杂度较高,本发明实施例在将待识别目标与模板进行匹配时所依据的多尺度不变量描述子通常维数较小,因此计算复杂度较低,实现了同时保证较高的识别效率及识别准确率。A target recognition method and device based on multi-scale invariant description provided by the present invention first obtains the target shape of the target to be recognized, then extracts the closed contour from the edge of the target shape and obtains all contour points and the coordinates of each contour point , to achieve the extraction of the contour information of the target shape; then calculate the parameters of each contour point in each contour layer, that is, the area parameter, arc length parameter and center of gravity parameter, as a complete multi-scale invariant descriptor for each contour point , in order to realize the extraction and effective representation of global features and local features, and finally match the target to be recognized with the template according to the multi-scale invariant descriptor of each contour point in the target shape, and obtain the best matching template corresponding to the target to be recognized , to determine the category of the target to be identified. Therefore, in the above process, not only focus on global features or local features, but also consider global features, local features, and the relationship between global features and local features at the same time, and conduct multi-scale, multi-level, and multi-faceted analysis , or in other words, through the above steps, the extraction and effective representation of the global and local features of the target shape are realized, thus avoiding the low recognition accuracy in the background technology based only on global or local features; and, different Due to the high computational complexity of the target recognition method provided by the background technology, the multi-scale invariant descriptor used in the embodiment of the present invention when matching the target to be recognized with the template usually has a small dimension, so the computational complexity is relatively small. Low, achieving high recognition efficiency and recognition accuracy at the same time.

另外,本发明对目标形状进行全局特征和局部特征的提取和有效表示的同时,具有尺度不变性、旋转不变性、铰接不变性、平移不变性和遮挡不变性等优良性能,并有效抑制了噪声的干扰,从而进一步提高了识别准确率和识别效率。In addition, while extracting and effectively representing global and local features of the target shape, the present invention has excellent performances such as scale invariance, rotation invariance, hinge invariance, translation invariance, and occlusion invariance, and effectively suppresses noise interference, which further improves the recognition accuracy and recognition efficiency.

本发明实施例提供的一种基于多尺度不变量描述的目标识别方法中,由目标形状的边缘提取一个封闭的轮廓,具体可以包括:In a target recognition method based on multi-scale invariant description provided by an embodiment of the present invention, a closed contour is extracted from the edge of the target shape, which may specifically include:

采用Canny算子针对目标形状的边缘提取一个封闭的轮廓。The Canny operator is used to extract a closed contour for the edge of the target shape.

需要说明的是,对于目标形状的边缘进行提取时可以按照工作人员预先确定的任何能够有效实现对于目标形状的边缘进行提取的方法,具体可以为Canny算子、Laplacian算子等,本发明实施例中,优选为Canny算子,以有效快速地实现对于目标形状的轮廓的提取。It should be noted that, when extracting the edge of the target shape, any method predetermined by the staff that can effectively realize the extraction of the edge of the target shape can be used, specifically Canny operator, Laplacian operator, etc., the embodiment of the present invention Among them, the Canny operator is preferred to effectively and quickly realize the extraction of the contour of the target shape.

本发明实施例提供的一种基于多尺度不变量描述的目标识别方法中,确定轮廓的层数,如图3所示,具体可以包括:In an object recognition method based on multi-scale invariant description provided by an embodiment of the present invention, the number of layers of the contour is determined, as shown in FIG. 3 , which may specifically include:

S21:确定当前层为1。S21: Determine that the current layer is 1.

S22:将当前层加1作为当前层,计算每个轮廓点对应于当前层的面积参数、弧长参数及重心参数与该轮廓点对应于当前层减1所得到的层的面积参数、弧长参数及重心参数之间的差异,并判断全部轮廓点对应的差异的和与轮廓点的数量的比值是否小于差异阈值,如果是,则确定当前层减1得到的层对应的层数为轮廓的层数,如果否,则执行步骤S23。S22: Add 1 to the current layer as the current layer, calculate the area parameter, arc length parameter and center of gravity parameter of each contour point corresponding to the current layer, and the area parameter and arc length of the layer obtained by subtracting 1 from the contour point corresponding to the current layer The difference between the parameter and the center of gravity parameter, and judge whether the ratio of the sum of the differences corresponding to all contour points to the number of contour points is less than the difference threshold, and if so, determine the number of layers corresponding to the layer obtained by subtracting 1 from the current layer as the contour number of layers, if not, go to step S23.

其中,差异阈值可以根据实际需要进行确定,如当前层为2时每个轮廓点对应于当前层的面积参数、弧长参数及重心参数与当前层为3时该轮廓点对应于当前层的面积参数、弧长参数及重心参数之间的差异的平均值,即全部轮廓点对应的上述差异的和与轮廓点的个数的比值小于差异阈值,则确定每个轮廓点的层数为2层。另外,平均值指的是每个轮廓点对应的差异的平均值,而任一轮廓点的差异为该轮廓点在不同层对应的面积参数、弧长参数及重心参数之间的差异。而在确定任一轮廓点在两个层分别对应的面积参数、弧长参数及重心参数之间的差异时,可以是分别计算该轮廓点在两个层分别对应的面积参数的差值,两个层分别对应的弧长参数的差值及两个层分别对应的重心参数的差值,进而根据上述三个差值及三个差值的权重计算得到最后的差异,也可以是将每个层对应的面积参数、弧长参数及重心参数构成一参数向量,进而计算两个层分别对应的参数向量之间的向量差,得到最后的差异,还可以根据实际需要按照其他方法计算上述差异,均在本发明的保护范围之内。Among them, the difference threshold can be determined according to actual needs. For example, when the current layer is 2, each contour point corresponds to the area parameter, arc length parameter, and center of gravity parameter of the current layer, and when the current layer is 3, the contour point corresponds to the area of the current layer. The average value of the difference between parameters, arc length parameters and center of gravity parameters, that is, the ratio of the sum of the above differences corresponding to all contour points to the number of contour points is less than the difference threshold, then the number of layers of each contour point is determined to be 2 layers . In addition, the average value refers to the average value of the difference corresponding to each contour point, and the difference of any contour point is the difference between the area parameter, arc length parameter and center of gravity parameter corresponding to the contour point in different layers. When determining the difference between the area parameters, arc length parameters and center-of-gravity parameters of any contour point corresponding to the two layers, the difference between the area parameters corresponding to the contour point in the two layers can be calculated respectively. The difference of the arc length parameters corresponding to each layer and the difference of the center of gravity parameters corresponding to the two layers respectively, and then calculate the final difference according to the above three differences and the weights of the three differences, or each The area parameter, arc length parameter, and center of gravity parameter corresponding to the layer constitute a parameter vector, and then calculate the vector difference between the parameter vectors corresponding to the two layers respectively, and obtain the final difference. The above difference can also be calculated according to other methods according to actual needs. All within the protection scope of the present invention.

S23:返回执行步骤S22。S23: return to step S22.

另外,需要说明的是,也可以预先计算出每个轮廓点初始的面积参数、弧长参数及重心参数,即每个轮廓点当前层为1时的初始面积参数、初始弧长参数及初始重心参数,这是因为,轮廓的层数至少为一层,因此,可以先计算出每个轮廓点的初始面积参数、初始弧长参数及初始重心参数,进而选取任一轮廓点按照上述方法计算其在当前层及当前层减一得到的层对应的上述参数之间的差异,并在该差异小于差异阈值时,确定当前层减一对应的层的层数为轮廓的层数,并在确定层数后,计算出每个轮廓点对应其它层的上述参数即可,当然,也可以根据实际需要进行其他设置,均在本发明的保护范围之内。In addition, it should be noted that the initial area parameter, arc length parameter and center of gravity parameter of each contour point can also be calculated in advance, that is, the initial area parameter, initial arc length parameter and initial center of gravity of each contour point when the current layer is 1 parameter, because the number of layers of the contour is at least one layer, therefore, the initial area parameter, initial arc length parameter and initial center of gravity parameter of each contour point can be calculated first, and then any contour point can be selected to calculate its The difference between the above parameters corresponding to the current layer and the layer obtained by subtracting one from the current layer, and when the difference is less than the difference threshold, determine the number of layers corresponding to the current layer minus one as the number of layers of the outline, and determine the layer After counting, it is enough to calculate the above-mentioned parameters corresponding to other layers for each contour point. Of course, other settings can also be made according to actual needs, all of which are within the protection scope of the present invention.

另外,计算每个轮廓点对应于当前层的面积参数、弧长参数及重心参数,具体可以包括:In addition, calculate the area parameter, arc length parameter and center of gravity parameter of each contour point corresponding to the current layer, which may specifically include:

确定任一轮廓点为目标轮廓点,以目标轮廓点的坐标为中心,以与当前层对应的半径为预设半径作圆,得到与当前层对应的预设圆;Determine any contour point as the target contour point, take the coordinates of the target contour point as the center, and make a circle with the radius corresponding to the current layer as the preset radius to obtain the preset circle corresponding to the current layer;

将目标形状中被预设圆截取的,与目标轮廓点具有直接连接关系的区域的面积与预设圆的面积的比值作为目标轮廓点的面积参数,面积参数的取值范围应当在0到1之间;The ratio of the area of the area intercepted by the preset circle in the target shape and the area directly connected with the target contour point to the area of the preset circle is used as the area parameter of the target contour point. The value range of the area parameter should be between 0 and 1 between;

将目标形状中被预设圆切割出的,与目标轮廓点具有直接连接关系的弧段的长度与预设圆的周长的比值作为目标轮廓点的弧长参数,弧长参数的取值范围应当在0到1之间;The ratio of the length of the arc segment cut out by the preset circle in the target shape and having a direct connection relationship with the target contour point to the circumference of the preset circle is used as the arc length parameter of the target contour point, and the value range of the arc length parameter Should be between 0 and 1;

确定目标形状中被预设圆截取的,与目标轮廓点具有直接连接关系的区域的重心与目标轮廓点的距离,并将该距离与预设半径的比值作为目标轮廓点的重心参数,重心参数的取值范围应当在0到1之间。Determine the distance between the center of gravity and the target contour point of the area intercepted by the preset circle in the target shape that has a direct connection relationship with the target contour point, and use the ratio of the distance to the preset radius as the center of gravity parameter of the target contour point, and the center of gravity parameter The value range of should be between 0 and 1.

其中,需要说明的是,预设半径为与当前层对应的半径,即不同的层对应不同的预设半径。且,对于每个轮廓点,均需要按照上述步骤得到其对应于每层的面积参数、弧长参数及重心参数,在此不再赘述。Wherein, it should be noted that the preset radius is the radius corresponding to the current layer, that is, different layers correspond to different preset radii. Moreover, for each contour point, it is necessary to obtain its area parameter, arc length parameter and center-of-gravity parameter corresponding to each layer according to the above steps, which will not be repeated here.

依据上述步骤得到预设圆C1(i)后,目标形状必然有一部分落在该预设圆内,假设图4所示为目标形状,则预设圆与目标形状的示意图则如图5所示。如果目标形状落在预设圆内的部分为一单独区域,则该单独区域即为与目标轮廓点具有直接连接关系的区域,记为Z1(i);如果目标形状落在预设圆内的部分分为若干个互不连通的区域的话,如图5所示的区域A和区域B,那么确定目标轮廓点在其轮廓上的区域为与目标轮廓点具有直接连接关系的区域,记为Z1(i)。具体来说,将预设圆C1(i)中的与目标轮廓点p(i)具有直接连接关系的区域Z1(i)的面积记为则有:After the preset circle C 1 (i) is obtained according to the above steps, part of the target shape must fall within the preset circle. Assuming that the target shape is shown in Figure 4, the schematic diagram of the preset circle and the target shape is shown in Figure 5 Show. If the part of the target shape falling within the preset circle is a separate area, then this separate area is the area that has a direct connection relationship with the target contour point, denoted as Z 1 (i); if the target shape falls within the preset circle If the part of the target contour point is divided into several disconnected regions, such as region A and region B shown in Figure 5, then the region of the target contour point on its contour is determined to be the region that has a direct connection relationship with the target contour point, denoted as Z 1 (i). Specifically, the area of the area Z 1 (i) in the preset circle C 1 (i) that is directly connected to the target contour point p(i) is recorded as Then there are:

sthe s 11 ** (( ii )) == ∫∫ CC 11 (( ii )) BB (( ZZ 11 (( ii )) ,, xx )) dd xx

其中,B(Z1(i),x)为一指示函数,定义为Among them, B(Z 1 (i),x) is an indicator function defined as

将Z1(i)的面积与预设圆C1(i)面积的比值作为目标轮廓点的多尺度不变量描述子的面积参数s1(i),即:Take the ratio of the area of Z 1 (i) to the area of the preset circle C 1 (i) as the area parameter s 1 (i) of the multi-scale invariant descriptor of the target contour point, namely:

sthe s 11 (( ii )) == sthe s 11 ** (( ii )) (( πrπr 11 22 ))

s1(i)的取值范围应当在0到1之间。The value range of s 1 (i) should be between 0 and 1.

计算与目标轮廓点具有直接连接关系的区域的重心时,具体可以为将该区域中所有像素点的坐标值求取平均数,所得结果即为该区域的重心的坐标值,可以表示为:When calculating the center of gravity of an area that is directly connected to the target contour point, the average of the coordinate values of all pixel points in the area can be calculated, and the result is the coordinate value of the center of gravity of the area, which can be expressed as:

ww 11 (( ii )) == ∫∫ CC 11 (( ii )) BB (( ZZ 11 (( ii )) ,, xx )) xx dd xx ∫∫ CC 11 (( ii )) BB (( ZZ 11 (( ii )) ,, xx )) dd xx

其中,w1(i)即为上述区域的重心。Wherein, w 1 (i) is the center of gravity of the above region.

而计算目标轮廓点与重心w1(i)的距离可以表示为:And calculate the distance between the target contour point and the center of gravity w 1 (i) It can be expressed as:

cc 11 ** (( ii )) == || || pp (( ii )) -- ww 11 (( ii )) || ||

并将与目标轮廓点的预设圆的半径的比值作为该目标轮廓点多尺度不变量描述子的重心参数c1(i),即and will The ratio of the radius of the preset circle to the target contour point is used as the barycenter parameter c 1 (i) of the multi-scale invariant descriptor of the target contour point, namely

cc 11 (( ii )) == cc 11 ** (( ii )) rr 11

c1(i)的取值范围应当在0到1之间。The value range of c 1 (i) should be between 0 and 1.

依据上述步骤得到预设圆后,目标形状的轮廓被预设圆切割后必然会有一段或者多段弧段落在预设圆内,如图6所示。如果目标形状只有一段弧段落在预设圆内,则确定该弧段为与目标轮廓点具有直接连接关系的弧段,如果目标形状有多段弧段落在预设圆内,如图6中的弧段A(SegmentA)、弧段B(SegmentB)、弧段C(SegmentC),则确定目标轮廓点所在的弧段为与目标轮廓点具有直接连接关系的弧段,在图6中即为弧段A(SegmentA)。After the preset circle is obtained according to the above steps, after the contour of the target shape is cut by the preset circle, there must be one or more arc segments within the preset circle, as shown in FIG. 6 . If the target shape has only one arc segment within the preset circle, then it is determined that the arc segment is an arc segment that has a direct connection relationship with the target contour point. If the target shape has multiple arc segments within the preset circle, as shown in Figure 6 Segment A (SegmentA), arc segment B (SegmentB), arc segment C (SegmentC), then determine that the arc segment where the target contour point is located is an arc segment that has a direct connection relationship with the target contour point, which is the arc segment in Figure 6 A (SegmentA).

将预设圆C1(i)内与目标轮廓点p(i)具有直接连接关系的弧段的长度记为并将与预设圆C1(i)周长的比值作为目标轮廓点的多尺度不变量描述子的弧长参数l1(i),即The length of the arc segment directly connected with the target contour point p(i) in the preset circle C 1 (i) is recorded as and will The ratio of the circumference of the preset circle C 1 (i) is used as the arc length parameter l 1 (i) of the multi-scale invariant descriptor of the target contour point, namely

ll 11 (( ii )) == ll 11 ** (( ii )) (( 22 πrπr 11 ))

其中,l1(i)的取值范围应当在0到1之间。Wherein, the value range of l 1 (i) should be between 0 and 1.

从而可以通过上述方式得到目标轮廓点及其他全部轮廓点的多尺度不变量描述子,表示为M(i):Therefore, the multi-scale invariant descriptors of the target contour point and all other contour points can be obtained by the above method, expressed as M(i):

M(i)={sk(i),lk(i),ck(i)|k∈[1,m],i∈[1,n]}M(i)={s k (i),l k (i),c k (i)|k∈[1,m],i∈[1,n]}

本发明实施例提供的一种基于多尺度不变量描述的目标识别方法中,确定与当前层对应的半径为预设半径,具体可以包括:In a target recognition method based on multi-scale invariant description provided by an embodiment of the present invention, determining the radius corresponding to the current layer as the preset radius may specifically include:

将目标形状的等效半径与2的N次方的比值作为当前层对应的预设半径,其中,N为当前层对应的层数。The ratio of the equivalent radius of the target shape to 2 to the Nth power is taken as the preset radius corresponding to the current layer, where N is the number of layers corresponding to the current layer.

具体可以表示为:以p(i)为圆心,以r1为预设半径做圆得到预设圆C1(i),该预设圆是为计算对应轮廓点的多尺度不变量描述子所做的准备工作。Specifically, it can be expressed as: taking p(i) as the center and r 1 as the preset radius to make a circle to obtain the preset circle C 1 (i), which is used to calculate the multi-scale invariant descriptor of the corresponding contour point Do the preparation work.

而预设半径r1的具体表示方式可以为:The specific representation of the preset radius r 1 can be:

rr 11 == RR 22 NN

其中,R为目标形状的等效半径,N为当前层对应的层数。计算第一层对应的预设半径r1时,此公式中N取1;而计算其他层对应的预设半径时,N为对应的层数。Among them, R is the equivalent radius of the target shape, and N is the number of layers corresponding to the current layer. When calculating the preset radius r 1 corresponding to the first layer, N in this formula is taken as 1; when calculating the preset radius corresponding to other layers, N is the corresponding number of layers.

另外,确定目标形状的等效半径,具体可以包括:In addition, determine the equivalent radius of the target shape, which may specifically include:

计算目标形状的面积,并对目标形状的面积进行开平方得到目标形状的等效半径。Calculate the area of the target shape, and take the square root of the area of the target shape to obtain the equivalent radius of the target shape.

当然,上述预设半径及等效半径的具体计算方法也可以由工作人员根据实际需要进行其他设定,均在本发明的保护范围之内。Of course, the specific calculation methods of the preset radius and the equivalent radius mentioned above can also be set by the staff according to actual needs, all of which are within the protection scope of the present invention.

具体可以表示为:Specifically, it can be expressed as:

RR == areaarea SS

其中,areaS为目标形状的面积,R为目标形状的等效半径。Among them, area S is the area of the target shape, and R is the equivalent radius of the target shape.

本发明实施例提供的一种基于多尺度不变量描述的目标识别方法中,利用每个轮廓点的多尺度不变量描述子,将待识别目标与预设模板库中的模板进行匹配,得到待识别目标的最佳匹配模板,可以包括:In the object recognition method based on multi-scale invariant description provided by the embodiment of the present invention, the multi-scale invariant descriptor of each contour point is used to match the target to be recognized with the template in the preset template library, and the target to be recognized is obtained. Identify the best matching template for the target, which can include:

将待识别目标的多尺度不变量描述子与模板的多尺度不变量描述子进行匹配度的计算,并确定匹配度不大于其他模板的匹配度的模板为最佳匹配模板。Calculate the matching degree between the multi-scale invariant descriptor of the target to be recognized and the multi-scale invariant descriptor of the template, and determine that the template whose matching degree is not greater than that of other templates is the best matching template.

其中,匹配度越小,说明待识别目标形状与对应模板的形状越相似,因此,确定匹配度不大于其他模板的匹配度的模板为最佳匹配模板。而匹配度不大于其他模板的匹配度的模板具体可以为:如果模板中存在匹配度最小的一个模板,则确定该模板为最佳匹配模板,如果模板中存在匹配度最小且相等的多个模板,则确定其中一个模板为最佳匹配模板。Among them, the smaller the matching degree, the more similar the shape of the object to be recognized is to the shape of the corresponding template. Therefore, it is determined that the template whose matching degree is not greater than that of other templates is the best matching template. And the template whose matching degree is not greater than the matching degree of other templates can be specifically: if there is a template with the smallest matching degree in the template, then determine that the template is the best matching template, if there are multiple templates with the smallest matching degree and equal in the template , then determine one of the templates as the best matching template.

具体来说,将待识别目标的多尺度不变量描述子与模板的多尺度不变量描述子进行匹配度的计算,可以包括:Specifically, the calculation of the matching degree between the multi-scale invariant descriptor of the target to be identified and the multi-scale invariant descriptor of the template may include:

将待识别目标的轮廓点按序排列组成目标序列,将需要与待识别目标进行匹配的一个模板的轮廓点按序排列组成匹配序列;Arranging the contour points of the target to be identified in order to form a target sequence, and arranging the contour points of a template that needs to be matched with the target to be identified in order to form a matching sequence;

利用动态规划算法计算目标序列与匹配序列之间的匹配度,作为待识别目标与对应模板之间的匹配度。A dynamic programming algorithm is used to calculate the matching degree between the target sequence and the matching sequence as the matching degree between the target to be identified and the corresponding template.

当然,也可以根据实际需要由工作人员预先设置其他的算法计算上述匹配度,均在本发明的保护范围之内。Of course, other algorithms can also be pre-set by the staff to calculate the above-mentioned matching degree according to actual needs, all of which are within the protection scope of the present invention.

其中,利用动态规划算法计算目标序列与匹配序列之间的匹配度,可以包括:Wherein, using the dynamic programming algorithm to calculate the matching degree between the target sequence and the matching sequence may include:

求取每两个轮廓点对应的多尺度不变量描述子之间的欧氏距离,并确定该距离为两个轮廓点之间的匹配代价,其中,两个轮廓点分别包括于目标序列及匹配序列;Find the Euclidean distance between the multi-scale invariant descriptors corresponding to every two contour points, and determine the distance as the matching cost between the two contour points, where the two contour points are included in the target sequence and the matching sequence;

将得到的匹配代价的和作为匹配度。The sum of the obtained matching costs is taken as the matching degree.

具体来说,上述求取待识别目标与对应模板之间的匹配度,可以包括:Specifically, the above calculation of the matching degree between the target to be identified and the corresponding template may include:

将分别属于目标序列及匹配序列的轮廓点按照预设规则进行两两匹配,并求得每对配对的轮廓点之间的匹配代价,即每次进行配对的两个轮廓点中一个属于目标序列,另一个属于匹配序列。其中,预设规则可以由工作人员根据实际需要进行确定,具体可以为:The contour points belonging to the target sequence and the matching sequence are pairwise matched according to the preset rules, and the matching cost between each pair of contour points is obtained, that is, one of the two contour points paired each time belongs to the target sequence , and the other belongs to the matching sequence. Among them, the preset rules can be determined by the staff according to actual needs, which can be as follows:

1、进行配对的两个轮廓点必须属于两条不同的点序列,即分别属于目标序列及匹配序列;1. The two contour points for pairing must belong to two different point sequences, that is, the target sequence and the matching sequence respectively;

2、参与过配对的轮廓点不能再次参与配对;2. Contour points that have participated in the matching cannot participate in the matching again;

3、当轮廓点的数量较少的那条点序列中的轮廓点全部具有匹配的轮廓点的时侯,匹配过程结束。3. When all the contour points in the point sequence with a small number of contour points have matching contour points, the matching process ends.

将此次匹配中每对配对的两个轮廓点的匹配代价相加即为该种匹配方式对应的匹配代价。多次重复上述轮廓点的匹配过程,则可以得到多种匹配方式,计算所有可能的匹配方式的匹配代价,其中最小的匹配代价就作为这两条点序列,即目标序列和匹配序列所对应的匹配度。Adding the matching cost of each pair of two contour points in this matching is the matching cost corresponding to this matching method. By repeating the matching process of the above contour points multiple times, multiple matching methods can be obtained, and the matching costs of all possible matching methods are calculated, and the minimum matching cost is used as the two point sequences, that is, the target sequence and the matching sequence corresponding to suitability.

具体来说,目标序列可以表示为A={p1,p2,...,pm},匹配序列可以表示为B={q1,q2,...,qn},不失一般性的,可以假设m≥n。则计算属于不同点序列中的两个轮廓点pi和qj的多尺度不变量描述子之间的欧氏距离,所得值作为这两个轮廓点的匹配代价d(pi,qj),即:Specifically, the target sequence can be expressed as A={p 1 ,p 2 ,...,p m }, and the matching sequence can be expressed as B={q 1 ,q 2 ,...,q n }, without losing In general, it can be assumed that m≥n. Then calculate the Euclidean distance between the multi-scale invariant descriptors of two contour points p i and q j belonging to different point sequences, and the obtained value is used as the matching cost d(p i , q j ) of these two contour points ,which is:

dd (( pp ii ,, qq jj )) == (( sthe s kk pp (( ii )) -- sthe s kk qq (( jj )) )) 22 ++ (( ll kk pp (( ii )) -- ll kk qq (( jj )) )) 22 ++ (( cc kk pp (( ii )) -- cc kk qq (( jj )) )) 22 ,, kk ∈∈ [[ 11 ,, mm ]]

则代表所有可能的轮廓点两两匹配产生的匹配代价矩阵D为:Then the matching cost matrix D generated by pairwise matching of all possible contour points is:

最后,将按照上述原则进行匹配后对应的匹配方法记为π,则匹配方法π对应的匹配代价fA,B(π)为此次匹配中每对配对的两个轮廓点的匹配代价相加的和,即:Finally, record the corresponding matching method after matching according to the above principles as π, then the matching cost f A, B (π) corresponding to the matching method π is the sum of the matching costs of each pair of two contour points in this matching and that is:

ff AA ,, BB (( ππ )) == ΣΣ ii == 11 mm dd (( pp ii ,, qq ππ (( ii )) ))

利用动态规划算法计算出使得匹配代价fA,B(π)最小的匹配方法π,作为目标序列和匹配序列之间的匹配度sim(A,B),即Use the dynamic programming algorithm to calculate the matching method π that makes the matching cost f A,B (π) the smallest, as the matching degree sim(A,B) between the target sequence and the matching sequence, that is

sim(A,B)=minfA,B(π)sim(A,B)=minf A,B (π)

需要说明的是,本发明实施例所提供的一种基于多尺度不变量描述的目标识别方法的功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算设备可读取存储介质中。基于这样的理解,本发明实施例对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一台计算设备(可以是个人计算机,服务器,移动计算设备或者网络设备等)执行本发明各个实施例方法的全部或部分步骤。而前述的存储介质可以包括:U盘、移动硬盘、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,RandomAccessMemory)、磁碟或者光盘等各种可以存储程序代码的介质。It should be noted that if the functions of the target recognition method based on multi-scale invariant description provided by the embodiment of the present invention are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computing device readable storage medium. Based on this understanding, the part of the embodiment of the present invention that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions to make a A computing device (which may be a personal computer, a server, a mobile computing device or a network device, etc.) executes all or part of the steps of the methods in various embodiments of the present invention. The aforementioned storage medium may include various media capable of storing program codes such as U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk.

具体来说,与上述方法实施例相对应,本发明实施例还提供了一种基于多尺度不变量描述的目标识别装置,如图7所示,可以包括:Specifically, corresponding to the above-mentioned method embodiment, the embodiment of the present invention also provides a target recognition device based on multi-scale invariant description, as shown in FIG. 7 , which may include:

提取模块1,用于获取待识别目标的形状作为目标形状,并由目标形状的边缘提取一个封闭的轮廓,获取该轮廓上的所有轮廓点及每个轮廓点的坐标;The extraction module 1 is used to obtain the shape of the target to be recognized as the target shape, and extract a closed contour from the edge of the target shape, and obtain all contour points on the contour and the coordinates of each contour point;

计算模块2,用于确定轮廓的层数,并基于每个轮廓点的坐标计算每个轮廓点对应于每层的面积参数、弧长参数及重心参数,作为该轮廓点的多尺度不变量描述子;Calculation module 2, used to determine the number of layers of the contour, and calculate the area parameter, arc length parameter and center of gravity parameter of each contour point corresponding to each layer based on the coordinates of each contour point, as the multi-scale invariant description of the contour point son;

匹配模块3,用于利用每个轮廓点的多尺度不变量描述子,将待识别目标与预设模板库中的模板进行匹配,得到待识别目标的最佳匹配模板,并确定最佳匹配模板的类别为待识别目标的类别。The matching module 3 is used to use the multi-scale invariant descriptor of each contour point to match the target to be recognized with the template in the preset template library, obtain the best matching template of the target to be recognized, and determine the best matching template The category of is the category of the target to be recognized.

本发明实施例提供的一种基于多尺度不变量描述的目标识别装置中,提取模块可以包括:In an object recognition device based on multi-scale invariant description provided by an embodiment of the present invention, the extraction module may include:

提取单元,用于采用Canny算子针对目标形状的边缘提取一个封闭的轮廓。The extracting unit is used for extracting a closed contour aiming at the edge of the target shape by using the Canny operator.

本发明实施例提供的一种基于多尺度不变量描述的目标识别装置中,计算模块可以包括:In an object recognition device based on multi-scale invariant description provided by an embodiment of the present invention, the calculation module may include:

确定单元,用于执行以下步骤:Determine the unit to perform the following steps:

步骤A:确定当前层为1;Step A: Determine that the current layer is 1;

步骤B:将当前层加1作为当前层,计算每个轮廓点对应于当前层的面积参数、弧长参数及重心参数与该轮廓点对应于当前层减1所得到的层的面积参数、弧长参数及重心参数之间的差异,并判断全部轮廓点对应的差异的和与轮廓点的数量的比值是否小于差异阈值,如果是,则确定当前层减1得到的层对应的层数为轮廓的层数,如果否,则执行步骤C;Step B: Add 1 to the current layer as the current layer, calculate the area parameter, arc length parameter and center of gravity parameter of each contour point corresponding to the current layer, and the area parameter and arc of the layer obtained by subtracting 1 from the contour point corresponding to the current layer The difference between the length parameter and the center of gravity parameter, and determine whether the ratio of the sum of the differences corresponding to all contour points to the number of contour points is less than the difference threshold, and if so, determine the number of layers corresponding to the layer obtained by subtracting 1 from the current layer as the contour The number of layers, if not, go to step C;

步骤C:返回执行步骤B。Step C: Go back to step B.

本发明实施例提供的一种基于多尺度不变量描述的目标识别装置中,计算模块可以包括:In an object recognition device based on multi-scale invariant description provided by an embodiment of the present invention, the calculation module may include:

计算单元,用于:确定任一轮廓点为目标轮廓点,以目标轮廓点的坐标为中心,以与当前层对应的半径为预设半径作圆,得到与当前层对应的预设圆;将目标形状中被预设圆截取的,与目标轮廓点具有直接连接关系的区域的面积与预设圆的面积的比值作为目标轮廓点的面积参数;将目标形状中被预设圆切割出的,与目标轮廓点具有直接连接关系的弧段的长度与预设圆的周长的比值作为目标轮廓点的弧长参数;确定目标形状中被预设圆截取的,与目标轮廓点具有直接连接关系的区域的重心与目标轮廓点的距离,并将该距离与预设半径的比值作为目标轮廓点的重心参数。The calculation unit is used to: determine any contour point as the target contour point, take the coordinates of the target contour point as the center, and take the radius corresponding to the current layer as the preset radius to make a circle to obtain the preset circle corresponding to the current layer; The ratio of the area of the area that is intercepted by the preset circle in the target shape and has a direct connection relationship with the target contour point to the area of the preset circle is used as the area parameter of the target contour point; the target shape is cut out by the preset circle, The ratio of the length of the arc segment that has a direct connection relationship with the target contour point to the circumference of the preset circle is used as the arc length parameter of the target contour point; if the target shape is intercepted by the preset circle, it has a direct connection relationship with the target contour point The distance between the center of gravity of the region and the target contour point, and the ratio of the distance to the preset radius is used as the center of gravity parameter of the target contour point.

本发明实施例提供的一种基于多尺度不变量描述的目标识别装置中,计算单元可以包括:In an object recognition device based on multi-scale invariant description provided by an embodiment of the present invention, the calculation unit may include:

半径确定单元,用于将目标形状的等效半径与2的N次方的比值作为当前层对应的预设半径,其中,N为当前层对应的层数。The radius determination unit is configured to use the ratio of the equivalent radius of the target shape to 2 to the Nth power as the preset radius corresponding to the current layer, where N is the number of layers corresponding to the current layer.

本发明实施例提供的一种基于多尺度不变量描述的目标识别装置中,半径确定单元可以包括:In an object recognition device based on multi-scale invariant description provided by an embodiment of the present invention, the radius determining unit may include:

半径确定子单元,用于计算目标形状的面积,并对目标形状的面积进行开平方得到目标形状的等效半径。The radius determining subunit is used for calculating the area of the target shape, and taking the square root of the area of the target shape to obtain the equivalent radius of the target shape.

本发明实施例提供的一种基于多尺度不变量描述的目标识别装置中,匹配模块可以包括:In an object recognition device based on multi-scale invariant description provided by an embodiment of the present invention, the matching module may include:

匹配单元,用于将待识别目标的多尺度不变量描述子与模板的多尺度不变量描述子进行匹配度的计算,并确定匹配度不大于其他模板的匹配度的模板为最佳匹配模板。The matching unit is used to calculate the matching degree between the multi-scale invariant descriptor of the target to be identified and the multi-scale invariant descriptor of the template, and determine that the template whose matching degree is not greater than that of other templates is the best matching template.

本发明实施例提供的一种基于多尺度不变量描述的目标识别装置中,匹配单元可以包括:In an object recognition device based on multi-scale invariant description provided by an embodiment of the present invention, the matching unit may include:

匹配子单元,用于:将待识别目标的轮廓点按序排列组成目标序列,将需要与待识别目标进行匹配的一个模板的轮廓点按序排列组成匹配序列;利用动态规划算法计算目标序列与匹配序列之间的匹配度,作为待识别目标与对应模板之间的匹配度。The matching subunit is used to: arrange the contour points of the target to be identified in order to form a target sequence, arrange the contour points of a template that needs to be matched with the target to be identified in order to form a matching sequence; use a dynamic programming algorithm to calculate the target sequence and The matching degree between matching sequences is used as the matching degree between the target to be identified and the corresponding template.

本发明实施例提供的一种基于多尺度不变量描述的目标识别装置中,匹配子单元可以包括:In an object recognition device based on multi-scale invariant description provided by an embodiment of the present invention, the matching subunit may include:

求取单元,用于:求取每两个轮廓点对应的多尺度不变量描述子之间的欧氏距离,并确定该距离为两个轮廓点之间的匹配代价,其中,两个轮廓点分别包括于目标序列及匹配序列;将得到的匹配代价的和作为匹配度。The obtaining unit is used to: obtain the Euclidean distance between the multi-scale invariant descriptors corresponding to every two contour points, and determine the distance as the matching cost between the two contour points, wherein the two contour points Included in the target sequence and the matching sequence respectively; the sum of the obtained matching costs is taken as the matching degree.

本发明实施例提供的一种基于多尺度不变量描述的目标识别装置中相关部分的说明请参见本发明实施例提供的一种基于多尺度不变量描述的目标识别方法中对应部分的详细说明,在此不再赘述。For the description of the relevant parts of the target recognition device based on the multi-scale invariant description provided by the embodiment of the present invention, please refer to the detailed description of the corresponding part in the target recognition method based on the multi-scale invariant description provided by the embodiment of the present invention. I won't repeat them here.

另外,本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同或相似部分互相参见即可。In addition, each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same or similar parts of each embodiment can be referred to each other.

对所公开的实施例的上述说明,使本领域技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention will not be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1.一种基于多尺度不变量描述的目标识别方法,其特征在于,包括:1. A target recognition method described based on multi-scale invariants, characterized in that, comprising: 获取待识别目标的形状作为目标形状,并由所述目标形状的边缘提取一个封闭的轮廓,获取该轮廓上的所有轮廓点及每个轮廓点的坐标;Obtaining the shape of the target to be identified as the target shape, and extracting a closed contour from the edge of the target shape, obtaining all contour points on the contour and the coordinates of each contour point; 确定轮廓的层数,并基于每个所述轮廓点的坐标计算每个所述轮廓点对应于每层的面积参数、弧长参数及重心参数,作为该轮廓点的多尺度不变量描述子;Determining the number of layers of the contour, and calculating the area parameter, arc length parameter and center of gravity parameter of each contour point corresponding to each layer based on the coordinates of each contour point, as the multi-scale invariant descriptor of the contour point; 利用每个所述轮廓点的多尺度不变量描述子,将所述待识别目标与预设模板库中的模板进行匹配,得到所述待识别目标的最佳匹配模板,并确定所述最佳匹配模板的类别为所述待识别目标的类别。Using the multi-scale invariant descriptor of each contour point, match the target to be recognized with the template in the preset template library to obtain the best matching template of the target to be recognized, and determine the best The category of the matching template is the category of the target to be identified. 2.根据权利要求1所述的方法,其特征在于,由所述目标形状的边缘提取一个封闭的轮廓,包括:2. method according to claim 1, is characterized in that, extracts a closed contour by the edge of described target shape, comprises: 采用Canny算子针对所述目标形状的边缘提取一个封闭的轮廓。A Canny operator is used to extract a closed contour for the edge of the target shape. 3.根据权利要求1所述的方法,其特征在于,确定轮廓的层数,包括:3. The method according to claim 1, wherein determining the number of layers of the outline comprises: 步骤A:确定当前层为1;Step A: Determine that the current layer is 1; 步骤B:将当前层加1作为当前层,计算每个所述轮廓点对应于当前层的面积参数、弧长参数及重心参数与该轮廓点对应于当前层减1所得到的层的面积参数、弧长参数及重心参数之间的差异,并判断全部所述轮廓点对应的所述差异的和与所述轮廓点的数量的比值是否小于差异阈值,如果是,则确定当前层减1得到的层对应的层数为所述轮廓的层数,如果否,则执行步骤C;Step B: add 1 to the current layer as the current layer, calculate the area parameter, arc length parameter and center of gravity parameter corresponding to each of the contour points corresponding to the current layer and the area parameter of the layer obtained by subtracting 1 from the contour point corresponding to the current layer , the difference between the arc length parameter and the center of gravity parameter, and judge whether the ratio of the sum of the differences corresponding to all the contour points to the number of the contour points is less than the difference threshold, if so, then determine the current layer minus 1 to obtain The layer number corresponding to the layer is the layer number of the outline, if not, then perform step C; 步骤C:返回执行步骤B。Step C: Go back to step B. 4.根据权利要求3所述的方法,其特征在于,计算每个所述轮廓点对应于当前层的面积参数、弧长参数及重心参数,包括:4. The method according to claim 3, wherein calculating each of the contour points corresponding to the area parameter, arc length parameter and center of gravity parameter of the current layer comprises: 确定任一轮廓点为目标轮廓点,以所述目标轮廓点的坐标为中心,以与所述当前层对应的半径为预设半径作圆,得到与所述当前层对应的预设圆;Determining any contour point as a target contour point, taking the coordinates of the target contour point as the center, and making a circle with a radius corresponding to the current layer as a preset radius, to obtain a preset circle corresponding to the current layer; 将所述目标形状中被所述预设圆截取的,与所述目标轮廓点具有直接连接关系的区域的面积与所述预设圆的面积的比值作为所述目标轮廓点的面积参数;Taking the ratio of the area of the area intercepted by the preset circle in the target shape and having a direct connection relationship with the target contour point to the area of the preset circle as the area parameter of the target contour point; 将所述目标形状中被所述预设圆切割出的,与所述目标轮廓点具有直接连接关系的弧段的长度与所述预设圆的周长的比值作为所述目标轮廓点的弧长参数;Taking the ratio of the length of the arc segment cut out by the preset circle in the target shape and having a direct connection relationship with the target contour point to the circumference of the preset circle as the arc of the target contour point long parameter; 确定所述目标形状中被所述预设圆截取的,与所述目标轮廓点具有直接连接关系的区域的重心与所述目标轮廓点的距离,并将该距离与所述预设半径的比值作为所述目标轮廓点的重心参数。Determining the distance between the center of gravity of the region intercepted by the preset circle in the target shape and having a direct connection relationship with the target contour point and the target contour point, and calculating the ratio of the distance to the preset radius As the center of gravity parameter of the target contour point. 5.根据权利要求4所述的方法,其特征在于,确定与所述当前层对应的半径为预设半径,包括:5. The method according to claim 4, wherein determining that the radius corresponding to the current layer is a preset radius comprises: 将所述目标形状的等效半径与2的N次方的比值作为所述当前层对应的预设半径,其中,N为所述当前层对应的层数。The ratio of the equivalent radius of the target shape to 2 to the Nth power is used as the preset radius corresponding to the current layer, where N is the number of layers corresponding to the current layer. 6.根据权利要求5所述的方法,其特征在于,确定所述目标形状的等效半径,包括:6. The method according to claim 5, wherein determining the equivalent radius of the target shape comprises: 计算所述目标形状的面积,并对所述目标形状的面积进行开平方得到所述目标形状的等效半径。calculating the area of the target shape, and taking the square root of the area of the target shape to obtain an equivalent radius of the target shape. 7.根据权利要求1所述的方法,其特征在于,利用每个所述轮廓点的多尺度不变量描述子,将所述待识别目标与预设模板库中的模板进行匹配,得到所述待识别目标的最佳匹配模板,包括:7. The method according to claim 1, characterized in that, using the multi-scale invariant descriptor of each of the contour points, the target to be identified is matched with a template in a preset template library to obtain the The best matching template for the target to be identified, including: 将所述待识别目标的多尺度不变量描述子与所述模板的多尺度不变量描述子进行匹配度的计算,并确定匹配度不大于其他模板的匹配度的模板为所述最佳匹配模板。Calculating the matching degree between the multi-scale invariant descriptor of the target to be identified and the multi-scale invariant descriptor of the template, and determining the template whose matching degree is not greater than that of other templates as the best matching template . 8.根据权利要求7所述的方法,其特征在于,将所述待识别目标的多尺度不变量描述子与所述模板的多尺度不变量描述子进行匹配度的计算,包括:8. The method according to claim 7, wherein the calculation of the matching degree between the multi-scale invariant descriptor of the target to be identified and the multi-scale invariant descriptor of the template comprises: 将所述待识别目标的轮廓点按序排列组成目标序列,将需要与所述待识别目标进行匹配的一个模板的轮廓点按序排列组成匹配序列;Arranging the contour points of the target to be identified in order to form a target sequence, and arranging the contour points of a template that needs to be matched with the target to be identified in order to form a matching sequence; 利用动态规划算法计算所述目标序列与所述匹配序列之间的匹配度,作为所述待识别目标与对应模板之间的匹配度。Using a dynamic programming algorithm to calculate the matching degree between the target sequence and the matching sequence as the matching degree between the target to be identified and the corresponding template. 9.根据权利要求8所述的方法,其特征在于,利用动态规划算法计算所述目标序列与所述匹配序列之间的匹配度,包括:9. The method according to claim 8, wherein the matching degree between the target sequence and the matching sequence is calculated using a dynamic programming algorithm, comprising: 求取每两个所述轮廓点对应的多尺度不变量描述子之间的欧氏距离,并确定该距离为两个所述轮廓点之间的匹配代价,其中,两个所述轮廓点分别包括于所述目标序列及所述匹配序列;Calculate the Euclidean distance between the multi-scale invariant descriptors corresponding to every two contour points, and determine the distance as the matching cost between the two contour points, wherein the two contour points are respectively included in said target sequence and said matching sequence; 将得到的所述匹配代价的和作为所述匹配度。The sum of the obtained matching costs is used as the matching degree. 10.一种基于多尺度不变量描述的目标识别装置,其特征在于,包括:10. A target recognition device based on multi-scale invariant description, characterized in that it comprises: 提取模块,用于获取待识别目标的形状作为目标形状,并由所述目标形状的边缘提取一个封闭的轮廓,获取该轮廓上的所有轮廓点及每个轮廓点的坐标;The extraction module is used to obtain the shape of the target to be identified as the target shape, and extract a closed contour from the edge of the target shape, and obtain all contour points on the contour and the coordinates of each contour point; 计算模块,用于确定轮廓的层数,并基于每个所述轮廓点的坐标计算每个所述轮廓点对应于每层的面积参数、弧长参数及重心参数,作为该轮廓点的多尺度不变量描述子;Calculation module, used to determine the number of layers of the contour, and calculate the area parameter, arc length parameter and center of gravity parameter of each contour point corresponding to each layer based on the coordinates of each contour point, as the multi-scale of the contour point invariant descriptor; 匹配模块,用于利用每个所述轮廓点的多尺度不变量描述子,将所述待识别目标与预设模板库中的模板进行匹配,得到所述待识别目标的最佳匹配模板,并确定所述最佳匹配模板的类别为所述待识别目标的类别。A matching module, configured to use the multi-scale invariant descriptor of each contour point to match the target to be identified with templates in a preset template library to obtain the best matching template of the target to be identified, and Determining the category of the best matching template as the category of the target to be identified.
CN201610041524.4A 2016-01-22 2016-01-22 Target identification method and target identification device based on multi-scale invariant description Pending CN105740882A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610041524.4A CN105740882A (en) 2016-01-22 2016-01-22 Target identification method and target identification device based on multi-scale invariant description

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610041524.4A CN105740882A (en) 2016-01-22 2016-01-22 Target identification method and target identification device based on multi-scale invariant description

Publications (1)

Publication Number Publication Date
CN105740882A true CN105740882A (en) 2016-07-06

Family

ID=56247431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610041524.4A Pending CN105740882A (en) 2016-01-22 2016-01-22 Target identification method and target identification device based on multi-scale invariant description

Country Status (1)

Country Link
CN (1) CN105740882A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107203742A (en) * 2017-05-03 2017-09-26 苏州大学 A kind of gesture identification method and device extracted based on remarkable characteristic
CN107582001A (en) * 2017-10-20 2018-01-16 珠海格力电器股份有限公司 Dish washing machine and control method, device and system thereof
CN109871891A (en) * 2019-02-13 2019-06-11 深兰科技(上海)有限公司 Object recognition method, device and storage medium
CN112949625A (en) * 2021-01-29 2021-06-11 西安电子科技大学 Target identification method and system based on centroid contour distance

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110234840A1 (en) * 2008-10-23 2011-09-29 Fraunhofer-Gesellschaft Zur Foerderung Der Angewandten Forschung E.V. Apparatus, method and computer program for recognizing a gesture in a picture, and apparatus, method and computer program for controlling a device
CN103345628A (en) * 2013-07-29 2013-10-09 苏州大学 Target recognition and shape retrieval method based on hierarchical description

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110234840A1 (en) * 2008-10-23 2011-09-29 Fraunhofer-Gesellschaft Zur Foerderung Der Angewandten Forschung E.V. Apparatus, method and computer program for recognizing a gesture in a picture, and apparatus, method and computer program for controlling a device
CN103345628A (en) * 2013-07-29 2013-10-09 苏州大学 Target recognition and shape retrieval method based on hierarchical description

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
HAORAN XU 等: "A Hybrid Shape Descriptor for Object Recognition", 《IEEE CONFERENCE ON ROBOTICS AND BIOMIMETICS》 *
JIANYU YANG 等: "Invariant multi-scale descriptor for shape representation, matching and retrieval", 《COMPUTER VISION AND IMAGE UNDERSTANDING》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107203742A (en) * 2017-05-03 2017-09-26 苏州大学 A kind of gesture identification method and device extracted based on remarkable characteristic
CN107203742B (en) * 2017-05-03 2020-05-08 苏州大学 A gesture recognition method and device based on salient feature point extraction
CN107582001A (en) * 2017-10-20 2018-01-16 珠海格力电器股份有限公司 Dish washing machine and control method, device and system thereof
CN107582001B (en) * 2017-10-20 2020-08-11 珠海格力电器股份有限公司 Dish washing machine and control method, device and system thereof
CN109871891A (en) * 2019-02-13 2019-06-11 深兰科技(上海)有限公司 Object recognition method, device and storage medium
CN112949625A (en) * 2021-01-29 2021-06-11 西安电子科技大学 Target identification method and system based on centroid contour distance

Similar Documents

Publication Publication Date Title
Daradkeh et al. Development of effective methods for structural image recognition using the principles of data granulation and apparatus of fuzzy logic
Zhou et al. 3D face recognition: a survey
Loncomilla et al. Object recognition using local invariant features for robotic applications: A survey
CN103207898B (en) A kind of similar face method for quickly retrieving based on local sensitivity Hash
Lee et al. Place recognition using straight lines for vision-based SLAM
CN108734162A (en) Target identification method, system, equipment and storage medium in commodity image
Xia et al. Loop closure detection for visual SLAM using PCANet features
CN110580461A (en) A Facial Expression Recognition Algorithm Combining Multi-Level Convolutional Feature Pyramid
CN104281572B (en) A kind of target matching method and its system based on mutual information
WO2021129107A1 (en) Depth face image generation method and device, electronic apparatus, and medium
Wang et al. Safety helmet wearing detection model based on improved YOLO-M
Demirkus et al. Hierarchical temporal graphical model for head pose estimation and subsequent attribute classification in real-world videos
CN106022227A (en) Gesture identification method and apparatus
CN103955950B (en) Image tracking method utilizing key point feature matching
US8948517B2 (en) Landmark localization via visual search
Liu et al. Study of human action recognition based on improved spatio-temporal features
CN116884045B (en) Identity recognition method, identity recognition device, computer equipment and storage medium
CN105740882A (en) Target identification method and target identification device based on multi-scale invariant description
CN118038303A (en) Identification image processing method, device, computer equipment and storage medium
Saenko et al. Practical 3-d object detection using category and instance-level appearance models
Hueting et al. Seethrough: finding chairs in heavily occluded indoor scene images
Park et al. MVDet: multi-view multi-class object detection without ground plane assumption
Juang et al. Stereo-camera-based object detection using fuzzy color histograms and a fuzzy classifier with depth and shape estimations
US9002116B2 (en) Attribute recognition via visual search
Zhou et al. Retrieval and localization with observation constraints

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160706

RJ01 Rejection of invention patent application after publication