Video encoding method and apparatus
A video encoding and encoding technology, applied in the field of video encoding and decoding, can solve the problem of long time-consuming encoding
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0049] figure 1 A schematic diagram of a video encoding process provided by an embodiment of the present invention, the process includes the following steps:
[0050] S101: According to each macroblock in a video image to be encoded, divide each macroblock into a set number of sub-macroblocks, where each sub-macroblock includes at least two pixels.
[0051] The video encoding method provided by the embodiment of the present invention is applied to an image acquisition device. The image acquisition device may be a camera, a video camera, and other devices capable of image acquisition. The image acquisition device can divide each macroblock in the video image to be encoded into The number of sub-macroblocks is set, and each sub-macroblock includes at least two pixels.
[0052] The video image to be encoded is a frame of image in the video.
[0053] The process in which the image acquisition device divides each macroblock into a set number of sub-macroblocks is carried out acco...
Embodiment 2
[0071] In order to further improve the quality of the encoded video picture, on the basis of the above-mentioned embodiments, in the embodiment of the present invention, the weight value of each macroblock is calculated according to the JND value of each macroblock and the pre-saved weight factor algorithm include:
[0072] Determine the average JND value of the video image according to the JND value of each macroblock;
[0073] The JND value for each macroblock, the average JND value of the video image, and the formula Determine the weight value of each macroblock, where the is the weight value of the i-th macroblock, a, b, and c are all constant coefficients, and exp is an exponential function with the natural constant e as the base, is the JND value of the i-th macroblock, STJND frame is the average JND value of the video image.
[0074] The purpose of coding based on subjective quality in the coding of video images is to use the known characteristics of the human vi...
Embodiment 3
[0082] In order to further reduce the code rate, on the basis of the above embodiments, in the embodiment of the present invention, after calculating the weight value of each macro block according to the JND value of each macro block and the weight factor algorithm saved in advance, the According to the weight value of each macroblock, the initial QP value of each macroblock and the preset interval QP algorithm, before determining the interval QP value of each macroblock, the method also includes:
[0083] Find the macroblock with the smallest JND value according to the JND value of each macroblock;
[0084] According to the weight value of each macroblock, determine the proportional relationship between the weight value of the macroblock with the smallest JND value and the weight values of other macroblocks;
[0085] updating the weight value of the macroblock with the smallest JND value to a first weight value, according to the updated first weight value and the determined...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com