Image processing method and apparatus, and storage medium

An image processing device and image processing technology, applied in the field of data processing, can solve problems such as occupation overhead, difficult synchronization, low terminal processing efficiency, etc., and achieve the effect of improving efficiency
CN107770618AActive Publication Date: 2018-03-06TENCENT TECH (SHENZHEN) CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
TENCENT TECH (SHENZHEN) CO LTD
Publication Date
2018-03-06

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The embodiment of the invention discloses an image processing method and apparatus, and a storage medium. The method comprises the steps of obtaining a video file of a single-channel video stream, each frame of image in the video file being spliced by a colored image and a gray image corresponding to the colored image; performing decoding on the each frame of image in the video file to generate adata image corresponding to the each frame of image; performing segmentation on the data image to generate a colored image and a gray image corresponding to the each frame of image; performing synthesis on the colored image and the gray image to obtain a synthetic image corresponding to the each frame of image; and generating a target video file according to the synthetic image, and displaying thetarget video file. The effect that the processing only needs to be performed on the video file of the single-channel video stream is implemented, operations such as synchronous hardware decoding on atwo-channel video, copying an image from a GPU (Graphics Processing Unit) to a CPU (Central Processing Unit) to synthesize and the like are avoided, and the efficiency of a terminal to perform imageprocessing is improved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the technical field of data processing, in particular to an image processing method, device and storage medium. Background technique

[0002] With the continuous popularization of terminals and the rapid development of terminal technology, the applications provided by terminals are becoming more and more abundant. For example, live broadcast applications, users can interact with anchors face-to-face and instantly by opening live broadcast applications on terminals, and watch the anchors broadcast exciting programs in real time. Users can also give gifts to anchors according to their own preferences, and special effects of gifts will be displayed on the terminal.

[0003] In the prior art, taking presenting gift special effects as an example, since gift special effects generally require a transparent channel, it is necessary to adopt a two-channel video solution, that is, one channel is used to transmit color images (als...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More