WO2018040869A1 - 一种帧间预测编码方法及装置 - Google Patents

一种帧间预测编码方法及装置 Download PDF

Info

Publication number
WO2018040869A1
WO2018040869A1 PCT/CN2017/096641 CN2017096641W WO2018040869A1 WO 2018040869 A1 WO2018040869 A1 WO 2018040869A1 CN 2017096641 W CN2017096641 W CN 2017096641W WO 2018040869 A1 WO2018040869 A1 WO 2018040869A1
Authority
WO
WIPO (PCT)
Prior art keywords
weighting parameter
block
coding block
reference image
determining
Prior art date
Application number
PCT/CN2017/096641
Other languages
English (en)
French (fr)
Inventor
朱洪波
Original Assignee
北京奇艺世纪科技有限公司
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 北京奇艺世纪科技有限公司 filed Critical 北京奇艺世纪科技有限公司
Priority to KR1020187037514A priority Critical patent/KR102148723B1/ko
Priority to AU2017317848A priority patent/AU2017317848B2/en
Priority to CA3028510A priority patent/CA3028510C/en
Priority to SG11201811472QA priority patent/SG11201811472QA/en
Priority to EP17845171.2A priority patent/EP3509303B1/en
Priority to ES17845171T priority patent/ES2857857T3/es
Priority to JP2019510423A priority patent/JP6781823B2/ja
Priority to US16/313,601 priority patent/US10715820B2/en
Priority to MYPI2018002705A priority patent/MY196896A/en
Publication of WO2018040869A1 publication Critical patent/WO2018040869A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/513Processing of motion vectors
    • H04N19/517Processing of motion vectors by encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/105Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/119Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/136Incoming video signal characteristics or properties
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/136Incoming video signal characteristics or properties
    • H04N19/137Motion inside a coding unit, e.g. average field, frame or block difference
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/157Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
    • H04N19/159Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/46Embedding additional information in the video signal during the compression process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/577Motion compensation with bidirectional frame interpolation, i.e. using B-pictures

Definitions

  • the present application relates to the field of video coding technologies, and in particular, to an interframe prediction coding method and apparatus.
  • Inter-prediction coding is to use a block in a reference image that has been encoded in the time domain, predict the current block to be coded, obtain a predicted value, and then encode the difference between the value of the block to be coded and the predicted value.
  • Inter-predictive coding typically includes forward prediction, backward prediction, symmetric prediction, and bidirectional prediction. Only forward or backward reference frames are needed for forward prediction and backward prediction, while symmetric prediction and bidirectional prediction require forward reference frames and backward reference frames.
  • the bidirectional weighting can be considered as a weighting parameter of (1/2, 1/2), then the forward weighting parameter is (1, 0), after The weighting parameter is (0, 1).
  • the coding parameters are assumed to be three, which are 1/2, 1/3, 1/4, respectively.
  • the forward reference frame and the backward reference frame respectively correspond to three weighting parameters, and the weighting parameters of the forward reference frame and the backward reference frame are selected from 9 (3*3) modes, and there may be a forward direction in the actual prediction process.
  • the weighting parameter and the backward weighting parameter are both 1/3. Obviously, such weighting parameter is unreasonable, which will result in lower accuracy of interframe prediction coding.
  • An object of the embodiments of the present application is to provide a bidirectional weighted predictive coding method and apparatus to improve the accuracy of interframe predictive coding.
  • an embodiment of the present application discloses an interframe prediction coding method, where the method includes:
  • the block to be coded is predictively encoded by using the predicted actual weighting parameter.
  • the determining, for each block to be encoded, the forward coding block and the backward coding block corresponding to the to-be-coded block including:
  • a motion search technique is used to determine a forward coded block and a backward coded block corresponding to the block to be coded.
  • the determining the first weighting parameter corresponding to the forward coding block includes:
  • the forward weighting parameter corresponding to the residual value with the smallest absolute value is determined as the first weighting parameter.
  • determining an overall brightness-based weighting parameter of the reference image including:
  • a weighting parameter based on the overall brightness of the reference image is determined according to a luminance value of all pixel points of the reference image and a total number of pixel points.
  • the reference image is a reference image that includes the forward coding block
  • the determining, by the reference image that includes the forward coding block, a second weighting parameter based on an overall brightness includes:
  • the reference image is a reference image that includes the backward coding block; and the determining, by the reference image that includes the backward coding block, a third weighting parameter based on an overall brightness, includes:
  • determining an overall brightness-based weighting parameter of the reference image including:
  • a weighting parameter based on the overall brightness of the reference image is determined according to the image to be encoded, the reference image, and a minimum residual technique.
  • the reference image is a reference image that includes the forward coding block
  • the determining, by the reference image that includes the forward coding block, a second weighting parameter based on an overall brightness includes:
  • the reference image is a reference image that includes the backward coding block; and the determining, by the reference image that includes the backward coding block, a third weighting parameter based on an overall brightness, includes:
  • the determining, according to the first weighting parameter, the fourth weighting parameter corresponding to the backward coding block includes:
  • the fourth weighting parameter 1 ⁇ the first weighting parameter, a fourth weighting parameter corresponding to the backward coding block.
  • an interframe predictive coding device where the device includes:
  • a dividing module configured to divide the frame to be encoded into a plurality of blocks to be encoded by using an encoder
  • a first determining module configured to determine a forward coding corresponding to the to-be-coded block for each block to be coded Code block and backward coding block;
  • a second determining module configured to determine a first weighting parameter corresponding to the forward coding block
  • a third determining module configured to determine a second weighting parameter based on the overall brightness of the reference image that includes the forward coding block, and determine a third weighting parameter based on the overall brightness of the reference image that includes the backward coding block;
  • a fourth determining module configured to determine, according to the first weighting parameter, a fourth weighting parameter corresponding to the backward coding block
  • a fifth determining module configured to determine, according to the first weighting parameter, the second weighting parameter, the third weighting parameter, and the fourth weighting parameter, a predicted actual weighting parameter of the to-be-coded block;
  • an encoding module configured to perform predictive encoding on the block to be encoded by using the predicted actual weighting parameter.
  • a motion search technique is used to determine a forward coding block and a backward coding block corresponding to the to-be-coded block.
  • the second determining module includes: a first calculating submodule, a second calculating submodule, and determining a submodule,
  • the first calculation submodule is configured to calculate, according to the forward coding block and the backward coding block, a prediction block corresponding to each forward weighting parameter set in advance;
  • the second calculation submodule is configured to calculate a residual value of the to-be-coded block and each prediction block;
  • the determining submodule is configured to determine a forward weighting parameter corresponding to the residual value with the smallest absolute value as the first weighting parameter.
  • the fourth determining module is specifically configured to:
  • the fourth weighting parameter 1 ⁇ the first weighting parameter, a fourth weighting parameter corresponding to the backward coding block.
  • an electronic device including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory pass through the communication bus Complete mutual communication;
  • a memory for storing a computer program
  • the processor when used to execute a program stored on the memory, implements the interframe predictive coding method described in any of the above.
  • a computer readable storage medium having stored therein instructions that, when executed on a computer, cause the computer to perform any of the frames described above Inter-predictive coding method.
  • an embodiment of the present invention further provides a computer program product comprising instructions, when executed on a computer, causing a computer to perform the interframe predictive coding method of any of the above.
  • the method and device for inter-prediction encoding include: using an encoder to divide a frame to be encoded into multiple blocks to be coded; for each block to be coded, Determining a forward coding block and a backward coding block corresponding to the to-be-coded block; determining a first weighting parameter corresponding to the forward coding block; determining a second weight based on overall luminance of the reference image including the forward coding block a parameter, and determining a third weighting parameter based on the overall brightness of the reference image that includes the backward coding block; determining, according to the first weighting parameter, a fourth weighting parameter corresponding to the backward coding block; Determining, by a weighting parameter, the second weighting parameter, the third weighting parameter, and the fourth weighting parameter, a predicted actual weighting parameter of the block to be encoded; using the predicted actual weighting parameter, performing the block to be encoded Predictive coding.
  • the technical solution provided by the embodiment of the present application determines the backward weighting parameter corresponding to the backward coding block by using the forward weighting parameter of the forward coding block, instead of selecting the backward weighting parameter from the weighting parameter, thereby avoiding the prior art in The unreasonable selection of the backward weighting parameter in the weighting parameter leads to the problem that the accuracy of the prediction encoding is low. Therefore, the accuracy of interframe predictive coding is improved.
  • FIG. 1 is a schematic flowchart diagram of an inter prediction encoding method according to an embodiment of the present application
  • FIG. 2 is a schematic structural diagram of an interframe predictive coding apparatus according to an embodiment of the present disclosure
  • FIG. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • an embodiment of the present application provides an interframe prediction coding method and apparatus, which are respectively described in detail below.
  • the encoder uniformly divides the image to be encoded into basic coding units that do not overlap each other, and the maximum is 64*64, and encodes each basic coding unit in order from top to bottom and left to right.
  • the basic coding unit may be directly encoded as one coding unit, and the basic coding unit may be divided into coding units according to a quadtree, and the coding unit may be further divided into coding blocks.
  • the interframe prediction coding method and apparatus provided by the embodiments of the present application are mainly directed to two prediction modes: symmetric prediction and bidirectional prediction.
  • the current frame to be encoded includes a forward reference frame list and a backward reference frame list, and the reference frame list includes Multiple reference frames.
  • the forward coding block and the backward coding block are searched, and the optimal weighting parameter is selected according to the preset weighting parameter for encoding.
  • the reference image has a brightness change, it is also required to perform the brightness change value according to the brightness change value. Weighted forecast.
  • FIG. 1 is a schematic flowchart of an inter prediction encoding method according to an embodiment of the present disclosure, including the following steps:
  • the encoder to be encoded is divided into a plurality of blocks to be coded by using an encoder.
  • dividing the to-be-coded frame into multiple blocks to be coded refers to sequentially reading the block to be coded according to the coding order, and the size of the block to be coded for each read may be preset, for example, 8* 8, 8 * 16, 16 * 8 and so on.
  • S102 Determine, for each block to be encoded, a forward coding block and a backward coding block corresponding to the to-be-coded block.
  • the coding block may use a motion search technique for each block to be coded to determine a forward coding block and a backward coding block corresponding to the to-be-coded block.
  • a motion search technique can be used to search for the most similar block from the forward reference frame list and the backward reference frame list, that is, the matching block, that is, the forward direction can be obtained. Encoded blocks and backward encoded blocks.
  • the first weighting parameter corresponding to the forward coding block is determined, and the prediction block corresponding to each forward weighting parameter set in advance may be calculated according to the forward coding block and the backward coding block; Determining the residual value of the coded block and each prediction block; determining the forward weighting parameter corresponding to the residual value with the smallest absolute value as the first weighting parameter.
  • the forward weighting parameters preset by the encoder are: 1/3, 2/3, 1/4, 1/2, 3/4, forward coding block and backward coding block of the block L 0 to be coded.
  • the frame to be encoded in which the block to be encoded is located may be bound to the forward reference frame and the backward reference frame where the forward coding block and the backward coding block are located, and when the next coding is performed, if the to-be-coded frame still corresponds to For the reference frame and the backward reference frame, N is directly called to obtain the forward weighting parameter.
  • the obtaining manner of N may be: setting in advance; or, performing each iteration of each block in the frame to be encoded with the forward reference frame and the backward reference frame, where the value range of N is usually 3 or more, in view of The effect of coding efficiency, the value of N generally does not exceed 10.
  • S104 Determine a second weighting parameter based on the overall brightness of the reference image that includes the forward coding block, and determine a third weighting parameter based on the overall brightness of the reference image that includes the backward coding block.
  • determining an overall luminance-based weighting parameter of the reference image may determine an overall luminance-based weighting parameter of the reference image according to a luminance value of all pixel points of the reference image and a total number of pixel points.
  • determining the second weighting parameter based on the overall brightness of the reference image including the forward coding block may include: determining, according to the luminance value of all the pixel points of the reference image including the forward coding block, and the total number of pixel points, determining the forward coding block A second weighting parameter based on the overall brightness of the reference image.
  • Determining the third weighting parameter based on the overall brightness of the reference image including the backward coding block may include: determining a reference image including the backward coding block according to the luminance value of all the pixel points of the reference image including the backward coding block and the total number of pixel points The third weighting parameter based on the overall brightness.
  • the reference image in which the forward coding block and the backward coding block are located has a change in the light intensity
  • all the luminance values of the reference image can be added to obtain the sum of the luminance values, and then the sum of the luminance values is divided by all the pixels to obtain the luminance weighting parameter.
  • the luminance weighting parameter is 11/10, that is, 1.1.
  • determining an overall luminance-based weighting parameter of the reference image may be determined according to the to-be-encoded image, the reference image, and a minimum residual technique.
  • determining the second weighting parameter based on the overall brightness of the reference image including the forward coding block may include: determining, according to the image to be encoded, the reference image including the forward coding block, and the minimum residual technique, including the forward coding A second weighting parameter based on the overall brightness of the reference image of the block.
  • Determining the third weighting parameter based on the overall brightness of the reference image including the backward coding block may include: determining, according to the image to be encoded, the reference image including the backward coding block, and the minimum residual technique A third weighting parameter based on the overall brightness of the reference image of the backward coded block.
  • the frame to be encoded and the two reference images respectively including the forward coding block and the backward coding block may be downsampled into a smaller image, and a luminance weighting parameter is selected to be compared with the reference image.
  • a luminance weighting parameter is selected to be compared with the reference image.
  • Multiply the weighted reference image and block the previously smaller image, then search for the matching block in the weighted reference image for each block of the current image and then for each tile after the block processing Obtaining the predicted residual value and taking the sum of its squares; by transforming different luminance weighting parameters, obtaining the sum of the squares of the corresponding multiple residual values, and selecting the luminance weighting parameter that minimizes the sum of the residual squares as the luminance weight of the reference image
  • the parameters, the corresponding reference image including the forward coding block and the reference luminance of the reference image including the backward coding block, the second and third weighting parameters may be denoted as W 1 , W 2 , respectively.
  • the fourth weighting parameter of the corresponding fourth weighting parameter is: 1, 3/4, 1 /2, 1/4, 0.
  • the first weighting parameter and the corresponding fourth weighting parameter are expressed in a combined form, namely: (0, 1), (1/4, 3/4), (1/2, 1/2), (3/4) , 1/4), (1, 0).
  • the combination of the first weighting parameter and the corresponding fourth weighting parameter is (0, 1), since the first weighting parameter is 0, then the backward prediction is represented at this time, and similarly, when the first weighting parameter and the corresponding When the combination of the fourth weighting parameter is (1, 0), since the fourth weighting parameter is 0, then the forward prediction is indicated at this time.
  • W 1 and W 2 are 1, and the predicted actual weighted parameter can be expressed as (the first weighted parameter, the fourth weighted parameter).
  • the predicted actual weighting parameter (for example, (0.825, 0.3)) can be combined with the forward coding block and the backward coding block to obtain the residual value of the prediction block and the block to be coded, and the residual value Perform predictive coding.
  • the to-be-coded frame is first divided into basic coding units, and the basic coding unit can be divided into four coding units by using a quad-tree, and the four coding units can also be separately divided, and the size can be 8*. 8, 8 * 16, 16 * 8 or 16 * 16 coding block, for each basic coding unit to take the top to bottom, left to right coding order.
  • the size of the coding block is not limited.
  • the backward weighting parameter corresponding to the backward coding block is determined by the forward weighting parameter of the forward coding block, without selecting the backward weighting parameter from the weighting parameter, thereby avoiding the present
  • the technique of selecting the backward weighting parameter in the weighting parameter causes the accuracy of the prediction encoding to be low. Therefore, the accuracy of interframe predictive coding is improved.
  • step S103 may be performed first, or the step S104 may be performed first, or the step S103 and the step S104 may be performed at the same time. This is all reasonable. Further, after the step S103 is performed, the first weighting parameter is obtained, and then step S105 can be performed. Further, after both steps S105 and S104 are performed, step S106 can be performed.
  • FIG. 2 is a schematic structural diagram of an inter prediction encoding device according to an embodiment of the present disclosure, which may include: a dividing module 201, a first determining module 202, a second determining module 203, a third determining module 204, and a fourth determining module 205.
  • the fifth determining module 206 and the encoding module 207 may include: a dividing module 201, a first determining module 202, a second determining module 203, a third determining module 204, and a fourth determining module 205.
  • the fifth determining module 206 and the encoding module 207 may include: a dividing module 201, a first determining module 202, a second determining module 203, a third determining module 204, and a fourth determining module 205.
  • the dividing module 201 is configured to divide the frame to be encoded into a plurality of blocks to be encoded by using an encoder.
  • the first determining module 202 is configured to determine, for each block to be encoded, a forward coding block and a backward coding block corresponding to the to-be-coded block.
  • the first determining module 202 may be specifically configured to: determine, by using a motion search technology, a forward coding block and a backward coding block corresponding to the to-be-coded block for each to-be-coded block.
  • the second determining module 203 is configured to determine a first weighting parameter corresponding to the forward coding block.
  • the second determining module 203 may include: a first calculating submodule, a second calculating submodule, and a determining submodule (not shown), where
  • a first calculation submodule configured to calculate, according to the forward coding block and the backward coding block, a prediction block corresponding to each forward weighting parameter preset;
  • a second calculation submodule configured to calculate a residual value of the to-be-coded block and each prediction block
  • the determining submodule is configured to determine the forward weighting parameter corresponding to the residual value with the smallest absolute value as the first weighting parameter.
  • the third determining module 204 is configured to determine a second weighting parameter that is based on the overall brightness of the reference image that includes the forward coding block, and determine a third weighting parameter that is based on the overall brightness of the reference image that includes the backward coding block.
  • the fourth determining module 205 is configured to determine, according to the first weighting parameter, a fourth weighting parameter corresponding to the backward coding block.
  • the fifth determining module 206 is configured to determine, according to the first weighting parameter, the second weighting parameter, the third weighting parameter, and the fourth weighting parameter, a predicted actual weighting parameter of the to-be-coded block.
  • the encoding module 207 is configured to perform predictive encoding on the block to be encoded by using the predicted actual weighting parameter.
  • the forward weighting parameter of the forward coding block is adopted. Determining the backward weighting parameter corresponding to the backward coding block without selecting the backward weighting parameter from the weighting parameter, avoiding the unreasonable selection of the backward weighting parameter in the weighting parameter in the prior art, which may result in lower accuracy of the prediction coding. The problem. Therefore, the accuracy of interframe predictive coding is improved.
  • an embodiment of the present invention further provides an electronic device, including a processor 301, a communication interface 302, a memory 303, and a communication bus 304.
  • the processor 301, the communication interface 302, and the memory 303 pass through the communication bus 304. Complete communication with each other,
  • a memory 303 configured to store a computer program
  • the processor 301 is configured to perform the following steps when executing the program stored on the memory 303:
  • the block to be coded is predictively encoded by using the predicted actual weighting parameter.
  • the communication bus mentioned in the above electronic device may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the communication bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 3, but it does not mean that there is only one bus or one type of bus.
  • the communication interface is used for communication between the above electronic device and other devices.
  • the memory may include a random access memory (RAM), or may include a non-volatile memory (NVM), such as at least one disk storage. Reservoir.
  • the memory may also be at least one storage device located away from the aforementioned processor.
  • the above processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; or may be a digital signal processing (DSP), dedicated integration.
  • CPU central processing unit
  • NP network processor
  • DSP digital signal processing
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • the electronic device determines the backward weighting parameter corresponding to the backward coding block by using the forward weighting parameter of the forward coding block, without selecting the backward weighting parameter from the weighting parameter, thereby avoiding the present
  • the technique of selecting the backward weighting parameter in the weighting parameter causes the accuracy of the prediction encoding to be low. Therefore, the accuracy of interframe predictive coding is improved.
  • the determining the forward coding block and the backward coding block corresponding to the to-be-coded block for each to-be-coded block may include:
  • a motion search technique is used to determine a forward coded block and a backward coded block corresponding to the block to be coded.
  • the determining the first weighting parameter corresponding to the forward coding block may include:
  • the forward weighting parameter corresponding to the residual value with the smallest absolute value is determined as the first weighting parameter.
  • the determining, based on the overall brightness-based weighting parameter of the reference image may include:
  • a weighting parameter based on the overall brightness of the reference image is determined according to a luminance value of all pixel points of the reference image and a total number of pixel points.
  • the reference image is a reference image that includes the forward coding block, and the determining, by the reference image that includes the forward coding block, a second weighting parameter based on an overall brightness, includes:
  • the reference image is a reference image that includes the backward coding block; and the determining, by the reference image that includes the backward coding block, a third weighting parameter based on an overall brightness, includes:
  • the determining, based on the overall brightness-based weighting parameter of the reference image may include:
  • a weighting parameter based on the overall brightness of the reference image is determined according to the image to be encoded, the reference image, and a minimum residual technique.
  • the reference image is a reference image that includes the forward coding block, and the determining, by the reference image that includes the forward coding block, a second weighting parameter based on an overall brightness, includes:
  • the reference image is a reference image that includes the backward coding block; and the determining, by the reference image that includes the backward coding block, a third weighting parameter based on an overall brightness, includes:
  • the determining, according to the first weighting parameter, the fourth weighting parameter corresponding to the backward coding block may include:
  • the fourth weighting parameter 1 ⁇ the first weighting parameter, a fourth weighting parameter corresponding to the backward coding block.
  • a computer readable storage medium stores instructions that, when run on a computer, cause the computer to perform the interframe predictive encoding method of any of the above embodiments.
  • the foregoing inter prediction encoding method may include the following steps:
  • the block to be coded is predictively encoded by using the predicted actual weighting parameter.
  • the backward weighting parameter corresponding to the backward coding block is determined by the forward weighting parameter of the forward coding block, and the backward weighting parameter is not selected from the weighting parameter, thereby avoiding the prior art.
  • the unreasonable selection of the backward weighting parameter in the weighting parameter leads to the problem that the accuracy of the prediction encoding is low. Therefore, the accuracy of interframe predictive coding is improved.
  • the determining the forward coding block and the backward coding block corresponding to the to-be-coded block for each to-be-coded block may include:
  • a motion search technique is used to determine a forward coded block and a backward coded block corresponding to the block to be coded.
  • the determining the first weighting parameter corresponding to the forward coding block may include:
  • the forward weighting parameter corresponding to the residual value with the smallest absolute value is determined as the first weighting parameter.
  • the determining, based on the overall brightness-based weighting parameter of the reference image may include:
  • a weighting parameter based on the overall brightness of the reference image is determined according to a luminance value of all pixel points of the reference image and a total number of pixel points.
  • the reference image is a reference image that includes the forward coding block, and the determining, by the reference image that includes the forward coding block, a second weighting parameter based on an overall brightness, includes:
  • the reference image is a reference image that includes the backward coding block; and the determining, by the reference image that includes the backward coding block, a third weighting parameter based on an overall brightness, includes:
  • the determining, based on the overall brightness-based weighting parameter of the reference image may include:
  • a weighting parameter based on the overall brightness of the reference image is determined according to the image to be encoded, the reference image, and a minimum residual technique.
  • the reference image is a reference image that includes the forward coding block, and the determining, by the reference image that includes the forward coding block, a second weighting parameter based on an overall brightness, includes:
  • the reference image is a reference image that includes the backward coding block; and the determining, by the reference image that includes the backward coding block, a third weighting parameter based on an overall brightness, includes:
  • the determining, according to the first weighting parameter, the fourth weighting parameter corresponding to the backward coding block may include:
  • the fourth weighting parameter 1 ⁇ the first weighting parameter, a fourth weighting parameter corresponding to the backward coding block.
  • a computer program product comprising instructions which, when run on a computer, cause the computer to perform the interframe predictive coding method of any of the above embodiments.
  • the foregoing inter prediction encoding method may include the following steps:
  • the block to be coded is predictively encoded by using the predicted actual weighting parameter.
  • the backward weighting parameter corresponding to the backward coding block is determined by the forward weighting parameter of the forward coding block, and the backward weighting parameter is not selected from the weighting parameter, thereby avoiding the prior art.
  • the unreasonable selection of the backward weighting parameter in the weighting parameter leads to the problem that the accuracy of the prediction encoding is low. Therefore, the accuracy of interframe predictive coding is improved.
  • the determining the forward coding block and the backward coding block corresponding to the to-be-coded block for each to-be-coded block may include:
  • a motion search technique is used to determine a forward coded block and a backward coded block corresponding to the block to be coded.
  • the determining the first weighting parameter corresponding to the forward coding block may include:
  • the forward weighting parameter corresponding to the residual value with the smallest absolute value is determined as the first weighting parameter.
  • the determining, based on the overall brightness-based weighting parameter of the reference image may include:
  • a weighting parameter based on the overall brightness of the reference image is determined according to a luminance value of all pixel points of the reference image and a total number of pixel points.
  • the reference image is a reference image that includes the forward coding block, and the determining, by the reference image that includes the forward coding block, a second weighting parameter based on an overall brightness, includes:
  • the reference image is a reference image that includes the backward coding block; and the determining, by the reference image that includes the backward coding block, a third weighting parameter based on an overall brightness, includes:
  • the determining, based on the overall brightness-based weighting parameter of the reference image may include:
  • a weighting parameter based on the overall brightness of the reference image is determined according to the image to be encoded, the reference image, and a minimum residual technique.
  • the reference image is a reference image that includes the forward coding block, and the determining, by the reference image that includes the forward coding block, a second weighting parameter based on an overall brightness, includes:
  • the reference image is a reference image that includes the backward coding block; and the determining, by the reference image that includes the backward coding block, a third weighting parameter based on an overall brightness, includes:
  • the determining, according to the first weighting parameter, the fourth weighting parameter corresponding to the backward coding block may include:
  • the fourth weighting parameter 1 ⁇ the first weighting parameter, a fourth weighting parameter corresponding to the backward coding block.
  • the above embodiments it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • software it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the computer program instructions When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present invention are generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transfer to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL), or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)).

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

本申请实施例公开了一种帧间预测编码方法及装置,所述方法包括:利用编码器将待编码帧划分为多个待编码块;针对每一待编码块,确定该待编码块对应的前向编码块和后向编码块;确定前向编码块对应的第一加权参数;确定包含前向编码块的参考图像的基于整体亮度的第二加权参数,以及确定包含后向编码块的参考图像的基于整体亮度的第三加权参数;根据第一加权参数,确定后向编码块对应的第四加权参数;根据第一加权参数、第二加权参数、第三加权参数、第四加权参数,确定该待编码块的预测实际加权参数;利用所述预测实际加权参数,对该待编码块进行预测编码。应用本申请实施例提供的帧间预测编码方法及装置,提高了帧间预测编码的准确性。

Description

一种帧间预测编码方法及装置
本申请要求于2016年8月30日提交中国专利局、申请号为201610765403.4、发明名称为“一种帧间预测编码方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及视频编码技术领域,特别涉及一种帧间预测编码方法及装置。
背景技术
众所周知,视频图像数据之间有着很强的相关性,也就是说有大量的冗余信息。帧间预测编码就是利用时域已经编码的参考图像中的块,对当前待编码块进行预测,得到预测值,然后将待编码块的值和预测值之差进行编码。帧间预测编码通常包括,前向预测、后向预测、对称预测和双向预测。对于前向预测、后向预测只需要一个前向或者后向参考帧,而对称预测和双向预测需要前向参考帧和后向参考帧。
通常,在现代的块基运动补偿混合DCT变换的视频编码框架中,双向加权可以认为是加权参数为(1/2,1/2),那么前向的加权参数是(1,0),后向加权参数是(0,1)。在H.264双向编码中,采用的是分开编码,对于待编码帧的待编码块来说,假设编码参数是3个,分别为1/2,1/3,1/4,待编码块的前向参考帧和后向参考帧分别对应3个加权参数,前向参考帧和后向参考帧的加权参数要从9(3*3)种方式中进行选择,实际预测过程中可能存在前向加权参数和后向加权参数均为1/3的情况,显然这样的加权参数是不合理的,会造成帧间预测编码的准确性较低。
发明内容
本申请实施例的目的在于提供一种双向加权预测编码方法及装置,以提高帧间预测编码的准确性。
为达到上述目的,本申请实施例公开了一种帧间预测编码方法,所述方法包括:
利用编码器将待编码帧划分为多个待编码块;
针对每一待编码块,确定该待编码块对应的前向编码块和后向编码块;
确定所述前向编码块对应的第一加权参数;
确定包含所述前向编码块的参考图像的基于整体亮度的第二加权参数,以及确定包含所述后向编码块的参考图像的基于整体亮度的第三加权参数;
根据所述第一加权参数,确定所述后向编码块对应的第四加权参数;
根据所述第一加权参数、所述第二加权参数、所述第三加权参数、所述第四加权参数,确定该待编码块的预测实际加权参数;
利用所述预测实际加权参数,对该待编码块进行预测编码。
可选的,所述针对每一待编码块,确定该待编码块对应的前向编码块和后向编码块,包括:
针对每一待编码块,采用运动搜索技术,确定该待编码块对应的前向编码块和后向编码块。
可选的,所述确定所述前向编码块对应的第一加权参数,包括:
根据所述前向编码块和所述后向编码块,计算预先设置的每一前向加权参数对应的预测块;
计算所述待编码块和每一预测块的残差值;
将绝对值最小的残差值对应的前向加权参数,确定为第一加权参数。
可选的,确定参考图像的基于整体亮度的加权参数,包括:
根据所述参考图像的所有像素点的亮度值以及像素点总数,确定所述参考图像的基于整体亮度的加权参数。
可选的,所述参考图像为包含所述前向编码块的参考图像;所述确定包含所述前向编码块的参考图像基于整体亮度的第二加权参数,包括:
根据所述包含所述前向编码块的参考图像的所有像素点的亮度值以及像素点总数,确定所述包含所述前向编码块的参考图像的基于整体亮度的第二加权参数。
所述参考图像为包含所述后向编码块的参考图像;所述确定包含所述后向编码块的参考图像基于整体亮度的第三加权参数,包括:
根据所述包含所述后向编码块的参考图像的所有像素点的亮度值以及像素点总数,确定所述包含所述后向编码块的参考图像的基于整体亮度的第三加权参数。
可选的,确定参考图像的基于整体亮度的加权参数,包括:
根据所述待编码图像、所述参考图像以及最小残差技术,确定所述参考图像的基于整体亮度的加权参数。
可选的,所述参考图像为包含所述前向编码块的参考图像;所述确定包含所述前向编码块的参考图像基于整体亮度的第二加权参数,包括:
根据所述待编码图像、所述包含所述前向编码块的参考图像以及最小残差技术,确定所述包含所述前向编码块的参考图像的基于整体亮度的第二加权参数。
所述参考图像为包含所述后向编码块的参考图像;所述确定包含所述后向编码块的参考图像基于整体亮度的第三加权参数,包括:
根据所述待编码图像、所述包含所述后向编码块的参考图像以及最小残差技术,确定所述包含所述后向编码块的参考图像的基于整体亮度的第三加权参数。
可选的,所述根据所述第一加权参数,确定所述后向编码块对应的第四加权参数,包括:
根据所述第一加权参数以及公式:第四加权参数=1-第一加权参数,确定所述后向编码块对应的第四加权参数。
为达到上述目的,本申请实施例公开了一种帧间预测编码装置,所述装置包括:
划分模块,用于利用编码器将待编码帧划分为多个待编码块;
第一确定模块,用于针对每一待编码块,确定该待编码块对应的前向编 码块和后向编码块;
第二确定模块,用于确定所述前向编码块对应的第一加权参数;
第三确定模块,用于确定包含所述前向编码块的参考图像的基于整体亮度的第二加权参数,以及确定包含所述后向编码块的参考图像的基于整体亮度的第三加权参数;
第四确定模块,用于根据所述第一加权参数,确定所述后向编码块对应的第四加权参数;
第五确定模块,用于根据所述第一加权参数、所述第二加权参数、所述第三加权参数、所述第四加权参数,确定该待编码块的预测实际加权参数;
编码模块,用于利用所述预测实际加权参数,对该待编码块进行预测编码。
可选的,所述第一确定模块,
具体用于针对每一待编码块,采用运动搜索技术,确定该待编码块对应的前向编码块和后向编码块。
可选的,所述第二确定模块包括:第一计算子模块、第二计算子模块、确定子模块,
所述第一计算子模块,用于根据所述前向编码块和所述后向编码块,计算预先设置的每一前向加权参数对应的预测块;
所述第二计算子模块,用于计算所述待编码块和每一预测块的残差值;
所述确定子模块,用于将绝对值最小的残差值对应的前向加权参数,确定为第一加权参数。
可选的,所述第四确定模块,具体用于:
根据所述第一加权参数以及公式:第四加权参数=1-第一加权参数,确定所述后向编码块对应的第四加权参数。
在本申请实施的又一方面,还提供了一种电子设备,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线 完成相互间的通信;
存储器,用于存放计算机程序;
处理器,用于执行存储器上所存放的程序时,实现上述任一所述的帧间预测编码方法。
在本申请实施的又一方面,还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述任一所述的帧间预测编码方法。
在本申请实施的又一方面,本发明实施例还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述任一所述的帧间预测编码方法。
由上述的技术方案可见,本申请实施例提供的一种帧间预测编码方法及装置,所述方法包括:利用编码器将待编码帧划分为多个待编码块;针对每一待编码块,确定该待编码块对应的前向编码块和后向编码块;确定所述前向编码块对应的第一加权参数;确定包含所述前向编码块的参考图像的基于整体亮度的第二加权参数,以及确定包含所述后向编码块的参考图像的基于整体亮度的第三加权参数;根据所述第一加权参数,确定所述后向编码块对应的第四加权参数;根据所述第一加权参数、所述第二加权参数、所述第三加权参数、所述第四加权参数,确定该待编码块的预测实际加权参数;利用所述预测实际加权参数,对该待编码块进行预测编码。
应用本申请实施例提供的技术方案,通过前向编码块的前向加权参数确定后向编码块对应的后向加权参数,而不用从加权参数中选取后向加权参数,避免了现有技术在加权参数中选取后向加权参数的不合理会导致预测编码的准确性较低的问题。因此,提高了帧间预测编码的准确性。
当然,实施本申请的任一方法或装置必不一定需要同时达到以上所述的所有优点。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍。
图1为本申请实施例提供的一种帧间预测编码方法的流程示意图;
图2为本申请实施例提供的一种帧间预测编码装置的结构示意图;
图3为本申请实施例提供的一种电子设备的结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。
为解决现有技术问题,本申请实施例提供了一种帧间预测编码方法及装置,以下分别进行详细说明。
需要说明的是,编码器把待编码的图像均匀分为互相不重叠的基本编码单元,最大为64*64,对每个基本编码单元按照从上到下、从左到右的顺序编码。实际操作中,可以将基本编码单元直接作为一个编码单元进行编码,还可以将基本编码单元按照四叉树划分为编码单元,编码单元可以再次划分为编码块。
本申请实施例提供的帧间预测编码方法及装置,主要是针对对称预测和双向预测两种预测方式,当前的待编码帧包含前向参考帧列表和后向参考帧列表,参考帧列表又包含多个参考帧。针对每一个待编码的块,搜索前向编码块和后向编码块,根据预设的加权参数,选取最佳的加权参数进行编码,当参考图像具有亮度变化时,还需要根据亮度变化值进行加权预测。
图1为本申请实施例提供的一种帧间预测编码方法的流程示意图,包括如下步骤:
S101,利用编码器将待编码帧划分为多个待编码块。
需要说明的是,将待编码帧划分为多个待编码块指代的是按照编码顺序依次读取待编码块,每次读取的待编码块的大小可以是预先设置的,例如,8*8、8*16、16*8等。
S102,针对每一待编码块,确定该待编码块对应的前向编码块和后向编码块。
具体的,针对每一待编码块,确定该待编码块对应的前向编码块和后向 编码块,可以针对每一待编码块,采用运动搜索技术,确定该待编码块对应的前向编码块和后向编码块。
也就是说,针对每一待编码块,可以采用运动搜索技术,从前向参考帧列表和后向参考帧列表中搜索与之最为相似的块,即与之相匹配的块,即可以得到前向编码块和后向编码块。
S103,确定所述前向编码块对应的第一加权参数。
具体的,确定所述前向编码块对应的第一加权参数,可以根据所述前向编码块和所述后向编码块,计算预先设置的每一前向加权参数对应的预测块;计算所述待编码块和每一预测块的残差值;将绝对值最小的残差值对应的前向加权参数,确定为第一加权参数。
示例性的,编码器预先设置的前向加权参数为:1/3、2/3、1/4、1/2、3/4,待编码块L0的前向编码块和后向编码块分别为L1、L2,以前向加权参数1/3对应的预测块K1为例,K1=1/3L1+(1-1/3)L2,依次计算K2、K3、K4、K5。将得到的5个预测块与待编码块L0相减,假设得到的残差值分别为P1=0.15、P2=0.12、P3=0.11、P4=0.03、P5=-0.005,绝对值最小的是K5对应的-0.005,则将3/4确定为第一加权参数。
在另一种实施方式中,前向加权参数的获得方式,可以采用设置一个参数N,假设N=4,可以采用将(0,1)划分为N份的方式,以0、1/N、2/N……N/N作为前向加权参数,则具体前向加权参数为:0、1/4、1/2、3/4、1。还可以将待编码块所在的待编码帧与前向编码块和后向编码块所在的前向参考帧和后向参考帧进行绑定,当下次编码的时候,如果待编码帧仍对应该前向参考帧和后向参考帧,则直接调用N,获得前向加权参数。
通常,N的获得方式可以采用:预先进行设置;或者,将待编码帧中的每一块与前向参考帧和后向参考帧进行多次迭代,通常N的取值范围是3以上,鉴于对编码效率的影响,N的值一般不会超过10。可以将N写入待编码帧的帧 头、或者写在编码参数组合中。
S104,确定包含所述前向编码块的参考图像的基于整体亮度的第二加权参数,以及确定包含所述后向编码块的参考图像的基于整体亮度的第三加权参数。
在一种实施方式中,确定参考图像的基于整体亮度的加权参数,可以根据所述参考图像的所有像素点的亮度值以及像素点总数,确定所述参考图像的基于整体亮度的加权参数。
其中,确定包含前向编码块的参考图像基于整体亮度的第二加权参数可以包括:根据包含前向编码块的参考图像的所有像素点的亮度值以及像素点总数,确定包含前向编码块的参考图像的基于整体亮度的第二加权参数。
确定包含后向编码块的参考图像基于整体亮度的第三加权参数可以包括:根据包含后向编码块的参考图像的所有像素点的亮度值以及像素点总数,确定包含后向编码块的参考图像的基于整体亮度的第三加权参数。
在前向编码块和后向编码块所在的参考图像具有光线强度变化时,为了保证帧间预测编码的准确性,一般需要将参考图像的亮度值也进行编码。所以,需要计算出有关参考图像的整体亮度的加权参数。实际使用中,可以将参考图像所有亮度值加起来获得亮度值的总和,然后用亮度值的总和除以所有的像素数,得到亮度加权参数。示例性的,假设包含前向编码块的参考图像的像素点个数为10,10个像素点的亮度值之和为11,则亮度加权参数为11/10,即1.1。
在另一种实施方式中,确定参考图像的基于整体亮度的加权参数,可以根据所述待编码图像、所述参考图像以及最小残差技术,确定所述参考图像的基于整体亮度的加权参数。
其中,确定包含前向编码块的参考图像基于整体亮度的第二加权参数可以包括:根据待编码图像、包含所述前向编码块的参考图像以及最小残差技术,确定包含所述前向编码块的参考图像的基于整体亮度的第二加权参数。
确定包含后向编码块的参考图像基于整体亮度的第三加权参数可以包括:根据待编码图像、包含所述后向编码块的参考图像以及最小残差技术,确定 包含后向编码块的参考图像的基于整体亮度的第三加权参数。
具体来说,可以将待编码帧和分别包含前向编码块及后向编码块的两幅参考图像先进行降采样,变成较小的图像,选择一个亮度加权参数,将它与参考图像相乘得到加权参考图像,并将前述已变成较小的图像分块,然后对当前图像的每个块,然后针对分块处理后的每个小块,在加权参考图像中搜索相匹配的块,获得预测残差值并取其平方之和;通过变换不同的亮度加权参数,获得对应的多个残差值平方之和,选择使残差平方和最小的亮度加权参数作为参考图像的亮度加权参数,对应的包含前向编码块的参考图像和包含后向编码块的参考图像的整体亮度第二及第三加权参数可以分别表示为W1、W2
S105,根据所述第一加权参数,确定所述后向编码块对应的第四加权参数。
具体的,确定后向编码块对应的第四加权参数,可以根据所述第一加权参数以及公式:第四加权参数=1-第一加权参数,确定所述后向编码块对应的第四加权参数。本领域技术人员可以理解的是,在S103中,确定了前向编码块对应的第一加权参数,以确定的3/4为例,则后向编码块对应的第二加权参数是1-3/4=1/4。
又例如,在第一加权参数分别为0、1/4、1/2、3/4、1的情况下,则对应的第四加权参数第四加权参数分别为:1、3/4、1/2、1/4、0。将第一加权参数与对应的第四加权参数表示为组合的形式,即:(0,1)、(1/4,3/4)、(1/2,1/2)、(3/4,1/4)、(1,0)。当第一加权参数与对应的第四加权参数的组合为(0,1)时,由于第一加权参数为0,那么此时表示后向预测,同理的,当第一加权参数与对应的第四加权参数的组合为(1,0)时,由于第四加权参数为0,那么此时表示前向预测。
S106,根据所述第一加权参数、所述第二加权参数、所述第三加权参数、所述第四加权参数,确定该待编码块的预测实际加权参数。
实际应用中,前向编码块和后向编码块所在的参考图像通常是有光线强度变化的,所以对待编码块的编码不仅跟加权参数有关还跟参考图像的亮度 有关,上述预测实际加权参数一般可以表示为(第一加权参数*第二加权参数,第三加权参数*第四加权参数),以第一加权参数为3/4,第四加权参数1/4为例,那么预测实际加权参数为(3/4*W1,1/4*W2)。假设W1=1.1、W2=1.2,实际预测实际加权参数为(0.825,0.3)。当前向编码块和后向编码块所在的参考图像没有光线强度的变化时,则W1、W2为1,预测实际加权参数则可以表示为(第一加权参数,第四加权参数)。
S107,利用所述预测实际加权参数,对该待编码块进行预测编码。
得到上述预测实际加权参数后,便可以将预测实际加权参数(例如(0.825,0.3))结合前向编码块和后向编码块,获得预测块和待编码块的残差值,对残差值进行预测编码。
本领域技术人员可以理解的是,待编码帧首先划分为基本编码单元,基本编码单元可以经过四叉树划分为四个编码单元,四个编码单元还可以进行独立划分,可以得到大小是8*8、8*16、16*8或16*16的编码块,针对每一个基本编码单元采取上从到下、从左到右的编码顺序进行。本申请实施例中编码块只要能满足编码要求即可,不对编码块的大小加以限定。
可见,应用本申请图1所示的实施例,通过前向编码块的前向加权参数确定后向编码块对应的后向加权参数,而不用从加权参数中选取后向加权参数,避免了现有技术在加权参数中选取后向加权参数的不合理会导致预测编码的准确性较低的问题。因此,提高了帧间预测编码的准确性。
需要说明的是,上述步骤S103与步骤S104的执行顺序并没有严格限定,也就是说,步骤S102执行后,可以先执行步骤S103,也可以先执行步骤S104,也可以同时执行步骤S103和步骤S104,这都是合理的。进一步的,步骤S103执行完毕后,获得第一加权参数,然后便可以执行步骤S105,进而,步骤S105和步骤S104均执行完毕,便可以执行步骤S106。
图2为本申请实施例提供的一种帧间预测编码装置的结构示意图,可以包括:划分模块201、第一确定模块202、第二确定模块203、第三确定模块204、第四确定模块205、第五确定模块206、编码模块207。
划分模块201,用于利用编码器将待编码帧划分为多个待编码块。
第一确定模块202,用于针对每一待编码块,确定该待编码块对应的前向编码块和后向编码块。
具体的,实际应用中,第一确定模块202具体可以用于:针对每一待编码块,采用运动搜索技术,确定该待编码块对应的前向编码块和后向编码块。
第二确定模块203,用于确定所述前向编码块对应的第一加权参数。
具体的,实际应用中,第二确定模块203可以包括:第一计算子模块、第二计算子模块、确定子模块(图中未示出),其中,
第一计算子模块,用于根据所述前向编码块和所述后向编码块,计算预先设置的每一前向加权参数对应的预测块;
第二计算子模块,用于计算所述待编码块和每一预测块的残差值;
确定子模块,用于将绝对值最小的残差值对应的前向加权参数,确定为第一加权参数。
第三确定模块204,用于确定包含所述前向编码块的参考图像基于整体亮度的第二加权参数,以及确定包含所述后向编码块的参考图像基于整体亮度的第三加权参数。
第四确定模块205,用于根据所述第一加权参数,确定所述后向编码块对应的第四加权参数。
具体的,实际应用中,第四确定模块205,具体可以用于根据所述第一加权参数以及公式:第四加权参数=1-第一加权参数,确定所述后向编码块对应的第四加权参数。
第五确定模块206,用于根据所述第一加权参数、所述第二加权参数、所述第三加权参数、所述第四加权参数,确定该待编码块的预测实际加权参数。
编码模块207,用于利用所述预测实际加权参数,对该待编码块进行预测编码。
可见,应用本申请图2所示的实施例,通过前向编码块的前向加权参数 确定后向编码块对应的后向加权参数,而不用从加权参数中选取后向加权参数,避免了现有技术在加权参数中选取后向加权参数的不合理会导致预测编码的准确性较低的问题。因此,提高了帧间预测编码的准确性。
如图3所示,本发明实施例还提供了一种电子设备,包括处理器301、通信接口302、存储器303和通信总线304,其中,处理器301,通信接口302,存储器303通过通信总线304完成相互间的通信,
存储器303,用于存放计算机程序;
处理器301,用于执行存储器303上所存放的程序时,实现如下步骤:
利用编码器将待编码帧划分为多个待编码块;
针对每一待编码块,确定该待编码块对应的前向编码块和后向编码块;
确定所述前向编码块对应的第一加权参数;
确定包含所述前向编码块的参考图像基于整体亮度的第二加权参数,以及确定包含所述后向编码块的参考图像基于整体亮度的第三加权参数;
根据所述第一加权参数,确定所述后向编码块对应的第四加权参数;
根据所述第一加权参数、所述第二加权参数、所述第三加权参数、所述第四加权参数,确定该待编码块的预测实际加权参数;
利用所述预测实际加权参数,对该待编码块进行预测编码。
上述电子设备提到的通信总线可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。该通信总线可以分为地址总线、数据总线、控制总线等。为便于表示,图3中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
通信接口用于上述电子设备与其他设备之间的通信。
存储器可以包括随机存取存储器(Random Access Memory,RAM),也可以包括非易失性存储器(Non-Volatile Memory,NVM),例如至少一个磁盘存 储器。可选的,存储器还可以是至少一个位于远离前述处理器的存储装置。
上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital Signal Processing,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。
可见,本申请实施例提供的方案中,电子设备通过前向编码块的前向加权参数确定后向编码块对应的后向加权参数,而不用从加权参数中选取后向加权参数,避免了现有技术在加权参数中选取后向加权参数的不合理会导致预测编码的准确性较低的问题。因此,提高了帧间预测编码的准确性。
其中,所述针对每一待编码块,确定该待编码块对应的前向编码块和后向编码块,可以包括:
针对每一待编码块,采用运动搜索技术,确定该待编码块对应的前向编码块和后向编码块。
其中,所述确定所述前向编码块对应的第一加权参数,可以包括:
根据所述前向编码块和所述后向编码块,计算预先设置的每一前向加权参数对应的预测块;
计算所述待编码块和每一预测块的残差值;
将绝对值最小的残差值对应的前向加权参数,确定为第一加权参数。
其中,确定参考图像的基于整体亮度的加权参数,可以包括:
根据所述参考图像的所有像素点的亮度值以及像素点总数,确定所述参考图像的基于整体亮度的加权参数。
其中,所述参考图像为包含所述前向编码块的参考图像;所述确定包含所述前向编码块的参考图像基于整体亮度的第二加权参数,包括:
根据所述包含所述前向编码块的参考图像的所有像素点的亮度值以及像 素点总数,确定所述包含所述前向编码块的参考图像的基于整体亮度的第二加权参数。
所述参考图像为包含所述后向编码块的参考图像;所述确定包含所述后向编码块的参考图像基于整体亮度的第三加权参数,包括:
根据所述包含所述后向编码块的参考图像的所有像素点的亮度值以及像素点总数,确定所述包含所述后向编码块的参考图像的基于整体亮度的第三加权参数。
其中,确定参考图像的基于整体亮度的加权参数,可以包括:
根据所述待编码图像、所述参考图像以及最小残差技术,确定所述参考图像的基于整体亮度的加权参数。
其中,所述参考图像为包含所述前向编码块的参考图像;所述确定包含所述前向编码块的参考图像基于整体亮度的第二加权参数,包括:
根据所述待编码图像、所述包含所述前向编码块的参考图像以及最小残差技术,确定所述包含所述前向编码块的参考图像的基于整体亮度的第二加权参数。
所述参考图像为包含所述后向编码块的参考图像;所述确定包含所述后向编码块的参考图像基于整体亮度的第三加权参数,包括:
根据所述待编码图像、所述包含所述后向编码块的参考图像以及最小残差技术,确定所述包含所述后向编码块的参考图像的基于整体亮度的第三加权参数。
其中,所述根据所述第一加权参数,确定所述后向编码块对应的第四加权参数,可以包括:
根据所述第一加权参数以及公式:第四加权参数=1-第一加权参数,确定所述后向编码块对应的第四加权参数。
在本发明提供的又一实施例中,还提供了一种计算机可读存储介质,该 计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述实施例中任一所述的帧间预测编码方法。
其中,上述帧间预测编码方法可以包括以下步骤:
利用编码器将待编码帧划分为多个待编码块;
针对每一待编码块,确定该待编码块对应的前向编码块和后向编码块;
确定所述前向编码块对应的第一加权参数;
确定包含所述前向编码块的参考图像基于整体亮度的第二加权参数,以及确定包含所述后向编码块的参考图像基于整体亮度的第三加权参数;
根据所述第一加权参数,确定所述后向编码块对应的第四加权参数;
根据所述第一加权参数、所述第二加权参数、所述第三加权参数、所述第四加权参数,确定该待编码块的预测实际加权参数;
利用所述预测实际加权参数,对该待编码块进行预测编码。
可见,本申请实施例提供的方案中,通过前向编码块的前向加权参数确定后向编码块对应的后向加权参数,而不用从加权参数中选取后向加权参数,避免了现有技术在加权参数中选取后向加权参数的不合理会导致预测编码的准确性较低的问题。因此,提高了帧间预测编码的准确性。
其中,所述针对每一待编码块,确定该待编码块对应的前向编码块和后向编码块,可以包括:
针对每一待编码块,采用运动搜索技术,确定该待编码块对应的前向编码块和后向编码块。
其中,所述确定所述前向编码块对应的第一加权参数,可以包括:
根据所述前向编码块和所述后向编码块,计算预先设置的每一前向加权参数对应的预测块;
计算所述待编码块和每一预测块的残差值;
将绝对值最小的残差值对应的前向加权参数,确定为第一加权参数。
其中,确定参考图像的基于整体亮度的加权参数,可以包括:
根据所述参考图像的所有像素点的亮度值以及像素点总数,确定所述参考图像的基于整体亮度的加权参数。
其中,所述参考图像为包含所述前向编码块的参考图像;所述确定包含所述前向编码块的参考图像基于整体亮度的第二加权参数,包括:
根据所述包含所述前向编码块的参考图像的所有像素点的亮度值以及像素点总数,确定所述包含所述前向编码块的参考图像的基于整体亮度的第二加权参数。
所述参考图像为包含所述后向编码块的参考图像;所述确定包含所述后向编码块的参考图像基于整体亮度的第三加权参数,包括:
根据所述包含所述后向编码块的参考图像的所有像素点的亮度值以及像素点总数,确定所述包含所述后向编码块的参考图像的基于整体亮度的第三加权参数。
其中,确定参考图像的基于整体亮度的加权参数,可以包括:
根据所述待编码图像、所述参考图像以及最小残差技术,确定所述参考图像的基于整体亮度的加权参数。
其中,所述参考图像为包含所述前向编码块的参考图像;所述确定包含所述前向编码块的参考图像基于整体亮度的第二加权参数,包括:
根据所述待编码图像、所述包含所述前向编码块的参考图像以及最小残差技术,确定所述包含所述前向编码块的参考图像的基于整体亮度的第二加权参数。
所述参考图像为包含所述后向编码块的参考图像;所述确定包含所述后向编码块的参考图像基于整体亮度的第三加权参数,包括:
根据所述待编码图像、所述包含所述后向编码块的参考图像以及最小残差技术,确定所述包含所述后向编码块的参考图像的基于整体亮度的第三加权参数。
其中,所述根据所述第一加权参数,确定所述后向编码块对应的第四加权参数,可以包括:
根据所述第一加权参数以及公式:第四加权参数=1-第一加权参数,确定所述后向编码块对应的第四加权参数。
在本发明提供的又一实施例中,还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述实施例中任一所述的帧间预测编码方法。
其中,上述帧间预测编码方法可以包括以下步骤:
利用编码器将待编码帧划分为多个待编码块;
针对每一待编码块,确定该待编码块对应的前向编码块和后向编码块;
确定所述前向编码块对应的第一加权参数;
确定包含所述前向编码块的参考图像基于整体亮度的第二加权参数,以及确定包含所述后向编码块的参考图像基于整体亮度的第三加权参数;
根据所述第一加权参数,确定所述后向编码块对应的第四加权参数;
根据所述第一加权参数、所述第二加权参数、所述第三加权参数、所述第四加权参数,确定该待编码块的预测实际加权参数;
利用所述预测实际加权参数,对该待编码块进行预测编码。
可见,本申请实施例提供的方案中,通过前向编码块的前向加权参数确定后向编码块对应的后向加权参数,而不用从加权参数中选取后向加权参数,避免了现有技术在加权参数中选取后向加权参数的不合理会导致预测编码的准确性较低的问题。因此,提高了帧间预测编码的准确性。
其中,所述针对每一待编码块,确定该待编码块对应的前向编码块和后向编码块,可以包括:
针对每一待编码块,采用运动搜索技术,确定该待编码块对应的前向编码块和后向编码块。
其中,所述确定所述前向编码块对应的第一加权参数,可以包括:
根据所述前向编码块和所述后向编码块,计算预先设置的每一前向加权参数对应的预测块;
计算所述待编码块和每一预测块的残差值;
将绝对值最小的残差值对应的前向加权参数,确定为第一加权参数。
其中,确定参考图像的基于整体亮度的加权参数,可以包括:
根据所述参考图像的所有像素点的亮度值以及像素点总数,确定所述参考图像的基于整体亮度的加权参数。
其中,所述参考图像为包含所述前向编码块的参考图像;所述确定包含所述前向编码块的参考图像基于整体亮度的第二加权参数,包括:
根据所述包含所述前向编码块的参考图像的所有像素点的亮度值以及像素点总数,确定所述包含所述前向编码块的参考图像的基于整体亮度的第二加权参数。
所述参考图像为包含所述后向编码块的参考图像;所述确定包含所述后向编码块的参考图像基于整体亮度的第三加权参数,包括:
根据所述包含所述后向编码块的参考图像的所有像素点的亮度值以及像素点总数,确定所述包含所述后向编码块的参考图像的基于整体亮度的第三加权参数。
其中,确定参考图像的基于整体亮度的加权参数,可以包括:
根据所述待编码图像、所述参考图像以及最小残差技术,确定所述参考图像的基于整体亮度的加权参数。
其中,所述参考图像为包含所述前向编码块的参考图像;所述确定包含所述前向编码块的参考图像基于整体亮度的第二加权参数,包括:
根据所述待编码图像、所述包含所述前向编码块的参考图像以及最小残差技术,确定所述包含所述前向编码块的参考图像的基于整体亮度的第二加权参数。
所述参考图像为包含所述后向编码块的参考图像;所述确定包含所述后向编码块的参考图像基于整体亮度的第三加权参数,包括:
根据所述待编码图像、所述包含所述后向编码块的参考图像以及最小残差技术,确定所述包含所述后向编码块的参考图像的基于整体亮度的第三加权参数。
其中,所述根据所述第一加权参数,确定所述后向编码块对应的第四加权参数,可以包括:
根据所述第一加权参数以及公式:第四加权参数=1-第一加权参数,确定所述后向编码块对应的第四加权参数。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要 素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
本领域普通技术人员可以理解实现上述方法实施方式中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,所述的程序可以存储于计算机可读取存储介质中,这里所称得的存储介质,如:ROM/RAM、磁碟、光盘等。以上所述仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。凡在本申请的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本申请的保护范围内。

Claims (15)

  1. 一种帧间预测编码方法,其特征在于,所述方法包括:
    利用编码器将待编码帧划分为多个待编码块;
    针对每一待编码块,确定该待编码块对应的前向编码块和后向编码块;
    确定所述前向编码块对应的第一加权参数;
    确定包含所述前向编码块的参考图像的基于整体亮度的第二加权参数,以及确定包含所述后向编码块的参考图像的基于整体亮度的第三加权参数;
    根据所述第一加权参数,确定所述后向编码块对应的第四加权参数;
    根据所述第一加权参数、所述第二加权参数、所述第三加权参数、所述第四加权参数,确定该待编码块的预测实际加权参数;
    利用所述预测实际加权参数,对该待编码块进行预测编码。
  2. 根据权利要求1所述的方法,其特征在于,所述针对每一待编码块,确定该待编码块对应的前向编码块和后向编码块,包括:
    针对每一待编码块,采用运动搜索技术,确定该待编码块对应的前向编码块和后向编码块。
  3. 根据权利要求1所述的方法,其特征在于,所述确定所述前向编码块对应的第一加权参数,包括:
    根据所述前向编码块和所述后向编码块,计算预先设置的每一前向加权参数对应的预测块;
    计算所述待编码块和每一预测块的残差值;
    将绝对值最小的残差值对应的前向加权参数,确定为第一加权参数。
  4. 根据权利要求1所述的方法,其特征在于,确定参考图像的基于整体亮度的加权参数,包括:
    根据所述参考图像的所有像素点的亮度值以及像素点总数,确定所述参考图像的基于整体亮度的加权参数。
  5. 根据权利要求4所述的方法,其特征在于,所述参考图像为包含所述前向编码块的参考图像;所述确定包含所述前向编码块的参考图像的基于整体亮度的第二加权参数的步骤,包括:根据包含前向编码块的参考图像的所有像素点的亮度值以及像素点总数,确定包含前向编码块的参考图像的基于整体亮度的第二加权参数;
    所述参考图像为包含所述后向编码块的参考图像;所述确定包含所述后向编码块的参考图像的基于整体亮度的第三加权参数的步骤,包括:根据所述包含所述后向编码块的参考图像的所有像素点的亮度值以及像素点总数,确定所述包含所述后向编码块的参考图像的基于整体亮度的第三加权参数。
  6. 根据权利要求1所述的方法,其特征在于,确定参考图像的基于整体亮度的加权参数,包括:
    根据所述待编码图像、所述参考图像以及最小残差技术,确定所述参考图像的基于整体亮度的加权参数。
  7. 根据权利要求6所述的方法,其特征在于,所述参考图像为包含所述前向编码块的参考图像;所述确定包含所述前向编码块的参考图像的基于整体亮度的第二加权参数的步骤,包括:根据所述待编码图像、所述包含所述前向编码块的参考图像以及最小残差技术,确定所述包含所述前向编码块的参考图像的基于整体亮度的第二加权参数;
    所述参考图像为包含所述后向编码块的参考图像;所述确定包含所述后向编码块的参考图像的基于整体亮度的第三加权参数的步骤,包括:根据所述待编码图像、所述包含所述后向编码块的参考图像以及最小残差技术,确定所述包含所述后向编码块的参考图像的基于整体亮度的第三加权参数。
  8. 根据权利要求1所述的方法,其特征在于,所述根据所述第一加权参数,确定所述后向编码块对应的第四加权参数,包括:
    根据所述第一加权参数以及公式:第四加权参数=1-第一加权参数,确定所述后向编码块对应的第四加权参数。
  9. 一种帧间预测编码装置,其特征在于,所述装置包括:
    划分模块,用于利用编码器将待编码帧划分为多个待编码块;
    第一确定模块,用于针对每一待编码块,确定该待编码块对应的前向编码块和后向编码块;
    第二确定模块,用于确定所述前向编码块对应的第一加权参数;
    第三确定模块,用于确定包含所述前向编码块的参考图像的基于整体亮度的第二加权参数,以及确定包含所述后向编码块的参考图像的基于整体亮度的第三加权参数;
    第四确定模块,用于根据所述第一加权参数,确定所述后向编码块对应的第四加权参数;
    第五确定模块,用于根据所述第一加权参数、所述第二加权参数、所述第三加权参数、所述第四加权参数,确定该待编码块的预测实际加权参数;
    编码模块,用于利用所述预测实际加权参数,对该待编码块进行预测编码。
  10. 根据权利要求9所述的装置,其特征在于,所述第一确定模块,具体用于:
    针对每一待编码块,采用运动搜索技术,确定该待编码块对应的前向编码块和后向编码块。
  11. 根据权利要求9所述的装置,其特征在于,所述第二确定模块包括:第一计算子模块、第二计算子模块、确定子模块,
    所述第一计算子模块,用于根据所述前向编码块和所述后向编码块,计算预先设置的每一前向加权参数对应的预测块;
    所述第二计算子模块,用于计算所述待编码块和每一预测块的残差值;
    所述确定子模块,用于将绝对值最小的残差值对应的前向加权参数,确定为第一加权参数。
  12. 根据权利要求9所述的装置,其特征在于,所述第四确定模块,具体用于:
    根据所述第一加权参数以及公式:第四加权参数=1-第一加权参数,确定所述后向编码块对应的第四加权参数。
  13. 一种电子设备,其特征在于,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;
    存储器,用于存放计算机程序;
    处理器,用于执行存储器上所存放的程序时,实现权利要求1-8任一所述的方法步骤。
  14. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行权利要求1-8任一项所述的方法步骤。
  15. 一种包含指令的计算机程序产品,其特征在于,当其在计算机上运行时,使得计算机执行权利要求1-8任一项所述的方法步骤。
PCT/CN2017/096641 2016-08-30 2017-08-09 一种帧间预测编码方法及装置 WO2018040869A1 (zh)

Priority Applications (9)

Application Number Priority Date Filing Date Title
KR1020187037514A KR102148723B1 (ko) 2016-08-30 2017-08-09 인터 프레임 예측 코딩 방법 및 장치
AU2017317848A AU2017317848B2 (en) 2016-08-30 2017-08-09 Interframe predictive coding method and device
CA3028510A CA3028510C (en) 2016-08-30 2017-08-09 Bidirectional interframe predictive coding method and device using forward and backward block weighting and block brightness weighting
SG11201811472QA SG11201811472QA (en) 2016-08-30 2017-08-09 Interframe predictive coding method and device
EP17845171.2A EP3509303B1 (en) 2016-08-30 2017-08-09 Interframe bi-predictive coding method and device
ES17845171T ES2857857T3 (es) 2016-08-30 2017-08-09 Método y dispositivo de codificación bi-predictiva inter-fotograma
JP2019510423A JP6781823B2 (ja) 2016-08-30 2017-08-09 インターフレーム予測符号化方法および装置
US16/313,601 US10715820B2 (en) 2016-08-30 2017-08-09 Interframe predictive coding method and device
MYPI2018002705A MY196896A (en) 2016-08-30 2017-08-09 Interframe predictive coding method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610765403.4A CN106358041B (zh) 2016-08-30 2016-08-30 一种帧间预测编码方法及装置
CN201610765403.4 2016-08-30

Publications (1)

Publication Number Publication Date
WO2018040869A1 true WO2018040869A1 (zh) 2018-03-08

Family

ID=57858182

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/096641 WO2018040869A1 (zh) 2016-08-30 2017-08-09 一种帧间预测编码方法及装置

Country Status (12)

Country Link
US (1) US10715820B2 (zh)
EP (1) EP3509303B1 (zh)
JP (1) JP6781823B2 (zh)
KR (1) KR102148723B1 (zh)
CN (1) CN106358041B (zh)
AU (1) AU2017317848B2 (zh)
CA (1) CA3028510C (zh)
ES (1) ES2857857T3 (zh)
MY (1) MY196896A (zh)
SG (1) SG11201811472QA (zh)
TW (1) TWI655860B (zh)
WO (1) WO2018040869A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106358041B (zh) * 2016-08-30 2019-05-10 北京奇艺世纪科技有限公司 一种帧间预测编码方法及装置
US20220174277A1 (en) * 2019-03-11 2022-06-02 Telefonaktiebolaget Lm Ericsson (Publ) Video coding involving gop-based temporal filtering
CN115695812A (zh) * 2021-07-30 2023-02-03 中兴通讯股份有限公司 视频编码、视频解码方法、装置、电子设备和存储介质
CN116168790B (zh) * 2023-04-25 2023-07-14 深圳爱递医药科技有限公司 一种临床试验的大数据招募系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070098074A1 (en) * 2005-10-31 2007-05-03 Fujitsu Limited Moving picture encoding device, fade scene detection device and storage medium
CN102301716A (zh) * 2009-02-02 2011-12-28 汤姆森特许公司 解码代表画面序列的流的方法,编码画面序列的方法以及编码的数据结构
CN103430540A (zh) * 2011-03-08 2013-12-04 高通股份有限公司 在视频译码中用于双向预测帧间模式的运动向量预测符(mvp)
US20150208080A1 (en) * 2012-07-02 2015-07-23 Lg Electronics Inc. Method for decoding image and apparatus using same
CN106358041A (zh) * 2016-08-30 2017-01-25 北京奇艺世纪科技有限公司 一种帧间预测编码方法及装置

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7266150B2 (en) * 2001-07-11 2007-09-04 Dolby Laboratories, Inc. Interpolation of video compression frames
JP4015934B2 (ja) 2002-04-18 2007-11-28 株式会社東芝 動画像符号化方法及び装置
US8731054B2 (en) 2004-05-04 2014-05-20 Qualcomm Incorporated Method and apparatus for weighted prediction in predictive frames
US8457203B2 (en) 2005-05-26 2013-06-04 Ntt Docomo, Inc. Method and apparatus for coding motion and prediction weighting parameters
EP1980112B1 (en) 2006-02-02 2012-10-24 Thomson Licensing Method and apparatus for adaptive weight selection for motion compensated prediction
CN101610413B (zh) * 2009-07-29 2011-04-27 清华大学 一种视频的编码/解码方法及装置
TW201116067A (en) * 2009-10-27 2011-05-01 Hon Hai Prec Ind Co Ltd Video codec method, video encode device and video decode device
CN104692023B (zh) * 2014-11-28 2017-03-22 江苏丰东热技术股份有限公司 一种无动力滚筒控制传输速度的装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070098074A1 (en) * 2005-10-31 2007-05-03 Fujitsu Limited Moving picture encoding device, fade scene detection device and storage medium
CN102301716A (zh) * 2009-02-02 2011-12-28 汤姆森特许公司 解码代表画面序列的流的方法,编码画面序列的方法以及编码的数据结构
CN103430540A (zh) * 2011-03-08 2013-12-04 高通股份有限公司 在视频译码中用于双向预测帧间模式的运动向量预测符(mvp)
US20150208080A1 (en) * 2012-07-02 2015-07-23 Lg Electronics Inc. Method for decoding image and apparatus using same
CN106358041A (zh) * 2016-08-30 2017-01-25 北京奇艺世纪科技有限公司 一种帧间预测编码方法及装置

Also Published As

Publication number Publication date
ES2857857T3 (es) 2021-09-29
EP3509303A4 (en) 2019-07-10
US20190246119A1 (en) 2019-08-08
EP3509303B1 (en) 2020-12-02
AU2017317848A1 (en) 2019-01-24
TW201820870A (zh) 2018-06-01
CN106358041B (zh) 2019-05-10
JP6781823B2 (ja) 2020-11-04
KR102148723B1 (ko) 2020-08-28
US10715820B2 (en) 2020-07-14
EP3509303A1 (en) 2019-07-10
SG11201811472QA (en) 2019-03-28
AU2017317848B2 (en) 2020-04-30
TWI655860B (zh) 2019-04-01
KR20190013908A (ko) 2019-02-11
MY196896A (en) 2023-05-09
CA3028510A1 (en) 2018-03-08
CN106358041A (zh) 2017-01-25
CA3028510C (en) 2022-05-31
JP2019528634A (ja) 2019-10-10

Similar Documents

Publication Publication Date Title
KR102252816B1 (ko) 부호화유닛 심도 확정 방법 및 장치
TW201924346A (zh) 在視訊寫碼中與位置相依之預測組合
TW201843999A (zh) 用於視訊寫碼之框內參考濾波器
WO2018040869A1 (zh) 一种帧间预测编码方法及装置
KR20210046750A (ko) 비디오 데이터를 코딩하기 위한 디바이스 및 방법
JP6697582B2 (ja) イントラ予測動画符号化方法および装置
WO2019072248A1 (zh) 运动估计方法、装置、电子设备及计算机可读存储介质
WO2020125595A1 (zh) 视频译码器及相应方法
CN111212290B (zh) 片上系统及其帧率转换方法
CN105657430A (zh) 修改运动补偿信息的数据处理系统和解码视频数据的方法
US20170171553A1 (en) Method of operating decoder and method of operating application processor including the decoder
JP7437426B2 (ja) インター予測方法および装置、機器、記憶媒体
WO2017214920A1 (zh) 帧内预测参考像素点滤波控制方法、装置及编码器
JP7448641B2 (ja) 現在のブロックの予測方法及び予測装置、デバイス、記憶媒体
TWI687094B (zh) 使用模板匹配之預測式編碼概念技術
Jubran et al. Sequence-level reference frames in video coding
WO2024152383A1 (zh) 编解码方法、码流、编码器、解码器以及存储介质
JP7516793B2 (ja) 動画像符号化システムおよび動画像符号化方法
WO2024060161A1 (zh) 编解码方法、编码器、解码器以及存储介质
CN105306953A (zh) 图像编码方法和装置
US10440363B2 (en) Encoder performing quantization based on deadzone, and video processing system comprising the same
KR20160067580A (ko) 영상 데이터의 인코딩 방법, 상기 방법을 이용한 인코더, 및 상기 인코더를 포함하는 애플리케이션 프로세서
CN118592029A (zh) 用于帧间预测的改进的局部照明补偿
CN117714684A (zh) 帧内预测模式选取方法、装置、计算机设备和存储介质
CN118118689A (zh) 视频编码的运动矢量确定方法、装置、设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17845171

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 3028510

Country of ref document: CA

ENP Entry into the national phase

Ref document number: 20187037514

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2017317848

Country of ref document: AU

Date of ref document: 20170809

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2019510423

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2017845171

Country of ref document: EP

Effective date: 20190401