IP Library › Granted Patent US 11,190,670
Granted Patent B2
US 11,190,670 · App. 16/627,704 · Granted Nov 30, 2021

Method and a system for processing images based a tracked subject

Inventors: Dong Wang (Beijing, CN); Wei Liu (Beijing, CN)
Assignee: LENOVO (BEIJING) LIMITED
H04N5/2226G06T3/40G06T7/536H04N5/23218
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,190,670
App. No.
16/627,704
Granted
Nov 30, 2021
Kind
B2
Abstract

A method for image processing includes the steps of: acquiring a first image including a foreground and a background, tracking a subject to be photographed in the foreground to determine a corresponding first foreground center offset and a corresponding first foreground pre-scaling ratio, performing a smooth processing on the first foreground pre-scaling ratio to obtain a first foreground quasi-scaling ratio, and outputting a second image based on the first foreground center offset and the first foreground quasi-scaling. A system and a non-transitory computer-readable storage medium for processing an image using the above method are also described.

Claims (6)

1. A method for processing an image, comprising: acquiring a first image including a foreground and a background; tracking a subject to be photographed in the foreground to determine a corresponding first foreground center offset and a corresponding first foreground pre-scaling ratio; in response to the first foreground pre-scaling ratio being within a preset numerical range, performing a smooth processing on the first foreground pre-scaling ratio to obtain a first foreground quasi-scaling ratio; in response to the first foreground pre-scaling ratio to be within a first sub-range of the preset numerical range, outputting a second image based on the first foreground center offset and the first foreground quasi-scaling ratio; tracking the subject according to the second image, to determine a corresponding second foreground center offset and a corresponding second foreground pre-scaling ratio; in response to the second foreground pre-scaling ratio being within a second sub-range, computing a product of the first foreground pre-scaling ratio and the second foreground pre-scaling ratio to be a second foreground quasi-scaling ratio; and outputting a third image according to the second foreground center offset and the second foreground quasi-scaling ratio.

2. A system for processing an image, comprising: a memory, storing program instructions; and one or more processors, coupled to the memory and, when the program instructions being executed, configured to: acquire a first image including a foreground and a background; track a subject to be photographed in the foreground to determine a corresponding first foreground center offset and a corresponding first foreground pre-scaling ratio; in response to the first foreground pre-scaling ratio being within a preset numerical range, perform a smooth processing on the first foreground pre-scaling ratio to obtain a first foreground quasi-scaling ratio; in response to the first foreground pre-scaling ratio to be within a first sub-range of the preset numerical range, output a second image based on the first foreground center offset and the first foreground quasi-scaling ratio; track the subject according to the second image, to determine a corresponding second foreground center offset and a corresponding second foreground pre-scaling ratio; in response to the second foreground pre-scaling ratio being within a second sub-range, compute a product of the first foreground pre-scaling ratio and the second foreground pre-scaling ratio to be a second foreground quasi-scaling ratio; and output a third image according to the second foreground center offset and the second foreground quasi-scaling ratio.

3. The method according to claim 1 , wherein: the first image is a preview image or one of a plurality of photographed images.

4. The system according to claim 2 , wherein the one or more processors are further configured to, before outputting the third image: determine whether the product is within the first sub-range; in response to the product being determined to be within the first sub-range, set the product as the ratio value of the second foreground quasi-scaling ratio.

5. A non-transitory computer-readable storage medium, containing program instructions for, when executed by a processor, performing a method for processing an image, the method comprising: acquiring a first image including a foreground and a background; tracking a subject to be photographed in the foreground to determine a corresponding first foreground center offset and a corresponding first foreground pre-scaling ratio; in response to the first foreground pre-scaling ratio being within a preset numerical range, performing a smooth processing on the first foreground pre-scaling ratio to obtain a first foreground quasi-scaling ratio; in response to the first foreground pre-scaling ratio to be within a first sub-range of the preset numerical range, outputting a second image based on the first foreground center offset and the first foreground quasi-scaling ratio; tracking the subject according to the second image, to determine a corresponding second foreground center offset and a corresponding second foreground pre-scaling ratio; in response to the second foreground pre-scaling ratio being within a second sub-range, calculating a product of the first foreground pre-scaling ratio and the second foreground pre-scaling ratio to be a second foreground quasi-scaling ratio; and outputting a third image according to the second foreground center offset and the second foreground quasi-scaling ratio.

6. The non-transitory computer-readable storage medium according to claim 5 , wherein: the first image is a preview image or one of a plurality of photographed images.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 30, 2019
From: WANG, DONG; LIU, WEI
To: LENOVO (BEIJING) LIMITED
Reel/Frame 051389/0351 →
Priority Claims (1)
CN 201710530682.0 · Jun 30, 2017 · national
Continuity (1)
Related Publication 20200128154A1 · Apr 23, 2020