CN104270634B - Quality-self-adapting wireless video coding method - Google Patents

Quality-self-adapting wireless video coding method Download PDF

Info

Publication number
CN104270634B
CN104270634B CN201410536019.8A CN201410536019A CN104270634B CN 104270634 B CN104270634 B CN 104270634B CN 201410536019 A CN201410536019 A CN 201410536019A CN 104270634 B CN104270634 B CN 104270634B
Authority
CN
China
Prior art keywords
quality
macro block
sampling window
ssim values
ssim
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410536019.8A
Other languages
Chinese (zh)
Other versions
CN104270634A (en
Inventor
王中元
朱婧雅
胡孟凌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Suirui cloud Technology Co. Ltd.
Original Assignee
Wuhan University WHU
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan University WHU filed Critical Wuhan University WHU
Priority to CN201410536019.8A priority Critical patent/CN104270634B/en
Publication of CN104270634A publication Critical patent/CN104270634A/en
Application granted granted Critical
Publication of CN104270634B publication Critical patent/CN104270634B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

The invention discloses a quality-self-adapting wireless video coding method. Firstly, the dynamic texture synthesis method is adopted, a virtual reconstruction frame of a frame to be coded is constructed through a reconstruction frame of a coded image, then with the SSIM being used as the index, a threshold value is set to determine low-quality macro blocks in the virtual reconstruction frame, and finally, coding parameters of the low-quality macro blocks are regulated, and the macro blocks are coded more finely in the coding process, so that complex textures and marginal area macro blocks are better processed, and the user experience quality of the whole image is improved.

Description

A kind of wireless video coded method of quality adaptation
Technical field
The invention belongs to digital video technology field, is related to a kind of method for video coding, and in particular to a kind of quality is adaptive The wireless video coded method answered.
Background technology
With popularization and the high speed development of 4G networks of 3G network, mobile multi-media service there has also been sharp increase, strictly according to the facts When video calling, network video-on-demand, mobile TV etc., user experience quality (Quality-of- of these scenes to video Experience, QoE) there is very high requirement.Meanwhile, the restriction of mobile network's bandwidth and the complexity of applied environment are also to video The code check and real-time of stream proposes high requirement.H.264/AVC it is most widely used international Video coding One of standard, compares old plant, and it can provide high-quality video under lower code check.However, processing with complex texture or During the macro block that marginal information is enriched, traditional H.264 content-adaptive method not can overcome the disadvantages that the impact that complex contents bring, and lead Cause macroblock coding quality relatively low.Meanwhile, according to human visual perception characteristic, image texture and marginal information be human eye more Sensitive region, the distortion of these macro blocks often have influence on human eye aesthetic quality to entire image visually.Therefore, how Adaptive adjustment video coding parameter, improving video quality becomes problem demanding prompt solution.
Most of research with regard to mobile video QoE at present all concentrates on the direction of improvement of network performance, and less focuses on Self-adaptive encoding method based on video content is improved.
The content of the invention
In order to solve above-mentioned technical problem, it is an object of the invention to provide a kind of wireless video of quality adaptation is compiled Code method.The method can lift user experience quality with the coding parameter of low quality macro block in adaptive adjustment video.
Using technical scheme be:The wireless video coded method of a kind of quality adaptation, it is characterised in that including following Step:
Step 1:Obtain reconstruction frames P of encoded imagei~Pn(1≤i≤n);
Step 2:Synthesize the Virtual Reconstruction frame P ' of the (n+1)th two field picture using the reconstruction frames of encoded imagen+1
Step 3:Calculate the SSIM values of each sampling window in Virtual Reconstruction frame;
Step 4:Credit rating threshold value T of macro block in sampling window is calculated using maximum entropy method;
Step 5:Obtain the (n+1)th two field picture;
Step 6:Judge whether overlap between each coded macroblocks and SSIM values and the sampling block less than T, overlapping positions Macro block is judged to low quality macro block;
Step 7:Quantization parameter (Quantization Parameter, the QP) value of adjustment low quality macro block;
Step 8:(n+1)th two field picture is encoded;
Step 9:1~step 8 of repeat step, until video sequence coding is finished.
Preferably, the Virtual Reconstruction frame P ' of the (n+1)th two field picture of synthesis described in step 2n+1, it is to utilize dynamic texture Model synthesizes Virtual Reconstruction frame.
Preferably, the SSIM values for calculating each sampling window in Virtual Reconstruction frame described in step 3, are to adopt The sampling window of 16x16 pixels, with 4 pixel steppings, counts the SSIM values of each sampling window.
Preferably, the use maximum entropy method described in step 4 calculates the credit rating threshold value of macro block in sampling window T, it is to utilize formula which implements
T '=arg mx { El(t)+Em(t)};
Wherein El(t) and EmT () represents that SSIM values are less than the sampling of given threshold T and the probability higher than given threshold T respectively The entropy definition of window, and:
Wherein Pl、PmRespectively SSIM values are less than T and the probability higher than T, and t is the credit rating variable of macro block.
Preferably, adjustment low quality macro block described in step 7 quantization parameter (Quantization Parameter, QP) value, its Adjustable calculation formula is:
QP=QP- δ (δ>0);
Wherein, δ is the empirical value according to the concrete SSIM values setting of current macro, according to threshold value T ' comment with current macro SSIM The size of the difference value divided.
A kind of application scenarios of the present invention for mobile video, it is proposed that video coding framework of quality adaptation.First The Virtual Reconstruction frame of frame to be encoded is built according to encoded reconstruction frames, then with structural similarity (Structural Similarity, SSIM) as index, arrange a threshold value to determine the low quality macro block in the Virtual Reconstruction frame, finally adjust The coding parameter of these low quality macro blocks is saved, finer coding is taken to these macro blocks in coding;The present invention has following Advantage and good effect:
1) the inventive method can preferably process complex texture and marginal area is grand relative to traditional H.264 coding Block, lifts user experience quality.
2) the inventive method root code stream poor to binary encoding effect, can be effectively improved coding quality.
Description of the drawings
Fig. 1:Method of the present invention flow chart.
Specific embodiment
Understand for the ease of those of ordinary skill in the art and implement the present invention, below in conjunction with the accompanying drawings and embodiment is to this It is bright to be described in further detail, it will be appreciated that enforcement example described herein is merely to illustrate and explains the present invention, not For limiting the present invention.
Fig. 1 is asked for an interview, the technical solution adopted in the present invention is:A kind of wireless video coded method of quality adaptation, bag Include following steps:
Step 1:Obtain reconstruction frames P of encoded imagei~Pn(1≤i≤n);
Step 2:Using dynamic texture model, by reconstruction frames P of encoded imagei~PnSynthesize the void of the (n+1)th two field picture Intend reconstruction frames P 'n+1
Step 3:Using the sampling window of 16x16 pixels, with 4 pixel steppings, each sample window in Virtual Reconstruction frame is calculated The SSIM values of mouth, finish until the SSIM values of each sampling window are calculated;
Step 4:Credit rating threshold value T of macro block in sampling window is calculated using maximum entropy method;It is profit which implements Use formula
T '=arg mx { El(t)+Em(t)};
Wherein El(t) and EmT () represents that SSIM values are less than the sampling of given threshold T and the probability higher than given threshold T respectively The entropy definition of window, and:
Wherein Pl、PmRespectively SSIM values are less than T and the probability higher than T, and t is the credit rating variable of macro block.
Step 5:Obtain the (n+1)th two field picture;
Step 6:Judge whether overlap between each coded macroblocks and SSIM values and the sampling block less than T, overlapping positions Macro block is judged to low quality macro block;
Step 7:Quantization parameter (Quantization Parameter, the QP) value of adjustment low quality macro block;Its adjustment meter Calculating formula is:
QP=QP- δ (δ>0);
Wherein, δ is the empirical value according to the concrete SSIM values setting of current macro;
Step 8:(n+1)th two field picture is encoded.
Step 9:1~step 8 of repeat step, until video sequence coding is finished.
The method of the present invention can be with the coding parameter of low quality macro block in adaptive adjustment video, in coding to these Macro block takes finer coding, so as to preferably process complex texture and marginal area macro block, lifts the user of entire image Quality of experience.
It should be appreciated that the part that this specification is not elaborated belongs to prior art.
It should be appreciated that the above-mentioned description for preferred embodiment is more detailed, therefore can not be considered to this The restriction of invention patent protection scope, one of ordinary skill in the art are being weighed without departing from the present invention under the enlightenment of the present invention Under the protected ambit of profit requirement, replacement can also be made or deformed, be each fallen within protection scope of the present invention, this It is bright scope is claimed to be defined by claims.

Claims (2)

1. the wireless video coded method of a kind of quality adaptation, it is characterised in that comprise the following steps:
Step 1:Obtain reconstruction frames P of encoded imagei~Pn, wherein 1≤i≤n;
Step 2:Using the reconstruction frames of encoded image, synthesize the Virtual Reconstruction frame of the (n+1)th two field picture using dynamic texture model P′n+1
Step 3:Calculate the SSIM values of each sampling window in Virtual Reconstruction frame;
Step 4:The credit rating threshold value T ' of macro block in sampling window is calculated using maximum entropy method;
T '=arg max { El(t)+Em(t)};
Wherein El(t) and EmT () represents that SSIM values are less than the sampling window of given threshold T and the probability higher than given threshold T respectively Entropy definition, and:
E l ( t ) = - Σ t = 0 T P l ( t ) log P l ( t ) ,
E m ( t ) = - Σ t = T + 1 M P m ( t ) log P m ( t ) ;
Wherein Pl、PmRespectively SSIM values are less than T and the probability higher than T, and t is the credit rating variable of macro block;
Step 5:Obtain the (n+1)th two field picture;
Step 6:Judge whether overlap between sampling block of each coded macroblocks with SSIM values less than T ', the macro block of intersection is sentenced For low quality macro block;
Step 7:The quantization parameter QP values of adjustment low quality macro block;
QP=QP- δ;
Wherein, δ is the empirical value according to the setting of current macro concrete SSIM values, δ>0;
Step 8:(n+1)th two field picture is encoded;
Step 9:1~step 8 of repeat step, until video sequence coding is finished.
2. the wireless video coded method of quality adaptation according to claim 1, it is characterised in that:Described in step 3 Calculate Virtual Reconstruction frame in each sampling window SSIM values, be the sampling window using 16x16 pixels, with 4 pixel steppings, Count the SSIM values of each sampling window.
CN201410536019.8A 2014-10-11 2014-10-11 Quality-self-adapting wireless video coding method Active CN104270634B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410536019.8A CN104270634B (en) 2014-10-11 2014-10-11 Quality-self-adapting wireless video coding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410536019.8A CN104270634B (en) 2014-10-11 2014-10-11 Quality-self-adapting wireless video coding method

Publications (2)

Publication Number Publication Date
CN104270634A CN104270634A (en) 2015-01-07
CN104270634B true CN104270634B (en) 2017-05-10

Family

ID=52162116

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410536019.8A Active CN104270634B (en) 2014-10-11 2014-10-11 Quality-self-adapting wireless video coding method

Country Status (1)

Country Link
CN (1) CN104270634B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111656785A (en) * 2019-06-28 2020-09-11 深圳市大疆创新科技有限公司 Image processing method and device for movable platform, movable platform and medium
CN111193911B (en) * 2020-01-15 2021-12-14 未来新视界文化科技(嘉善)有限公司 Fast transmission processing method and device for big data video
CN116708843B (en) * 2023-08-03 2023-10-31 清华大学 User experience quality feedback regulation system in semantic communication process

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413323A (en) * 2010-01-13 2012-04-11 中国移动通信集团广东有限公司中山分公司 H.264-based video compression method
CN102685547A (en) * 2012-04-26 2012-09-19 华北电力大学 Low-bit-rate video quality detection method based on blocking effects and noises
CN103634600A (en) * 2012-08-22 2014-03-12 中国科学院声学研究所 Video coding mode selection method and system based on SSIM evaluation
CN103918262A (en) * 2011-06-14 2014-07-09 王舟 Method and system for structural similarity based rate-distortion optimization for perceptual video coding

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9369703B2 (en) * 2011-09-29 2016-06-14 Texas Instruments Incorporated Method and apparatus for SSIM-based bit allocation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413323A (en) * 2010-01-13 2012-04-11 中国移动通信集团广东有限公司中山分公司 H.264-based video compression method
CN103918262A (en) * 2011-06-14 2014-07-09 王舟 Method and system for structural similarity based rate-distortion optimization for perceptual video coding
CN102685547A (en) * 2012-04-26 2012-09-19 华北电力大学 Low-bit-rate video quality detection method based on blocking effects and noises
CN103634600A (en) * 2012-08-22 2014-03-12 中国科学院声学研究所 Video coding mode selection method and system based on SSIM evaluation

Also Published As

Publication number Publication date
CN104270634A (en) 2015-01-07

Similar Documents

Publication Publication Date Title
CN106358040B (en) Code rate control bit distribution method based on significance
CN104104951B (en) Rate control method for screen content coding in HEVC
US8165344B2 (en) Image processing apparatus, moving image encoding apparatus, information processing method and information processing program
CN110324708A (en) Method for processing video frequency, terminal device and computer storage medium
CN107222748B (en) The treating method and apparatus of image data code rate
CN104270634B (en) Quality-self-adapting wireless video coding method
CN113038127B (en) ROI-based real-time video multi-path parallel transmission code rate control method
CN104410860B (en) A kind of method of high definition ROI videos real-time quality regulation
CN105516721A (en) Video encoder and bit rate control method thereof
CN108810530A (en) A kind of AVC bit rate control methods based on human visual system
CN110312131B (en) Content self-adaptive online video coding method based on deep learning
CN113573140A (en) Code rate self-adaptive decision-making method supporting face detection and real-time super-resolution
CN108521572B (en) Residual filtering method based on pixel domain JND model
CN106303521A (en) A kind of HEVC Rate-distortion optimization method based on sensitivity of awareness
CN111741300A (en) Video processing method
CN1193616C (en) Quantization and code stream control method for image compressing transmission
CN104811730B (en) A kind of texture analysis of video image intraframe coding unit and coding unit system of selection
CN102164281A (en) Method for controlling video code rate based on vision significance model
KR100823145B1 (en) Improvement device and quantization for the quality of image with ROI and the method for operating
CN102685491B (en) Method and system for realizing video coding
CN101489141B (en) Adaptive intra-frame macro block updating method based on subjective quality distortion prediction
CN102427529B (en) Video coding and compressing method
JP4688279B2 (en) Method and apparatus for automatically setting spatial resolution of moving image
Li et al. VimicroABCnet: An Image Coder Combining A Better Color Space Conversion Algorithm and A Post Enhancing Network.
CN100563336C (en) A kind of constant code rate control method based on mobile TV

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20180604

Address after: 610041 Sichuan Chengdu high tech Zone Tianren Road No. 387 3 Building 1 unit 28 level 2803

Patentee after: Chengdu Suirui cloud Technology Co. Ltd.

Address before: 430072 Wuhan University, Luojia mountain, Wuchang District, Wuhan, Hubei

Patentee before: Wuhan University