IP Library Granted Patent US 12,608,906
Granted Patent B2
US 12,608,906 · App. 18/572,844 · Granted Apr 21, 2026

Plane estimation methods and apparatus, electronic devices, and storage media

Inventor: Hengkai Guo (Beijing, CN)
Assignee: BEIJING ZITIAO NETWORK TECHNOLOGY CO., LTD.
G06V10/44G06T7/73
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,608,906
App. No.
18/572,844
Granted
Apr 21, 2026
Kind
B2
Abstract

Embodiments of the present disclosure provide a plane estimation method and apparatus, an electronic device and a storage medium. The method includes: obtaining multiple video frames of a target video, extracting feature points from each of the multiple video frames, determining multiple same feature points in feature points of the multiple video frames, and determining position information of the multiple same feature points in the multiple video frames; determining a homography matrix of a plane between two adjacent video frames according to the position information of the multiple same feature points in the multiple video frames based on a random sample consensus algorithm; and determining parameter information of the plane between the two adjacent video frames according to the homography matrix of the plane.

Claims (75)

1 . A plane estimation method, comprising:

obtaining multiple video frames of a target video, extracting feature points from each of the multiple video frames, determining multiple same feature points in feature points of the multiple video frames, and determining position information of the multiple same feature points in the multiple video frames;

determining a homography matrix of a plane between two adjacent video frames according to the position information of the multiple same feature points in the multiple video frames based on a random sample consensus algorithm; and

determining parameter information of the plane between the two adjacent video frames according to the homography matrix of the plane.

2 . The plane estimation method according to claim 1 , wherein the determining a homography matrix of a plane between two adjacent video frames according to the position information of multiple same feature points in the video frames based on a random sample consensus algorithm comprises:

extracting a preset number of feature points from the multiple same feature points as first feature points, and taking other feature points without being extracted as second feature points;

determining an initial homography matrix of a plane between every two adjacent video frames based on position information of the first feature points in the every two adjacent video frames;

determining whether each of the second feature points matches the initial homography matrix of the plane between the every two adjacent video frames according to position information of the each of the second feature points in the every two adjacent video frames and the initial homography matrix of the plane between the every two adjacent video frames;

for the each of the second feature points, taking the second feature point as an inlier in response to the second feature point being matched with the initial homography matrix of the plane between the every two adjacent video frames, repeating the above steps from the extracting a preset number of feature points from the multiple same features points as first feature points until a number of iterations reaches a preset number, and determining a target iteration with a maximum number of inliers among the iterations; and

determining the homography matrix of the plane between the two adjacent video frames according to position information of all inliers determined in the target iteration in the two adjacent video frames.

3 . The plane estimation method according to claim 2 , wherein the determining whether each of the second feature points matches the initial homography matrix of the plane between the every two adjacent video frames according to position information of the each of the second feature points in the every two adjacent video frames and the initial homography matrix of the plane between the every two adjacent video frames comprises:

determining re-projection position information of the each of the second feature points in a succeeding one of the every two video frames, according to the position information of the each of the second feature points in a preceding one of the every two video frames and the initial homography matrix of the plane between the every two adjacent video frames;

determining a re-projection error of the each of the second feature points between the every two adjacent video frames, according to position information and the re-projection position information of the each of the second feature points in the succeeding one of the every two video frames; and

determining whether the each of the second feature points matches the initial homography matrix of the plane between the every two adjacent video frames according to the re-projection error of the each of the second feature points between the every two adjacent video frames.

4 . The plane estimation method according to claim 3 , wherein the determining whether the each of the second feature points matches the initial homography matrix of the plane between the every two adjacent video frames according to the re-projection error of the each of the second feature points between the every two adjacent video frames comprises:

determining an average re-projection error according to the re-projection error of the each of the second feature points between the every two video frames; and

determining whether the each of the second feature points matches the initial homography matrix of the plane between the every two adjacent video frames according to the average re-projection error and a preset threshold.

5 . The plane estimation method according to claim 1 , wherein the determining a homography matrix of a plane between two adjacent video frames comprises:

after determining a homography matrix of a current plane between the two adjacent video frames, removing feature points used to determine the homography matrix of the current plane from the multiple same feature points to obtain remaining feature points; and

taking a plane other than the current plane as the current plane, determining a homography matrix of the current plane between the two adjacent video frames using the random sample consensus algorithm according to position information of the remaining feature points in the two adjacent video frames, and repeating the above steps from the removing feature points used to determine the homography matrix of the current plane from the multiple same feature points to obtain remaining feature points until a number of remaining feature points is less than a preset number.

6 . The plane estimation method according to claim 1 , further comprising: after determining the parameter information of the plane,

determining position and pose information of a virtual object according to the parameter information of the plane; and

displaying the virtual object in association with the plane in a preset video frame according to the position and pose information.

7 . An electronic device, comprising:

at least one processor;

a storage device for storing at least one program, which when executed by the at least one processor, causes the at least one processor to implement the plane estimation method according to of claim 1 .

8 . The electronic device according to claim 7 , wherein the determining a homography matrix of a plane between two adjacent video frames according to the position information of multiple same feature points in the video frames based on a random sample consensus algorithm comprises:

extracting a preset number of feature points from the multiple same feature points as first feature points, and taking other feature points without being extracted as second feature points;

determining an initial homography matrix of a plane between every two adjacent video frames based on position information of the first feature points in the every two adjacent video frames;

determining whether each of the second feature points matches the initial homography matrix of the plane between the every two adjacent video frames according to position information of the each of the second feature points in the every two adjacent video frames and the initial homography matrix of the plane between the every two adjacent video frames;

for the each of the second feature points, taking the second feature point as an inlier in response to the second feature point being matched with the initial homography matrix of the plane between the every two adjacent video frames, repeating the above steps from the extracting a preset number of feature points from the multiple same feature points as first feature points until a number of iterations reaches a preset number, and determining a target iteration with a maximum number of inliers among the iterations; and

determining the homography matrix of the plane between the two adjacent video frames according to position information of all inliers determined in the target iteration in the two adjacent video frames.

9 . The electronic device according to claim 8 , wherein the determining whether each of the second feature points matches the initial homography matrix of the plane between the every two adjacent video frames according to position information of the each of the second feature points in the every two adjacent video frames and the initial homography matrix of the plane between the every two adjacent video frames comprises:

determining re-projection position information of the each of the second feature points in a succeeding one of the every two video frames, according to the position information of the each of the second feature points in a preceding one of the every two video frames and the initial homography matrix of the plane between the every two adjacent video frames;

determining a re-projection error of the each of the second feature points between the every two adjacent video frames, according to position information and the re-projection position information of the each of the second feature points in the succeeding one of the every two video frames; and

determining whether the each of the second feature points matches the initial homography matrix of the plane between the every two adjacent video frames according to the re-projection error of the each of the second feature points between the every two adjacent video frames.

10 . The electronic device according to claim 9 , wherein the determining whether the each of the second feature points matches the initial homography matrix of the plane between the every two adjacent video frames according to the re-projection error of the each of the second feature points between the every two adjacent video frames comprises:

determining an average re-projection error according to the re-projection error of the each of the second feature points between the every two video frames; and

determining whether the each of the second feature points matches the initial homography matrix of the plane between the every two adjacent video frames according to the average re-projection error and a preset threshold.

11 . The electronic device according to claim 7 , wherein the determining a homography matrix of a plane between two adjacent video frames comprises:

after determining a homography matrix of a current plane between the two adjacent video frames, removing feature points used to determine the homography matrix of the current plane from the multiple same feature points to obtain remaining feature points; and

taking a plane other than the current plane as the current plane, determining a homography matrix of the current plane between the two adjacent video frames using the random sample consensus algorithm according to position information of the remaining feature points in the two adjacent video frames, and repeating the above steps from the removing feature points used to determine the homography matrix of the current plane from the multiple same feature points to obtain remaining feature points until a number of remaining feature points is less than a preset number.

12 . The electronic device according to claim 7 , wherein storage device further stores at least one program, which when executed by the at least one processor, causes the at least one processor to, after determining the parameter information of the plane,

determine position and pose information of a virtual object according to the parameter information of the plane; and

display the virtual object in association with the plane in a preset video frame according to the position and pose information.

13 . A non-transitory computer readable storage medium comprising computer executable instructions, which when executed by a computer processor cause the computer processor to execute the plane estimation method according to of claim 1 .

14 . The non-transitory computer readable storage medium according to claim 13 , wherein the determining a homography matrix of a plane between two adjacent video frames according to the position information of multiple same feature points in the video frames based on a random sample consensus algorithm comprises:

extracting a preset number of feature points from the multiple same feature points as first feature points, and taking other feature points without being extracted as second feature points;

determining an initial homography matrix of a plane between every two adjacent video frames based on position information of the first feature points in the every two adjacent video frames;

determining whether each of the second feature points matches the initial homography matrix of the plane between the every two adjacent video frames according to position information of the each of the second feature points in the every two adjacent video frames and the initial homography matrix of the plane between the every two adjacent video frames;

for the each of the second feature points, taking the second feature point as an inlier in response to the second feature point being matched with the initial homography matrix of the plane between the every two adjacent video frames, repeating the above steps from the extracting a preset number of feature points from the multiple same feature points as first feature points until a number of iterations reaches a preset number, and determining a target iteration with a maximum number of inliers among the iterations; and

determining the homography matrix of the plane between the two adjacent video frames according to position information of all inliers determined in the target iteration in the two adjacent video frames.

15 . The non-transitory computer readable storage medium according to claim 14 , wherein the determining whether each of the second feature points matches the initial homography matrix of the plane between the every two adjacent video frames according to position information of the each of the second feature points in the every two adjacent video frames and the initial homography matrix of the plane between the every two adjacent video frames comprises:

determining re-projection position information of the each of the second feature points in a succeeding one of the every two video frames, according to the position information of the each of the second feature points in a preceding one of the every two video frames and the initial homography matrix of the plane between the every two adjacent video frames;

determining a re-projection error of the each of the second feature points between the every two adjacent video frames, according to position information and the re-projection position information of the each of the second feature points in the succeeding one of the every two video frames; and

determining whether the each of the second feature points matches the initial homography matrix of the plane between the every two adjacent video frames according to the re-projection error of the each of the second feature points between the every two adjacent video frames.

16 . The non-transitory computer readable storage medium according to claim 15 , wherein the determining whether the each of the second feature points matches the initial homography matrix of the plane between the every two adjacent video frames according to the re-projection error of the each of the second feature points between the every two adjacent video frames comprises:

determining an average re-projection error according to the re-projection error of the each of the second feature points between the every two video frames; and

determining whether the each of the second feature points matches the initial homography matrix of the plane between the every two adjacent video frames according to the average re-projection error and a preset threshold.

17 . The non-transitory computer readable storage medium according to claim 13 , wherein the determining a homography matrix of a plane between two adjacent video frames comprises:

after determining a homography matrix of a current plane between the two adjacent video frames, removing feature points used to determine the homography matrix of the current plane from the multiple same feature points to obtain remaining feature points; and

taking a plane other than the current plane as the current plane, determining a homography matrix of the current plane between the two adjacent video frames using the random sample consensus algorithm according to position information of the remaining feature points in the two adjacent video frames, and repeating the above steps from the removing feature points used to determine the homography matrix of the current plane from the multiple same feature points to obtain remaining feature points until a number of remaining feature points is less than a preset number.

18 . The non-transitory computer readable storage medium according to claim 13 , further storing at least one program, which when executed by the at least one processor, causes the at least one processor to after determining the parameter information of the plane,

determine position and pose information of a virtual object according to the parameter information of the plane; and

display the virtual object in association with the plane in a preset video frame according to the position and pose information.

19 . A plane estimation apparatus, comprising:

a position information determination module configured to obtain multiple video frames of a target video, extract feature points from each of the multiple video frames, determine multiple same feature points in feature points of the multiple video frames, and determine position information of the multiple same feature points in the multiple video frames;

a homography matrix determination module configured to determine a homography matrix of a plane between two adjacent video frames according to the position information of the multiple same feature points in the multiple video frames based on a random sample consensus algorithm; and

a plane parameter determination module configured to determine parameter information of the plane between the two adjacent video frames according to the homography matrix of the plane.

20 . The plane estimation apparatus according to claim 19 , wherein the homography matrix determination module comprises:

an extraction unit configured to extract a preset number of feature points from the multiple same feature points as first feature points, and taking other feature points without being extracted as second feature points;

an initial matrix determination unit configured to determine an initial homography matrix of a plane between every two adjacent video frames based on position information of the first feature points in the every two adjacent video frames;

a determination unit configured to determine whether each of the second feature points matches the initial homography matrix of the plane between the every two adjacent video frames according to position information of the each of the second feature points in the every two adjacent video frames and the initial homography matrix of the plane between the every two adjacent video frames;

an inlier determination unit configured to, for the each of the second feature points, take the second feature point as an inlier in response to the second feature point being matched with the initial homography matrix of the plane between the every two adjacent video frames, repeat the above steps from the extracting a preset number of feature points from the multiple same feature points as first feature points until a number of iterations reaches a preset number, and determine a target iteration with a maximum number of inliers among the iterations; and

a final matrix determination unit configured to determine the homography matrix of the plane between the two adjacent video frames according to position information of all inliers determined in the target iteration in the two adjacent video frames.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 21, 2024
From: GUO, HENGKAI
To: BEIJING ZITIAO NETWORK TECHNOLOGY CO., LTD.
Reel/Frame 066859/0883 →
Priority Claims (1)
CN 202110784263.6 · Jul 12, 2021 · national
Continuity (1)
Related Publication 20240296651A1 · Sep 5, 2024
References Cited (19)
US 10600210B1 · Citraro et al. · 2020 [cited by applicant]
US 11232594B1 · Rana · 2022 [cited by examiner]
US 20030182076A1 · Udomkesmalee · 2003 [cited by examiner]
US 20070140531A1 · Hamza · 2007 [cited by examiner]
US 20130307934A1 · Densham · 2013 [cited by examiner]
US 20170140526A1 · Chen · 2017 [cited by examiner]
US 20180075593A1 · Wang et al. · 2018 [cited by applicant]
US 20200184654A1 · Kim · 2020 [cited by examiner]
US 20210118150A1 · Jia · 2021 [cited by examiner]
US 20210120221A1 · Li · 2021 [cited by examiner]
CN 109462748A · 2019 [cited by applicant]
CN 109741245A · 2019 [cited by applicant]
CN 110276751A · 2019 [cited by applicant]
CN 110555868A · 2019 [cited by applicant]
CN 112598714A · 2021 [cited by applicant]
Arróspide, Jon, Luis Salgado, and Marcos Nieto. “Vehicle detection and tracking using homography-based plane rectification and particle filtering.” 2010 IEEE Intelligent Vehicles Symposium. IEEE, 2010. [cited by examiner]
Sivaraman, Sayanan, and Mohan Manubhai Trivedi. “Looking at vehicles on the road: A survey of vision-based vehicle detection, tracking, and behavior analysis.” IEEE transactions on intelligent transportation systems 14.… [cited by examiner]
Office Action received for Chinese Patent Application No. 202110784263.6, mailed on May 16, 2025, 12 pages (6 pages of English Translation and 6 pages of Original Document). [cited by applicant]
International Search Report and Written Opinion, International Patent Application No. PCT/CN2022/099337, Aug. 23, 2022, with English translation of Search Report (8 pages). [cited by applicant]