IP Library Granted Patent US 11,736,799
Granted Patent B2
US 11,736,799 · App. 17/564,681 · Granted Aug 22, 2023

Zoom control method, apparatus and medium

Inventors: Chihyi Cheng (Beijing, CN); Liangming Zhang (Beijing, CN)
Assignee: Beijing Xiaomi Mobile Software Co., Ltd.
H04N23/69G02B13/009G02B13/0065G02B15/04G06F3/0488H04N23/631G06F2203/04806G06F2203/04808
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 11,736,799
App. No.
17/564,681
Granted
Aug 22, 2023
Kind
B2
Abstract

A zoom control method is provided, including: determining a midpoint of a connecting line of touch points located on both sides of an object to be close-up; determining a pixel vector formed from the midpoint of the connecting line to a center point of a screen; converting the pixel vector into an angle vector based on a conversion relationship between a diagonal angle of view of a current focal length range and a diagonal pixel of an image sensor of a camera system; and controlling the object to be close-up being moved to the center point of the screen based on the angle vector.

Claims (43)

1. A zoom control method, comprising

determining a midpoint of a connecting line of touch points located on both sides of an image of an object to be zoomed-in on, wherein the image of the object is displayed on a screen of a camera;

determining a pixel vector formed from the midpoint of the connecting line to a center point of the screen;

converting the pixel vector into an angle vector based on a conversion relationship between a diagonal angle of view of a current focal length range and a diagonal pixel of an image sensor of a camera system; and

controlling the image of the object to move to the center point of the screen based on the angle vector.

2. The zoom control method according to claim 1 , wherein the conversion relationship between the diagonal angle of view of the current focal length range and the diagonal pixel of the image sensor of the camera system is:

the diagonal angle/the diagonal pixel=2*tan{circumflex over ( )}−1 (the size of the half-image height of the image sensor/current focal length range)/the number of diagonal pixels.

3. The zoom control method according to claim 1 , wherein the controlling the image of the object to move to the center point of the screen based on the angle vector, comprises:

converting the angle vector into a rotation angle of a prism of the camera based on a corresponding relationship between a moving angle of a screen picture and the rotation angle of the prism, wherein the angle vector indicates the moving angle of the screen picture; and

controlling the rotation angle of the prism based on the rotation angle, to move the image of the object to the center point of the screen.

4. The zoom control method according to claim 1 , further comprising:

determining a distance ratio between a distance after at least one of the touch points is dragged and a distance before the at least one of the touch points is dragged; and

controlling zoom scale based on the distance ratio.

5. A zoom control apparatus, comprising

one or more memories; and

one or more processors that are communicatively coupled to the one or more memories;

wherein the one or more processors are configured to:

determine a midpoint of a connecting line of touch points located on both sides of an image of an object to be zoomed-in on, wherein the image of the object is displayed on a screen of a camera;

determine a pixel vector formed from the midpoint of the connecting line to a center point of the screen;

convert the pixel vector into an angle vector based on a conversion relationship between a diagonal angle of view of a current focal length range and a diagonal pixel of an image sensor of a camera system; and

control the image of the object to move to the center point of the screen based on the angle vector.

6. The zoom control apparatus according to claim 5 , wherein the conversion relationship between the diagonal angle of view of the current focal length range and the diagonal pixel of the image sensor of the camera system is:

the diagonal angle/the diagonal pixel=2*tan{circumflex over ( )}−1 (the size of the half-image height of the image sensor/current focal length range)/the number of diagonal pixels.

7. The zoom control apparatus according to claim 5 , wherein the one or more processors are further configured to:

convert the angle vector into a rotation angle of a prism of the camera based on a corresponding relationship between a moving angle of a screen picture and the rotation angle of the prism, wherein the angle vector indicates the moving angle of the screen picture; and

control the rotation angle of the prism based on the rotation angle, to move the image of the object to the center point of the screen.

8. The zoom control apparatus according to claim 5 , wherein the one or more processors are further configured to:

determine a distance ratio between a distance after at least one of the touch points is dragged and a distance before the at least one of the touch points is dragged; and

control zoom scale based on the distance ratio.

9. A non-transitory computer-readable storage medium, storing computer program instructions thereon for implementing a zoom control method, the computer program instructions when executed by a processor cause the processor to execute a method comprising:

determining a midpoint of a connecting line of touch points located on both sides of image of an object to be zoomed-in on, wherein the image of the object is displayed on a screen of a camera;

determining a pixel vector formed from the midpoint of the connecting line to a center point of the screen;

converting the pixel vector into an angle vector based on a conversion relationship between a diagonal angle of view of a current focal length range and a diagonal pixel of an image sensor of a camera system; and

controlling the image of the object to move to the center point of the screen based on the angle vector.

10. The non-transitory computer-readable storage medium according to claim 9 , wherein the conversion relationship between the diagonal angle of view of the current focal length range and the diagonal pixel of the image sensor of the camera system is:

the diagonal angle/the diagonal pixel=2*tan{circumflex over ( )}−1 (the size of the half-image height of the image sensor/current focal length range)/the number of diagonal pixels.

11. The non-transitory computer-readable storage medium according to claim 9 , wherein the,

controlling the image of the object to move to the center point of the screen based on the angle vector comprises:

converting the angle vector into a rotation angle of a prism of the camera based on a corresponding relationship between a moving angle of a screen picture and the rotation angle of the prism, wherein the angle vector indicates the moving angle of the screen picture; and

controlling the rotation angle of the prism based on the rotation angle, to control the image of the object to move to the center point of the screen.

12. The non-transitory computer-readable storage medium according to claim 9 , wherein the zoom control method comprises:

determining a distance ratio between a distance after at least one of the touch points is dragged and a distance before the at least one of the touch points is dragged; and

controlling zoom scale based on the distance ratio.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 29, 2021
From: CHENG, CHIHYI; ZHANG, LIANGMING
To: BEIJING XIAOMI MOBILE SOFTWARE CO., LTD.
Reel/Frame 058502/0175 →
Priority Claims (1)
CN 202110744581.X · Jul 1, 2021 · national
Continuity (1)
Related Publication 20230007181A1 · Jan 5, 2023