IP Library Granted Patent US 12,041,379
Granted Patent B2
US 12,041,379 · App. 17/632,235 · Granted Jul 16, 2024

Image special effect processing method, apparatus, and electronic device, and computer-readable storage medium

Inventors: Guangyao Ni (Beijing, CN); Shentao Wang (Beijing, CN); Hui Yang (Beijing, CN)
Assignee: BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD.
H04N5/272
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 12,041,379
App. No.
17/632,235
Granted
Jul 16, 2024
Kind
B2
Abstract

A method and a device for performing special effect processing on an image, an electronic apparatus, and a computer-readable storage medium are provided. The method includes: acquiring a video; determining a current image based on a current play progress of the video; acquiring a previous image of the current image from a data storage layer by an image acquisition unit of a rendering layer; superposing, by a special effect unit of the rendering layer, the previous image and the current image by superposing transparency of the previous image and transparency of the current image; outputting the superimposed image and displaying the superimposed image on the terminal screen.

Claims (38)

1. A method for performing special effect processing on an image, comprising:

acquiring a video;

determining a current image based on a current play progress of the video;

acquiring a previous image of the current image from a data storage layer by an image acquisition unit of a rendering layer;

performing the special effect processing, by a special effect unit of the rendering layer, by superposing transparency of the previous image and transparency of the current image, wherein the superposing transparency of the previous image and transparency of the current image comprises superposing the transparency of the previous image and the transparency of the current image by determining a transparency based on 1−(1−x)×(1−y), wherein x represents the transparency of the previous image, and wherein y represents the transparency of the current image;

outputting a processed image with a determined transparency and displaying the processed image on a terminal screen.

2. The method according to claim 1 , further comprising:

when playing the video, capturing the previous image of the current image from the video by an image capture unit of the rendering layer, and storing the previous image in the data storage layer.

3. The method according to claim 2 , further comprising:

sending an image capture instruction to the image capture unit of the rendering layer via a script layer, to trigger the image capture unit.

4. The method according to claim 3 , wherein the image capture instruction comprises at least one of the following parameters: an image identification, image coordinates, an image width, an image height, and resolution of the terminal screen.

5. The method according to claim 1 , further comprising:

sending an image acquisition instruction to the image acquisition unit of the rendering layer via a script layer, to trigger the image acquisition unit.

6. The method according to claim 1 , further comprising:

sending a control instruction to the special effect unit of the rendering layer via a script layer, to trigger the special effect unit.

7. A device for performing special effect processing on an image, comprising:

at least one processor; and

at least one memory communicatively coupled to the at least one processor and storing instructions that upon execution by the at least one processor cause the device to perform operations comprising:

acquiring a video;

determining a current image based on a current play progress of the video;

acquiring a previous image of the current image from a data storage layer by an image acquisition unit of a rendering layer;

performing the special effect processing, by a special effect unit of the rendering layer, by superposing transparency of the previous image and transparency of the current image, wherein the superposing transparency of the previous image and transparency of the current image comprises superposing the transparency of the previous image and the transparency of the current image by determining a transparency based on 1−(1−x)×(1−y), wherein x represents the transparency of the previous image, and wherein y represents the transparency of the current image;

outputting a processed image with a determined transparency and displaying the processed image on a terminal screen.

8. The device for performing special effect processing on an image according to claim 7 , the operations further comprising:

when playing the video, capturing the previous image of the current image from the video by an image capture unit of the rendering layer, and storing the previous image in the data storage layer.

9. The device for performing special effect processing on an image according to claim 8 , the operations further comprising:

sending an image capture instruction to the image capture unit of the rendering layer via a script layer, to trigger the image capture unit.

10. The device for performing special effect processing on an image according to claim 9 , wherein the image capture instruction comprises at least one of the following parameters: an image identification, image coordinates, an image width, an image height, and resolution of the terminal screen.

11. The device for performing special effect processing on an image according to claim 7 , the operations further comprising:

sending an image acquisition instruction to the image acquisition unit of the rendering layer via a script layer, to trigger the image acquisition unit.

12. The device for performing special effect processing on an image according to claim 7 , the operations further comprising:

sending a control instruction to the special effect unit of the rendering layer via a script layer, to trigger the special effect unit.

13. A non-transitory computer-readable storage medium, configured to store non-transitory computer-readable instructions that, when being executed by a computer, cause the computer to implement operations for performing special effect processing on an image, the operations comprising:

acquiring a video;

determining a current image based on a current play progress of the video;

acquiring a previous image of the current image from a data storage layer by an image acquisition unit of a rendering layer;

performing the special effect processing, by a special effect unit of the rendering layer, by superposing transparency of the previous image and transparency of the current image, wherein the superposing transparency of the previous image and transparency of the current image comprises superposing the transparency of the previous image and the transparency of the current image by determining a transparency based on 1−(1−x)×(1−y), wherein x represents the transparency of the previous image, and wherein y represents the transparency of the current image;

outputting a processed image with a determined transparency and displaying the processed image on a terminal screen.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 2, 2022
From: SHANGHAI SUIXUNTONG ELECTRONIC TECHNOLOGY CO., LTD.
To: BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD.
Reel/Frame 058852/0665 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 2, 2022
From: NI, GUANGYAO; WANG, SHENTAO; YANG, HUI
To: SHANGHAI SUIXUNTONG ELECTRONIC TECHNOLOGY CO., LTD.
Reel/Frame 058852/0668 →
Priority Claims (1)
CN 201910734905.4 · Aug 9, 2019 · national
Continuity (1)
Related Publication 20220272283A1 · Aug 25, 2022