Modeling planar surfaces using direct plane fitting
Abstract
Embodiments of the disclosed technology are directed to using pixel data from two or images of the same real-world region to determine the orientation of substantially planar surfaces in those images. The disclosed technology may be utilized to generate positions and/or orientations of planar surfaces based on multiple 2D images of the planar surface. Implementations can include modeling a planar surface, which can include capturing at least two images (from corresponding different, known positions), determining, from the images, regions that correspond to substantially the same portion of the real-world planar surface, computing a similarity metric for the two regions, and then determining the orientation of the planar surface based on maximizing the similarity metric over various different regions from the images. The described embodiments provide improvements in speed and accuracy compared to existing procedures and are able to find planar surfaces in both low-texture environments and occluded environments.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 25 · Forward citations: 0.
Claims (20 — 3 Independent, 17 Dependent)
- Claim 1Independent Claim
A computer-implemented method for modeling a surface of interest using direct plane fitting to find planes, the method comprising: receiving two images of a surface of interest, wherein the two images are captured by a camera from different known positions; determining, from the two images, common regions R 1 and R 2 of the surface of interest, the common regions corresponding to an area region R of the surface of interest; back projecting the common regions R 1 and R 2 to the two images to produce homography-mapped images R 1 w and R 2 w from the two images; computing a 2-dimensional gradient of R 1 w and R 2 w to produce R 1 wg and R 2 wg; determining within the homography-mapped images R 1 w and R 2 w, pairs of points that correspond to common positions on the surface of interest in each of the two images; projecting, rays through the pairs of points from the different known positions to intersect at a world-point P; using P as a seed, searching for candidate plane vectors that intersect P, wherein the searching comprises: for candidate plane vectors that intersect P: computing a local plane coordinate system; determining a center C of the area region R of the surface of interest; for each possible plane orientation angle for the candidate plane vectors, computing a similarity metric S; and when the similarity metric S is greater than or equal to a predetermined threshold, output the candidate plane vectors and terminate the searching; determining an orientation of a planar surface based on maximizing the similarity metric S over different portions of the area region R of the surface of interest; and generating a 3D model based on the orientation of the planar surface.
- Claim 2Depends on #1
The method of claim 1, further comprising: when the similarity metric S is less than the predetermined threshold: determining, within the homography-mapped images R 1 w and R 2 w, new pairs of points that correspond to common positions on the surface of interest in each of the two images; projecting rays through the new pairs of points from the different known positions to intersect at a new world-point nP; using nP as a seed, searching for candidate plane vectors that intersect nP, wherein the searching comprises: for each candidate plane vector that intersects nP: computing a local plane coordinate system; determining a center C of the area region R of the surface of interest; for each possible plane orientation angle for the candidate plane vectors, compute a similarity metric S; when the similarity metric S is greater than or equal to a predetermined threshold, outputting the candidate plane vectors and terminate the searching; and when the similarity metric S is less than the predetermined threshold, repeating the searching with additional new pairs of points.
- Claim 3Depends on #1
The method of claim 1, further comprising: for each of the candidate plane vectors that intersect P, determining a distance D from the world-point P to C.
- Claim 4Depends on #1
The method of claim 1, wherein searching possible plane orientations for the candidate plane vectors comprises: computing, for each possibly plane orientation angle, a homography for the area region R; and sampling projections of R 1 w and R 2 w from the received two images.
- Claim 5Depends on #1
The method of claim 1, further comprising setting a size of the area region R of the surface of interest to a fixed value.
- Claim 6Depends on #5
The method of claim 5, wherein the fixed value is 128 × 128 pixels.
- Claim 7Depends on #1
The method of claim 1, wherein determining the center of the area region R of the surface of interest comprises expressing P into the local plane coordinate system.
- Claim 8Depends on #1
The method of claim 1, wherein the similarity metric S is computed based on a normalized dot product of R 1 wg and R 2 wg.
- Claim 9Depends on #1
The method of claim 1, wherein the two images are captured from different known relative positions and orientations.
- Claim 10Depends on #1
The method of claim 1, wherein the common regions comprise a fixed size.
- Claim 11Depends on #10
The method of claim 10, wherein the fixed size of the common regions is 128 pixels or less on a side.
- Claim 12Depends on #1
The method of claim 1, wherein the possible plane orientation angle comprises altitude (θ) and azimuth (Φ).
- Claim 13Depends on #1
The method of claim 1, wherein the possible plane orientation angle comprises altitude (θ) or azimuth (Φ).
- Claim 14Independent Claim
A computer-implemented method for modeling a surface of interest, comprising: (a) capturing, by a camera, from a plurality of different positions, a plurality of images of the surface of interest; (b) identifying a region in each of the plurality of images of the surface of interest, the regions corresponding to substantially the same portion of the surface of interest; (c) determining, within the regions, a pixel that corresponds to a common position on the surface of interest in each of the plurality of images; (d) automatically selecting based on a location of the pixel in the regions, a candidate orientation of the surface of interest and computing a similarity metric for the candidate orientation; (e) determining whether the similarity metric is greater than a predetermined threshold; (f) repeating operations (c) through (e) until the similarity metric exceeds the predetermined threshold or a predetermined number of pixels has been processed; (g) repeating operations (b) through (f) until the similarity metric exceeds the predetermined threshold or a predetermined number of regions have been identified; (h) determining, based on operations (b) through (f), an orientation of the surface of interest; and (i) generating a 3D model based on the orientation of the surface of interest.
- Claim 15Depends on #14
The method of claim 14, further comprising: determining a relative pose of a camera corresponding to each of the plurality of different positions, wherein the orientation of the surface of interest is further based on the relative pose of the camera.
- Claim 16Depends on #14
The method of claim 14, wherein the region comprises a square region that is specified based on a center coordinate of the square region and a width of the square region.
- Claim 17Depends on #16
The method of claim 16, wherein the width of the square region is 128 pixels.
- Claim 18Depends on #14
The method of claim 14, wherein identifying the region uses an optical flow method or a deep-learning based approach.
- Claim 19Depends on #14
The method of any of claim 14, wherein the surface of interest is a planar surface or a substantially planar surface.
- Claim 20Independent Claim
A non-transitory computer-readable storage medium storing instructions that are configured to cause one or more processors to perform a method of: (a) capturing from a plurality of different positions, a plurality of images of a surface of interest; (b) identifying a region in each of the plurality of images of the surface of interest, the regions corresponding to substantially the same portion of the surface of interest; (c) determining, within the regions, a pixel that corresponds to a common position on the surface of interest in each of the plurality of images; (d) selecting based on a location of the pixel in the regions, a candidate orientation of the surface of interest and computing a similarity metric for the candidate orientation; (e) determining whether the similarity metric is greater than a predetermined threshold; (f) repeating operations (c) through (e) until the similarity metric exceeds the predetermined threshold or a predetermined number of pixels has been processed; (g) repeating operations (b) through (f) until the similarity metric exceeds the predetermined threshold or a predetermined number of regions have been identified; (h) determining, based on operations (b) through (f), an orientation of the surface of interest; and (i) generating a 3D model based on the orientation of the surface of interest.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS This application claims priority to U.S. Provisional Patent Application Ser. No. 63/288,310, filed on 10 Dec. 2021, entitled “ Modeling Planar Surfaces Using Direct Plane Fitting, ” the contents of which are hereby incorporated by reference in their entirety as if presented herein in full. BACKGROUND Accurate digital representations of a physical structure (e.g., house, room, building, and the like) can be used to facilitate efficient construction, maintenance, renovation planning, documentation, etc. The ability to accurately and efficiently build a three-dimensional (3D) model of a structure based on two-dimensional (2D) images of the structure can further reduce costs associated with a variety of applications. When generating a 3D model of a room, for example, a typical goal is to derive mathematical representations of walls in terms of 3D world positions and orientations. However, one of the challenges associated with generating 3D models from 2D images of structures involves modeling planar surfaces. As illustrated in FIG. 1 A , a traditional method for deriving 3D information from 2D images is known as “ indirect plane fitting, ” which typically involves extracting features (using point clouds) from image pixels and processing the features to derive an output (i.e., a 3D model). In general, such indirect methods utilize computer vision and algorithms to extract features from the pixels in an image, and the extracted features are again processed to produce the output representation or 3D model. The extracted features can include point clouds, line segments, or even deep network feature vectors. The traditional indirect process may first extract a series of line segments from an image, and then cluster those line segments to find the vanishing points in an image. In such techniques, the data points may be averaged to find an average planar fit, determine the planar surface, and adjust the alignment to construct a 3D buildi
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.