# US 2021/0172733 A1 · Deriving topology information of a scene

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

- Number: US 2021/0172733 A1
- Document ID: US20210172733A1
- Status: Published application
- Kind: A1
- Application number: 16/088,501
- Filed: 2017-05-31
- Published: 2021-06-10
- Earliest claimed: 2017-05-31
- Assignees: Hewlett-Packard Development Company, L.P.
- Applicants: Hewlett-Packard Development Company, L.P.
- Inventors: Simon WINKELBACH
- Web page: https://patentgrep.com/patent/US20210172733A1

## CPC

- G01B 11/2513: {with several lines being projected in more than one direction, e.g. grids, patterns}
- G06T 7/521: from laser ranging, e.g. using interferometry; from the projection of structured light
- H04N 13/254: in combination with electromagnetic radiation sources for illuminating objects
- G06T 2207/10144: Varying exposure
- G01B: MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An example apparatus has a processor to analyze images of projected shifted versions of a fringe pattern onto a scene to obtain phase information associated with the pixels in the image. Topology information is derived by correcting the phase information using a phase offset associated with a combination of two subsequent versions of the fringe pattern in the images or by estimating a surface normal for each pixel using a partial derivative of the phase information of the pixel in a first spatial direction and a partial derivative of the phase information of the pixel in a second spatial direction.

## Claims

### Claim 1

An apparatus comprising:
a projector to illuminate a scene by projecting shifted versions of a fringe pattern onto the scene;
a camera to capture images of the illuminated scene, each image comprising a distinct array of pixels arranged in rows in a first spatial direction and columns in a second spatial direction, wherein each image includes a distinct combination of two subsequent versions of the fringe pattern; and
a processor to derive topology information of the scene, wherein to derive the topology information of the scene, the processor is to:
analyze the captured images to obtain phase information associated with one of the pixels;
determine a phase offset associated with the combination of two subsequent versions of the fringe pattern in the images; and
correct the phase information using the determined phase offset.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the projector is to:
illuminate the scene by consecutively projecting N shifted versions of the fringe pattern to the scene with a phase shift of 2π/N between successive shifted versions of the fringe pattern, with N≥3; and
for a particular current captured image, to analyze the recent N images including the current captured image to obtain the phase information associated with the pixel.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the camera is to capture an image of the illuminated scene using an exposure time, wherein during a first fraction of the exposure time, light from a first version of the fringe pattern is captured, and during a second fraction of the exposure time, light from a second version of the fringe pattern shifted with respect to the first version is captured.

### Claim 4 (depends on 3)

The apparatus of claim 3, wherein the processor is to determine the phase offset using the first fraction of the exposure time, the second fraction of the exposure time, and a phase shift between the first and second versions of the fringe pattern.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the fringe pattern is periodic and comprises a plurality of repeating sub-patterns, wherein the processor is to reduce an ambiguity of the phase information associated with the pixel using depth information of the scene obtained using a separate depth sensor.

### Claim 6

An apparatus comprising:
a projector to illuminate a scene by projecting shifted versions of a fringe pattern onto the scene;
a camera to capture images of the illuminated scene, each image comprising a distinct array of pixels arranged in rows in a first spatial direction and columns in a second spatial direction;
a processor to derive topology information of the scene, wherein to derive the topology information of the scene, the processor is to:
analyze the captured images to obtain phase information associated with one of the pixels; and
estimate a surface normal for the pixel using a partial derivative of the phase information associated with the pixel in the first spatial direction and a partial derivative of the phase information associated with the pixel in the second spatial direction.

### Claim 7 (depends on 6)

The apparatus of claim 6, wherein the processor is to calculate the partial derivative of the phase information associated with the pixel in a spatial direction by calculating the difference between the phase information associated with the pixel and the phase information associated with a further pixel adjacent to the pixel in the spatial direction, or by calculating an average of the differences between the phase information associated with the pixel and the phase information associated with two further pixels adjacent to the pixel in the spatial direction.

### Claim 8 (depends on 6)

The apparatus of claim 6, wherein the processor is to:
determine a tangential vector of a surface patch of the scene associated with the pixel using a first vector perpendicular to an illumination direction and a projected fringe direction and a second vector perpendicular to a viewing direction and an observed fringe direction, and
determine the surface normal using the tangential vector and a comparison of the lengths of a gradient vector defined by the partial derivatives in the first and second spatial directions and a gradient vector defined by partial derivatives of a phase of the projected fringe pattern in first and second spatial directions of the fringe pattern.

### Claim 9 (depends on 6)

The apparatus of claim 6, wherein the processor is to estimate surface normals for a plurality of the pixels and to compute a three-dimensional (3D) preview of the scene with an artificial illumination using the estimated surface normals.

### Claim 10

A non-transitory machine-readable storage medium comprising instructions executable by a processing resource of a computing device to cause the processing resource to:
receive images of a scene illuminated by projecting shifted versions of a fringe pattern onto the scene, each image comprising a distinct array of pixels arranged in rows in a first spatial direction and columns in a second spatial direction and each image including a distinct combination of two subsequent versions of the fringe pattern;
analyze the images to obtain phase information associated with one of the pixels; and
derive topology information to a scene comprising
a) determining a phase offset associated with the combination of two subsequent versions of the fringe pattern in the images, and correcting the phase information associated with the pixel using the determined phase offset, or
b) estimating a surface normal for the pixel using a partial derivative of the phase information associated with the pixel in the first spatial direction and a partial derivative of the phase information associated with the pixel in the second spatial direction.

### Claim 11 (depends on 10)

The non-transitory machine-readable storage medium of claim 10, wherein the instructions comprise instructions to:
receive images of the scene illuminated by consecutively projecting N shifted versions of the fringe pattern to the scene with a phase shift of 2π/N between successive shifted versions of the fringe pattern, with N≥3: and
for a particular current captured image, analyze the recent N images including the current captured image to obtain the phase information associated with the pixel

### Claim 12 (depends on 10)

The non-transitory machine-readable storage medium of claim 10,
wherein an image of the illuminated scene is captured using an exposure time, wherein during a first fraction of the exposure time, light from a first version of the fringe pattern is captured, and during a second fraction of the exposure time, light from a second version of the fringe pattern shifted with respect to the first version is captured, and
wherein the instructions comprise instructions to cause the processing resource to determine the phase offset using the first fraction of the exposure time, the second fraction of the exposure time, and a phase shift between the first and second versions of the fringe pattern.

### Claim 13 (depends on 10)

The non-transitory machine-readable storage medium of claim 10,
wherein the fringe pattern is periodic and comprises a plurality of repeating sub-patterns, and
wherein the instructions comprise instructions to cause the processing resource to reduce an ambiguity of the phase information associated with the pixel using depth information of the scene obtained using a separate depth sensor.

### Claim 14 (depends on 10)

The non-transitory machine-readable storage medium of claim 10, wherein the instructions comprise instructions to cause the processing resource to:
determine a tangential vector of a surface patch of the scene associated with the pixel using a first vector perpendicular to an illumination direction and a projected fringe direction and a second vector perpendicular to a viewing direction and an observed fringe direction, and
determine the surface normal using the tangential vector and a comparison of the lengths of a first gradient vector defined by the partial derivatives in the first and second spatial directions and a second gradient vector defined by partial derivatives of a phase of the projected fringe pattern in first and second spatial directions of the fringe pattern.

### Claim 15 (depends on 10)

The non-transitory machine-readable storage medium of claim 10, wherein the instructions comprise instructions to cause the processing resource to estimate surface normals for a plurality of the pixels and to compute a 3D preview of the scene with an artificial illumination using the estimated surface normals.
