# US 2024/0203083 A1 · Method and apparatus for fusing traffic markings, and storage medium and electronic device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0203083 A1
- Document ID: US20240203083A1
- Status: Published application
- Kind: A1
- Application number: 18/554,051
- Filed: 2022-02-23
- Published: 2024-06-20
- Earliest claimed: 2021-04-06
- Assignees: Beijing CHJ Information Technology Co., LTD.
- Applicants: Beijing CHJ Information Technology Co., Ltd.
- Inventors: Zhen Zhu; Wei Wu; Chao Xiong
- Web page: https://patentgrep.com/patent/US20240203083A1

## CPC

- G06V 20/588: {Recognition of the road, e.g. of lane markings; Recognition of the vehicle driving pattern in relation to the road}
- G06V 10/247: {by affine transforms, e.g. correction due to perspective effects; Quadrilaterals, e.g. trapezoids}
- G06V 10/44: Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
- G06V 10/757: {Matching configurations of points or features}
- G06V 10/806: {of extracted features}
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

A method for fusing traffic markings includes: obtaining a first local part overlapped with a marking set to be fused from a target marking set and a second local part overlapped with the target marking set from the marking set to be fused; based on a target transformation relationship; generating a first transformed marking set transformed from the first local part and a second transformed marking set transformed from the second local part; determining a first translation parameter capable of fusing the second transformed marking set with the first transformed marking set; determining a second translation parameter by using the first translation parameter based on the target transformation relationship; and moving the marking set to be fused by using the second translation parameter.

## Claims

### Claim 1

A method for fusing traffic markings, comprising:
obtaining a first local part overlapped with a marking set to be fused from a target marking set and a second local part overlapped with the target marking set from the marking set to be fused;
based on a target transformation relationship, generating a first transformed marking set transformed from the first local part and a second transformed marking set transformed from the second local part;
determining a first translation parameter capable of fusing the second transformed marking set with the first transformed marking set;
determining a second translation parameter by using the first translation parameter based on the target transformation relationship; and
moving the marking set to be fused by using the second translation parameter.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
determining the marking set to be fused corresponding to the target marking set, wherein the target marking set and the marking set to be fused are both taken from marking sets of road data, and each marking set includes a group of the traffic markings.

### Claim 3 (depends on 2)

The method of claim 2, wherein determining the marking set to be fused corresponding to the target marking set comprises:
based on an area occupied by the target marking set, determining a marking set whose occupied area overlaps with the area occupied by the target marking set from the road data as the marking set to be fused.

### Claim 4 (depends on 1)

The method of claim 1, wherein before obtaining the first local part overlapped with the marking set to be fused from the target marking set and the second local part overlapped with the target marking set from the marking set to be fused, the method further comprises:
determining a first number of traffic markings in the target marking set and a second number of traffic markings in the marking set to be fused;
in response to the first number being inconsistent with the second number, determining a smaller one of the first number and the second number as a target number; and
deleting a traffic marking from the target marking set or the marking set to be fused, to enable a number of the traffic markings in the target marking set and a number of the traffic markings in the marking set to be fused to be the target number.

### Claim 5 (depends on 4)

The method of claim 4, wherein deleting the traffic marking from the target marking set or the marking set to be fused, to enable the number of the traffic markings in the target marking set and the number of the traffic markings in the marking set to be fused to be the target number comprises:
determining a first distance between a traffic marking at a first side edge of the target marking set and a traffic marking at the first side edge of the marking set to be fused;
determining a second distance between a traffic marking at a second side edge of the target marking set and a traffic marking at the second side edge of the marking set to be fused;
taking one side corresponding to a larger one of the first distance and the second distance as a target side; and
deleting the traffic marking at the target side from the target marking set or the marking set to be fused.

### Claim 6 (depends on 5)

The method of claim 5, wherein deleting the traffic marking at the target side from the target marking set or the marking set to be fused comprises:
in response to the first number being greater than the second number, deleting a specified number of traffic markings at the target side from the target marking set; and
in response to the second number being greater than the first number, deleting a specified number of traffic markings at the target side from the marking set to be fused;
wherein the specified number is a difference between the first number and the second number.

### Claim 7 (depends on 1)

The method of claim 1, wherein the target transformation relationship enables the second local part after transformation to be perpendicular to a specified coordinate axis.

### Claim 8 (depends on 7)

The method of claim 7, wherein the target transformation relationship is obtained by an affine transformation.

### Claim 9 (depends on 1)

The method of claim 1, wherein determining the first translation parameter capable of fusing the second transformed marking set with the first transformed marking set comprises:
determining a first bounding rectangle corresponding to the first transformed marking set; and
performing a plurality of translation operations on the second transformed marking set, recording an intersection area of a second bounding rectangle corresponding to the second transformed marking set and the first bounding rectangle in each translation, and taking a translation parameter corresponding to a translation with a maximum intersection area as the first translation parameter.

### Claim 10 (depends on 9)

The method of claim 9, wherein performing the plurality of translation operations on the second transformed marking set, recording the intersection area of the second bounding rectangle corresponding to the second transformed marking set and the first bounding rectangle in each translation, and taking the translation parameter corresponding to the translation with the maximum intersection area as the first translation parameter comprises:
recording an initial position of the second transformed marking set without being subject to any translation, and determining the intersection area of the second bounding rectangle corresponding to the second transformed marking set at the initial position and the first bounding rectangle as an initial intersection area;
translating the second transformed marking set in a specified direction by a specified distance, to make the second transformed marking set reach a target position of this translation;
determining the intersection area of the second bounding rectangle corresponding to the second transformed marking set at the target position and the first bounding rectangle as a target intersection area;
comparing the target intersection area with a reference intersection area;
in response to the target intersection area being less than the reference intersection area, stopping translating the second transformed marking set in the specified direction; and
after a translation operation on the second transformed marking set is stopped, taking a translation parameter of an intermediate position relative to the initial position as the first translation parameter, wherein the intersection area of the second bounding rectangle corresponding to the second transformed marking set at the intermediate position and the first bounding rectangle is maximum in a historical translation process.

### Claim 11 (depends on 10)

The method of claim 10, further comprising:
in response to the target intersection area being larger than the reference intersection area, returning to the step of translating the second transformed marking set in the specified direction by the specified distance, to make the second transformed marking set reach the target position of this translation.

### Claim 12 (depends on 10)

The method of claim 10, wherein the specified direction is a direction parallel to a specified coordinate axis, and the specified direction includes a first direction and a second direction which are opposite to each other.

### Claim 13 (depends on 1)

The method of claim 1, wherein the traffic markings are lane lines.

### Claim 14

(canceled)

### Claim 15

A non-transitory computer readable storage medium storing a computer program, wherein, the program is executed by a processor to perform the followings:
obtaining a first local part overlapped with a marking set to be fused from a target marking set and a second local part overlapped with the target marking set from the marking set to be fused;
based on a target transformation relationship, generating a first transformed marking set transformed from the first local part and a second transformed marking set transformed from the second local part;
determining a first translation parameter capable of fusing the second transformed marking set with the first transformed marking set;
determining a second translation parameter by using the first translation parameter based on the target transformation relationship; and
moving the marking set to be fused by using the second translation parameter.

### Claim 16

An electronic device, comprising:
a memory with a computer program stored thereon; and
a processor, configured to execute the computer program in the memory to perform the following:
obtaining a first local part overlapped with a marking set to be fused from a target marking set and a second local part overlapped with the target marking set from the marking set to be fused;
based on a target transformation relationship, generating a first transformed marking set transformed from the first local part and a second transformed marking set transformed from the second local part;
determining a first translation parameter capable of fusing the second transformed marking set with the first transformed marking set;
determining a second translation parameter by using the first translation parameter based on the target transformation relationship; and
moving the marking set to be fused by using the second translation parameter.

### Claim 17

(canceled)

### Claim 18 (depends on 16)

The electronic device of claim 16, wherein before obtaining the first local part overlapped with the marking set to be fused from the target marking set and the second local part overlapped with the target marking set from the marking set to be fused, the processor is further configured to perform the following:
determining a first number of traffic markings in the target marking set and a second number of traffic markings in the marking set to be fused;
in response to the first number being inconsistent with the second number, determining a smaller one of the first number and the second number as a target number; and
deleting a traffic marking from the target marking set or the marking set to be fused, to enable a number of the traffic markings in the target marking set and a number of the traffic markings in the marking set to be fused to be the target number.

### Claim 19 (depends on 18)

The electronic device of claim 18, wherein the processor is configured to delete the traffic marking from the target marking set or the marking set to be fused, to enable the number of the traffic markings in the target marking set and the number of the traffic markings in the marking set to be fused to be the target number by performing the following:
determining a first distance between a traffic marking at a first side edge of the target marking set and a traffic marking at the first side edge of the marking set to be fused;
determining a second distance between a traffic marking at a second side edge of the target marking set and a traffic marking at the second side edge of the marking set to be fused;
taking one side corresponding to a larger one of the first distance and the second distance as a target side; and
deleting the traffic marking at the target side from the target marking set or the marking set to be fused.

### Claim 20 (depends on 19)

The electronic device of claim 19, wherein the processor is configured to delete the traffic marking at the target side from the target marking set or the marking set to be fused by performing the following:
in response to the first number being greater than the second number, deleting a specified number of traffic markings at the target side from the target marking set; and
in response to the second number being greater than the first number, deleting a specified number of traffic markings at the target side from the marking set to be fused;
wherein the specified number is a difference between the first number and the second number.

### Claim 21 (depends on 16)

The electronic device of claim 16, wherein the target transformation relationship enables the second local part after transformation to be perpendicular to a specified coordinate axis.

### Claim 22 (depends on 16)

The electronic device of claim 16, wherein the processor is configured to determine the first translation parameter capable of fusing the second transformed marking set with the first transformed marking set by performing the following:
determining a first bounding rectangle corresponding to the first transformed marking set; and
performing a plurality of translation operations on the second transformed marking set, recording an intersection area of a second bounding rectangle corresponding to the second transformed marking set and the first bounding rectangle in each translation, and taking a translation parameter corresponding to a translation with a maximum intersection area as the first translation parameter.
