Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
ASSOCIATING THREE-DIMENSIONAL COORDINATES WITH TWO-DIMENSIONAL FEATURE POINTS
Document Type and Number:
WIPO Patent Application WO/2021/138139
Kind Code:
A1
Abstract:
An example method includes causing a light projecting system of a distance sensor to project a three-dimensional pattern of light onto an object, wherein the three-dimensional pattern of light comprises a plurality of points of light that collectively forms the pattern, causing a light receiving system of the distance sensor to acquire an image of the three-dimensional pattern of light projected onto the object, causing the light receiving system to acquire a two-dimensional image of the object, detecting a feature point in the two-dimensional image of the object, identifying an interpolation area for the feature point, and computing three-dimensional coordinates for the feature point by interpolating using three-dimensional coordinates of two points of the plurality of points that are within the interpolation area.

Inventors:
KIMURA AKITERU (JP)
Application Number:
PCT/US2020/066554
Publication Date:
July 08, 2021
Filing Date:
December 22, 2020
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
MAGIK EYE INC (US)
International Classes:
G06V10/145; G06V10/46
Foreign References:
US20170094254A12017-03-30
US20060210148A12006-09-21
US20020005856A12002-01-17
US20180376116A12018-12-27
US20110002532A12011-01-06
Other References:
See also references of EP 4094181A4
Attorney, Agent or Firm:
REA, Diana, J. (US)
Download PDF:
Claims:
What is claimed is:

1. A method, comprising: causing, by a processing system of a distance sensor, a light projecting system of the distance sensor to project a three-dimensional pattern of light onto an object, wherein the three-dimensional pattern of light comprises a plurality of points of light that collectively forms the pattern; causing, by the processing system, a light receiving system of the distance sensor to acquire an image of the three-dimensional pattern of light projected onto the object; causing, by the processing system, the light receiving system to acquire a two-dimensional image of the object; detecting, by the processing system, a feature point in the two-dimensional image of the object; identifying, by the processing system, an interpolation area for the feature point; and computing, by the processing system, three-dimensional coordinates for the feature point by interpolating using three-dimensional coordinates of two points of the plurality of points that are within the interpolation area.

2. The method of claim 1 , wherein the detecting further comprises: detecting, by the processing system, a type of the feature point.

3. The method of claim 2, wherein the computing further comprises: selecting, by the processing system, an interpolation technique for the computing from among a plurality of candidate interpolation techniques.

4. The method of claim 3, wherein the interpolation technique is an in-plane interpolation technique.

5. The method of claim 3, wherein the interpolation technique is a spline processing technique.

6. The method of claim 3, wherein the interpolation technique is a Bezier curve processing technique.

7. The method of claim 1 , wherein the interpolation area is limited to a subset of the plurality of points of the three-dimensional pattern that are located within a predefined radius of the feature point.

8. The method of claim 7, wherein the predefined radius limits the interpolation area to points of the plurality of points that are neighbors of the feature point.

9. The method of claim 1 , wherein the computing further comprises: obtaining, by the processing system, a direction of the feature point from the interpolating.

10. The method of claim 1 , wherein the three-dimensional coordinates of the two points are continuously acquired by the processing system.

11. The method of claim 1 , wherein the distance sensor is part of a facial authentication system.

12. The method of claim 1 , wherein the distance sensor is part of a gesture recognition system.

13. The method of claim 1 , wherein the distance sensor is part of a path recognition system.

14. A non-transitory machine-readable storage medium encoded with instructions executable by the processing system including at least one processor, wherein, when executed by the processing system, the instructions cause the processing system to perform operations, the operations comprising: causing a light projecting system of a distance sensor to project a three- dimensional pattern of light onto an object, wherein the three-dimensional pattern of light comprises a plurality of points of light that collectively forms the pattern; causing a light receiving system of the distance sensor to acquire an image of the three-dimensional pattern of light projected onto the object; causing the light receiving system to acquire a two-dimensional image of the object; detecting a feature point in the two-dimensional image of the object; identifying an interpolation area for the feature point; and computing three-dimensional coordinates for the feature point by interpolating using three-dimensional coordinates of two points of the plurality of points that are within the interpolation area.

15. The non-transitory machine-readable storage medium of claim 14, wherein the detecting further comprises:

Detecting a type of the feature point.

16. The non-transitory machine-readable storage medium of claim 15, wherein the computing further comprises: selecting an interpolation technique for the computing from among a plurality of candidate interpolation techniques.

17. The non-transitory machine-readable storage medium of claim 16, wherein the interpolation technique is an in-plane interpolation technique.

18. The non-transitory machine-readable storage medium of claim 16, wherein the interpolation technique is a spline processing technique.

19. The non-transitory machine-readable storage medium of claim 16, wherein the interpolation technique is a Bezier curve processing technique.

20. An apparatus, comprising: a processing system; and a non-transitory machine-readable storage medium encoded with instructions executable by the processing system, wherein, when executed, the instructions cause the processing system to perform operations, the operations comprising: causing a light projecting system of a distance sensor to project a three-dimensional pattern of light onto an object, wherein the three- dimensional pattern of light comprises a plurality of points of light that collectively forms the pattern; causing a light receiving system of the distance sensor to acquire an image of the three-dimensional pattern of light projected onto the object; causing the light receiving system to acquire a two-dimensional image of the object; detecting a feature point in the two-dimensional image of the object; identifying an interpolation area for the feature point; and computing three-dimensional coordinates for the feature point by interpolating using three-dimensional coordinates of two points of the plurality of points that are within the interpolation area.

Description:
ASSOCIATING THREE-DIMENSIONAL COORDINATES WITH TWO-DIMENSIONAL FEATURE POINTS

CROSS REFERENCE TO RELATED APPLICATIONS

[0001] This application claims the priority of United States Provisional Patent Application Serial No. 62/954,533, filed December 29, 2019, which is herein incorporated by reference in its entirety.

FIELD OF THE INVENTION

[0002] The invention related generally to distance measurement, and relates more particularly to associating three-dimensional coordinates with two- dimensional feature points.

BACKGROUND

[0003] Facial recognition is often used for device and application authentication. For instance, a real-time facial image of a user who is attempting to be authenticated to a device or application may be compared to one or more stored facial images of authorized users; if the facial image of the user attempting authentication matches a stored facial image, the user may be authenticated. [0004] Some facial recognition techniques acquire a two-dimensional image of a user’s face, extract feature points from the two-dimensional image, and then generate a user identification based on the positional relationship of the feature points. Since the feature points are represented by two-dimensional coordinates, a correction may be performed using three-dimensional measurement values. For instance, if the overall distance to the user’s face in the two-dimensional image is known, it may be possible to determine the absolute size of the user’s face, which helps to correct the positional relationships of the feature points. Additionally, it may be possible to detect the inclination of the user’s face by acquiring the entire shape of a three-dimensional map and using the shape to correct the feature points. SUMMARY

[0005] In one example, a method performed by a processing system including at least one processor includes causing a light projecting system of a distance sensor to project a three-dimensional pattern of light onto an object, wherein the three-dimensional pattern of light comprises a plurality of points of light that collectively forms the pattern, causing a light receiving system of the distance sensor to acquire an image of the three-dimensional pattern of light projected onto the object, causing the light receiving system to acquire a two-dimensional image of the object, detecting a feature point in the two-dimensional image of the object, identifying an interpolation area for the feature point, and computing three- dimensional coordinates for the feature point by interpolating using three- dimensional coordinates of two points of the plurality of points that are within the interpolation area.

[0006] In another example, a non-transitory machine-readable storage medium is encoded with instructions executable by a processing system including at least one processor. When executed, the instructions cause the processing system to perform operations including causing a light projecting system of a distance sensor to project a three-dimensional pattern of light onto an object, wherein the three-dimensional pattern of light comprises a plurality of points of light that collectively forms the pattern, causing a light receiving system of the distance sensor to acquire an image of the three-dimensional pattern of light projected onto the object, causing the light receiving system to acquire a two- dimensional image of the object, detecting a feature point in the two-dimensional image of the object, identifying an interpolation area for the feature point, and computing three-dimensional coordinates for the feature point by interpolating using three-dimensional coordinates of two points of the plurality of points that are within the interpolation area.

[0007] In another example, an apparatus includes a processing system including at least one processor and a non-transitory machine-readable storage medium encoded with instructions executable by the processing system. When executed, the instructions cause the processing system to perform operations including causing a light projecting system of a distance sensor to project a three- dimensional pattern of light onto an object, wherein the three-dimensional pattern of light comprises a plurality of points of light that collectively forms the pattern, causing a light receiving system of the distance sensor to acquire an image of the three-dimensional pattern of light projected onto the object, causing the light receiving system to acquire a two-dimensional image of the object, detecting a feature point in the two-dimensional image of the object, identifying an interpolation area for the feature point, and computing three-dimensional coordinates for the feature point by interpolating using three-dimensional coordinates of two points of the plurality of points that are within the interpolation area.

BRIEF DESCRIPTION OF THE DRAWINGS

[0008] FIGs. 1A-1 B illustrate different configurations of an example distance sensor of the present disclosure;

[0009] FIG. 2 is a flow diagram illustrating an example method for associating three-dimensional coordinates with a feature point of a two-dimensional image, according to examples of the present disclosure;

[0010] FIG. 3A illustrates an example forward facing image of a face onto which the three-dimensional pattern is projected;

[0011] FIG. 3B illustrates an example diagonally captured image of the face illustrated in FIG. 3A;

[0012] FIG. 3C illustrates an example laterally captured image of the face illustrated in FIG. 3A;

[0013] FIG. 4A illustrates an example feature point and the interpolation area surrounding the feature point;

[0014] FIG. 4B illustrates an alternate method of calculating the three- dimensional coordinates of the feature point of FIG. 4A;

[0015] FIG. 5 illustrates the use of a spline curve to match an interpolation position of a point of the three-dimensional pattern with a two-dimensional feature point;

[0016] FIG. 6 illustrates the use of a Bezier curve to match an interpolation position of a point of the three-dimensional pattern with a two-dimensional feature point;

[0017] FIG. 7 A illustrates a first portion of a passage in which the techniques of the present disclosure may be applied to path recognition;

[0018] FIG. 7B illustrates a second portion of the passage of FIG. 7A; and

[0019] FIG. 8 depicts a high-level block diagram of an example electronic device for calculating the distance from a sensor to an object.

DETAILED DESCRIPTION

[0020] The present disclosure broadly describes an apparatus, method, and non-transitory computer-readable medium for associating three-dimensional coordinates with two-dimensional feature points. As discussed above, some facial recognition techniques acquire a two-dimensional image of a user’s face, extract feature points from the two-dimensional image, and then generate a user identification based on the positional relationship of the feature points. Since the feature points are represented by two-dimensional coordinates, a correction may be performed using three-dimensional measurement values.

[0021] Additionally, techniques such as spline calculations may be used to reconstruct a three-dimensional surface from a two dimensional image. However, reconstructing an entire three-dimensional surface in this manner can be a time- and computation-intensive process; thus, this technique is not ideal when computation resources are limited and/or when results are needed immediately. [0022] Examples of the present disclosure greatly reduce the amount of calculation and time needed to match a three-dimensional distance detection pattern to a two-dimensional image by performing an interpolation calculation at a specified point in the two-dimensional image. In particular, a feature point in the two-dimensional image may be detected, and two or more points of the three- dimensional pattern that are within an interpolation area of the feature point may be used to estimate the three-dimensional coordinates of the feature point by interpolating between the three-dimensional positions of the two or more points. Depending upon various factors such as the type of the feature point, environmental/ambient conditions, and the arrangement of the points of the three- dimensional pattern, techniques such as in-plane processing, spline processing, and Bezier curve processing may be used to perform the interpolation.

[0023] Although examples of the present disclosure are described within the context of facial recognition, it will be understood that the disclosed examples may also be used to improve the calculation of distance and features of objects other than faces. For instance, examples of the present disclosure may also be useful in detecting hand gestures which may be associated with predefined actions to be taken by a computing system or device.

[0024] Within the context of the present disclosure, a “two-dimensional image” is understood to refer to an image acquired using light in a spectrum that is visible to the human eye (e.g., by a conventional red, green, blue (RGB) image sensor). By contrast, an image of a three-dimensional pattern is acquired using light in a spectrum that is invisible to the human eye (e.g., by an infrared imaging sensor). [0025] FIGs. 1A-1 B illustrate different configurations of an example distance sensor 100 of the present disclosure. Where the same components are present in FIGs. 1 A and 1 B, the same reference numerals are used. The distance sensor 100 may be configured in a manner similar to the distance sensors described in United States Patent Applications Serial Nos. 14/920,246, 15/149,323, and 15/149,429.

[0026] FIG. 1A, for instance, illustrates a distance sensor 100 that includes a light projecting system 102, a light receiving system 104, and a processor 126. The light projecting system 104 is configured to project a pattern 106 onto a surface or object 108, where the pattern 106 comprises a plurality of points of light. The points of light may be arranged in a grid, as shown in FIG. 1A (e.g., arranged in a plurality of rows and a plurality of columns). The rows and columns of the grid may be aligned in a collinear manner or may be staggered. The points of light may be invisible to the human eye, but visible to an imaging sensor of the distance sensor 100 (as discussed in further detail below).

[0027] Thus, the points of the three-dimensional pattern 106 may be arranged in a coordinate system that is defined by a first axis 112 and a second axis 114 that is perpendicular to the first axis 112. A datum point 110 may be defined where the first axis 112 and the second axis 114 intersect.

[0028] To this end, the light projecting system 102 may include one or more laser light sources that are capable of projecting beams of light in a wavelength that is substantially invisible to the human eye (e.g., an infrared wavelength). The light projecting system 104 may also include one or more diffractive optical elements for splitting the beams of light into additional beams of light. When each beam of light is incident upon a surface or object 108, a point of the pattern 106 is created on the surface or object 108.

[0029] The light receiving system 104 may include an imaging sensor for capturing images. The imaging sensor may be a complementary metal-oxide- semiconductor (CMOS) sensor. The images may include a two-dimensional image of the surface or object 108, as well an image of the three-dimensional pattern 106 on the surface or object 108. Thus, in one example, where the light receiving system 104 includes a single imaging sensor (e.g., camera) to capture both the two-dimensional images and the images of the three-dimensional pattern 106, the light receiving system 104 may also include a bandpass filter. A bandpass filter may be needed in this case to remove ambient light when capturing two-dimensional images (which are acquired using illumination by the same light source, e.g., infrared light source, which is used to generate the pattern 106). However, in other examples where the two-dimensional images are acquired in a darker environment, the bandpass filter may not be needed to remove the ambient light.

[0030] In the example where the two-dimensional image of the surface or object 108 and the image of the three-dimensional pattern 106 are acquired by the same imaging sensor, an automatic correspondence between positions in the images may be obtained using the coordinate system associated with the first axis 112, the second axis 114, and the datum point 110, as discussed in further detail below.

[0031] The processor 126 may be configured to control the light projecting system 106 to project the three-dimensional pattern 106 and to illuminate the surface or object 108 for image capture. The processor 126 may also control the light receiving system 104 to capture the two-dimensional images of the surface or object 108 and the images of the three-dimensional pattern 106. The processor 126 may also perform operations to align the two-dimensional images of the surface or object 108 with the images of the three-dimensional pattern 106, as discussed in further detail below.

[0032] The distance sensor 100 of FIG. 1 B is similar to the distance sensor illustrated in FIG. 1A, except that in FIG. 1 B, the light receiving system 104 includes separate imaging sensors for acquiring the two-dimensional images and the images of the three-dimensional pattern 106. Specifically, the light receiving system 104 of FIG. 1 B comprises a first imaging sensor 124 for capturing images of the three-dimensional pattern 106 and a second imaging sensor 116 for capturing two-dimensional images of the surface or object 108. In this case, neither the first imaging sensor 124 nor the second imaging sensor 116 may include a bandpass filter. Both the first imaging sensor 124 and the second imaging sensor 116 may comprise CMOS imaging sensors and may have fixed positions relative to each other.

[0033] However, since the two-dimensional image and the image of the three- dimensional pattern 106 are captured by different imaging sensors and different optical systems, it becomes necessary to correct a parallax between the two- dimensional image and the image of the three-dimensional pattern 106. Specifically, feature points of the surface or object 108 are obtained from the two- dimensional image captured by the second imaging sensor 116. However, the positions of the two-dimensional image and the image of the three-dimensional pattern 106 need to be aligned in order to be able to correctly associate three- dimensional coordinates with the feature points.

[0034] In one example, the parallax correction may be computed through a calibration process. For instance, the second imaging sensor 116 may capture a two-dimensional image of a calibration object having a known size relative to a camera reference position (e.g., a checkerboard) while the first imaging sensor 124 simultaneously captures an image of the three-dimensional pattern 106. A relationship between the two-dimensional image of the calibration object and the image of the three-dimensional pattern 106 may be observed and stored.

[0035] In another example, the methods described in U.S. Patent Application Serial No. 16/869,358 may be used to determine the relationship between the first imaging sensor 124 and the second imaging sensor 116 without the need for infrared lighting and/or calibration objects.

[0036] In one example, the parallax correction results in adjustment of the distance measurement coordinate axes for the three-dimensional pattern 106 to the front nodal point of the second imaging sensor 116. As illustrated, this results in the first axis 112 being moved to a position of a corrected first axis 120, the second axis 114 being moved to a position of a corrected second axis 122, and the datum point 110 being moved to a position of a corrected datum point 118. [0037] FIG. 2 is a flow diagram illustrating an example method 200 for associating three-dimensional coordinates with a feature point of a two- dimensional image, according to examples of the present disclosure. The method 200 may be performed, for example, by a processing system including at least one processor, such as the processing system of a distance sensor (e.g., processor 126 of FIGs. 1A and 1 B). For the sake of example, the method 200 is described as being performed by a processing system.

[0038] The method 200 may begin in step 202. In step 204, the processing system may cause a light projecting system of a distance sensor to project a three-dimensional pattern of light onto an object, wherein the pattern of light comprises a plurality of points of light that collectively forms the pattern. For instance, the processing system may send an electronic signal to the light projecting system, where the electronic signal encodes an instruction. As discussed above, the light may be of a wavelength that is substantially invisible to the human eye, but that is detectable by an imaging sensor of the distance sensor (e.g., infrared light).

[0039] The pattern of light may be created by a plurality of beams projected by the distance sensor’s light projecting system. The plurality of beams may project the plurality of points of light onto the object, where the plurality of points of light collectively forms the pattern of light, or a “projection pattern.” In one example, the plurality of points of light may be arranged into a grid pattern comprising a plurality of rows and a plurality of columns. For instance, U.S. Patent Application Serial No. 16/150,918, which is herein incorporated by reference in its entirety, describes a method for obtaining a three-dimensional dot map by multi-point projection. [0040] In step 206, the processing system may cause a light receiving system of the distance sensor to acquire an image of the three-dimensional projection pattern on the object. The image of the three-dimensional projection pattern may also be referred to as a “dot map” (although the points of light may take shapes other than dots). For instance, the processing system may send an electronic signal to the light receiving system, where the electronic signal encodes an instruction. As discussed above, although the projection pattern (e.g., the light forming the projection pattern) may be invisible to the human eye, it may be visible to an image sensor of the light receiving system.

[0041] In step 208, the processing system may cause the light receiving system of the distance sensor to acquire a two-dimensional image of the object (e.g., without the projection pattern). In one example, the light receiving system may illuminate the object in order to acquire the two-dimensional image. In one example, where both the image of the three-dimensional projection pattern and the two-dimensional image of the object are captured by the same imaging sensor, the light receiving system may illuminate the object using the same light source that is used to generate the projection pattern (e.g., an infrared light source).

[0042] In step 210, the processing system may detect a feature point in the two-dimensional image of the object. In one example, the type of the feature point that is detected may vary based on the type of the object, and the three- dimensional characteristics of the feature point will vary depending on the type of the feature point. Subsequent processing techniques may vary depending upon the type of the feature point.

[0043] For example, where the object is a face (e.g., as might be the case for facial authentication systems), a two-dimensional feature point could comprise a point on a mouth, a nose, and eye, or the like. However, where the object is a hand (e.g., as might be the case for gesture recognition systems), a two- dimensional feature point could comprise a point on a fingertip, the base of a finger, the palm of the hand, or the like.

[0044] FIG. 3A, for instance, illustrates an example forward facing image 300 of a face onto which the three-dimensional pattern (represented as black dots in FIG. 3A) is projected. The image 300 includes a plurality of feature points 302i- 302 n (hereinafter individually referred to as a “feature point 302” or collectively referred to as “feature points 302”), which are shown in FIG. 3A as white dots. In FIG. 3A, each point of the three-dimensional pattern includes distance information that may be computed using the datum point (e.g., as illustrated in FIGs. 1 A-1 B) of the three-dimensional pattern as a reference.

[0045] FIG. 3B illustrates an example diagonally captured image 306 of the face illustrated in FIG. 3A, while FIG. 3C illustrates an example laterally captured image 308 of the face illustrated in FIG. 3A. As can be seen from FIGs. 3A-3C collectively, each feature point 302 has different characteristics with respect to the direction from which the image of the face is captured. For instance, the feature point 302 n on the tip of the nose does not clearly indicate a feature in the forward facing image 300, but provides a clearer indication of the feature in the laterally captured (profile) image 308. However, the feature point 302n is also located near the end of the facial profile or outline, where there are fewer surrounding points of the three-dimensional pattern that are incident upon the face. On the other hand, the feature point 302i at the outer corner of the eye is not located near the end of the facial profile or outline in any of the images 300, 306, and 308. The correspondence between each feature point 302 and a facial part (e.g., tip of nose, outer corner of eye, etc.) may be assumed in advance, and may motivate the selection of a specific interpolation technique as discussed in greater detail below.

[0046] Referring back to FIG. 2, in step 212, the processing system may identify an interpolation area for the feature point. The interpolation area may comprise a predefined radius surrounding the feature point (e.g., limited to all points of the three-dimensional pattern that are neighboring or immediately adjacent to the feature point, all points of the three-dimensional pattern within x centimeters of the feature point, etc.). For instance, referring again to FIGs. 3A- 3C, the feature point 302i is associated with an interpolation area 304i, while the feature point 302 n is associated with an interpolation area 304 n .

[0047] In step 214, the processing system may compute the three-dimensional coordinates for the feature point by interpolating using the three-dimensional coordinates of two (or more) points of the three-dimensional pattern that are within the interpolation area of the feature point. Computation of the three-dimensional coordinates may include selecting an interpolation technique from among a plurality of candidate interpolation techniques. For instance, in one example, the interpolation may be performed using in-plane processing techniques. In another example, a spline curve may be used to match three-dimensional coordinates to feature point. In another example, a Bezier curve may be used to match three- dimensional coordinates to feature point.

[0048] For in-plane processing, it may be assumed that each mesh area (e.g., area bounded by neighboring points) of the three-dimensional pattern comprises a plane. FIG. 4A, for instance, illustrates an example feature point 400 and the interpolation area surrounding the feature point 400. Specifically points P1 , P2, P3, P4, P5, and P6 of the three-dimensional pattern neighbor the feature point 400, while additional points of the three-dimensional pattern may neighbor points P1-P6. Each point P1-P6 is associated with a set of three-dimensional coordinates (e.g., x,, y,, z \ , s,, where I = {1 ,... ,6}).

[0049] In the example of FIG. 4, it is assumed that there is no parallax (e.g., the coordinate systems of the two-dimensional image and the image of the three- dimensional pattern match, based on the same imaging sensor capturing the two- dimensional image and the image of the three-dimensional pattern). Thus, in this case, the three-dimensional coordinates (xo, yo, zo, so) of the feature point 400 may be easily calculated by interpolating between the three-dimensional coordinates of the points P1 , P2, and P3 using known interpolation methods. [0050] FIG. 4B illustrates an alternate method of calculating the three- dimensional coordinates of the feature point 400 of FIG. 4A. In the case of FIG. 4B, the relationship of the feature point 400 with the adjacent surface, plane 2-3- 4 (which is defined between points P2, P3, and P4 of the three-dimensional pattern), is also considered in the computation using known interpolation methods. Thus, an intermediate three-dimensional coordinate position between planes 1-2-3 and 2-3-4 may yield a three-dimensional coordinate position of the feature point 400.

[0051] More particularly, the sides surrounding the feature point 400 are (1-2), (2-3), and (3-1) (where a “side” is defined as a line connecting two points of the three-dimensional pattern, e.g., side 1-2 connects points P1 and P2). One way to obtain the three-dimensional coordinates of the feature point 400 would be to interpolate between the closest side of the surrounding sides to the feature point and the surface adjacent to the closest side. In one example, the interpolation minimizes the number of points in the three-dimensional pattern whose coordinates are used in the interpolation calculation. The points hose coordinates are utilized may be the n points that are closest to the feature point. For instance, the example shown in FIG. 4B utilizes the coordinates of six points (i.e. , P1-P6), while the example shown in FIG. 4A utilizes the coordinates of twelve points (i.e., P1-P12). This reduces the computational complexity of the interpolation calculation.

[0052] In FIG. 4B, the same computation may be performed using the planes 1-2-6 (defined between points P1 , P2, and P6) and 1-3-5 (defined between points P1 , P3, and P5). In one example, the most accurate three-dimensional coordinates for the feature point 400 can be calculated by selecting the surface or plane that contributes to the feature point 400 according to the type of the feature point (e.g., end point, center part of smooth surface, etc.).

[0053] In other examples, in place of in-plane processing, spline processing and/or Bezier curve processing may be utilized. Spline processing and Bezier curve processing are techniques for smoothly connecting dots in a plane. For instance, spline curves may be used to connect three-dimensional dot arrays on multiple planes arranged side-by-side. Assuming that a first plane that includes the position of the feature point (having two-dimensional coordinates (x, y)) is substantially orthogonal to the planes that include the spline curve (e.g., a first set of spline curves), the cross points of the first plane and each of the first spline curves may be connected with a second spline curve. The position of the feature point on the second spline curve may represent the three-dimensional coordinates (e.g., (x, y, z)) of the feature point. This approach assumes that the points of the three-dimensional pattern are arranged in substantially straight, regular lines (e.g., rows or columns) rather than randomly distributed.

[0054] FIG. 5 illustrates the use of a spline curve to match an interpolation position of a point of the three-dimensional pattern with a two-dimensional feature point 500. As illustrated and discussed above, the points of the three-dimensional pattern may be arranged in a substantially linear manner. In the illustrated example, a plurality of spline curves 502i-502 k (hereinafter individually referred to as a “spline curve 502” or collectively referred to as “spline curves 502”) is obtained from points arranged on a plurality of planes 504i-504 k (hereinafter individually referred to as a “plane 504” or collectively referred to as “planes 504”) of a first spline 506. Furthermore, a plane 508 passes through the feature point 500 and positioned substantially perpendicular to the plurality of planes 504. Each intersection of the plane 508 and the spline curves is connected to obtain a final spline curve. The three-dimensional coordinates (x s , y s , z s ) of the feature point 500 may be obtained from the two-dimensional coordinates (x p , y p ) of the feature point 500 and the spline curve. Furthermore, the direction 510 of the feature point 500 (indicative of a surface feature such as a vector, curvature, or the like) can be obtained from the final spline curve and from the plurality of spline curves 502.

[0055] A Bezier curve may be obtained from a first plane formed by the points of the three-dimensional pattern surrounding the feature point and a second plane in proximity to the first plane. The three-dimensional coordinates of the feature point can then be obtained from the Bezier curve. A Bezier curve including the two-dimensional feature point may be drawn by using the inclination of a surface adjacent to a triangular area including the feature point and the position of an adjacent boundary line.

[0056] FIG. 6 illustrates the use of a Bezier curve to match an interpolation position of a point of the three-dimensional pattern with a two-dimensional feature point 500. In this case, the three-dimensional coordinates of the feature point 600 can be specified by a Bezier curve 608 obtained by a line intersecting a plane 602 adjacent to the plane that includes the two-dimensional feature point 600 and an arbitrary vertical plane 604 passing through the two-dimensional feature point 600.

[0057] Whether the interpolation is calculated using an in-plane processing technique, spline processing, or Bezier curve processing, it is sufficient to interpolate between a small number of points of the three-dimensional pattern in the vicinity of the feature point (and only for the feature point’s three-dimensional position). This reduces the computational complexity of the interpolation calculation, as discussed above. Additionally, when using spline processing or Bezier curve processing, since the curve of the surface or object may be calculated at the same time, it is relatively simple to calculate the direction in which the surface or object including the feature point is positioned.

[0058] In one example, the technique used to compute the three-dimensional coordinates for the feature point may be selected based on consideration of one or more factors which may affect the accuracy of the selected technique, such as the type of the feature point (which may be determined by the processing system prior to computing the three-dimensional coordinates), the environmental conditions, and other factors.

[0059] The method 200 may end in step 216.

[0060] The accuracy of the method 200, and in particular the accuracy of the three-dimensional coordinates associated with a feature point of a two- dimensional image, may vary due to factors such as the distance to the surface or object, the specification of the calibration, and the interpolation technique used. However, the distance of the surface or object an the specification of the calibration are factors that can be determined in advance (i.e. , in advance of performing the method 200), and, thus, an estimated confidence in the computed three-dimensional coordinates can be output in association with the three- dimensional coordinates.

[0061] The required or desired accuracy of the three-dimensional coordinates may vary depending on the application and on the type of the feature point. For instance, for facial authentication, the accuracy required may differ depending on whether the feature point is a point on an eye, a mouth, a nose, or another facial feature.

[0062] In one example, if points of the three-dimensional pattern are missing (e.g., not recognized in the image of the three-dimensional pattern), or if abnormal coordinate values (e.g., values that are inconsistent with a known spacing of the points) are detected among the points of the three-dimensional pattern, then the technique used to detect the three-dimensional coordinates of the points may be modified, For instance, the three-dimensional coordinates of the points of the three-dimensional pattern may be detected on a continuous basis (e.g., including before and after capture of the two-dimensional image). Then, the three- dimensional coordinates for the points can be compared over time to detect abnormalities or anomalies in singular detections. This approach may also be useful for compensating in instances where the position of a point is unstable (e.g., due to unstable lighting conditions and instances in which the surface or object material, and the like), where the surface of object comprises materials having different reflective properties (e.g., black and white) that require different exposure conditions.

[0063] It should be noted that although not explicitly specified, some of the blocks, functions, or operations of the method 200 described above may include storing, displaying and/or outputting for a particular application. In other words, any data, records, fields, and/or intermediate results discussed in the method 200 can be stored, displayed, and/or outputted to another device depending on the particular application. Furthermore, blocks, functions, or operations in FIG. 2 that recite a determining operation, or involve a decision, do not imply that both branches of the determining operation are practiced. In other words, one of the branches of the determining operation may not be performed, depending on the results of the determining operation.

[0064] Although examples of the present disclosure are discussed within the context of facial authentication, it will be appreciated that the techniques disclosed herein could be applied to other applications in which it may be useful to associate three-dimensional coordinates with two-dimensional feature points. For instance, examples of the present disclosure may also be applied to path recognition, gesture recognition, and other applications.

[0065] FIGs. 7A-7B, for instance, illustrate example images of a passage in which the techniques of the present disclosure may be applied to path recognition. Specifically, FIG. 7A illustrates a first portion of a passage in which the techniques of the present disclosure may be applied to path recognition, while FIG. 7B illustrates a second portion of the passage of FIG. 7A. In particular, known markings 700i-700 m (hereinafter individually referred to as a “marking 700” or collectively referred to as “markings 700”) may be attached to the passage at key points. Three-dimensional recognition of the passage may be facilitated by employing the markings 700 as feature points. In one example, the markings 700 may have different shapes or patterns to indicate different types of key points (e.g., planes, corners, edges, bottom surfaces, etc.) within the passage. For instance, the marking 700i may be shaped to indicate a plane portion of a wall; the marking 700 2 may be shaped to indicate an edge portion of a wall; the marking 700 3 may be shaped to indicate a bottom surface of a wall; and the marking 700 m may be shaped to indicate a corner of a wall. The use of specialized markings that are specific to different types of features may improve the efficiency of the calculation for three-dimensional coordinates.

[0066] Within the context of path detection, examples of the present disclosure may be used to detect the positions of obstacles, e.g., by unmanned vehicles (e.g., automobiles, drones, and the like). The markings 700 on known surfaces may be used to increase the confidence of three-dimensional coordinates that are computed for feature points, improving the ability of vehicles to avoid collisions with obstacles.

[0067] Referring back to FIG. 1 B, examples of the present disclosure may also be used for hand gesture recognition, which may be useful in applications where specific hand gestures may be mapped to specific operations of a computing system or device (e.g., waving causes an image to be captured, thumbs up causes an application to launch, etc.). Feature points 130i-130 k (hereinafter individually referred to as a “feature point 130” or collectively referred to as “feature points 130”) on a two-dimensional image of a hand (object 108) may need to be represented in the coordinate system of the three-dimensional sensor (e.g., first imaging sensor 124). Conversely, any point in the coordinate system of the three-dimensional sensor may be replace with a two-dimensional camera coordinate (e.g., pixel x, y coordinates). The conversion from two dimensions to three dimensions, or vice versa, is possible if the mutual positional relationship between the coordinate systems is known.

[0068] The process of moving the three-dimensional coordinate system is relatively easy because the process can be performed only by mathematical calculations. Thus, the process to obtain the position of the coordinate system of the three-dimensional imaging sensor relative to the coordinate system of the two-dimensional imaging sensor may start by determining the position of the three-dimensional imaging sensor coordinate system relative to a mechanical reference point (which may already been done during the three-dimensional sensor calibration process). Mechanical positioning of the three-dimensional sensor and the two-dimensional sensor may be fixed. The position of the coordinates (optical position) of the two-dimensional sensor with respect to the mechanical reference (e.g., center axis deviation, image rotation, image distortion, etc.) point may be measured and corrected.

[0069] If the coordinates axis of the three-dimensional sensor are congruent with the optical axis of the two-dimensional camera, then the point (x=0, y=0, z) in the coordinate system of the three-dimensional sensor may remain at the center of the two-dimensional image. Furthermore, by placing the datum point of the coordinate system of the three-dimensional sensor at the incident point (i.e., front nodal point of the capture lens) of the two-dimensional camera, the coordinate system of the three-dimensional sensor can always be congruent with the two-dimensional image coordinate position.

[0070] FIG. 8 depicts a high-level block diagram of an example electronic device 800 for calculating the distance from a sensor to an object. As such, the electronic device 800 may be implemented as a processor of an electronic device or system, such as a distance sensor (e.g., processor 126 of FIGs. 1A-1 B).

[0071] As depicted in FIG. 8, the electronic device 800 comprises a hardware processor element 802, e.g., a central processing unit (CPU), a microprocessor, or a multi-core processor, a memory 804, e.g., random access memory (RAM) and/or read only memory (ROM), a module 805 for associating three-dimensional coordinates with two-dimensional feature points, and various input/output devices 806, e.g., storage devices, including but not limited to, a tape drive, a floppy drive, a hard disk drive or a compact disk drive, a receiver, a transmitter, a display, an output port, an input port, and a user input device, such as a keyboard, a keypad, a mouse, a microphone, a camera, a laser light source, an LED light source, and the like.

[0072] Although one processor element is shown, it should be noted that the electronic device 800 may employ a plurality of processor elements. Furthermore, although one electronic device 800 is shown in the figure, if the method(s) as discussed above is implemented in a distributed or parallel manner for a particular illustrative example, i.e., the blocks of the above method(s) or the entire method(s) are implemented across multiple or parallel electronic devices, then the electronic device 800 of this figure is intended to represent each of those multiple electronic devices.

[0073] It should be noted that the present disclosure can be implemented by machine readable instructions and/or in a combination of machine readable instructions and hardware, e.g., using application specific integrated circuits (ASIC), a programmable logic array (PLA), including a field-programmable gate array (FPGA), or a state machine deployed on a hardware device, a general purpose computer or any other hardware equivalents, e.g., computer readable instructions pertaining to the method(s) discussed above can be used to configure a hardware processor to perform the blocks, functions and/or operations of the above disclosed method(s).

[0074] In one example, instructions and data for the present module or process 805 for associating three-dimensional coordinates with two-dimensional feature points, e.g., machine readable instructions can be loaded into memory 804 and executed by hardware processor element 802 to implement the blocks, functions or operations as discussed above in connection with the method 200. Furthermore, when a hardware processor executes instructions to perform “operations”, this could include the hardware processor performing the operations directly and/or facilitating, directing, or cooperating with another hardware device or component, e.g., a co-processor and the like, to perform the operations.

[0075] The processor executing the machine readable instructions relating to the above described method(s) can be perceived as a programmed processor or a specialized processor. As such, the present module 805 for associating three- dimensional coordinates with two-dimensional feature points of the present disclosure can be stored on a tangible or physical (broadly non-transitory) computer-readable storage device or medium, e.g., volatile memory, non-volatile memory, ROM memory, RAM memory, magnetic or optical drive, device or diskette and the like. More specifically, the computer-readable storage device may comprise any physical devices that provide the ability to store information such as data and/or instructions to be accessed by a processor or an electronic device such as a computer or a controller of a safety sensor system.

[0076] It will be appreciated that variants of the above-disclosed and other features and functions, or alternatives thereof, may be combined into many other different systems or applications. Various presently unforeseen or unanticipated alternatives, modifications, or variations therein may be subsequently made which are also intended to be encompassed by the following claims.