Unlock instant, AI-driven research and patent intelligence for your innovation.

A video coding method and device

A video encoding and encoding technology, applied in the field of video encoding and decoding, can solve the problems of incomplete foreground area of ​​playback screen and distortion of moving objects, etc.

Active Publication Date: 2020-08-04
ZHEJIANG DAHUA TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a video encoding method and device, which are used to solve the technical problems of incomplete foreground areas and distorted moving objects in the playback picture of the encoded video stream in the prior art

Method used

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
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A video coding method and device
  • A video coding method and device
  • A video coding method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0077] An embodiment of the present invention provides a video encoding method. See figure 1 , the flow of the video encoding method in the embodiment of the present invention is described as follows.

[0078] Step 101: Based on a preset Gaussian mixture model, determine the foreground area in the video image of the video to be encoded in units of pixel blocks, where each pixel block includes n pixels, and n is a positive integer.

[0079] Step 102: Based on a preset edge detection model, determine the foreground edge area in the video image in units of pixel blocks.

[0080] Step 103: Superimposing the foreground area and the foreground edge area to obtain a first image mask at the pixel block level of the video image, the first image mask is used to identify the area of ​​interest and the background area in the video image, and the area of ​​interest includes the foreground area and the background area. The foreground edge area, the background area is the area in the video...

Embodiment 2

[0183] Based on the same inventive concept, an embodiment of the present invention provides a video encoding device. See Figure 4 , Figure 4 It is a structural block diagram of the video encoding device. The video encoding device includes a foreground and background segmentation module 401, an image mask processing module 402 and an encoding module 403, wherein:

[0184] The foreground and background segmentation module 401 is used to determine the foreground area in the video image of the video to be encoded in units of pixel blocks based on a preset Gaussian mixture model, wherein each pixel block includes n pixels, and n is a positive integer; based on the preset The edge detection model is set to determine the foreground edge area in the video image in units of pixel blocks; the foreground area and the foreground edge area are superimposed to obtain the first image mask at the pixel block level of the video image, and the first image mask is used to identify the video ...

Embodiment 3

[0220] Based on the same inventive concept, an embodiment of the present invention provides a computer device, including:

[0221] at least one processor, and

[0222] memory coupled to at least one processor;

[0223] Wherein, the memory stores instructions executable by at least one processor, and at least one processor executes the method described in Embodiment 1 by executing the instructions stored in the memory.

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

PUM

No PUM Login to View More

Abstract

The invention provides a video coding method and a video coding device, which are used to solve the technical problems of the prior art such as incomplete foreground area and moving object distortionin a playing image of a video flow acquired by coding. The video coding method comprises steps that based on a preset Gaussian mixture model, the foreground area in a video image of a video to be coded is determined by taking a pixel block as a unit; based on a preset edge detection model, the foreground edge area in the video image is determined by taking the pixel block as the unit; by superposing the foreground area and the foreground edge area, the first image mask of the pixel level of the video image is acquired, and the first image mask is used to identify the interested area and the background area in the video image, and the interested area comprises a foreground area and a foreground edge area, and the background area is the area except the interested area; according to the firstimage mask, a second image mask of a video image macroblock level is generated; according to the second image mask, the video image can be coded.

Description

technical field [0001] The present invention relates to the technical field of video encoding and decoding, in particular to a video encoding method and device. Background technique [0002] The data volume of the originally collected video data is usually large, and it needs to be encoded to achieve compression when it is transmitted and stored. The video stream formed after compression can be transmitted through a wired or wireless network. Due to the limitation of network bandwidth, it is generally desired to make the compressed video stream as small as possible without affecting the user's viewing experience, so as to reduce the bandwidth occupied by transmitting the video stream. [0003] In the field of security monitoring, the background of the surveillance video changes little. At present, there is a technology that separates the foreground area and the background area in the video through foreground and background segmentation technology, and realizes the priority ...

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

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04N19/167H04N19/176H04N5/222
CPCH04N5/2226H04N19/167H04N19/176
Inventor 陈瑶林聚财
Owner ZHEJIANG DAHUA TECH CO LTD