# US 2026/0311357 A1 · Method and apparatus for determining width of viewpoint

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

- Number: US 2026/0311357 A1
- Document ID: US20260311357A1
- Status: Published application
- Kind: A1
- Application number: 19/119,173
- Filed: 2022-09-08
- Published: 2026-10-08
- Earliest claimed: 2021-09-08
- Assignees: Future Technology (Xiangyang) Co., Ltd.
- Applicants: Future Technology (Xiangyang) Co., Ltd.
- Inventors: Shu He; Wanliang Xu
- Web page: https://patentgrep.com/patent/US20260311357A1

## CPC

- G06T 7/60: Analysis of geometric attributes
- G01B 11/002: {for measuring two or more coordinates}
- G01B 11/046: {for measuring width}
- G06T 7/75: {involving models}
- G06T 7/97: {Determining parameters from multiple pictures (depth or shape recovery from multiple images G06T7/55; stereo camera calibration G06T7/85)}
- G06T 2207/10012: Stereo images
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G01B: MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS

## Abstract

Described herein are a method for determining widths of viewpoints and related devices, the method includes: displaying a target image for a second device to shoot to obtain two groups of images, segmenting two images in each group of images to obtain four regions, and calculating a first average difference of pixels between two regions and a second average difference of pixels between other two regions; recording first location coordinates where the second device captures the first group of images when the first average difference of pixels reaches a first preset value; recording second location coordinates where the second device captures the second group of images when the second average difference of pixels reaches a second preset value; and determining a width of a viewpoint of the first device according to the first and second location coordinates and an application angle of a grating of the first device.

## Claims

### Claim 1

A method for determining widths of viewpoints, comprising:
displaying, by a first device, a target image in a stereoscopic mode, for a second device to shoot the target image in real time to obtain a first group of images and a second group of images, and divide two images in the first group of images and two images in the second group of images to obtain a first region, a second region, a third region and a fourth region, and calculate a first average difference of pixels between the first region and the second regions and a second average difference of pixels between the third region and the fourth region, the first group of images and the second group of images being obtained by the second device which shoots, at different locations, the target image through synchronous shooting of two cameras of the second device, the two cameras of the second device being on a same horizontal line, and centers of the two cameras of the second device being spaced away for a preset distance, the first region and the second region corresponding to the two images of the first group of images, and the third region and the fourth region corresponding to the two images of the second group of images;
recording, by the first device, first location coordinates at which the second device captures the first group of images, in responding to a first coordinate recording instruction received by the first device from the second device, the first coordinate recording instruction being issued in responding to that the first average difference of pixels reaches a first preset value;
recording, by the first device, second location coordinates at which the second device captures the second group of images, in responding to a second coordinate recording instruction received by the first device from the second device, the second coordinate recording instruction being issued in responding to that the second average difference of pixels reaches a second preset value;
determining, by the first device, a width of a viewpoint corresponding to the first device according to the first location coordinates, the second location coordinates and an application angle of a grating corresponding to the first device.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the determining, by the first device, the width of the viewpoint corresponding to the first according to the first location coordinates, the second location coordinates, and the application angle of the grating corresponding to the first device comprises:
determining, by the first device, a first location of the second device according to the application angle and the first location coordinates, the first location being where the second device locates when the first average difference of pixels reaches the first preset value;
determining, by the first device, a second location of the second device according to the application angle and the second location coordinates, the second location being where the second device locates when the second average difference of pixels reaches the second preset value; and
determining, by the first device, the width of the viewpoint based on the first location and the second location.

### Claim 3 (depends on 2)

The method according to claim 2, wherein,
the first location is calculated according to a formula:
X
0
′
=
x
0
+
(
y
0
-
y
)
*
tan
⁡
(
a
)
wherein
X
0
′
represents the first location, the first location coordinates are (x0, y0), y is a preset constant, and a is the application angle.

### Claim 4 (depends on 3)

The method according to claim 3, wherein,
the second location is calculated according to a formula:
X
1
′
=
x
1
+
(
y
1
-
y
)
*
tan
⁡
(
a
)
;
wherein
X
1
′
represents the second location, and the second location coordinates are (x1, y1).

### Claim 5 (depends on 4)

The method according to claim 4, wherein,
the width of the viewpoint is calculated according to a formula:
VW
=
abs
⁡
(
X
0
′
-
X
1
′
)
;
wherein VW represents the width of the viewpoint corresponding to the first device, and abs is an absolute value function.

### Claim 6 (depends on 1)

The method according to claim 1, further comprising:
obtaining a width of the grating;
determining a layout of viewpoints corresponding to the first device according to the width of the grating and the width of the viewpoint; and
adjusting 3D images displayed in the stereoscopic mode according to the layout of the viewpoints and change in position of a user's eyes.

### Claim 7

A method for determining widths of viewpoints, comprising:
shooting in real time, by a second device, a target image displayed in stereoscopic mode by a first device, to obtain a first group of images and a second group of images, the first group of images and the second group of images being obtained by the second device which shoots, at different locations, the target image through synchronous shooting of two cameras of the second device, and the two cameras of the second device being on a same horizontal line, and centers of the two cameras being spaced away for a preset distance;
segmenting, by the second device, two images in the first group of images and two images in the second group of images to obtain a first region, a second region, a third region and a fourth region, the first region and the second region corresponding to the two images in the first group of images, and the third region and the fourth region corresponding to the two images of the second group of images;
calculating, by the second device, a first average difference of pixels between the first region and the second region and a second average difference of pixels between the third region and the fourth region;
sending, by the second device, a first coordinate recording instruction to the first device in responding to that the first average difference of pixels reaches a first preset value, to cause the first device to record first location coordinates, the first location coordinates being coordinates of a location of the second device when capturing the first group of images;
sending, by the second device, a second coordinate recording instruction to the first device in responding to that the second average difference of pixels reaches a second preset value, to cause the first device to record second location coordinates and determine a width of a viewpoint corresponding to the first device according to the first location coordinates, the second location coordinates and an application angle of a grating corresponding to the first device, the second location coordinates being coordinates of another location of the second device when capturing the second group of images.

### Claim 8 (depends on 7)

The method according to claim 7, wherein,
the first average difference of pixels is calculated according to a formula:
aver_pixel
=
∑
j
=
0
w
⁢
∑
j
=
0
h
⁢
abs
⁢
(
Al
⁡
(
i
,
j
)
-
Ar
⁢
(
i
,
j
)
)
/
(
w
*
h
)
wherein aver_piexl represents the first average difference of pixels, Al represents the first region, Ar represents the second region, w is a width of the first region, h is a height of the first region, the first region and the second region are identical both in width and height;
the second average difference of pixels is calculated according to a formula:
aver_pixel
=
∑
j
=
0
w
⁢
∑
j
=
0
h
⁢
abs
⁢
(
Al
⁡
(
i
,
j
)
-
Ar
⁢
(
i
,
j
)
)
/
(
w
*
h
)
wherein aver_piexl represents the second average difference of pixels, Al represents the third region, Ar represents the fourth region, w is a width of the third region, h is a height of the third region, the third region and the fourth region are identical both in width and height.

### Claim 9

A device for determining widths of viewpoints, comprising a first device, wherein the first device comprises:
a display unit, configured to display a target image in a stereoscopic mode for the second device to shoot in real time to obtain a first group of images and a second group of images, segment two images of the first group of images and two images of the second group of images to obtain a first region, a second region, a third region and a fourth region, and calculate a first average difference of pixels between the first region and the second regions and a second average difference of pixels between the third region and the fourth region, the first group of images and the second group of images being obtained by the second device which shoots, at different locations, the target image through synchronous shooting of two cameras of the second device, the two cameras of the second device being on the same horizontal line, and centers of the two cameras of the second device being spaced away for a preset distance, the first region and the second region corresponding to the two images of the first group of images, and the third region and the fourth region corresponding to the two images of the second group of images;
a memory, configured for storing program codes; and
a processor, configured for running the program codes from the memory to:
record first location coordinates where the second device captures the first group of images in responding to a first coordinate recording instruction received from the second device by the first device, and record second location coordinates where the second device captures the second group of images in responding to a second coordinate recording instruction from the second device by the first device, the first coordinate recording instruction being issued in responding to that the first average difference of pixels reaches a first preset value, and the second coordinate recording instruction being issued in responding to that the second average difference of pixels reaches a second preset value; and
determine a width of a viewpoint corresponding to the first device according to the first location coordinates, the second location coordinates, and an application angle of the grating corresponding to the first device.

### Claim 10 (depends on 9)

The device according to claim 9, further comprising a second device, wherein the second device comprises:
a shooting unit, configured to shoot in real time a target image displayed by the first device in stereoscopic mode to obtain a first group of images and a second group of images;
a memory, configured to store program codes; and
a processor, configured to run the program codes from the memory to:
segment two images in the first group of images and two images in the second group of images to obtain a first region, a second region, a third region and a fourth region; and
calculate a first average difference of pixels between the first region and the second region and a second average difference of pixels between the third region and the fourth region; and
a transceiver unit, configured to send a first coordinate recording instruction to the first device in responding to that the first average difference of pixels reaches a first preset value, to cause the first device to record first location coordinates, send a second coordinate recording instruction to the first device in responding to that the second average difference of pixels reaches a second preset value, to cause the first device to record second location coordinates and determine a width of a viewpoint corresponding to the first device according to the first location coordinates, the second location coordinates and an application angle of a grating corresponding to the first device, the first location coordinates being coordinates of a location of the second device when taking the first group of images and the second location coordinates being coordinates of another location of the second device when capturing the second group of images.

### Claim 11 (depends on 1)

A computer device, comprising:
a memory configured to store program codes; and
a processor configured to call the program codes from the memory to perform the method for determining widths of viewpoints according to claim 1.

### Claim 12 (depends on 7)

A computer device, comprising:
a memory configured to store program codes; and
a processor configured to call the program codes from the memory to perform the method for determining widths of viewpoints according to claim 7.

### Claim 13 (depends on 1)

A non-transitory storage medium, comprising:
instructions, wherein, when the instructions are run by a computer, the computer is caused to perform the method for determining widths of viewpoints according to claim 1.

### Claim 14 (depends on 7)

A non-transitory storage medium, comprising:
instructions, wherein, when the instructions are run by a computer, the computer is caused to perform the method for determining widths of viewpoints according to claim 7.
