Cooperative target identification and positioning method based on infrared reflection identification and dynamic parameter optimization

By using infrared reflection markers and dynamic parameter optimization methods in robot navigation, we solve the problem of marker detection when detection distance changes and occlusion, achieve accurate target recognition and attitude calculation under different conditions, and improve the positioning stability of robot navigation. sex.

CN118548895APending Publication Date: 2024-08-27JUSHI HUIXING (WUHAN) TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410728953.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

In the existing technology, when the detection distance changes and the image edge or occlusion occurs, the identification detection is easy to be lost and the coding is interpreted incorrectly. Especially when the identification appears at the edge of the image or is partially blocked, it is difficult to accurately identify the target position and posture.

Method used

A cooperative target identification and positioning method based on infrared reflection markers and dynamic parameter optimization is adopted. The image of the marker combination is obtained through an infrared camera, and adaptive parameter adjustment and clustering algorithms are used to identify reflective points to ensure accurate detection under different detection distances and occlusion conditions. Identification units and codes, combined with code verification within the identification combination, improve identification accuracy.

Benefits of technology

It achieves accurate recognition of logo combinations under different detection distances and occlusion situations, ensures the accuracy of target positioning and attitude calculation, eliminates incorrect interpretations, and improves positioning stability in robot navigation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118548895A
    Figure CN118548895A
Patent Text Reader

Abstract

The invention relates to the field of robot navigation, in particular to a visual positioning device for determining the position and posture of a target. The device is mainly composed of an identification combination, an infrared camera and a calculation unit. According to the device, an image of an identification combination is obtained through an infrared camera, the identification combination in the image is recognized by a calculation unit, and then the position and posture of a target in a camera coordinate system are calculated through light reflecting points on identification. The identification algorithm of the identification combination is based on a group of multiple parameters which are matched with one another, the numerical values of the parameters depend on the distance between the target and the camera, and the parameters can be modified in a self-adaptive mode so that the corresponding parameters can be used on different detection distances. The accuracy of identification combination number identification is the premise of target positioning and attitude determination precision, the identification combination used in the method is composed of two or more identifications, and through mutual verification of codes between identification units in the identification combination, the coding accuracy of the identification combination can be ensured, and errors are eliminated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a visual positioning method and system suitable for robot navigation application scenarios for determining the position and posture of a target. Background Art

[0002] Currently, a technology that provides positioning for robots moving indoors by identifying a combination of signs posted on the ceiling is widely used, represented by "An infrared road sign for indoor mobile robot positioning and its use method" (CN106092090B) and "Indoor robot visual positioning system" (CN108195381B). However, both of them fail to solve the problem of easy loss of sign detection when the detection distance keeps changing, and fail to solve the problem of easy errors in code interpretation during sign detection, especially when the sign appears at the edge of the image or the sign combination is partially blocked.

[0003] The invention patent "An infrared road sign for indoor mobile robot positioning and its use method" designs an infrared reflective sign, placing the reflective points used for positioning on the periphery of the reflective points used for encoding, reducing the difficulty of distinguishing between positioning reflective points and encoding reflective points, and increasing the stability of sign recognition. At different detection distances, the parameters required to detect reflective points are different, and the parameters required to cluster reflective points into signs are also different. Therefore, the parameters required to accurately detect signs at different detection distances should also be modified accordingly. This patent does not solve this problem. When some of the reflective points of the sign cannot be accurately extracted due to obstruction by the edge of the image or obstacles, the code of the sign will be misinterpreted. This patent does not solve this problem either.

[0004] The invention patent "Indoor Robot Visual Positioning System" designs an infrared reflective sign, in which the reflective pattern used for positioning is designed as a long rectangle, and the reflective pattern used for coding is designed as a matrix composed of small squares. The purpose is to expand the difference between the positioning pattern and the coding pattern, first detect the long rectangle to determine the position of the sign, and then detect the small rectangle to interpret the code of the sign, thereby reducing the difficulty of distinguishing the positioning reflective pattern from the coding reflective pattern and increasing the stability of sign recognition. Similar to the shortcomings of the invention patent "An infrared road sign for indoor mobile robot positioning and its use method", this invention patent also fails to solve the problem of code interpretation errors caused by adaptive changes in detection parameters with detection distance and obstacles or image edge occlusion. Summary of the invention

[0005] The present invention relates to the field of robot navigation, and more particularly to a visual positioning device for determining the position and posture of a target. The device is mainly composed of a marker combination, an infrared camera, and a computing unit. The device obtains an image of the marker combination through an infrared camera, and the computing unit identifies the marker combination in the image, and then calculates the position and posture of the target in the camera coordinate system through the reflective points on the marker. The specific technical solution is as follows:

[0006] As a first aspect, the present invention provides a method for cooperative target recognition and positioning based on infrared reflection identification and dynamic parameter optimization, the method being as follows:

[0007] The detection object in this method is composed of several identification units in the identification combination, each identification combination and identification unit corresponds to a code, each identification unit is composed of multiple reflective points coated with reflective material, and the reflective points are divided into multiple positioning points and multiple coding points. The identification combination is used to be photographed by an infrared camera and identify the reflective points thereon, thereby identifying the information contained in its positioning points and coding points;

[0008] Adaptive marker detection: retrieve the initial or last PPC list, adjust the marker detection parameters based on the PPC values ​​of the PPC list, and obtain the marker detection results to update the PPC list;

[0009] Logo detection: After setting parameters based on the PPC value output by adaptive logo detection, the system will run to identify logo units from the image to be detected, output the code and reflective points of the logo units, and select valid logo units and the corresponding codes and image coordinates of reflective points based on the candidate code list;

[0010] Identification combination detection: for each valid identification unit code, determine whether the code and the codes of other identification units in its identification combination exist. If so, output the identification combination corresponding to the code as a valid identification combination;

[0011] Position solution: Based on the output valid identification combination, the position and posture of the valid identification combination in the coordinate system are calculated through position solution.

[0012] In an optional manner, the adaptive identification detection further comprises the following steps:

[0013] Retrieve the PPC value in the initial or last PPC list as the current test PPC;

[0014] According to the actual diameter of the tested PPC and the reflective point, as well as the actual spacing between the reflective points, the pixel diameter of the reflective point, the pixel distance between the reflective points, the maximum pixel distance of the pixel cluster and the maximum pixel distance of the reflective point cluster are converted and used as the preset parameters in the logo detection process;

[0015] Run the identification detection, monitor whether the identification detection result is successful, if the identification detection is successful, set the current PPC as the default PPC, and delete the retrieved initial or last PPC list; if the detection fails, determine whether there is a current PPC list;

[0016] If the PPC list does not exist, a list of PPCs to be tested is generated; the list of PPCs to be tested is an arithmetic progression determined by the preset minimum PPC, maximum PPC, and PPC interval; if the PPC list exists, the current test PPC in the PPC list is set as tested;

[0017] Determine whether there are any untested PPCs in the PPC list. If not, reset the PPC to the PPC that successfully detected the last time, and determine that the adaptive identification detection has failed. If so, take the PPC with the smallest difference from the current test PPC and bring it back into the identification detection as the parameters required for its detection process.

[0018] In an optional manner, the identification detection further comprises the following steps:

[0019] Retrieve the image to be detected, the candidate code list and the PPC parameters output by the adaptive mark detection;

[0020] The image to be detected is band-pass filtered, and two windows of size D and 2D are used to perform mean filtering on the input infrared image to be detected, and then the difference between the two mean filters is calculated to retain the highlighted target with a preset diameter in the image to be detected; D is the pixel diameter of the reflective point in the infrared image of the image to be detected;

[0021] According to the preset grayscale threshold, the image to be detected after the above bandpass filtering is binarized, and the number of highlight pixels in the binarized image to be detected is detected; if the number of highlight pixels exceeds the preset maximum value, the detection failure is returned; otherwise, according to the preset parameters, the highlight pixels in the binarized image are clustered into pixel point sets, and the outer contour of each pixel point set is determined and the centroid of each pixel point set is calculated as the center of the reflective point; the preset parameters include the farthest pixel distance for the clustering algorithm to search for highlight pixels, and the maximum and minimum pixel radius of the reflective point;

[0022] Detect the number of reflective points. If the number of reflective points exceeds the preset maximum value, the detection failure is returned; otherwise, the reflective points are clustered into logos according to the preset parameters, and the positioning points and coding points in the logo unit are determined; the preset parameters include the farthest pixel distance for the clustering algorithm to search for reflective points and the maximum pixel distance between positioning points;

[0023] The code of the identification unit is determined according to the code point of the identification unit; if the code of the detected identification unit is in the list of candidate codes, the detected valid identification unit, code and image coordinates of the reflective point are output.

[0024] In an optional manner, the identification combination detection further includes the following steps:

[0025] Retrieve the image coordinates of the identification unit, code and reflective point output by the identification detection, and determine whether the code of other identification units in the identification combination to which each identification unit belongs exists; if so, output the detected valid identification combination, code and image coordinates of reflective points; otherwise, calculate the possible area range of the undetected identification unit based on the image coordinates of the reflective points of the detected identification units and the relative position relationship between the identification units, and crop the infrared image of the area;

[0026] The cropped infrared image and candidate code list are input into the identification detection to determine whether the identification units that have not been detected before can be detected; if detected, the valid identification combination and the image coordinates of the code and reflective point are output, otherwise the identification units that cannot be matched are deleted.

[0027] In an optional manner, the position solution further includes the following steps: based on the code of each identification unit of the pre-programmed identification combination and the image coordinates of the reflective point, combined with the code of each identification unit in the effective identification combination and the actual coordinates of the reflective point, calculate the position and posture of the identification combination in the camera coordinate system.

[0028] In an optional manner, the method further comprises the following:

[0029] Logo detection, as the main method of this method, is used to identify the logo combination on the image to be tested;

[0030] Adaptive logo detection, used to output the PPC parameters required for logo detection operation for use in logo detection operation, which acts before logo detection operation;

[0031] Mark combination detection is used to optimize the results of mark detection and output valid mark combinations, which is used after the mark detection is run;

[0032] At the same time, the three detection processes of the above-mentioned logo detection, adaptive logo detection, and logo combination detection are nested and run, with the outermost layer being logo combination detection, the middle layer being adaptive logo detection, and the innermost layer being the logo detection process.

[0033] As a second aspect, the present invention provides a cooperative target recognition and positioning system based on infrared reflection identification and dynamic parameter optimization, the system comprising an identification assembly, a power module, an infrared camera module, and a computing and storage module.

[0034] The identification combination is composed of a plurality of identification units, each identification combination and the identification unit therein correspond to a code, each identification unit is composed of a plurality of reflective points, and the reflective points are divided into a plurality of positioning points and a plurality of coding points. The identification combination is used to identify its coding and positioning information after being photographed by the infrared camera module;

[0035] A power module, used to provide power to the system;

[0036] The infrared camera module includes an infrared light source and an infrared camera, wherein the infrared light source is used to emit infrared light, and the infrared camera is used to receive the infrared light reflected back by the identification combination;

[0037] A computing and storage module, used to execute any one of the methods described in the first aspect above.

[0038] In an optional manner, the representation combination structure further includes:

[0039] Each identification unit is composed of a plurality of reflective points, which are divided into a plurality of positioning points and a plurality of coding points. The positioning points are located at the three corners of the identification unit dot matrix, and the coding points are located at the points within the triangle determined by the positioning points.

[0040] Each identification combination is composed of at least 2 identification units.

[0041] In an optional manner, the calculation and storage module further includes: an adaptive identification detection module, an identification detection module, an identification combination detection module, and a position solution module, wherein:

[0042] Adaptive logo detection module: used to set and retrieve PPC values ​​to adjust the parameters of the logo detection module;

[0043] Marking detection module: used to identify the marking unit of the marking combination and the corresponding code and image coordinates of the reflective point from the image to be detected;

[0044] The identification combination detection module is used to filter out the valid identification combination outputs from the representation combination output by the identification detection module;

[0045] Position calculation module: used to calculate the position and posture of the valid identification combination in the coordinate system according to the valid identification combination output by the identification combination detection module.

[0046] As a third aspect, the present invention provides a data processing device, the data processing device comprising a central processing unit, a readable memory, and a data bus. The central processing unit is data-connected to the readable memory via the data bus, and the central processing unit controls the readable memory according to an operation instruction, thereby executing any one of the methods described in the first aspect.

[0047] The beneficial effect of the present invention is that the recognition algorithm of the identification combination is often based on a set of multiple parameters that cooperate with each other, and the values ​​of these parameters depend on the distance between the target and the camera. The present invention can adaptively modify these parameters to achieve the use of corresponding parameters at different detection distances.

[0048] The accuracy of identification of the identification combination number is a prerequisite for the accuracy of target positioning and attitude determination. The identification combination used in the present invention is composed of two or more identifications. By mutual verification of the coding between the identification units in the identification combination, the accuracy of the coding of the identification combination can be ensured and errors can be eliminated. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0050] Figure 1 It is a schematic diagram of the reflective point, the identification unit, and the identification combination of the present invention;

[0051] Figure 2 It is a schematic diagram of a 3×3 and a 4×4 identification unit of the present invention;

[0052] Figure 3 It is a schematic diagram of various identification combinations of the present invention;

[0053] Figure 4 A schematic diagram of a logo combination formed by three logo units of the present invention;

[0054] Figure 5 This is a schematic diagram of the identification combination of the present invention whose code is 0x0210;

[0055] Figure 6 It is a schematic diagram of the identification combination detection and its sub-process of the present invention;

[0056] Figure 7This is a flow chart of the identification detection of the present invention;

[0057] Figure 8 is a flow chart of adaptive identification detection of the present invention;

[0058] Fig. 9 This is a flow chart of the identification combination detection of the present invention. DETAILED DESCRIPTION

[0059] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0060] In the description of this specific embodiment, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. indicate the orientation or position relationship based on the orientation or position relationship shown in the accompanying drawings, or the orientation or position relationship in which the invention product is usually placed when in use. They are only for the convenience of describing the invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the invention. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.

[0061] In addition, the terms "horizontal", "vertical", "overhanging" and the like do not mean that the components are required to be absolutely horizontal or overhanging, but can be slightly tilted. For example, "horizontal" only means that its direction is more horizontal than "vertical", and does not mean that the structure must be completely horizontal, but can be slightly tilted.

[0062] In the description of this specific embodiment, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this specific embodiment can be understood according to specific circumstances.

[0063] Definitions of abbreviations and key terms in this invention:

[0064] 1) Infrared imaging

[0065] Images collected by an infrared camera under the irradiation of an infrared light source.

[0066] 2) Reflective points

[0067] Points with bright features in infrared images.

[0068] 3) Marker (MK)

[0069] The pattern composed of multiple reflective dots is coded as MKID (Marker Identification), which can be parsed from the relative positions of the reflective dots.

[0070] 4) Marker Combination (MC)

[0071] The code of a combination of multiple markers is recorded as MCID (Marker Combination Identification), which is determined by the codes of the markers in the combination. Figure 1 shown.

[0072] 5) Pixel Per Centimeter (PPC)

[0073] The number of pixels in an infrared image that represents a length of one centimeter in the real world. The farther the logo is from the camera, the smaller the PPC is; the closer the logo is to the camera, the larger the PPC is.

[0074] Example 1, a cooperative target recognition and positioning system based on infrared reflection identification and dynamic parameter optimization, the system includes an identification combination, a power module, an infrared camera module, and a computing and storage module. The identification combination is used to provide coding and positioning information, the power module is used to power the operation of the system, the infrared camera is used to shoot the infrared light reflected by the identification combination, and the computing and storage module is used for configuration management and identification detection of the system operation. The following is a detailed description of each module:

[0075] 、 Logo combination description

[0076] The identification combination is composed of multiple identification units, thereby providing different coding and positioning information.

[0077] The identification unit is a pattern composed of several reflective dots, which include positioning points and coding points. The positioning points are located at the three corners of the identification unit dot matrix, and the coding points are located at the points of the identification unit dot matrix within the triangle determined by the positioning points. The size of the logo can be 3×3, 4×4, 5×5, etc. The schematic diagram of 3×3 and 4×4 is as follows Figure 2 shown.

[0078] The coding of the identification unit is determined by whether there is a highlight reflective point on the coding point. ,otherwise . is the number of the point, i.e. Figure 2 Numbers in circles.

[0079] The encoding calculation formula for 3×3 identification is as follows:

[0080] (Formula 1)

[0081] The encoding calculation formula for 4×4 logo is as follows:

[0082] (Formula 2)

[0083] The identification combination is composed of multiple identifications, and the identification in the combination is called an identification unit. The code of the identification combination is determined by the code of the identification unit, and the minimum value of all combinations of the codes of the identification unit is taken as the code of the identification combination.

[0084] by Figure 3 Take the identification combination in the first row as an example. The identification combination contains two 3×3 identifications. The codes of the two identification units are 0x02 and 0x10 respectively. Then all combinations of these two codes are 0x0210 and 0x1002. The minimum value is 0x0210, so the code of this identification combination is 0x0210.

[0085] The identification combination can not only consist of 2 identification units, but also can contain 3, 4 or more identification units. An example of an identification combination containing 3 identification units is as follows: Figure 4 As shown, the three identification units are surrounded at equal intervals of 120°.

[0086] The identification units can be arranged symmetrically according to the center, but this is not necessary. The relationship between the identification units is recorded in the configuration file, and any relative position relationship that can be uniquely described meets the requirements. A method for describing the relative position relationship between identification units is as follows: [

[0088] MCID:0x021032,

[0089] MK:

[0090] [MKID:0x10, x: 0.000, y:12.000, t:-135.0],

[0091] [MKID:0x02, x:-10.39, y:-6.000, t: -15.0],

[0092] [MKID:0x32, x: 10.39, y:-6.000, t: 105.0]

[0093] } ]

[0095] like Figure 4 As shown in the figure, the above configuration describes the composition of the 0x021032 identification combination, which includes the three identifications 0x10 (identification 1), 0x02 (identification 2) and 0x32 (identification 3). The center coordinates of the 0x10 identification are (0.000, 12.000) and rotated by -135°; the center coordinates of the 0x02 identification are (-10.39, -6.000) and rotated by -15°; the center coordinates of the 0x32 identification are (10.39, -6.000) and rotated by 105°.

[0096] The requirements for the layout of logo combinations should be to avoid placing logo combinations near strong infrared light sources; and to avoid placing dozens of logo combinations closely together.

[0097] 2. Compute and Storage Module Configuration Management

[0098] Configuration management includes the management of parameters of infrared camera and identification combination.

[0099] 3. Description of infrared camera parameters

[0100] The infrared camera parameters that need to be managed include brightness, saturation, hue, enhancement, exposure, device address, acquisition frequency and other parameters. These parameters will be provided to the image acquisition module to adjust the intensity and color of the reflective points in the infrared image while avoiding motion blur.

[0101] 4. Explanation of the identification combination parameters

[0102] There are usually multiple identification combinations to be identified, so it is necessary to pre-set an identification combination list, which contains the code (MCID) of each identification combination and the relative position relationship between the identification units within the identification combination. This identification combination list will be provided to the identification detection and position solution module.

[0103] A list of candidate codes can be obtained from the list of identifier combinations to be identified. Take a list of identifier combinations containing 3 identifier combinations as an example:

[0104] MC: [

[0106] MCID:0x0210,

[0107] MK:

[0108] [MKID:0x02, x: 0.000, y: 0.000, t:0.000],

[0109] [MKID:0x10, x:12.000, y:12.000, t:180.0]

[0110] }

[0111] ], [

[0113] MCID:0x1012,

[0114] MK:

[0115] [MKID:0x10, x: 0.000, y: 0.000, t:0.000],

[0116] [MKID:0x12, x:12.000, y:12.000, t:180.0]

[0117] }

[0118] ], [

[0120] MCID:0x2232,

[0121] MK:

[0122] [MKID:0x22, x: 0.000, y: 0.000, t:0.000],

[0123] [MKID:0x32, x:12.000, y:12.000, t:180.0]

[0124] } ]

[0126] }

[0127] There are 5 different identifiers, so the list of candidate codes is 0x02, 0x10, 0x12, 0x22, 0x32.

[0128] In addition to the list of logo combinations to be identified, the configuration management of the computing and storage module also records the logo type, the spacing between the reflective points, and the radius of the reflective points. Logo types include 3×3 logos, 4×4 logos, 5×5 logos, etc. The spacing between the reflective points refers to Figure 4 The distance between the dots is usually 3 cm, 4 cm, 5 cm, etc. The radius of the reflective point refers to Figure 4 The radius of the center point, commonly used radii are 3 mm, 4 mm, 6 mm, etc.

[0129] According to the logo type, the spacing of the reflective points, and the relative position in the combined logo, the actual coordinates of each reflective point of each logo unit can be calculated. For example, a logo combination with a reflective point spacing of 3 cm, composed of 2 3×3 logos, and coded as 0x0210, the configuration file is:

[0130] MCID:0x0210,

[0131] MK:

[0132] [MKID:0x02, x: 0.000, y: 0.000, t:0.000],

[0133] [MKID:0x10, x:12.000, y:12.000, t:180.0]

[0134] }

[0135] Logo combination image such as Figure 5 As shown, the corresponding code is: (0x0210), where the coordinates of the reflective point marked with 0x02 are: (0,6), (0,3), (0,0), (6,0); the coordinates of the reflective point marked with 0x10 are (12,6), (9,9), (12,12), (6,12); the coordinate unit is centimeter.

[0136] The infrared camera cyclically collects infrared images according to the camera parameters, device address, and acquisition frequency configured and managed in the computing and storage module, and provides them to the computing and storage module for identification detection and positioning calculation.

[0137] Embodiment 2: The present invention provides a method for cooperative target recognition and positioning based on infrared reflection identification and dynamic parameter optimization.

[0138] According to the identification combination parameters provided by the configuration file of the calculation and storage module, the identification combination is identified from the infrared image, and the identification result is provided to the position solution module for positioning calculation.

[0139] The identification detection module consists of three nested detection processes, such as Figure 6 The nested detection process includes the identification detection process, the adaptive identification detection process, and the identification combination detection process.

[0140] 1. Description of the labeling test process (e.g. Figure 7 shown)

[0141] Function: Identify identification units from infrared images and output the identification unit code and image coordinates of reflective points.

[0142] Step 1: Bandpass filtering. Assume that the pixel diameter of the reflective point in the infrared image is D. Use two windows with window sizes of D and 2D to perform mean filtering on the input infrared image, and then calculate the difference between the two mean filtering results.

[0143] Step 2: Binarization. Binarize the bandpass filtered image according to the preset grayscale threshold. If the number of highlight pixels in the binary image exceeds the preset maximum value, the detection failure is returned. Because it is required to avoid placing the logo combination near a strong infrared light source, when there are too many highlight pixels, the infrared camera is likely to capture an invalid scene with a lack of logo combination. The detection can be stopped to avoid slow clustering and reduced detection efficiency due to too many highlight pixels.

[0144] Step 3: Pixel clustering. According to the preset parameters, the highlight pixels in the binarized image are clustered into pixel sets, the outer contour of each pixel set is determined, and the centroid of each pixel set is calculated as the center of the reflective point. The preset parameters include the farthest pixel distance for the clustering algorithm to search for highlight pixels, and the maximum and minimum pixel radius of the reflective point. If the number of reflective points exceeds the preset maximum value, the detection failure is returned. Because it is required to avoid arranging a large number of logo combinations closely, when the number of reflective points is too large, the infrared camera is likely to capture an invalid scene with a lack of logo combinations, and the detection can be stopped to avoid slow clustering and reduced detection efficiency due to too many reflective points.

[0145] Step 3: Clustering of reflective points. According to the preset parameters, cluster the reflective points into logos, and determine the positioning points and coding points in the logos. The preset parameters include the farthest pixel distance for the clustering algorithm to search for reflective points and the maximum pixel distance between positioning points.

[0146] Step 4: Code recognition: Determine the code of the identification unit based on the code point of the identification unit.

[0147] Step 5: If the code of the detected identification unit is in the list of candidate codes, the detected valid identification unit is output, which includes the code of the identification unit and the image coordinates of the reflective point.

[0148] 2. Description of the adaptive detection process (such as Figure 8 shown)

[0149] Function: Find the most appropriate PPC value for the detection identification unit and complete the identification detection.

[0150] Step 1: Use the default or last recorded PPC value as the current test PPC.

[0151] Step 2: Based on the actual diameter of the reflective points provided by the test PPC and the configuration management module in the calculation and storage module, as well as the actual spacing between the reflective points, the pixel diameter of the reflective points, the pixel distance between the reflective points, the maximum pixel distance of the pixel clustering, and the maximum pixel distance of the reflective point clustering are converted and input into the identification detection process as preset parameters.

[0152] Step 3: Get the logo in the image through the logo detection process. If the logo detection is successful, the detected logo is returned, including the logo code and the image coordinates of the reflective point. Set the current PPC as the default PPC.

[0153] Step 4: If the default or last recorded PPC fails to detect the identification, determine whether there is a PPC list. If the PPC list does not exist, generate a PPC list. The PPC list is an arithmetic progression determined by the preset minimum PPC, maximum PPC, and PPC interval. If the PPC list exists, set the current test PPC as tested and remove it from the PPC list.

[0154] Step 5: If the length of the PPC list is 0, the detection failure is returned. If there are untested PPCs in the PPC list, the PPC closest to the current test PPC is taken and brought back into the second step of the identification detection.

[0155] 3. Description of the logo combination detection process (such as Fig. 9 shown)

[0156] Function: Output identifier combinations and discard isolated identifiers that cannot be matched.

[0157] Step 1: Based on the candidate list of logo combinations, a list of candidate codes is obtained and input into the adaptive logo detection process together with the infrared image.

[0158] Step 2: Determine whether each identification unit in each identification combination exists. Output the valid identification combination in which all identification units exist, including the code of the identification combination, the code of each identification unit and the image coordinates of the reflective point.

[0159] Step 3: For incomplete identification combinations, the possible positions of undetected identification units are calculated based on the image coordinates of the reflective points of the detected identification units and the relative position relationship between the identification units recorded in the configuration management module in the storage module, and the infrared image of the area is cropped.

[0160] Step 4: Input the cropped infrared image and the list of candidate codes into the adaptive logo detection process.

[0161] Step 5: If a previously undetected identification unit is detected, a valid identification combination is output, including the code of the identification combination, the code of each identification unit, and the image coordinates of the reflective point. Otherwise, the isolated identification unit that cannot be matched is deleted.

[0162] 4. Position calculation

[0163] Based on the code of the identification combination provided by the identification detection module, including the code of each identification unit and the image coordinates of the reflective point, and the actual coordinates of the reflective point of each identification unit in the identification combination provided by the configuration management module in the calculation and storage module, the position and posture of the identification combination in the camera coordinate system are calculated.

[0164] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limitations on the order of execution.

Claims

1. A method for cooperative target recognition and positioning based on infrared reflection identification and dynamic parameter optimization, characterized in that: The method is as follows: The detection object in this method is composed of several identification units in the identification combination, each identification combination and identification unit corresponds to a code, each identification unit is composed of multiple reflective points coated with reflective material, and the reflective points are divided into multiple positioning points and multiple coding points. The identification combination is used to be photographed by an infrared camera and identify the reflective points thereon; Adaptive marker detection: retrieve the initial or last PPC list, adjust the operating parameters of the marker detection in combination with the PPC values ​​of the PPC list, and obtain the results of the marker detection to update the PPC list; Logo detection: After setting parameters based on the PPC value output by adaptive logo detection, the system will run to identify logo units from the image to be detected, output the codes and reflective points contained in the logo units, and filter out valid logo units and the image coordinates of the corresponding codes and reflective points based on the candidate code list; Identification combination detection: for each valid identification unit code, determine whether the code and the codes of other identification units in its identification combination exist. If so, output the identification combination corresponding to the code as a valid identification combination; Position solution: Based on the output valid identification combination, the position and posture of the valid identification combination in the coordinate system are calculated through position solution.

2. The method for cooperative target recognition and positioning based on infrared reflection identification and dynamic parameter optimization according to claim 1 is characterized in that: The adaptive identification detection comprises the following steps: Retrieve the PPC value in the initial or last PPC list as the current test PPC; According to the actual diameter of the tested PPC and the reflective point, as well as the actual spacing between the reflective points, the pixel diameter of the reflective point, the pixel distance between the reflective points, the maximum pixel distance of the pixel cluster and the maximum pixel distance of the reflective point cluster are converted and used as the preset parameters in the logo detection process; Run the identification detection, monitor whether the identification detection result is successful, if the identification detection is successful, set the current PPC as the default PPC, and delete the retrieved initial or last PPC list; If the test fails, determine whether there is a PPC list currently; If the PPC list does not exist, generate a PPC list to be tested; The PPC list to be tested is an arithmetic progression determined by the preset minimum PPC, maximum PPC, and PPC interval; If the PPC list exists, set the current test PPC in the PPC list as tested; Determine whether there are any untested PPCs in the PPC list. If not, reset the PPC to the PPC list of the last successful identification detection, and determine that the adaptive identification detection has failed. If so, take the PPC with the smallest difference from the current test PPC and re-introduce it into the identification detection as the parameters required for its detection process.

3. The method for cooperative target identification and positioning based on infrared reflection marking and dynamic parameter optimization according to claim 2 is characterized in that: The identification detection comprises the following steps: Retrieve the image to be detected, the candidate code list and the PPC parameters output by the adaptive mark detection; The image to be detected is band-pass filtered, and two windows of size D and 2D are used to perform mean filtering on the input infrared image to be detected, and then the difference between the two mean filters is calculated to retain the highlighted target with a preset diameter in the image to be detected; D is the pixel diameter of the reflective point in the infrared image of the image to be detected; According to a preset grayscale threshold, binarize the image to be detected after the bandpass filtering, and detect the number of highlight pixels in the binarized image to be detected; If the number of highlighted pixels exceeds the preset maximum value, the detection fails. Otherwise, according to the preset parameters, the highlight pixels in the binarized image are clustered into pixel point sets, and the outer contour of each pixel point set is determined and the centroid of each pixel point set is calculated as the center of the reflective point; the preset parameters include the farthest pixel distance for the clustering algorithm to search for highlight pixels, and the maximum and minimum pixel radius of the reflective point; Detect the number of reflective points. If the number of reflective points exceeds the preset maximum value, the detection failure is returned; Otherwise, the reflective points are clustered into logos according to preset parameters, and the positioning points and coding points in the logo unit are determined; the preset parameters include the farthest pixel distance for the clustering algorithm to search for reflective points and the maximum pixel distance between the positioning points; The code of the identification unit is determined according to the code point of the identification unit; if the code of the detected identification unit is in the list of candidate codes, the detected valid identification unit, code and image coordinates of the reflective point are output.

4. The method for cooperative target recognition and positioning based on infrared reflection marking and dynamic parameter optimization according to claim 3 is characterized in that: The identification combination detection comprises the following steps: Retrieve the image coordinates of the identification unit, code and reflective point output by the identification detection, and determine whether the code of other identification units in the identification combination to which each identification unit belongs exists; if so, output the detected valid identification combination, code and image coordinates of reflective points; otherwise, calculate the possible area range of the undetected identification unit based on the image coordinates of the reflective points of the detected identification units and the relative position relationship between the identification units, and crop the infrared image of the area; The cropped infrared image and candidate code list are input into the identification detection to determine whether the identification units that have not been detected before can be detected; if detected, the valid identification combination and the image coordinates of the code and reflective point are output, otherwise the identification units that cannot be matched are deleted.

5. The method for cooperative target recognition and positioning based on infrared reflection marking and dynamic parameter optimization according to claim 4 is characterized in that: The position solution includes the following steps: according to the code of each identification unit of the pre-programmed identification combination and the image coordinates of the reflective point, combined with the code of each identification unit in the effective identification combination and the actual coordinates of the reflective point, calculate the position and posture of the identification combination in the camera coordinate system.

6. A method for cooperative target recognition and positioning based on infrared reflection marking and dynamic parameter optimization according to any one of claims 1 to 5, characterized in that: In the method: Logo detection, as the main method of this method, is used to identify the logo combination on the image to be tested; Adaptive logo detection, used to output the PPC parameters required for logo detection operation for use in logo detection operation, which acts before logo detection operation; Mark combination detection is used to optimize the results of mark detection and output valid mark combinations, which is used after the mark detection is run; At the same time, the three detection processes of the above-mentioned logo detection, adaptive logo detection, and logo combination detection are nested and run, with the outermost layer being logo combination detection, the middle layer being adaptive logo detection, and the innermost layer being the logo detection process.

7. A cooperative target recognition and positioning system based on infrared reflection identification and dynamic parameter optimization, characterized in that: The system includes a marking assembly, a power module, an infrared camera module, and a computing and storage module, wherein: The identification combination is composed of a plurality of identification units, each identification combination and the identification unit therein correspond to a code, each identification unit is composed of a plurality of reflective points, and the reflective points are divided into a plurality of positioning points and a plurality of coding points. The identification combination is used to identify its coding and positioning information after being photographed by the infrared camera module; A power module, used to provide power to the system; The infrared camera module includes an infrared light source and an infrared camera, wherein the infrared light source is used to emit infrared light, and the infrared camera is used to receive the infrared light reflected back by the identification combination; A computing and storage module, used to execute a cooperative target recognition and positioning method based on infrared reflection identification and dynamic parameter optimization as described in any one of claims 1 to 6.

8. The cooperative target recognition and positioning system based on infrared reflection marking and dynamic parameter optimization according to claim 7 is characterized in that: The said combination structure is as follows: Each identification unit is composed of a plurality of reflective points, which are divided into a plurality of positioning points and a plurality of coding points. The positioning points are located at the three corners of the identification unit dot matrix, and the coding points are located at the points within the triangle determined by the positioning points. Each identification combination is composed of at least 2 identification units.

9. The cooperative target recognition and positioning system based on infrared reflection marking and dynamic parameter optimization according to claim 8 is characterized in that: The calculation and storage module includes: an adaptive identification detection module, an identification detection module, an identification combination detection module, and a position solution module, wherein: Adaptive logo detection module: used to set and retrieve PPC values ​​to adjust the parameters of the logo detection module; Marking detection module: used to identify the marking unit of the marking combination and the corresponding code and image coordinates of the reflective point from the image to be detected; The identification combination detection module is used to filter out the valid identification combination outputs from the representation combination output by the identification detection module; Position calculation module: used to calculate the position and posture of the valid identification combination in the coordinate system according to the valid identification combination output by the identification combination detection module.

10. A data processing device, comprising a central processing unit, a readable memory, and a data bus, characterized in that: The central processing unit is data-connected to the readable memory via a data bus, and the central processing unit controls the readable memory according to operation instructions, thereby executing any one of the methods described in claims 1 to 6.