IP Library Granted Patent US 12,450,869
Granted Patent B2
US 12,450,869 · App. 18/089,709 · Granted Oct 21, 2025

Method of processing image, method of training model, and electronic device

Inventors: Yuzhe He (Beijing, CN); Yao Zhou (Beijing, CN); Shenhua Hou (Beijing, CN); Liang Peng (Beijing, CN); Guowei Wan (Beijing, CN)
Assignee: APOLLO INTELLIGENT DRIVING TECHNOLOGY (BEIJING) CO., LTD.
G06V10/757G06T7/74G06V10/46G06V10/764G06V10/7715G06V10/774G06V10/806G06T2207/20081
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,450,869
App. No.
18/089,709
Granted
Oct 21, 2025
Kind
B2
Abstract

A method of processing an image, a method of training a multi-task processing model, and an electronic device, which relate to a field of an automatic driving technology, in particular to a field of high-definition map technology. The method of processing an image includes: processing a to-be-processed image to obtain a feature point of the to-be-processed image, a feature point descriptor map of the to-be-processed image, and a dense descriptor map of the to-be-processed image; determining a pair of matched feature points between the to-be-processed image and a reference image based on the feature point and the feature point descriptor map; and determining a pair of matched pixels between the to-be-processed image and the reference image based on the dense descriptor map.

Claims (75)

1. A method of processing an image, comprising:

processing a to-be-processed image to obtain a feature point of the to-be-processed image, a feature point descriptor map of the to-be-processed image, and a dense descriptor map of the to-be-processed image;

determining a pair of matched feature points between the to-be-processed image and a reference image, based on the feature point and the feature point descriptor map; and

determining a pair of matched pixels between the to-be-processed image and the reference image, based on the dense descriptor map,

wherein the processing a to-be-processed image to obtain a feature point of the to-be-processed image, a feature point descriptor map of the to-be-processed image and a dense descriptor map of the to-be-processed image comprises:

inputting the to-be-processed image into a multi-task processing model to obtain the feature point of the to-be-processed image, the feature point descriptor map of the to-be-processed image and the dense descriptor map of the to-be-processed image,

wherein the multi-task processing model comprises a feature point classification branch, and the method further comprises:

inputting the to-be-processed image into the feature point classification branch to obtain a feature point category result, so as to determine the pair of matched feature points between the to-be-processed image and the reference image based on the feature point, the feature point descriptor map and the feature point category result,

wherein the determining a pair of matched feature points between the to-be-processed image and a reference image based on the feature point and the feature point descriptor map comprises:

screening the feature point based on the feature point category result, so as to determine a target feature point; and

determining the pair of matched feature points between the to-be-processed image and the reference image based on the target feature point and the feature point descriptor map, and

wherein the determining the pair of matched feature points between the to-be-processed image and the reference image based on the target feature point and the feature point descriptor map comprises:

extracting, from the feature point descriptor map, a feature point descriptor matched with the target feature point based on the target feature point; and

determining, by using a feature point matching method, the pair of matched feature points between the to-be-processed image and the reference image based on the target feature point and the feature point descriptor matched with the target feature point.

2. The method according to claim 1 , wherein the multi-task processing model further comprises a feature point extraction branch, a feature point descriptor map calculation branch and a dense descriptor map calculation branch, and

the inputting the to-be-processed image into a multi-task processing model to obtain the feature point of the to-be-processed image, the feature point descriptor map of the to-be-processed image and the dense descriptor map of the to-be-processed image comprises:

inputting the to-be-processed image into the feature point extraction branch to obtain the feature point;

inputting the to-be-processed image into the feature point descriptor map calculation branch to obtain the feature point descriptor map; and

inputting the to-be-processed image into the dense descriptor map calculation branch to obtain the dense descriptor map.

3. The method according to claim 2 , wherein the feature point extraction branch comprises a plurality of feature point extraction sub branches, and

the inputting the to-be-processed image into the feature point extraction branch to obtain the feature point comprises:

inputting the to-be-processed image into the plurality of feature point extraction sub branches, so as to obtain a plurality of feature point scoring maps, wherein the plurality of feature point scoring maps correspond to the plurality of feature point extraction sub branches one by one;

performing a weighted summation on the plurality of feature point scoring maps to obtain a target feature point scoring map; and

performing an interpolation processing on the target feature point scoring map to obtain the feature point.

4. The method according to claim 2 , wherein the dense descriptor map comprises a high-resolution dense descriptor map and a low-resolution dense descriptor map, and the dense descriptor map calculation branch comprises a high-resolution dense descriptor map calculation sub branch and a low-resolution dense descriptor map calculation sub branch, and

wherein the determining a pair of matched pixels between the to-be-processed image and the reference image based on the dense descriptor map comprises:

determining a candidate pair of matched pixels between the to-be-processed image and the reference image based on the low-resolution dense descriptor map, wherein the low-resolution dense descriptor map is obtained by processing the to-be-processed image using the low-resolution dense descriptor map calculation sub branch; and

determining, from the candidate pair of matched pixels, the pair of matched pixels between the to-be-processed image and the reference image based on the high-resolution dense descriptor map, wherein the high-resolution dense descriptor map is obtained by processing the to-be-processed image using the high-resolution dense descriptor map calculation sub branch.

5. The method according to claim 1 , wherein the feature point classification branch comprises a plurality of feature point classification sub branches, a fusion module, and a classifier, and each of the plurality of feature point classification sub branches comprises a feature point classification extraction module, an encoder, and a fusion module, and

the inputting the to-be-processed image into the feature point classification branch to obtain a feature point category result comprises:

inputting the to-be-processed image into the plurality of feature point classification extraction modules, so as to obtain a plurality of feature point category feature maps, wherein the plurality of feature point category feature maps correspond to the plurality of feature point classification extraction modules one by one;

inputting, for each feature point category feature map of the plurality of feature point category feature maps, the feature point category feature map into the encoder so as to obtain a plurality of encoded sub feature point category feature maps, wherein the plurality of encoded sub feature point category feature maps correspond to a plurality of encoders one by one;

processing the plurality of encoded sub feature point category feature maps by using the fusion module, so as to obtain a fused feature point category map; and

processing the fused feature point category map by using the classifier, so as to obtain the feature point category result.

6. The method according to claim 1 , further comprising:

inputting the reference image into the multi-task processing model to obtain a reference feature point, a reference feature point descriptor map and a reference dense descriptor map, so as to determine the pair of matched feature points between the to-be-processed image and the reference image based on the feature point, the feature point descriptor map, the reference feature point and the reference feature point descriptor map, and determine the pair of matched pixels between the to-be-processed image and the reference image based on the dense descriptor map and the reference dense descriptor map.

7. A method of training the a multi-task processing model implemented in the method according to claim 1 , comprising:

training an initial multi-task processing model by using a training sample, so as to obtain the multi-task processing model,

wherein the training sample comprises a first sample image, a second sample image, a label for a pair of matched feature points between the first sample image and the second sample image, and a label for a pair of matched pixels between the first sample image and the second sample image, and wherein the label for the pair of matched feature points is configured to represent a matching relationship between a feature point of the first sample image and a feature point of the second sample image, and the label for the pair of matched pixels is configured to represent a matching relationship between a pixel point of the first sample image and a pixel point of the second sample image.

8. The method according to claim 7 , wherein the initial multi-task processing model comprises an initial feature point extraction branch and an initial feature point descriptor map calculation branch, and

the training an initial multi-task processing model by using a training sample so as to obtain the multi-task processing model comprises:

training the initial feature point extraction branch and the initial feature point descriptor map calculation branch by using the first sample image, the second sample image, and the label for the pair of matched feature points between the first sample image and the second sample image, so as to obtain a feature point extraction branch and a feature point descriptor map calculation branch in the multi-task processing model.

9. The method according to claim 7 , wherein the initial multi-task processing model comprises an initial dense descriptor map calculation branch, and

the training an initial multi-task processing model by using a training sample so as to obtain the multi-task processing model comprises:

training the initial dense descriptor map calculation branch by using the first sample image, the second sample image, and the label for the pair of matched pixels between the first sample image and the second sample image, so as obtain a dense descriptor map calculation branch in the multi-task processing model.

10. The method according to claim 7 , wherein the initial multi-task processing model further comprises an initial feature point classification branch, and

the training an initial multi-task processing model by using a training sample so as to obtain the multi-task processing model comprises:

training the initial feature point classification branch by using a target sample image, a feature point label of the target sample image, and a category label of the target sample image, so as to obtain a feature point classification branch of the multi-task processing model, wherein the target sample image comprises the first sample image and/or the second sample image; the feature point label of the target sample image is configured to represent a probability value that a pixel point of the target sample image is a feature point; and the category label of the target sample image is configured to represent a category of the pixel point.

11. An electronic device, comprising:

at least one processor; and

a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions, when executed by the at least one processor, are configured to cause the at least one processor to at least:

process a to-be-processed image to obtain a feature point of the to-be-processed image, a feature point descriptor map of the to-be-processed image, and a dense descriptor map of the to-be-processed image;

determine a pair of matched feature points between the to-be-processed image and a reference image, based on the feature point and the feature point descriptor map; and

determine a pair of matched pixels between the to-be-processed image and the reference image, based on the dense descriptor map,

wherein the instructions are further configured to cause the at least one processor to at least:

input the to-be-processed image into a multi-task processing model to obtain the feature point of the to-be-processed image, the feature point descriptor map of the to-be-processed image and the dense descriptor map of the to-be-processed image,

wherein the multi-task processing model comprises a feature point classification branch, and wherein the instructions are further configured to cause the at least one processor to at least:

input the to-be-processed image into the feature point classification branch to obtain a feature point category result, so as to determine the pair of matched feature points between the to-be-processed image and the reference image based on the feature point, the feature point descriptor map and the feature point category result,

wherein the instructions are further configured to cause the at least one processor to at least:

screen the feature point based on the feature point category result, so as to determine a target feature point; and

determine the pair of matched feature points between the to-be-processed image and the reference image based on the target feature point and the feature point descriptor map, and

wherein the instructions are further configured to cause the at least one processor to at least:

extract, from the feature point descriptor map, a feature point descriptor matched with the target feature point based on the target feature point; and

determine, by using a feature point matching method, the pair of matched feature points between the to-be-processed image and the reference image based on the target feature point and the feature point descriptor matched with the target feature point.

12. The electronic device according to claim 11 , wherein the multi-task processing model further comprises a feature point extraction branch, a feature point descriptor map calculation branch and a dense descriptor map calculation branch, and wherein the instructions are further configured to cause the at least one processor to at least:

input the to-be-processed image into the feature point extraction branch to obtain the feature point;

input the to-be-processed image into the feature point descriptor map calculation branch to obtain the feature point descriptor map; and

input the to-be-processed image into the dense descriptor map calculation branch to obtain the dense descriptor map.

13. The electronic device according to claim 12 , the feature point extraction branch comprises a plurality of feature point extraction sub branches, and wherein the instructions are further configured to cause the at least one processor to at least:

input the to-be-processed image into the plurality of feature point extraction sub branches, so as to obtain a plurality of feature point scoring maps, wherein the plurality of feature point scoring maps correspond to the plurality of feature point extraction sub branches one by one;

perform a weighted summation on the plurality of feature point scoring maps to obtain a target feature point scoring map; and

perform an interpolation processing on the target feature point scoring map to obtain the feature point.

14. An electronic device, comprising:

at least one processor; and

a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions, when executed by the at least one processor, are configured to cause the at least one processor to implement the method of training the multi-task processing model according to claim 7 .

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 28, 2022
From: HE, YUZHE; HOU, SHENHUA; ZHOU, YAO; PENG, LIANG; WAN, GUOWEI
To: APOLLO INTELLIGENT DRIVING TECHNOLOGY (BEIJING) CO., LTD.
Reel/Frame 062221/0676 →
Priority Claims (1)
CN 202111635804.5 · Dec 29, 2021 · national
Continuity (1)
Related Publication 20230162474A1 · May 25, 2023
References Cited (28)
US 12086695B2 · Park · 2024 [cited by examiner]
US 20210082144A1 · Kadav et al. · 2021 [cited by applicant]
US 20210089890A1 · Tang · 2021 [cited by examiner]
US 20210319236A1 · Tang et al. · 2021 [cited by applicant]
CN 101526944A · 2009 [cited by applicant]
CN 110177278A · 2019 [cited by applicant]
CN 110705365A · 2020 [cited by applicant]
CN 110927743A · 2020 [cited by applicant]
CN 111583340A · 2020 [cited by applicant]
CN 111652240A · 2020 [cited by applicant]
CN 112784743A · 2021 [cited by applicant]
CN 113012208A · 2021 [cited by applicant]
CN 113052311A · 2021 [cited by applicant]
CN 113157962A · 2021 [cited by applicant]
CN 113781532A · 2021 [cited by applicant]
JP 2008003766A · 2008 [cited by applicant]
“Liu et al., DenserNet: Weakly Supervised Visual Localization Using Multi-Scale Feature Aggregation, 2021, In Proceedings of the AAAI conference on artificial intelligence, vol. 35, No. 7, pp. 6101-6109.” (Year: 2021). [cited by examiner]
“Teichmann et al., MultiNet: Real-time Joint Semantic Reasoning for Autonomous Driving, 2018, IEEE Intelligent vehicles symposium (IV), pp. 1013-1020.” (Year: 2018). [cited by examiner]
“Yang et al., UR2KiD: Unifying Retrieval, Keypoint Detection, and Keypoint Description without Local Correspondence Supervision, 2020, arXiv preprint, pp. 1-12” (Year: 2020). [cited by examiner]
Official Communication issued in corresponding Chinese Patent Application No. 202111635804.5, mailed on May 28, 2020. [cited by applicant]
Can et al., “A survey of image feature detection and matching methods”, Journal of Nanjing University of Information Science and Technology (Natural Science Edition) 2020, vol. 12, No. 3, pp. 261-273. [cited by applicant]
Sindel et al., “Craquelurenet: matching the crack structure in historical paintings for multi-modal image registration”, EEE International Conference on Image Processing (ICIP), 2021, pp. 994-998. [cited by applicant]
Yang et al., “UR2KiD: Unifying Retrieval, Keypoint Detection, and Keypoint Description without Local Correspondence Supervision”, arXiv:2001.07252v1, Jan. 20, 2020, 12 pages. [cited by applicant]
Official Communication issued in corresponding European Patent Application No. 22216960.9, mailed on Apr. 4, 2023. [cited by applicant]
Wu et al., “Simultaneous Multi-Level Descriptor Learning and Semantic Segmentation for Domain-Specific Relocalization”, 2021 IEEE International Conference on Robotics and Automation (ICRA 2021), May 31-Jun. 4, 2021, pp.… [cited by applicant]
Leng et al., “Local Feature Descriptor for Image Matching: A Survey”, IEEE Access vol. 7, 2019, Dec. 20, 2018, pp. 6424-6434. [cited by applicant]
Yi et al., “LIFT: Learned Invariant Feature Transform”, European Conference—Computer Vision—ECCV 2016, Part VI, LNCS 9910, 2016, pp. 467-483. [cited by applicant]
Official Communication issued in Japanese Patent Application No. 2022-205077, mailed on Oct. 12, 2023. [cited by applicant]