WO2014048247A1 - 编解码处理方法、编码器和解码器 - Google Patents

编解码处理方法、编码器和解码器 Download PDF

Info

Publication number
WO2014048247A1
WO2014048247A1 PCT/CN2013/083210 CN2013083210W WO2014048247A1 WO 2014048247 A1 WO2014048247 A1 WO 2014048247A1 CN 2013083210 W CN2013083210 W CN 2013083210W WO 2014048247 A1 WO2014048247 A1 WO 2014048247A1
Authority
WO
WIPO (PCT)
Prior art keywords
image block
sao
enhancement layer
layer image
sao parameter
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.)
Ceased
Application number
PCT/CN2013/083210
Other languages
English (en)
French (fr)
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.)
Huawei Technologies Co Ltd
University of Science and Technology of China USTC
Original Assignee
Huawei Technologies Co Ltd
University of Science and Technology of China USTC
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 Huawei Technologies Co Ltd, University of Science and Technology of China USTC filed Critical Huawei Technologies Co Ltd
Publication of WO2014048247A1 publication Critical patent/WO2014048247A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • 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/117Filters, e.g. for pre-processing or post-processing
    • 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/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/187Methods 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 a scalable video layer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/30Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using hierarchical techniques, e.g. scalability
    • 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
    • H04N19/463Embedding additional information in the video signal during the compression process by compressing encoding parameters before transmission

Definitions

  • Embodiments of the present invention relate to image processing technologies, and in particular, to a codec processing method, an encoder, and a decoder. Background technique
  • Scalable Video Coding (SVC) technology is currently used in coding technology.
  • the lowest quality layer that SVC can provide is the base layer, and the layer that enhances spatial resolution, temporal resolution, or signal-to-noise ratio strength is the enhancement layer.
  • the prior art also uses a sample adaptive offset (SSO) technique to filter the reconstructed image to improve video quality.
  • the encoding device may transmit the SAO parameter of each image block to the decoding device, where the SAO parameter may include an SAO parameter type index, an SAO filter offset absolute value, an EO type index, and an EO type SAO. Filter offset symbol, BO type position and BO type SAO filter offset symbol.
  • the decoding device may perform filtering processing on the received image block according to the SAO parameter transmitted by the encoding device.
  • Embodiments of the present invention provide a codec processing method, an encoder, and a decoder, which are used to improve coding efficiency.
  • an embodiment of the present invention provides a decoding processing method, including:
  • the base layer image block is an image block reconstructed according to the base layer code stream
  • the enhancement layer image block is an image block reconstructed according to the enhancement layer code stream.
  • the SAO parameter indication information of the enhancement layer image block includes: a base layer SA0 parameter multiplexing indication
  • the SAO parameter performs filtering processing on the enhancement layer image block.
  • the SAO parameter indication information of the enhancement layer image block includes: an SAO parameter prediction indication;
  • the SAO parameter of the enhancement layer image block of the SAO parameter prediction of the layer image block filters the enhancement layer image block.
  • the SAO parameter of the enhancement layer image block includes at least one of the following parameters:
  • the method further includes at least one of the following operations :
  • an EO type index of the adjacent image block as an EO type index of the enhancement layer image block; or adopting a BO type band position of the adjacent image block as a BO type band position of the enhancement layer image block and
  • the BO type offset symbol of the adjacent image block is used as the BO type SAO filter offset symbol of the enhancement layer image block.
  • an embodiment of the present invention provides an encoding processing method, including:
  • an enhancement layer image block that includes SAO parameter indication information, where the SAO parameter indication information is used to indicate whether the decoder performs filtering processing on the enhancement layer image block according to a SAO parameter of the base layer image block;
  • the base layer image block is an image block reconstructed according to the base layer code stream
  • the enhancement layer image block is an image block reconstructed according to the enhancement layer code stream.
  • the SAO parameter indication information of the enhancement layer image block includes: a base layer SAO parameter multiplexing indication
  • the generating the enhancement layer image block that includes the SAO parameter indication information where the SAO parameter indication information is used to indicate whether the decoder performs filtering processing on the enhancement layer image block according to the SAO parameter of the base layer image block, including:
  • the SAO parameter indication information of the enhancement layer image block including the SAO parameter prediction indication
  • the generating the enhancement layer image block that includes the SAO parameter indication information where the SAO parameter indication information is used to indicate whether the decoder performs filtering processing on the enhancement layer image block according to the SAO parameter of the base layer image block, including:
  • the SAO parameter prediction indication indicating an SAO of the enhancement layer image block used to indicate whether the decoder uses the SAO parameter prediction of the adjacent image block of the enhancement layer image block Filtering the enhancement layer image block by parameters deal with.
  • the generating an enhancement layer image block that includes the SAO parameter prediction indication where the SAO parameter prediction indication is used to indicate whether a decoder uses an adjacent image of the enhancement layer image block Filtering the enhancement layer image block by using the SAO parameter of the enhancement layer image block of the SAO parameter prediction of the block, including:
  • an enhancement layer image block including a SAO parameter prediction indication, the SAO parameter prediction indicating a left image block SAO parameter indicating whether the decoder uses the enhancement layer image block, and an upper image block SAO of the enhancement layer image block
  • the parameter or the SAO parameter of the base layer image block predicts the SAO parameter of the enhancement layer image block to filter the enhancement layer image block.
  • the SAO parameter of the enhancement layer image block includes at least one of the following parameters:
  • an embodiment of the present invention provides a decoder, including:
  • An obtaining module configured to obtain SAO parameter indication information of the enhancement layer image block
  • a processing module configured to determine, according to the SAO parameter indication information, whether to perform filtering processing on the enhancement layer image block according to a SAO parameter of a base layer image block;
  • the base layer image block is an image block reconstructed according to the base layer code stream
  • the enhancement layer image block is an image block reconstructed according to the enhancement layer code stream.
  • the SAO parameter indication information of the enhancement layer image block includes: a base layer SAO parameter multiplexing indication
  • the processing module is specifically configured to determine, according to the base layer SAO parameter multiplexing indication, whether to filter the enhancement layer image block by using a SAO parameter of the base layer image block.
  • the SAO parameter indication information of the enhancement layer image block including the SAO parameter prediction indication
  • the processing module is specifically configured to determine, according to the SAO parameter prediction indication, whether the SAO parameter of the enhancement layer image block that is predicted according to the SAO parameter of the adjacent image block of the enhancement layer image block is used to the enhancement layer image block. Perform filtering processing.
  • the processing module is specifically configured to be used according to the foregoing
  • the SAO parameter prediction indication determines whether to use the left image block SAO parameter of the enhancement layer image block, the upper image block SAO parameter of the enhancement layer image block, or the SAO parameter predicted by the SAO parameter of the base layer image block
  • the enhancement layer image block is subjected to filtering processing.
  • the SAO parameter of the enhancement layer image block includes at least one of the following parameters:
  • the processing module includes at least one of the following:
  • a first processing unit configured to adopt an SAO filter type index of the adjacent image block as an SAO filter type index of the enhancement layer image block;
  • a second processing unit configured to adopt an absolute value of the SAO filter offset of the adjacent image block plus the SAO filter offset absolute value difference value as an absolute value of the SAO filter offset of the enhancement layer image block ;
  • a third processing unit configured to adopt an EO type index of the adjacent image block as an EO type index of the enhancement layer image block; or use a BO type band position of the adjacent image block as the enhancement layer image
  • the BO type band position of the block and the BO type offset symbol using the adjacent image block are used as the BO type SAO filter offset symbol of the enhancement layer image block.
  • an encoder including:
  • a generating module configured to generate an enhancement layer image block that includes SAO parameter indication information, where the SAO parameter indication information is used to indicate whether the decoder performs filtering processing on the enhancement layer image block according to a SAO parameter of the base layer image block;
  • a sending module configured to send the enhancement layer image block to the decoder
  • the base layer image block is an image block reconstructed according to the base layer code stream
  • the enhancement layer image block is an image block reconstructed according to the enhancement layer code stream.
  • the SAO parameter indication information of the enhancement layer image block includes: a base layer SAO parameter multiplexing indication
  • the generating module is specifically configured to generate a multiplexing instruction including the base layer SAO parameter An enhancement layer image block, the base layer SAO parameter multiplexing indication filtering process for indicating whether the decoder uses the SAO parameter of the base layer image block to perform the filtering process on the enhancement layer image block.
  • the SAO parameter indication information of the enhancement layer image block including the SAO parameter prediction indication
  • the generating module is specifically configured to generate an enhancement layer image block that includes the SAO parameter prediction indication, where the SAO parameter prediction indication is used to indicate whether the decoder uses the SAO parameter prediction of the adjacent image block of the enhancement layer image block.
  • the SAO parameters of the obtained enhancement layer image block are subjected to filtering processing on the enhancement layer image block.
  • the generating module is specifically configured to generate an enhancement layer image block that includes an SAO parameter prediction indication, where the SAO parameter prediction indication is used to indicate whether the decoder uses the enhancement layer image block.
  • the left image block SAO parameter, the upper image block SAO parameter of the enhancement layer image block, or the SAO parameter of the enhancement layer image block predicted by the SAO parameter of the base layer image block filters the enhancement layer image block.
  • the SAO parameter of the enhancement layer image block includes at least one of the following parameters:
  • an embodiment of the present invention provides a decoder, including:
  • the receiver is configured to acquire the SAO parameter indication information of the enhancement layer image block
  • the processor is configured to determine, according to the SAO parameter indication information, whether to perform filtering processing on the enhancement layer image block according to the SAO parameter of the base layer image block;
  • the base layer image block is an image block reconstructed according to the base layer code stream
  • the enhancement layer image block is an image block reconstructed according to the enhancement layer code stream.
  • the SAO parameter indication information of the enhancement layer image block includes: a base layer SAO parameter multiplexing indication:
  • the processor is specifically configured to determine, according to the base layer SAO parameter multiplexing indication, whether to perform filtering processing on the enhancement layer image block by using an SAO parameter of a base layer image block.
  • the SAO parameter indication information of the enhancement layer image block including an SAO parameter prediction indication;
  • the processor is specifically configured to determine, according to the SAO parameter prediction indication, whether the SAO parameter of the enhancement layer image block predicted according to the SAO parameter of the adjacent image block of the enhancement layer image block is used to the enhancement layer image block. Perform filtering processing.
  • the processor is specifically configured to determine, according to the SAO parameter prediction indication, whether to use a left image block SAO parameter of the enhancement layer image block, the enhancement layer image block
  • the upper image block SAO parameter or the SAO parameter predicted by the SAO parameter of the base layer image block filters the enhancement layer image block.
  • the SAO parameter of the enhancement layer image block includes at least one of the following parameters:
  • the processor is configured to perform at least one of the following operations:
  • an EO type index of the adjacent image block as an EO type index of the enhancement layer image block; or adopting a BO type band position of the adjacent image block as a BO type band position of the enhancement layer image block and
  • the BO type offset symbol of the adjacent image block is used as the BO type SAO filter offset symbol of the enhancement layer image block.
  • an encoder including:
  • the generator is configured to generate an enhancement layer image block that includes the SAO parameter indication information, where the SAO parameter indication information is used to indicate whether the decoder performs filtering processing on the enhancement layer image block according to the SAO parameter of the base layer image block.
  • a transmitter configured to send the enhancement layer image block to the decoder;
  • the base layer image block is an image block reconstructed according to the base layer code stream
  • the enhancement layer image block is an image block reconstructed according to the enhancement layer code stream.
  • the SAO parameter indication information of the enhancement layer image block includes: a base layer SAO parameter multiplexing indication
  • the generator is specifically configured to generate an enhancement layer image block that includes the base layer SAO parameter multiplexing indication, where the base layer SAO parameter multiplexing indication is used to indicate whether the decoder uses the SAO parameter pair of the base layer image block.
  • the enhancement layer image block is subjected to filtering processing.
  • the SAO parameter indication information of the enhancement layer image block including an SAO parameter prediction indication
  • the generator is specifically configured to generate an enhancement layer image block that includes the SAO parameter prediction indication, where the SAO parameter prediction indication is used to indicate whether the decoder uses the SAO parameter prediction of the adjacent image block of the enhancement layer image block.
  • the SAO parameters of the obtained enhancement layer image block are subjected to filtering processing on the enhancement layer image block.
  • the generator is specifically configured to generate an enhancement layer image block that includes an SAO parameter prediction indication, where the SAO parameter prediction indication is used to indicate whether the decoder uses the enhancement layer image block.
  • the left image block SAO parameter, the upper image block SAO parameter of the enhancement layer image block, or the SAO parameter of the enhancement layer image block predicted by the SAO parameter of the base layer image block filters the enhancement layer image block.
  • the SAO parameter of the enhancement layer image block includes at least one of the following parameters:
  • the codec processing method, the encoder, and the decoder provided by the embodiments of the present invention determine whether the SAO parameter is used according to the SAO parameter indication information of the base layer image block by acquiring the SAO parameter indication information of the enhancement layer image block.
  • the image block performs filtering processing, which reduces the transmission bit of the SAO parameter of the enhancement layer image block, reduces the redundancy of the enhancement layer image block SAO parameter and the base layer image block SAO parameter, and improves the coding efficiency.
  • Embodiment 1 is a schematic flowchart of Embodiment 1 of a decoding processing method according to the present invention
  • Embodiment 2 is a schematic flowchart of Embodiment 2 of a decoding processing method according to the present invention
  • Embodiment 3 is a schematic flowchart of Embodiment 3 of a decoding processing method according to the present invention.
  • Embodiment 4 is a schematic structural diagram of Embodiment 1 of an encoding processing method according to the present invention.
  • FIG. 5 is a schematic flowchart diagram of Embodiment 2 of an encoding processing method according to the present invention.
  • FIG. 6 is a schematic flowchart of Embodiment 3 of a coding processing method according to the present invention.
  • Embodiment 7 is a schematic structural diagram of Embodiment 1 of a decoder according to the present invention.
  • Embodiment 8 is a schematic structural diagram of Embodiment 2 of a decoder according to the present invention.
  • Embodiment 9 is a schematic structural diagram of Embodiment 1 of an encoder according to the present invention.
  • Embodiment 3 of a decoder is a schematic structural diagram of Embodiment 3 of a decoder according to the present invention.
  • FIG. 1 is a schematic structural diagram of Embodiment 2 of an encoder according to the present invention. detailed description
  • the SAO parameter is used to filter the reconstructed image, and the image quality is improved.
  • the SAO parameter of the base layer and the SAO parameter of the enhancement layer are independently determined.
  • the SAO parameter of the base layer and the SAO parameter of the enhancement layer are separately determined.
  • the SAO parameter of the enhancement layer can be obtained by multiplexing the SAO parameter of the base layer or by the SAO parameter prediction mode of the base layer, thereby reducing the redundancy of the SAO parameter. Degree, improve coding efficiency.
  • FIG. 1 is a schematic flowchart of a first embodiment of a decoding processing method according to the present invention; the method in this embodiment includes:
  • S101 Acquire SAO parameter indication information of the enhancement layer image block.
  • the base layer image block is a block in an image reconstructed according to a base layer code stream, and the base layer code stream refers to a video compressed code stream capable of providing a lower quality reconstructed image;
  • the enhancement layer image block is based on the enhancement layer code stream The blocks in the reconstructed image are reconstructed, and the enhancement layer code stream refers to a video compressed code stream capable of providing a higher quality reconstructed image.
  • the encoding end needs to transmit the SAO parameter of each image block to the decoding end, so that the decoding end can filter the reconstructed image according to the SAO parameter, and improve the quality of the image.
  • the SAO parameter indication information in this embodiment may include: The layer SAO parameter indication information, the left image block SAO parameter indication information or the upper image block SAO parameter indication information, and the base layer SAO parameter indication information may further be a base layer SAO parameter multiplexing indication or a base layer SAO parameter prediction indication, and The difference in the prior art is that the base layer SAO parameter indication information is added to the SAO parameter indication information of the enhancement layer image block in this embodiment.
  • the encoding end sends the SAO parameter indication information of the enhancement layer image block to the decoding end, and the decoding end obtains the SAO parameter indication information of the enhancement layer image block.
  • S102 Determine, according to the SAO parameter indication information, whether to filter the enhancement layer image block according to the SAO parameter of the base layer image block.
  • the SSO parameter indication information of the enhancement layer image block can be obtained by using S101, when
  • the SAO parameter indication information includes the basic layer SAO parameter indication information
  • the SAO parameter indication information includes basic layer SAO parameter indication information
  • the base layer SAO parameter indication information may be a base layer SAO parameter multiplexing indication, or a base layer SAO parameter prediction indication.
  • the base layer SAO parameter multiplexing indication is 1, it indicates that the base layer SAO parameter can be multiplexed, and the enhancement layer image block can be filtered by using the SAO parameter of the corresponding base layer image block; if the base layer SAO parameter multiplexing indication When it is 0, it indicates that the base layer SAO parameter cannot be multiplexed, and the enhancement layer image block SAO parameter is obtained by other methods to filter the enhancement layer image.
  • the parameter prediction enhancement layer SAO parameter may determine the enhancement layer image block SAO parameter according to the SAO parameter of the corresponding base layer image block, and filter the enhancement layer image block by using the determined enhancement layer image block SAO parameter; When the SAO parameter prediction indication is 0, it indicates that the enhancement layer SAO parameter cannot be predicted according to the base layer SAO parameter, and the enhancement layer image block SAO parameter is obtained by other methods to filter the enhancement layer image.
  • the transmission bit of the parameter reduces the redundancy of the enhancement layer image block SAO parameter and the base layer image block SAO parameter, and improves the coding efficiency.
  • Embodiment 2 is a schematic flowchart of Embodiment 2 of a decoding processing method according to the present invention; as shown in FIG. 2, the method in this embodiment includes:
  • the parameter indication information of the enhancement layer image block includes a base layer SAO parameter taking indication.
  • the SAO parameters include: SAO filter type index, SAO filter offset absolute value, edge offset (Edge Offset, hereinafter referred to as: EO) type index, EO type SAO filter offset symbol, band offset (Band Offset, hereinafter referred to as : BO) Type with position and BO type SAO filter offset symbol.
  • the SAO parameter of an image block may be part or all of the above enumerated parameters. For example, when it is determined that the SAO filter type of an image block is of the EO type, the BO type related parameter is not included in the SAO parameter of the image block.
  • the EO type related parameter is not included in the SAO parameter of the image block.
  • Some parameters can be calculated from the intensity values of the sample points in the processed image block, such as the EO type SAO filter offset symbol, so there is no need to acquire or determine from the SAO parameters of other image blocks.
  • the decoding end performs filtering processing on the reconstructed image block according to the SAO parameter, and performs SAO filtering processing on each sampling point (target sampling point described below) in the image block.
  • the decoding end performs filtering processing on the target sampling points in the image block.
  • the specific step is to obtain an SAO filtering type index, and the SAO filtering type includes an unfiltering type, an BO type, and an EO type.
  • the absolute value of the SAO filter offset is obtained, and the absolute value of the SAO filter offset is a set of absolute value data.
  • the SAO filter type is BO type
  • the obtained four SAO filter offsets are obtained.
  • the shift absolute value data can be used for BO type SAO filtering Wave operation, the absolute values of the four SAO filter offsets are the first SA0 filter offset absolute value, the second SA0 filter offset absolute value, the third SAO filter offset absolute value, and the fourth SAO filter offset.
  • the absolute value of the shift Obtain the position of the BO type band, and determine 4 BO type bands according to the position of the BO type.
  • the four BO type bands are determined according to the BO type band position, and the four consecutive BO type bands starting from the BO type band position may be determined as four BO type bands. Further determining the BO type band to which the target sample point belongs is determined to determine the absolute value of the SAO filter offset corresponding to the BO type band as the absolute value of the SAO filter offset of the target sample point. If the target sampling point does not belong to 4 BO type bands, the filtering operation may not be performed. Since each BO type band specifies a range of intensity values of a sampling point, it can be determined whether the target sampling point belongs to the BO type band according to whether the intensity value of the target sampling point is within the range of the BO type band intensity value.
  • the four BO type bands are the first BO type band, the second BO type band, the third BO type band, and the fourth BO type band, respectively, the first BO type band, the second BO type band, and the third BO type.
  • the absolute values of the SAO filter offset corresponding to the fourth BO type band are the first SAO filter offset absolute value, the second SAO filter offset absolute value, the third SAO filter offset absolute value, and the fourth The absolute value of the SAO filter offset. Get the BO type SAO filter offset symbol.
  • the SAO filter offset of the target sample point may be determined by combining the BO type SAO filter offset symbol with the absolute value of the SAO filter offset of the target sample point determined by the above method. And superimposing an SAO filtering offset of the target sampling point on an intensity value of the target sampling point, and performing filtering processing on the target sampling point.
  • the SAO filter type is EO type
  • the EO type indicated by the EO type index is obtained, the intensity relationship between the target sample point and the adjacent sample point is calculated according to the EO type, and the EO type SAO filter offset symbol is determined according to the intensity relationship and The absolute value of one SAO filter offset is determined from the absolute values of the four SAO filter offsets.
  • the EO type SAO filter offset symbol is determined according to the intensity relationship between the target sample point and the adjacent sample point, and an absolute value of the SAO filter offset is determined from the absolute values of the four SAO filter offsets, which may be determined according to the situation, for example, In the first case, the intensity values of two adjacent sampling points are greater than the intensity values of the target sampling point; in the second case, the intensity of the first adjacent sampling point is greater than the target sampling point among the two adjacent sampling points.
  • the intensity value of the second adjacent sample point is equal to the intensity value of the target sample point; in the third case, the first adjacent one of the two adjacent sample points The intensity value of the sample point is smaller than the intensity value of the target sample point, and the intensity value of the second adjacent sample point is equal to the intensity value of the target sample point. In the fourth case, the intensity values of two adjacent sample points are smaller than the intensity value of the target sample point. .
  • the absolute value of the SAO filter offset corresponding to the first case, the second case, the third case, and the fourth case may be preset as the first SAO filter offset absolute value and the second SAO filter offset.
  • Absolute value, third SAO filter offset absolute value and fourth SAO filter offset absolute value preset EO type SAO filter offset symbol corresponding to the first case and the second case is a positive sign, The EO type SAO filter offset symbol corresponding to the three cases and the fourth case is a negative sign.
  • the specific steps of filtering the image block by using the SAO parameter sent by the encoding end by the decoding end are applicable to the base layer image block or the enhancement layer image block.
  • the base layer SAO parameter multiplexing indication is sent to the decoding end, instead of sending the enhancement to the decoding end in the prior art.
  • Layer SAO parameters The decoder obtains the base layer SAO parameter multiplexing indication.
  • the encoding end sends a left image block SAO parameter multiplexing indication to the decoding end, where the SAO parameter of the enhancement layer image block can be used to multiplex the SAO parameter of the left image block. Perform filtering processing.
  • the encoding end sends a SAO parameter multiplexing indication of the upper image block to the decoding end, where the SAO parameter of the enhancement layer image block is used to multiplex the SAO parameter of the upper image block.
  • the encoding end can be based on the base layer SAO parameter, the left image block.
  • the SAO parameter and the multiplexing priority of the upper image block SAO parameter are used to perform the SAO parameter multiplexing indication.
  • the multiplexing priority of the base layer SAO parameter, the left image block SAO parameter, and the upper image block SAO parameter are in descending order of high to low.
  • the encoding end first determines whether the base layer SAO parameter can be multiplexed, and may set the base layer SAO parameter multiplexing indication to 1, and if not, set the base layer SAO parameter multiplexing indication to 0, then further determine the left Whether the side image block SAO parameter can For multiplexing, the left image block SAO parameter multiplexing indication may be set to 1, and the left image block SAO parameter multiplexing indication may be set to 0, and it is determined whether the upper image block SAO parameter can be reused.
  • the upper image block SAO parameter multiplexing indication may be set to 1, and the upper image block SAO parameter multiplexing indication may be set to 0. In this embodiment, other similar multiplexing tags may also be added. No restrictions.
  • S202 Determine, according to the base layer SAO parameter multiplexing indication, whether to filter the enhancement layer image block by using the SAO parameter of the base layer image block.
  • step S201 After obtaining the base layer SAO parameter multiplexing indication in step S201, determining, according to the base layer SAO parameter multiplexing indication, whether to use the SAO parameter of the base layer image block to filter the enhancement layer image block, for example, when the base layer SAO parameter
  • the multiplexing indication is 1, indicating that the enhancement layer image block can be filtered by using the base layer SAO parameter as the enhancement layer SAO parameter.
  • the base layer SAO parameter multiplexing indication When the base layer SAO parameter multiplexing indication is 0, it indicates that the base layer image block cannot be used.
  • the parameter is used to process the enhancement layer image block, and the specific representation of the base layer SAO parameter multiplexing indication is not limited in the embodiment of the present invention.
  • An image block corresponding to the spatial position of the image block in the enhancement layer image in the base layer image may be selected as the base layer image block, for example, in the case where the base layer image and the enhancement layer image have the same spatial resolution, may be in the base layer image Selecting an image block having the same coordinate position as that of the enhancement layer image block as a base layer image block; in the case where the spatial resolution of the base layer image and the enhancement layer image are different, for example, the resolutions of the enhancement layer image in the X direction and the y direction are respectively basic 2 times of the layer image, for the target image block whose coordinates are (2x, 2y) and the size is 2m*2n in the enhancement layer image, the coordinates in the base layer image block are (x, y) and the size is m*n.
  • the image block is used as a base layer image block corresponding to the enhancement layer image block.
  • the SAO parameter multiplexing indication of the left image block may also be acquired in step S201.
  • the SAO multiplexing indication of the left image block is 1, it indicates that the SAO parameter of the left image block can be used as the target image block.
  • the SAO parameter is used to filter the target image block.
  • the SAO multiplexing indication of the left image block is 0, it means that the SAO parameter of the left image block cannot be used as the SAO parameter of the target image block, and the target image block is filtered.
  • the SAO parameter multiplexing indication of the upper image block may also be obtained in step S201.
  • the SAO multiplexing indication of the upper image block is 1, the SAO parameter of the upper image block may be used as the SAO parameter of the target image block. , filtering the target image block.
  • the SAO multiplexing indication of the image block is 0, it indicates that the SAO parameter of the upper image block cannot be used as the SAO parameter of the target image block, and the target image block is subjected to filtering processing.
  • the decoding end may obtain the SAO parameter multiplexing indication according to the base layer SAO parameter, the left image block SAO parameter, and the multiplexing priority of the upper image block SAO parameter, for example, the base layer SAO parameter, the left image block SAO parameter, and the upper image.
  • the multiplexing priority of the block SAO parameter is high to low in sequence, and the encoding end first obtains the base layer SAO parameter multiplexing indication to determine whether it can be multiplexed, and may use the base layer SAO parameter as the enhancement layer SAO parameter, if not, Further obtaining the left image block SAO parameter multiplexing indication to determine whether multiplexing is possible, if possible, using the left image block SAO parameter as the enhancement layer SAO parameter, and if not, further acquiring the upper image block SAO parameter multiplexing indication to determine whether It can be reused, and the upper image block SAO parameter can be used as the enhancement layer SAO parameter. If not, the other similar multiplexing tags can be obtained one by one, and the processing method is similar, and details are not described herein again.
  • the base layer SAO parameter multiplexing indication by acquiring the base layer SAO parameter multiplexing indication, determining, according to the base layer SAO parameter multiplexing indication, whether to use the SAO parameter of the base layer image block to filter the enhancement layer image block, and reducing the enhancement layer image block.
  • the transmission bit of the SAO parameter reduces the redundancy of the enhancement layer image block SAO parameter and the base layer image block SAO parameter, and improves the coding efficiency.
  • FIG. 3 is a schematic flowchart of a third embodiment of a decoding processing method according to the present invention. As shown in FIG. 3, the method in this embodiment includes:
  • S301 Acquire a SAO parameter prediction indication.
  • the SAO parameter prediction indication may be used to indicate that the enhancement layer image block SAO parameter may be predicted according to the prediction indication, and the enhancement layer image block SAO parameter is obtained.
  • the SAO parameter prediction indication is sent to the decoding end;
  • the SAO prediction indication includes: the left image block SAO parameter prediction indication, The upper image block SAO parameter prediction indication or the SAO parameter prediction indication of the base layer image block, corresponding to the SAO parameter of the enhancement layer image block using the left image block SAO parameter, the upper image block SAO parameter or the SAO parameter of the base layer image block Make predictions.
  • the encoding end calculates the absolute value difference of the SAO filtering offset according to the absolute value of the SAO filtering offset in the SAO parameter of the current image block and the absolute value of the SAO filtering offset in the predicted SAO parameter, and The SAO filter offset absolute value difference value and the SAO parameter prediction indication transmission corresponding to the SAO parameter for prediction To the decoder.
  • the decoding end acquires the foregoing SAO parameter prediction indication.
  • the SAO parameter multiplexing indication may also be included, for example, the base layer SAO parameter multiplexing indication, the left image block SAO parameter multiplexing indication, the upper image block SAO parameter multiplexing indication, and the SAO parameter complex
  • the priority of the indication is higher than the SAO parameter prediction indication, that is, whether the target image block can be multiplexed with the SAO parameter, and if not, the method of predicting the enhancement layer image block SAO parameter according to the adjacent image block is determined.
  • S302 Determine, according to the SAO parameter prediction indication, whether to filter the enhancement layer image block according to the SAO parameter of the enhancement layer image block predicted by the SAO parameter of the adjacent image block of the enhancement layer image block.
  • the step may be: determining, according to the SAO parameter prediction indication, whether to use a left image block SAO parameter of the enhancement layer image block, an upper image block SAO parameter of the enhancement layer image block, or a base layer image block
  • the SAO parameter of the enhancement layer image block obtained by the SAO parameter prediction filters the enhancement layer image block.
  • the SAO parameter of the enhancement layer image block including at least one of the following parameters, the SAO filter type index; the SAO filter offset absolute value; the EO type index, or the BO type band position and the BO type SAO filter offset symbol .
  • the method includes the following steps, where the SAO filter type index of the adjacent image block is used as the SAO filter type index of the enhancement layer image block, or the enhancement layer image is determined according to the SAO filter type index of the adjacent image block.
  • the SAO filter type of the block is used as the SAO filter type index of the enhancement layer image block, or the enhancement layer image is determined according to the SAO filter type index of the adjacent image block.
  • the filter type of the enhancement layer image block is also the BO type
  • the SAO filter type index of the adjacent image block indicates the phase
  • the SAO filtering type of the adjacent image block is EO type
  • the filtering type of the enhancement layer image block is also the EO type.
  • the absolute value difference of the SAO filter offset is obtained, and the absolute value of the SAO filter offset of the adjacent image block plus the absolute value difference of the SAO filter offset is used as the SAO filter offset of the enhancement layer image block. Absolute value.
  • the SAO filtering type includes an unfiltering type, an EO type, and an BO type; when the SAO filtering type is an unfiltering type, no filtering processing is performed, and when the SAO filtering type is an EO type or a BO type, obtaining an SAO filtering offset Absolute value difference; the above SAO filter bias
  • the shift absolute value difference is a set of filter offset absolute value difference data. For example, when the SAO filtering type is BO type, the absolute value difference of the four SAO filtering offsets can be obtained. For example, when the SAO filtering type is the EO type, the absolute values of the four SAO filtering offsets can also be obtained.
  • the absolute value of the SAO filter offset of the adjacent image block plus the absolute value of the SAO filter offset is used as the absolute value of the SAO filter offset of the enhancement layer image block, which is the absolute value of the first SAO filter offset, respectively.
  • the second SAO filter offset absolute value, the third SAO filter offset absolute value, and the fourth SAO filter offset absolute value is used as the absolute value of the SAO filter offset of the enhancement layer image block, which is the absolute value of the first SAO filter offset, respectively.
  • the SAO filtering type is the EO type
  • the EO type index of the adjacent image block is used as the EO type index of the enhancement layer image block, or the EO of the enhancement layer image block is determined according to the EO type index of the adjacent image block. Types of) .
  • the EO type index of the adjacent image block is further taken as the EO type index of the enhancement layer image block, according to the EO
  • the type index calculates the intensity relationship between the target sample point and the adjacent sample point, and determines the EO type SAO filter offset symbol according to the intensity relationship and determines an absolute value of the SAO filter offset from the absolute values of the four SAO filter offsets. .
  • the EO type SAO filter offset symbol is determined according to the intensity relationship between the target sample point and the adjacent sample point, and an absolute value of the SAO filter offset is determined from the absolute values of the four SAO filter offsets, which may be determined according to the situation. For example, in the first case, the intensity values of two adjacent sampling points are greater than the intensity values of the target sampling points; in the second case, the intensity of the first adjacent sampling point is greater than the target sampling of two adjacent sampling points.
  • the intensity value of the point, the intensity value of the second adjacent sample point is equal to the intensity value of the target sample point;
  • the intensity value of the first adjacent sample point is less than the intensity value of the target sample point
  • the intensity value of the second adjacent sampling point is equal to the intensity value of the target sampling point; in the fourth case, the intensity values of two adjacent sampling points are smaller than the intensity value of the target sampling point.
  • the absolute value of the SAO filter offset corresponding to the first case, the second case, the third case, and the fourth case may be preset as the first SAO filter offset absolute value and the second SAO filter offset.
  • Absolute value, third SAO filter offset absolute value and fourth SAO filter offset absolute value preset EO type SAO filter offset symbol corresponding to the first case and the second case is a positive sign, The EO type SAO filter offset symbol corresponding to the three cases and the fourth case is a negative sign.
  • the absolute value of SAO filter offset and EO type SAO filtering determines an SAO filter offset of the target sample point, superimposes the SAO filter offset of the target sample point on the intensity value of the target sample point, and performs filtering processing on the target sample point.
  • the BO type band position of the adjacent image block is used as the BO type band position of the enhancement layer image block and the BO type SAO filter offset symbol of the adjacent image block is used as the enhancement layer image block.
  • BO type SAO filter offset symbol is used as the enhancement layer image block.
  • the BO type band position of the adjacent image block is used as the BO type band position of the enhancement layer image block, and according to the BO The type band position determines four BO type bands, and further determines the BO type band to which the target sample point belongs, to determine the absolute value of the corresponding SAO filter offset of the BO type band, and adopts the BO type of the adjacent image block.
  • the SAO filter offset symbol is used as the BO type SAO filter offset symbol BO type offset symbol of the enhancement layer image block to determine the BO type SAO filter offset symbol.
  • each BO type band specifies a range of intensity values for a sample point, it is possible to determine whether the target sample point belongs to the BO type band based on whether the intensity value of the target sample point is within the range of the BO type band intensity value.
  • the four BO type bands are the first BO type band, the second BO type band, the third BO type band, and the fourth BO type band, respectively, the first BO type band, the second BO type band, and the third BO type.
  • the absolute values of the SAO filter offset corresponding to the fourth BO type band are the first SAO filter offset absolute value, the second SAO filter offset absolute value, the third SAO filter offset absolute value, and the fourth The absolute value of the SAO filter offset.
  • the SAO parameter prediction indication by acquiring the SAO parameter prediction indication, determining, according to the SAO parameter prediction indication, determining whether the SAO parameter of the enhancement layer image block is determined according to the SAO parameter of the adjacent image block, and performing filtering processing by using the determined SAO parameter of the enhancement layer image block.
  • There is no need to transmit complete SAO parameters in the enhancement layer and the transmission bits of the SAO parameters of the enhancement layer image block are reduced, and the increase is increased.
  • the strong layer image block SAO parameters are redundant with the base layer image block SAO parameters, improving coding efficiency.
  • the flexibility of coding can be increased, and the coding efficiency is further improved.
  • Embodiment 1 of an encoding processing method according to the present invention. As shown in FIG. 4, the method in this embodiment includes:
  • S401 Generate an enhancement layer image block that includes SAO parameter indication information, where the SAO parameter indication information is used to indicate whether the decoder performs filtering processing on the enhancement layer image block according to the SAO parameter of the base layer image block.
  • the base layer image block is a block in an image reconstructed according to a base layer code stream, and the base layer code stream refers to a video compressed code stream capable of providing a lower quality reconstructed image;
  • the enhancement layer image block is based on the enhancement layer code
  • the block in the image obtained by the stream reconstruction, the enhancement layer code stream refers to a video compressed code stream capable of providing a higher quality reconstructed image.
  • the encoding end needs to transmit the SAO parameter of each image block to the decoding end, so that the decoding end can filter the reconstructed image according to the SAO parameter, and improve the quality of the image.
  • the SAO parameter indication information in this embodiment may include: The layer SAO parameter indication information, the left image block SAO parameter indication information or the upper image block SAO parameter indication information, and the base layer SAO parameter indication information may further be a base layer SAO parameter multiplexing indication or a base layer SAO parameter prediction indication, and The difference in the prior art is that the base layer SAO parameter indication information is added to the SAO parameter indication information of the enhancement layer image block generated by the encoding end in this embodiment.
  • S402 Send an enhancement layer image block to the decoder.
  • the encoding end sends the SAO parameter indication information of the enhancement layer image block to the decoding end, and the decoding end obtains the SAO parameter indication information of the enhancement layer image block.
  • the SAO parameter indication information may be used to determine whether to perform the SAO parameter pair according to the base layer image block.
  • the enhancement layer image block is subjected to filtering processing.
  • the enhancement layer image block including the SAO parameter indication information is generated by sending the coding end to the decoding end, and the SAO parameter indication information is used to indicate whether the decoder performs the enhancement layer image block according to the SAO parameter of the base layer image block. Filtering processing; reducing the transmission bit of the enhancement layer image block SAO parameter, reducing the enhancement layer image block SAO parameter and the base layer image block SAO parameter redundancy, improve coding efficiency.
  • FIG. 5 is a schematic flowchart of the second embodiment of the encoding processing method of the present invention. As shown in FIG. 5, the method in this embodiment includes:
  • S501 Generate a base layer SAO parameter multiplexing indication.
  • the parameter indication information of the enhancement layer image block includes a base layer SAO parameter taking indication.
  • SAO parameters include: SAO filter type index, SAO filter offset absolute value, edge offset (Edge Offset, hereinafter referred to as: EO) type index, EO type SAO filter offset symbol, BO type band position and BO type SAO filter Offset symbol.
  • the SAO parameter of an image block may be part or all of the above enumerated parameters. For example, when it is determined that the SAO filter type of an image block is of the EO type, the BO type related parameter is not included in the SAO parameter of the image block.
  • the EO type related parameter is not included in the SAO parameter of the image block.
  • Some parameters can be calculated based on the intensity values of the sample points in the processed image block, such as the EO type SAO filter offset symbol, so there is no need to acquire or determine from the SAO parameters of other image blocks.
  • the decoding process of the reconstructed image block by the decoding end according to the SAO parameter means performing SAO filtering processing on each sampling point (target sampling point described below) in the image block.
  • the base layer SAO parameter multiplexing indication is generated, and the base layer SAO parameter multiplexing indication is sent to the decoding end.
  • the base layer SAO parameter multiplexing indication is used to instruct the decoder whether to perform filtering processing on the enhancement layer image block using the SAO parameter of the base layer image block.
  • the enhancement layer SAO parameters are sent to the decoding end.
  • the decoder obtains a base layer SAO parameter multiplexing indication.
  • the encoding end determines that the SAO parameter of the enhancement layer image block can be used to multiplex the left image block SAO parameter multiplexing indication, and generates a left image block SAO parameter multiplexing indication, and Sending a left image block SAO parameter multiplexing indication to the decoding end, the SAO parameter indicating that the enhancement layer image block can multiplex the SAO parameter of the left image block to perform filtering processing.
  • the encoding end determines that the SAO parameter of the enhancement layer image block can multiplex the upper image block SAO parameter multiplexing indication, generates an upper image block SAO parameter multiplexing indication, and decodes Send the SAO parameter multiplexing indication of the upper image block for the table
  • the SAO parameter of the enhancement layer image block can be used to multiplex the SAO parameters of the upper image block.
  • the encoding end may perform the SAO parameter multiplexing indication according to the base layer SAO parameter, the left image block SAO parameter, and the multiplexing priority of the upper image block SAO parameter, for example, the base layer SAO parameter.
  • the multiplexing priority of the left image block SAO parameter and the upper image block SAO parameter is high to low, and the encoding end first determines whether the base layer SAO parameter can be multiplexed, and the base layer SAO parameter multiplexing indication can be set to 1.
  • the base layer SAO parameter multiplexing indication is set to 0, and further determine whether the left image block SAO parameter can be multiplexed, or set the left image block SAO parameter multiplexing indication to 1, not Then, the left image block SAO parameter multiplexing indication is set to 0, and further determining whether the upper image block SAO parameter can be multiplexed, the upper image block SAO parameter multiplexing indication may be set to 1, and the upper image block may not be used.
  • the SAO parameter multiplexing indication is set to 0. In this embodiment, other similar multiplexing tags may also be added, which is not limited by the present invention.
  • S502 Send the generated enhancement layer image block that includes the base layer SAO parameter multiplexing indication to the decoding end, so that the decoding end determines whether to use the SAO parameter of the base layer image block to the enhancement layer image block according to the base layer SAO parameter multiplexing indication. Perform filtering processing.
  • the encoding end sends the enhancement layer image block that includes the base layer SAO parameter multiplexing indication generated in 501 to the encoding end, and the encoding end determines whether to use the SAO parameter of the base layer image block according to the base layer SAO parameter multiplexing indication.
  • the enhancement layer image block is subjected to filtering processing.
  • the encoding end may determine, according to the base layer SAO parameter multiplexing indication, whether to filter the enhancement layer image block by using the SAO parameter of the base layer image block, for example, when the base layer SAO parameter multiplexing indication is 1, it indicates that The enhancement layer image block is filtered by using the base layer SAO parameter as the enhancement layer SAO parameter.
  • the base layer SAO parameter multiplexing indication is 0, it means that the enhancement layer image block cannot be processed by using the SAO parameter of the base layer image block.
  • the specific representation of the base layer SAO parameter multiplexing indication is not limited in this embodiment of the present invention.
  • An image block corresponding to the spatial position of the image block in the enhancement layer image in the base layer image may be selected as the base layer image block, for example, in the case where the base layer image and the enhancement layer image have the same spatial resolution, may be in the base layer image Selecting the image block with the same coordinate position as the enhancement layer image block as the base layer image block:
  • the spatial resolution of the base layer image and the enhancement layer image are different, for example, the resolutions of the enhancement layer image in the X direction and the y direction are respectively basic 2 times the layer image, then for the target image block with coordinates (2x, 2y) and size 2m*2n in the enhancement layer image, Then, an image block having a coordinate of (x, y) and a size of m*n in the base layer image block is used as a base layer image block corresponding to the enhancement layer image block.
  • the decoding end may further obtain an SAO parameter multiplexing indication of the left image block generated by the encoding end in S501.
  • the SAO multiplexing indication of the left image block is 1, it indicates that the SAO of the left image block may be used.
  • the parameter is used as the SAO parameter of the target image block, and the target image block is filtered.
  • the SAO multiplexing indication of the left image block is 0, it means that the SAO parameter of the left image block cannot be used as the SAO parameter of the target image block, and the target image block is filtered.
  • the decoding end may further obtain an SAO parameter multiplexing indication that the encoding end generates the upper image block in S501, and when the SAO multiplexing indication of the upper image block is 1, it indicates that the SAO parameter of the upper image block may be used as the target image.
  • the SAO parameter of the block filters the target image block.
  • the SAO multiplexing indication of the upper image block is 0, it means that the SAO parameter of the upper image block cannot be used as the SAO parameter of the target image block, and the target image block is filtered.
  • the decoding end may further obtain an SAO parameter multiplexing indication according to a base layer SAO parameter, a left image block SAO parameter, and a multiplexing priority of the upper image block SAO parameter, for example, a base layer SAO parameter, a left image block SAO parameter, and an upper portion.
  • the multiplexing priority of the image block SAO parameter is sequentially high to low, and the encoding end first obtains the base layer SAO parameter multiplexing indication to determine whether it can be multiplexed, and may use the base layer SAO parameter as the enhancement layer SAO parameter, if not, Then, the SAO parameter multiplexing indication of the left image block is further determined to determine whether it can be multiplexed.
  • the left image block SAO parameter is used as the enhancement layer SAO parameter, and if not, the upper image block SAO parameter multiplexing is further obtained.
  • the indication is to determine whether it can be multiplexed.
  • the upper image block SAO parameter can be used as the enhancement layer SAO parameter. If not, the other similar multiplexing tags can be obtained in a similar manner, and the processing method is similar, and details are not described herein again.
  • the base layer SAO parameter multiplexing indication is generated by the encoding end, and the base layer SAO parameter multiplexing indication is used to indicate whether the decoder uses the SAO parameter of the base layer image block to perform filtering processing on the enhancement layer image block. So that the decoding end determines whether to use the SAO parameter of the base layer image block to filter the enhancement layer image block according to the base layer SAO parameter multiplexing indication, reduces the transmission bit of the enhancement layer image block SAO parameter, and reduces the enhancement layer image.
  • the block SAO parameters are redundant with the base layer image block SAO parameters, improving coding efficiency.
  • FIG. 6 is a schematic flowchart of a third embodiment of the encoding processing method of the present invention. As shown in FIG. 6, the method in this embodiment includes:
  • S601 Generate a SAO parameter prediction indication.
  • the SAO parameter prediction indicates a filtering process for indicating that the decoder uses the SAO parameter of the enhancement layer image block of the SAO parameter prediction of the adjacent image block of the enhancement layer image block to filter the enhancement layer image block.
  • the SAO parameter prediction indication includes: The image block SAO parameter prediction indication, the upper image block SAO parameter prediction indication or the SAO parameter prediction indication of the base layer image block, and the corresponding representation decoding end may use the left image block SAO parameter of the enhancement layer image block, above the enhancement layer image block
  • the image block SAO parameter or the SAO parameter of the base layer image block of the enhancement layer image block predicts the SAO parameter of the enhancement layer image block, and performs filtering processing using the predicted SAO parameter.
  • the encoding end calculates the absolute value difference of the SAO filtering offset according to the absolute value of the SAO filtering offset in the SAO parameter of the current image block and the absolute value of the SAO filtering offset in the predicted SAO parameter, and generates the SAO The filtered offset absolute value difference and the SAO parameter prediction indication corresponding to the SAO parameter used for prediction.
  • the SAO parameter multiplexing indication may also be included, for example, the base layer SAO parameter multiplexing indication, the left image block SAO parameter multiplexing indication, the upper image block SAO parameter multiplexing indication, and the SAO parameter complex
  • the indication priority is higher than the SAO parameter prediction indication, that is, the coding end first determines whether the target image block can reuse the SAO parameter, and if so, generates the SAO parameter multiplexing indication, and if not, determines the target image block.
  • the enhancement layer image block SAO parameter mode can be predicted from the adjacent image blocks of the enhancement layer image block, and if so, the SAO parameter prediction indication is generated.
  • S602 Send a SAO parameter prediction indication to the decoding end.
  • the encoding end sends the SAO parameter prediction indication generated in S601 to the decoding end, and the SAO parameter prediction indication is used to indicate whether the decoder uses the SAO parameter of the adjacent image block of the enhancement layer image block to the SAO of the enhancement layer image block.
  • the parameters are predicted and filtered using the predicted SAO parameters.
  • the decoding end determines whether to use the enhancement layer image according to the SAO parameter prediction indication.
  • the left image block SAO parameter of the block, the upper image block SAO parameter of the enhancement layer image block, or the SAO parameter of the base layer image block predicts the SAO parameter of the enhancement layer image block.
  • the SAO parameter of the enhancement layer image block including at least one of the following parameters, the SAO filter type index; the SAO filter offset absolute value; the EO type index, or the BO type band position and the BO type SAO filter offset symbol .
  • the SAO parameter prediction indication is used to instruct the decoder to predict the SAO parameter of the enhancement layer image block by using at least one of the following operations and adopt the predicted SAO
  • the parameters are filtered.
  • the SAO filter type index of the adjacent image block is used as the SAO filter type index of the enhancement layer image block, or the SAO filter type of the enhancement layer image block is determined according to the SAO filter type index of the adjacent image block.
  • the filter type of the enhancement layer image block is also the BO type
  • the SAO filter type index of the adjacent image block indicates the phase
  • the SAO filtering type of the adjacent image block is EO type
  • the filtering type of the enhancement layer image block is also the EO type.
  • the absolute value difference of the SAO filter offset is obtained, and the absolute value of the SAO filter offset of the adjacent image block plus the absolute value difference of the SAO filter offset is used as the SAO filter offset of the enhancement layer image block. Absolute value.
  • the SAO filtering type includes an unfiltering type, an EO type, and an BO type; when the SAO filtering type is an unfiltering type, no filtering processing is performed, and when the SAO filtering type is an EO type or a BO type, obtaining an SAO filtering offset
  • the absolute difference value of the quantity; the absolute difference value of the above SAO filter offset is a set of filter offset absolute value difference data.
  • the SAO filter type is BO type
  • the difference between the absolute values of the four SAO filter offsets can be obtained.
  • the SAO filter type is EO type
  • the absolute values of the four SAO filter offsets can also be obtained.
  • the absolute value of the SAO filter offset of the adjacent image block plus the absolute value of the SAO filter offset is used as the absolute value of the SAO filter offset of the enhancement layer image block, which is the absolute value of the first SAO filter offset, respectively.
  • the second SAO filter offset absolute value, the third SAO filter offset absolute value, and the fourth SAO filter offset absolute value is used as the absolute value of the SAO filter offset of the enhancement layer image block, which is the absolute value of the first SAO filter offset, respectively.
  • the EO type index of the adjacent image block is used as the EO type index of the enhancement layer image block, or, according to the EO class of the adjacent image block.
  • the type index determines the EO type of the enhancement layer image block).
  • the EO type index of the adjacent image block is further taken as the EO type index of the enhancement layer image block, according to the EO type.
  • the index calculates the intensity relationship between the target sample point and the adjacent sample point, and determines the EO type SAO filter offset symbol according to the intensity relationship and determines an absolute value of the SAO filter offset from the absolute values of the four SAO filter offsets.
  • the EO type SAO filter offset symbol is determined according to the intensity relationship between the target sample point and the adjacent sample point, and an absolute value of the SAO filter offset is determined from the absolute values of the four SAO filter offsets, which may be determined according to the situation. For example, in the first case, the intensity values of two adjacent sampling points are greater than the intensity values of the target sampling points; in the second case, the intensity of the first adjacent sampling point is greater than the target sampling of two adjacent sampling points.
  • the intensity value of the point, the intensity value of the second adjacent sample point is equal to the intensity value of the target sample point;
  • the intensity value of the first adjacent sample point is less than the intensity value of the target sample point
  • the intensity value of the second adjacent sampling point is equal to the intensity value of the target sampling point; in the fourth case, the intensity values of two adjacent sampling points are smaller than the intensity value of the target sampling point.
  • the absolute value of the SAO filter offset corresponding to the first case, the second case, the third case, and the fourth case may be preset as the first SAO filter offset absolute value and the second SAO filter offset.
  • Absolute value, third SAO filter offset absolute value and fourth SAO filter offset absolute value preset EO type SAO filter offset symbol corresponding to the first case and the second case is a positive sign, The EO type SAO filter offset symbol corresponding to the three cases and the fourth case is a negative sign.
  • the BO type band position of the adjacent image block is used as the BO type band position of the enhancement layer image block and the BO type SAO filter offset symbol of the adjacent image block is used as the enhancement layer image block.
  • BO type SAO filter offset symbol is used as the enhancement layer image block.
  • the BO type band position of the adjacent image block is used as the BO type band position of the enhancement layer image block, and according to the BO Type belt position determines 4 BO type belts, further The step determines the BO type band to which the target sample point belongs, to determine the absolute value of the SAO filter offset corresponding to the BO type band, and uses the BO type SAO filter offset symbol of the adjacent image block as the enhancement layer image.
  • the BO type SAO of the block filters the offset symbols to determine the BO type SAO filter offset symbol.
  • the four BO type bands are determined according to the BO type band position, and the four consecutive BO type bands starting from the BO type band position may be determined as four BO type bands.
  • each BO type band specifies a range of intensity values of a sampling point, it can be determined whether the target sampling point belongs to the BO type band according to whether the intensity value of the target sampling point is within the range of the BO type band intensity value.
  • the four BO type bands are the first BO type band, the second BO type band, the third BO type band, and the fourth BO type band, respectively, the first BO type band, the second BO type band, and the third BO type.
  • the absolute values of the SAO filter offset corresponding to the fourth BO type band are the first SAO filter offset absolute value, the second SAO filter offset absolute value, the third SAO filter offset absolute value, and the fourth The absolute value of the SAO filter offset.
  • the SAO parameter prediction indication is generated by the encoding end, and the SAO parameter prediction indication is sent to the encoding end, so that the decoding end determines, according to the SAO parameter prediction indication, whether the SAO of the enhancement layer image block is determined according to the SAO parameter of the adjacent image block. Parameters, and filtering processing using the determined SAO parameters of the enhancement layer image block. There is no need to transmit complete SAO parameters in the enhancement layer, and the transmission bits of the SAO parameters of the enhancement layer image block are reduced, and the SAO parameters of the enhancement layer image block and the SAO parameters of the base layer image block are reduced, and the coding efficiency is improved. Moreover, by combining with the SAO parameter multiplexing indication, the flexibility of coding can be increased, and the coding efficiency is further improved.
  • FIG. 7 is a schematic structural diagram of Embodiment 1 of a decoder according to the present invention.
  • the decoder of this embodiment includes: an obtaining module 71 and a processing module 72, where the obtaining module 71 is configured to acquire an SAO of an enhancement layer image block.
  • the parameter indication information is used by the processing module 72 to determine, according to the SAO parameter indication information, whether to perform filtering processing on the enhancement layer image block according to the SAO parameter of the base layer image block.
  • the base layer image block is an image block reconstructed according to the base layer code stream
  • the enhancement layer map The image block is an image block reconstructed from the enhancement layer code stream.
  • the decoder of this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 1.
  • the implementation principle and technical effects are similar, and details are not described herein again.
  • the SAO parameter indication information of the enhancement layer image block includes the SAO parameter prediction indication.
  • the processing module 72 is specifically configured to determine whether to use the SAO parameter of the base layer image block to the enhancement layer according to the base layer SAO parameter multiplexing indication.
  • the image block is subjected to filtering processing.
  • the decoder of this embodiment can be used to implement the technical solution of the method embodiment shown in FIG. 2, and the implementation principle and technical effects are similar, and details are not described herein again.
  • FIG. 8 is a schematic structural diagram of a second embodiment of a decoder according to the present invention.
  • FIG. 8 is based on the embodiment shown in FIG. 7.
  • the processing module 72 further includes: a first processing unit 721, a second processing unit 722, and a third processing. Unit 723.
  • the SAO parameter indication information of the enhancement layer image block includes an SAO parameter prediction indication.
  • the processing module 72 is specifically configured to determine, according to the SAO parameter prediction indication, whether to filter the enhancement layer image block according to the SAO parameter of the enhancement layer image block predicted by the SAO parameter of the adjacent image block of the enhancement layer image block.
  • the processing module 72 is specifically configured to determine, according to the SAO parameter prediction indication, whether to use the left image block SAO parameter of the enhancement layer image block, the upper image block SAO parameter of the enhancement layer image block, or the base layer image block.
  • the SAO parameter predicted by the SAO parameter filters the enhancement layer image block.
  • the SAO parameter of the enhancement layer image block includes at least one of the following parameters: SAO filter type index; SAO filter offset absolute value; EO type index; BO type band position and BO type SAO filter offset symbol.
  • the first processing unit 721 in the processing module 72 is configured to adopt the SAO filter type index of the adjacent image block as the SAO filter type index of the enhancement layer image block;
  • the second processing unit 722 is configured to acquire the SAO filter offset.
  • Absolute value difference, the absolute value of the SAO filter offset of the adjacent image block plus the absolute value of the SAO filter offset is used as the absolute value of the SAO filter offset of the enhancement layer image block;
  • the third processing unit 723 is used The EO type index of the adjacent image block is used as the EO type index of the enhancement layer image block; or the third processing unit 723 is configured to adopt the BO type band position of the adjacent image block as the BO type band position of the enhancement layer image block;
  • the BO type SAO filter offset symbol of the adjacent image block is used as the BO type SAO filter offset symbol of the enhancement layer image block.
  • the decoder of this embodiment can be used to implement the technical solution of the method embodiment shown in FIG. 3, and the implementation principle and technical effects are similar, and details are not described herein again.
  • FIG. 9 is a schematic structural diagram of Embodiment 1 of an encoder according to the present invention.
  • the encoder structure of this embodiment includes: a generating module 91 and a sending module 92, where the generating module 91 is configured to generate an SAO parameter indication information.
  • the enhancement layer image block, the SAO parameter indication information is used to indicate whether the decoder performs filtering processing on the enhancement layer image block according to the SAO parameter of the base layer image block.
  • the sending module 92 is configured to send an enhancement layer image block to the decoder, where the base layer image block is an image block reconstructed according to the base layer code stream, and the enhancement layer image block is an image block reconstructed according to the enhancement layer code stream.
  • the encoder of this embodiment can be used to implement the technical solution of the method embodiment shown in FIG. 4, and the implementation principle and technical effects are similar, and details are not described herein again.
  • the SAO parameter indication information of the enhancement layer image block includes a base layer SAO parameter multiplexing indication; the generating module 91 is specifically configured to generate an enhancement layer image block including a base layer SAO parameter multiplexing indication, and the basic layer SAO parameter is complex.
  • the enhancement layer image block is subjected to filtering processing with an SAO parameter indicating whether the decoder is to use the base layer image block.
  • the encoder of this embodiment can be used to implement the technical solution of the method embodiment shown in FIG. 5, and the implementation principle and technical effects are similar, and details are not described herein again.
  • the SAO parameter indication information of the enhancement layer image block includes an SAO parameter prediction indication; the generating module 91 is specifically configured to generate an enhancement layer image block that includes the SAO parameter prediction indication, where the SAO parameter prediction indication is used to indicate Whether the decoder performs filtering processing on the enhancement layer image block using the SAO parameter of the enhancement layer image block of the SAO parameter prediction of the adjacent image block of the enhancement layer image block.
  • the generating module 91 is specifically configured to generate an enhancement layer image block that includes an SAO parameter prediction indication, where the SAO parameter prediction indication is used to indicate whether the decoder uses the left image block SAO parameter of the enhancement layer image block. And performing, by the upper image block SAO parameter of the enhancement layer image block or the SAO parameter of the enhancement layer image block predicted by the SAO parameter of the base layer image block, filtering the enhancement layer image block.
  • the SAO parameter of the enhancement layer image block includes the following parameters to One less parameter: SAO filter type index; SAO filter offset absolute value; EO type cable bow
  • the indicated enhancement layer image block, the SAO parameter prediction indication is used to instruct the decoder to predict the SAO parameter of the enhancement layer image block by using at least one of the following operations, and perform filtering processing by using the predicted SAO parameter: using adjacent image blocks
  • the SAO filter type index is used as the SAO filter type index of the enhancement layer image block; the absolute value of the SAO filter offset of the adjacent image block plus the absolute value difference of the SAO filter offset is used as the SAO filter of the enhancement layer image block The absolute value of the offset; the EO type index of the adjacent image block is used as the EO type index of the enhancement layer image block; or, the BO type band position of the adjacent image block is used as the BO type band position of the enhancement layer image block and the phase is adopted
  • the encoder of this embodiment can be used to implement the technical solution of the method embodiment shown in FIG. 6.
  • the implementation principle and technical effects are similar, and details are not described herein again.
  • the decoder of this embodiment includes: a receiver 1001 and a processor 1002, where the receiver 1001 is configured to acquire an SAO of an enhancement layer image block.
  • the parameter indication information is used by the processor 1002 to determine, according to the SAO parameter indication information, whether to perform filtering processing on the enhancement layer image block according to the SAO parameter of the base layer image block.
  • the base layer image block is an image block reconstructed according to the base layer code stream
  • the enhancement layer image block is an image block reconstructed according to the enhancement layer code stream.
  • the decoder of this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 1.
  • the implementation principle and technical effects are similar, and details are not described herein again.
  • the SAO parameter indication information of the enhancement layer image block includes an SAO parameter prediction indication.
  • the processor 1002 is specifically configured to determine, according to the base layer SAO parameter multiplexing indication, whether to use the SAO parameter of the base layer image block to the enhancement layer.
  • the image block is subjected to filtering processing.
  • the decoder of this embodiment can be used to implement the technical solution of the method embodiment shown in FIG. 2, and the implementation principle and technical effects are similar, and details are not described herein again.
  • the SAO parameter indication information of the enhancement layer image block includes an SAO parameter prediction indication.
  • the processor 1002 is specifically configured to determine, according to the SAO parameter prediction indication, whether the The SAO parameter of the enhancement layer image block of the adjacent image block of the enhancement layer image block is subjected to filtering processing on the enhancement layer image block.
  • the processor 1002 is specifically configured to determine, according to the SAO parameter prediction indication, whether to use a left image block SAO parameter of the enhancement layer image block, an upper image block SAO parameter of the enhancement layer image block, or a base layer image.
  • the SAO parameter predicted by the SAO parameter of the block filters the enhancement layer image block.
  • the SAO parameter of the enhancement layer image block includes at least one of the following parameters: SAO filter type index; SAO filter offset absolute value; EO type index; BO type band position and BO type SAO filter offset symbol.
  • processor 1002 is further configured to perform at least one of the following operations:
  • the SAO filter type index of the adjacent image block is used as the SAO filter type index of the enhancement layer image block;
  • the absolute value of the SAO filter offset of the adjacent image block plus the absolute value of the SAO filter offset is used as the absolute value of the SAO filter offset of the enhancement layer image block;
  • the EO type index of the adjacent image block is used as the EO type index of the enhancement layer image block; or, the BO type band position of the adjacent image block is used as the BO type band position of the enhancement layer image block and the BO type of the adjacent image block is adopted.
  • the SAO filter offset symbol is used as the BO type SAO filter offset symbol of the enhancement layer image block.
  • the decoder of this embodiment can be used to implement the technical solution of the method embodiment shown in FIG. 3, and the implementation principle and technical effects are similar, and details are not described herein again.
  • FIG. 11 is a schematic structural diagram of Embodiment 2 of an encoder according to the present invention.
  • the encoder structure of this embodiment includes: a generator 1 101 and a transmitter 1102, where the generator 1101 is configured to generate a SAO parameter.
  • An enhancement layer image block indicating information, the SAO parameter indication information is used to indicate whether the decoder performs filtering processing on the enhancement layer image block according to the SAO parameter of the base layer image block.
  • the transmitter 1 102 is configured to send an enhancement layer image block to the decoder, where the base layer image block is an image block reconstructed according to the base layer code stream, and the enhancement layer image block is an image block reconstructed according to the enhancement layer code stream. .
  • the encoder of this embodiment can be used to implement the technical solution of the method embodiment shown in FIG. 4, and the implementation principle and technical effects are similar, and details are not described herein again.
  • the SAO parameter indication information of the enhancement layer image block includes the base layer SAO a parameter multiplexing indication; the generator 1 101 is specifically configured to generate an enhancement layer image block including a base layer SAO parameter multiplexing indication, and the base layer SAO parameter multiplexing indication is used to indicate whether the decoder uses the SAO parameter pair of the base layer image block to enhance The layer image block is subjected to filtering processing.
  • the encoder of this embodiment can be used to implement the technical solution of the method embodiment shown in FIG. 5, and the implementation principle and technical effects are similar, and details are not described herein again.
  • the SAO parameter indication information of the enhancement layer image block includes an SAO parameter prediction indication; the generator 1101 is specifically configured to generate an enhancement layer image block that includes the SAO parameter prediction indication, where the SAO parameter prediction indication is used for The enhancement layer image block is filtered to indicate whether the decoder uses the SAO parameter of the enhancement layer image block of the SAO parameter prediction of the adjacent image block of the enhancement layer image block.
  • the generator 1 101 is specifically configured to generate an enhancement layer image block including an SAO parameter prediction indication, where the SAO parameter prediction indication is used to indicate whether the decoder uses the left image block SAO of the enhancement layer image block.
  • the parameter, the upper image block SAO parameter of the enhancement layer image block or the SAO parameter of the enhancement layer image block predicted by the SAO parameter of the base layer image block filters the enhancement layer image block.
  • the SAO parameter of the enhancement layer image block includes at least one of the following parameters: SAO filter type index; SAO filter offset absolute value; EO type cable bow I, or BO type band position and BO type SAO filter offset symbol.
  • the encoder of this embodiment can be used to implement the technical solution of the method embodiment shown in FIG. 6.
  • the implementation principle and technical effects are similar, and details are not described herein again.
  • the aforementioned program can be stored in a computer readable storage medium.
  • the program when executed, performs the steps including the above-described method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Landscapes

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

Abstract

本发明各方面实施例提供的编解码处理方法、编码器和解码器,通过获取增强层图像块的SAO参数指示信息,根据SAO参数指示信息,确定是否根据基本层图像块的SAO参数对增强层图像块进行滤波处理,减小了增强层图像块SAO参数的传输比特,降低了增强层图像块SAO参数与基本层图像块SAO参数冗余,提高编码效率。

Description

编解码处理方法、 编码器和解码器 技术领域
本发明实施例涉及图像处理技术, 尤其涉及一种编解码处理方法、 编 码器和解码器。 背景技术
随着多媒体通信的发展, 人们对高清晰视频应用需求日益增加, 视频 编码技术也得到了飞速的发展。
可伸缩性视频编码 (Scalable Video Coding, 以下简称: SVC) 技术为 目前常用的编码技术。 SVC能提供的最低质量层为基本层, 能增强空间分 辨率、 时间分辨率或者信噪比强度的层为增强层。 现有技术还采用样本自 适应偏移 ( Sample Adaptive Offset, 以下简称: SAO) 技术对重建图像进行 滤波处理, 以提高视频质量。 具体来说, 现有技术中, 编码设备可以将各 图像块的 SAO参数传送到解码设备, 其中, SAO参数可以包括 SAO参数 类型索引、 SAO滤波偏移量绝对值、 EO类型索引、 EO类型 SAO滤波偏 移量符号、 BO类型位置与 BO类型 SAO滤波偏移量符号等。 解码设备可 以根据编码设备传送的 SAO参数对接收到的图像块进行滤波处理。
然而, 现有 SAO技术的参数冗余度较高, 编码效率较低。 发明内容
本发明实施例提供一种编解码处理方法、 编码器和解码器, 用于提高 编码效率。
第一方面, 本发明实施例提供一种解码处理方法, 包括:
获取增强层图像块的 SAO参数指示信息;
根据所述 SAO参数指示信息, 确定是否根据基本层图像块的 SAO参 数对所述增强层图像块进行滤波处理;
其中, 基本层图像块为根据基本层码流重建得到的图像块, 所述增强 层图像块为根据增强层码流重建得到的图像块。 第一方面的第一种实现方式, 所述增强层图像块的 SAO参数指示信 息, 包括: 基本层 SA0参数复用指示;
所述根据所述 SAO参数指示信息,确定是否根据基本层图像块的 SA0 参数对所述增强层图像块进行滤波处理, 包括:
根据所述基本层 SAO参数复用指示, 确定是否使用基本层图像块的
SAO参数对所述增强层图像块进行滤波处理。
第一方面的第二种实现方式, 所述增强层图像块的 SAO参数指示信 息, 包括: SAO参数预测指示;
所述根据所述 SAO参数指示信息,确定是否根据基本层图像块的 SAO 参数对所述增强层图像块进行滤波处理, 包括:
根据所述 SAO参数预测指示, 确定是否根据所述增强层图像块的相 邻图像块的 SAO参数预测得到的增强层图像块的 SAO参数对所述增强层 图像块进行滤波处理。
结合第一方面的第二种实现方式, 所述根据所述 SAO参数预测指示, 确定是否根据所述增强层图像块的相邻图像块的 SAO参数预测得到的增 强层图像块的 SAO参数对所述增强层图像块进行滤波处理, 包括- 根据所述 SAO参数预测指示, 确定是否使用所述增强层图像块的左 侧图像块 SAO参数、 所述增强层图像块的上方图像块 SAO参数或者基本 层图像块的 SAO参数预测得到的增强层图像块的 SAO参数对所述增强层 图像块进行滤波处理。
结合第一方面的第二种实现方式, 所述增强层图像块的 SAO参数, 包括下述参数中的至少一种参数:
SAO滤波类型索引;
SAO滤波偏移量绝对值;
EO类型索引, 或者 BO类型带位置以及 BO类型 SAO滤波偏移量符 号;
若确定根据所述增强层图像块的相邻图像块的 SAO参数预测得到的 增强层图像块的 SAO参数对所述增强层图像块进行滤波处理, 则所述方 法还包括下述至少一种操作:
采用所述相邻图像块的 SAO滤波类型索引作为所述增强层图像块的 SAO滤波类型索引;
采用所述相邻图像块的 SAO滤波偏移量绝对值加上所述 SAO滤波偏 移量绝对值差值作为所述增强层图像块的 SAO滤波偏移量绝对值;
采用所述相邻图像块的 EO类型索引作为所述增强层图像块的 EO类 型索引; 或者, 采用所述相邻图像块的 BO类型带位置作为所述增强层图 像块的 BO类型带位置以及采用所述相邻图像块的 BO类型偏移符号作为 所述增强层图像块的 BO类型 SAO滤波偏移量符号。
第二方面, 本发明实施例提供一种编码处理方法, 包括:
生成包含 SAO参数指示信息的增强层图像块, 所述 SAO参数指示信 息用于指示解码器是否根据基本层图像块的 SAO参数对所述增强层图像 块进行滤波处理;
向所述解码器发送所述增强层图像块;
其中, 基本层图像块为根据基本层码流重建得到的图像块, 所述增强 层图像块为根据增强层码流重建得到的图像块。
第二方面的第一种实现方式, 所述增强层图像块的 SAO参数指示信 息, 包括: 基本层 SAO参数复用指示;
所述生成包含 SAO参数指示信息的增强层图像块, 所述 SAO参数指 示信息用于指示解码器是否根据基本层图像块的 SAO参数对所述增强层 图像块进行滤波处理, 包括:
生成包含所述基本层 SAO参数复用指示的增强层图像块, 所述基本 层 SAO参数复用指示用于指示解码器是否使用基本层图像块的 SAO参数 对所述增强层图像块进行滤波处理。
第二方面的第二种实现方式, 所述增强层图像块的 SAO参数指示信 息, 包括 SAO参数预测指示;
所述生成包含 SAO参数指示信息的增强层图像块, 所述 SAO参数指 示信息用于指示解码器是否根据基本层图像块的 SAO参数对所述增强层 图像块进行滤波处理, 包括:
生成包含所述 SAO参数预测指示的增强层图像块, 所述 SAO参数预 测指示用于指示解码器是否使用所述增强层图像块的相邻图像块的 SAO 参数预测得到的增强层图像块的 SAO参数对所述增强层图像块进行滤波 处理。
结合第二方面的第二种实现方式, 所述生成包含所述 SAO参数预测 指示的增强层图像块, 所述 SAO参数预测指示用于指示解码器是否使用 所述增强层图像块的相邻图像块的 SAO参数预测得到的增强层图像块的 SAO参数对所述增强层图像块进行滤波处理, 包括:
生成包含 SAO参数预测指示的增强层图像块, 所述 SAO参数预测指 示用于指示解码器是否使用所述增强层图像块的左侧图像块 SAO参数、 所述增强层图像块的上方图像块 SAO参数或者基本层图像块的 SAO参数 预测得到的增强层图像块的 SAO参数对所述增强层图像块进行滤波处理。
结合第二方面的第二种实现方式, 所述增强层图像块的 SAO参数, 包括下述参数中的至少一种参数:
SAO滤波类型索引:
SAO滤波偏移量绝对值;
EO类型索引, 或者 BO类型带位置以及 BO类型 SAO滤波偏移量符 号。
第三方面, 本发明实施例提供一种解码器, 包括:
获取模块, 用于获取增强层图像块的 SAO参数指示信息;
处理模块, 用于根据所述 SAO参数指示信息, 确定是否根据基本层 图像块的 SAO参数对所述增强层图像块进行滤波处理;
其中, 基本层图像块为根据基本层码流重建得到的图像块, 所述增强 层图像块为根据增强层码流重建得到的图像块。
第三方面的第一种实现方式, 所述增强层图像块的 SAO参数指示信 息, 包括: 基本层 SAO参数复用指示;
所述处理模块, 具体用于根据所述基本层 SAO参数复用指示, 确定 是否使用基本层图像块的 SAO参数对所述增强层图像块进行滤波处理。
第三方面的第二种实现方式, 所述增强层图像块的 SAO参数指示信 息, 包括 SAO参数预测指示;
所述处理模块, 具体用于根据所述 SAO参数预测指示, 确定是否根 据所述增强层图像块的相邻图像块的 SAO参数预测得到的增强层图像块 的 SAO参数对所述增强层图像块进行滤波处理。 结合第三方面的第二种实现方式, 所述处理模块, 具体用于根据所述
SAO参数预测指示, 确定是否使用所述增强层图像块的左侧图像块 SAO 参数、所述增强层图像块的上方图像块 SAO参数或者基本层图像块的 SAO 参数预测得到的 SAO参数对所述增强层图像块进行滤波处理。
结合第三方面的第二种实现方式, 所述增强层图像块的 SAO参数, 包括下述参数中的至少一种参数:
SAO滤波类型索引;
SAO滤波偏移量绝对值;
EO类型索引, 或者 BO类型带位置以及 BO类型 SAO滤波偏移量符 号;
所述处理模块包括下述至少一个单元:
第一处理单元, 用于采用所述相邻图像块的 SAO滤波类型索引作为 所述增强层图像块的 SAO滤波类型索引;
第二处理单元, 用于采用所述相邻图像块的 SAO滤波偏移量绝对值 加上所述 SAO滤波偏移量绝对值差值作为所述增强层图像块的 SAO滤波 偏移量绝对值;
第三处理单元, 用于采用所述相邻图像块的 EO类型索引作为所述增 强层图像块的 EO类型索引; 或者, 采用所述相邻图像块的 BO类型带位 置作为所述增强层图像块的 BO类型带位置以及采用相邻图像块的 BO类 型偏移符号作为所述增强层图像块的 BO类型 SAO滤波偏移量符号。
第四方面, 本发明实施例提供一种编码器, 包括:
生成模块, 用于生成包含 SAO参数指示信息的增强层图像块, 所述 SAO参数指示信息用于指示解码器是否根据基本层图像块的 SAO参数对 所述增强层图像块进行滤波处理;
发送模块, 用于向所述解码器发送所述增强层图像块;
其中, 基本层图像块为根据基本层码流重建得到的图像块, 所述增强 层图像块为根据增强层码流重建得到的图像块。
第四方面的第一种实现方式, 所述增强层图像块的 SAO参数指示信 息, 包括: 基本层 SAO参数复用指示;
所述生成模块, 具体用于生成包含所述基本层 SAO参数复用指示的 增强层图像块, 所述基本层 SAO参数复用指示用于指示解码器是否使用 基本层图像块的 SAO参数对所述增强层图像块进行滤波处理。
第四方面的第二种实现方式, 所述增强层图像块的 SAO参数指示信 息, 包括 SAO参数预测指示;
所述生成模块, 具体用于生成包含所述 SAO参数预测指示的增强层 图像块, 所述 SAO参数预测指示用于指示解码器是否使用所述增强层图 像块的相邻图像块的 SAO参数预测得到的增强层图像块的 SAO参数对所 述增强层图像块进行滤波处理。
结合第四方面的第二种实现方式, 所述生成模块, 具体用于生成包含 SAO参数预测指示的增强层图像块, 所述 SAO参数预测指示用于指示解 码器是否使用所述增强层图像块的左侧图像块 SAO参数、 所述增强层图 像块的上方图像块 SAO参数或者基本层图像块的 SAO参数预测得到的增 强层图像块的 SAO参数对所述增强层图像块进行滤波处理。
结合第四方面的第二种实现方式, 所述增强层图像块的 SAO参数, 包括下述参数中的至少一种参数:
SAO滤波类型索引;
SAO滤波偏移量绝对值;
EO类型索引, 或者 BO类型带位置以及 BO类型 SAO滤波偏移量符 号。
第五方面, 本发明实施例提供一种解码器, 包括:
接收器和处理器;
其中, 接收器用于获取增强层图像块的 SAO参数指示信息; 处理器, 用于根据所述 SAO参数指示信息, 确定是否根据基本层图像块的 SAO参 数对所述增强层图像块进行滤波处理;
其中, 基本层图像块为根据基本层码流重建得到的图像块, 所述增强 层图像块为根据增强层码流重建得到的图像块。
第五方面的第一种实现方式, 所述增强层图像块的 SAO参数指示信 息, 包括: 基本层 SAO参数复用指示:
所述处理器, 具体用于根据所述基本层 SAO参数复用指示, 确定是 否使用基本层图像块的 SAO参数对所述增强层图像块进行滤波处理。 第五方面的第二种实现方式, 所述增强层图像块的 SAO参数指示信 息, 包括 SAO参数预测指示;
所述处理器, 具体用于根据所述 SAO参数预测指示, 确定是否根据 所述增强层图像块的相邻图像块的 SAO参数预测得到的增强层图像块的 SAO参数对所述增强层图像块进行滤波处理。
结合第五方面的第二种实现方式, 所述处理器, 具体用于根据所述 SAO参数预测指示, 确定是否使用所述增强层图像块的左侧图像块 SAO 参数、所述增强层图像块的上方图像块 SAO参数或者基本层图像块的 SAO 参数预测得到的 SAO参数对所述增强层图像块进行滤波处理。
结合第五方面的第二种实现方式, 所述增强层图像块的 SAO参数, 包括下述参数中的至少一种参数:
SAO滤波类型索引:
SAO滤波偏移量绝对值;
EO类型索引, 或者 BO类型带位置以及 BO类型 SAO滤波偏移量符 号;
所述处理器用于执行下述至少一种操作:
采用所述相邻图像块的 SAO滤波类型索引作为所述增强层图像块的 SAO滤波类型索引;
采用所述相邻图像块的 SAO滤波偏移量绝对值加上所述 SAO滤波偏 移量绝对值差值作为所述增强层图像块的 SAO滤波偏移量绝对值;
采用所述相邻图像块的 EO类型索引作为所述增强层图像块的 EO类 型索引; 或者, 采用所述相邻图像块的 BO类型带位置作为所述增强层图 像块的 BO类型带位置以及采用相邻图像块的 BO类型偏移符号作为所述 增强层图像块的 BO类型 SAO滤波偏移量符号。
第六方面, 本发明实施例提供一种编码器, 包括:
生成器和发送器;
其中, 生成器, 用于生成包含 SAO参数指示信息的增强层图像块, 所述 SAO参数指示信息用于指示解码器是否根据基本层图像块的 SAO参 数对所述增强层图像块进行滤波处理; 发送器, 用于向所述解码器发送所 述增强层图像块; 其中, 基本层图像块为根据基本层码流重建得到的图像块, 所述增强 层图像块为根据增强层码流重建得到的图像块。
第六方面的第一种实现方式, 所述增强层图像块的 SAO参数指示信 息, 包括: 基本层 SAO参数复用指示;
所述生成器, 具体用于生成包含所述基本层 SAO参数复用指示的增 强层图像块, 所述基本层 SAO参数复用指示用于指示解码器是否使用基 本层图像块的 SAO参数对所述增强层图像块进行滤波处理。
第六方面的第二种实现方式, 所述增强层图像块的 SAO参数指示信 息, 包括 SAO参数预测指示;
所述生成器, 具体用于生成包含所述 SAO参数预测指示的增强层图 像块, 所述 SAO参数预测指示用于指示解码器是否使用所述增强层图像 块的相邻图像块的 SAO参数预测得到的增强层图像块的 SAO参数对所述 增强层图像块进行滤波处理。
结合第六方面的第二种实现方式, 所述生成器, 具体用于生成包含 SAO参数预测指示的增强层图像块, 所述 SAO参数预测指示用于指示解 码器是否使用所述增强层图像块的左侧图像块 SAO参数、 所述增强层图 像块的上方图像块 SAO参数或者基本层图像块的 SAO参数预测得到的增 强层图像块的 SAO参数对所述增强层图像块进行滤波处理。
结合第六方面的第二种实现方式, 所述增强层图像块的 SAO参数, 包括下述参数中的至少一种参数:
SAO滤波类型索引;
SAO滤波偏移量绝对值;
EO类型索引, 或者 BO类型带位置以及 BO类型 SAO滤波偏移量符 号。
本发明各方面实施例提供的编解码处理方法、 编码器和解码器, 通过 获取增强层图像块的 SAO参数指示信息, 根据 SAO参数指示信息, 确定 是否根据基本层图像块的 SAO参数对增强层图像块进行滤波处理, 减小 了增强层图像块 SAO参数的传输比特, 降低了增强层图像块 SAO参数与 基本层图像块 SAO参数冗余, 提高编码效率。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对 实施例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见 地, 下面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员 来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的 附图。
图 1为本发明解码处理方法实施例一的流程示意图;
图 2为本发明解码处理方法实施例二的流程示意图;
图 3为本发明解码处理方法实施例三的流程示意图;
图 4为本发明编码处理方法实施例一的结构示意图;
图 5为本发明编码处理方法实施例二的流程示意图;
图 6为本发明编码处理方法实施例三的流程示意图;
图 7为本发明解码器实施例一的结构示意图;
图 8为本发明解码器实施例二的结构示意图;
图 9为本发明编码器实施例一的结构示意图;
图 10为本发明解码器实施例三的结构示意图;
图 1 1为本发明编码器实施例二的结构示意图。 具体实施方式
为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本 发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描 述, 显然,所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创造性劳动前提 下所获得的所有其他实施例, 都属于本发明保护的范围。
现有技术中, 采用 SAO参数对重建图像进行滤波处理, 提高图像质 量的方法中, 对于基本层的 SAO参数和增强层的 SAO参数独立确定, 然 而, 基本层的 SAO参数和增强层的 SAO参数具有较大的相关性, 因此, 本发明实施例中, 增强层的 SAO参数可通过复用基本层的 SAO参数的方 式或者通过基本层的 SAO参数预测方式获得, 从而减小 SAO参数的冗余 度, 提高编码效率。
图 1为本发明解码处理方法实施例一的流程示意图; 本实施例的方法 包括:
S101 : 获取增强层图像块的 SAO参数指示信息。
具体地, 基本层图像块为根据基本层码流重建得到的图像中的块, 基 本层码流指能够提供较低质量的重建图像的视频压缩码流; 增强层图像块 为根据增强层码流重建得到的图像中的块, 增强层码流指能够提供较高质 量的重建图像的视频压缩码流。
编码端需要将每个图像块的 SAO参数传输到解码端, 以使解码端能 够根据 SAO参数对重建的图像进行滤波处理, 提高图像的质量, 本实施 例中的 SAO参数指示信息可以包括: 基本层 SAO参数指示信息、 左侧图 像块 SAO参数指示信息或上方图像块 SAO参数指示信息, 基本层 SAO 参数指示信息进一歩地可以为基本层 SAO参数复用指示或者基本层 SAO 参数预测指示, 与现有技术不同的是, 本实施例中的增强层图像块的 SAO 参数指示信息中增加了基本层 SAO参数指示信息。
编码端向解码端发送增强层图像块的 SAO参数指示信息, 解码端获 取增强层图像块的 SAO参数指示信息。
S102: 根据 SAO参数指示信息, 确定是否根据基本层图像块的 SAO 参数对增强层图像块进行滤波处理。
具体地, 通过 S101可以获取增强层图像块的 SAO参数指示信息, 当
SAO参数指示信息中包含基本层 SAO参数指示信息时,可以根据 SAO参 数指示信息, 确定是否根据基本层图像块的 SAO参数对增强层图像块进 行滤波处理。例如, SAO参数指示信息中包含基本层 SAO参数指示信息, 基本层 SAO参数指示信息可以为基本层 SAO参数复用指示, 或者基本层 SAO参数预测指示。 若基本层 SAO参数复用指示为 1时, 表示可以复用 基本层 SAO参数, 则可以使用对应的基本层图像块的 SAO参数对增强层 图像块进行滤波处理; 若基本层 SAO参数复用指示为 0时, 表示不可以 复用基本层 SAO参数, 则通过其他的方式获取增强层图像块 SAO参数对 增强层图像进行滤波处理。
或者,若基本层 SAO参数预测指示为 1时,表示可以根据基本层 SAO 参数预测增强层 SAO参数, 则可以根据对应的基本层图像块的 SAO参数 确定增强层图像块 SAO参数, 并使用所确定的增强层图像块 SAO参数对 增强层图像块进行滤波处理; 若基本层 SAO参数预测指示为 0时, 表示 不可以根据基本层 SAO参数预测增强层 SAO参数, 则通过其他的方式获 取增强层图像块 SAO参数对增强层图像进行滤波处理。
本实施例中,通过获取增强层图像块的 SAO参数指示信息,根据 SAO 参数指示信息, 确定是否根据基本层图像块的 SAO参数对增强层图像块 进行滤波处理, 减小了增强层图像块 SAO参数的传输比特, 降低了增强 层图像块 SAO参数与基本层图像块 SAO参数冗余, 提高编码效率。
图 2为本发明解码处理方法实施例二的流程示意图; 如图 2所示, 本 实施例的方法包括:
S201 : 获取基本层 SAO参数复用指示。
具体地, 增强层图像块的参数指示信息包括基本层 SAO参数服用指 示。 SAO参数包括: SAO滤波类型索引、 SAO滤波偏移量绝对值、 边缘 偏移 (Edge Offset, 以下简称: EO) 类型索引、 EO类型 SAO滤波偏移量 符号、 频带偏移 (Band Offset , 以下简称: BO) 类型带位置和 BO类型 SAO滤波偏移量符号。 一个图像块的 SAO参数可以是上述列举参数的部 分或全部。例如, 当确定一个图像块的 SAO滤波类型为 EO类型时, 该图 像块的 SAO参数中不包括 BO类型相关参数。 再例如, 当确定一个图像 块的 SAO滤波类型为 BO类型时, 该图像块的 SAO参数中不包括 EO类 型相关参数。有些参数可以根据所处理图像块内的采样点的强度值计算得 到, 例如 EO类型 SAO滤波偏移量符号, 因此无需获取或根据其它图像块 的 SAO参数确定。 解码端根据 SAO参数对重建的图像块进行滤波处理指 对所述图像块内的每一个采样点 (下述目标采样点) 进行 SAO滤波处理。 解码端对所述图像块内的目标采样点进行滤波处理, 具体步骤为, 获取 SAO滤波类型索引, SAO滤波类型包括不滤波类型、 BO类型和 EO类型。
当 SAO滤波类型为不滤波类型时, 则不进行滤波处理。
当 SAO滤波类型为 BO类型时, 获取 SAO滤波偏移量绝对值, SAO 滤波偏移量绝对值为一组绝对值数据, 例如, 当 SAO滤波类型为 BO类 型时, 获得的 4个 SAO滤波偏移量绝对值数据可用于 BO类型的 SAO滤 波操作, 4个 SAO滤波偏移量绝对值数据分别为第一 SA0滤波偏移量绝 对值、 第二 SA0滤波偏移量绝对值、 第三 SAO滤波偏移量绝对值和第四 SAO滤波偏移量绝对值。 获取 BO类型带位置, 并根据该 BO类型带位置 确定 4个 BO类型带。 根据该 BO类型带位置确定 4个 BO类型带, 可以 是将从 BO类型带位置开始的连续 4个 BO类型带确定为 4个 BO类型带。 进一步根据目标采样点的强度值确定其所属的 BO类型带, 以确定 BO类 型带对应的 SAO滤波偏移量绝对值作为目标采样点的 SAO滤波偏移量绝 对值。 如果目标采样点不属于 4个 BO类型带, 则可以不进行滤波操作。 因为每一个 BO类型带规定了一个采样点的强度值范围, 所以可以根据目 标采样点的强度值是否在 BO类型带强度值范围内来确定目标采样点是否 属于 BO类型带。 4个 BO类型带与 4个 SAO滤波偏移量绝对值存在一一 对应关系。 例如, 4个 BO类型带分别为第一 BO类型带、 第二 BO类型 带、 第三 BO类型带和第四 BO类型带, 则第一 BO类型带、 第二 BO类 型带、第三 BO类型带和第四 BO类型带对应的 SAO滤波偏移量绝对值分 别为第一 SAO滤波偏移量绝对值、第二 SAO滤波偏移量绝对值、第三 SAO 滤波偏移量绝对值和第四 SAO滤波偏移量绝对值。 获取 BO类型 SAO滤 波偏移量符号。 结合 BO类型 SAO滤波偏移量符号和按上述方法确定的 所述目标采样点的 SAO滤波偏移量绝对值便可确定所述目标采样点的 SAO滤波偏移量。 在所述目标采样点的强度值上叠加所述目标采样点的 SAO滤波偏移量, 对所述目标采样点进行滤波处理。
当 SAO滤波类型为 EO类型时, 获取 EO类型索引指示的 EO类型, 根据 EO类型计算目标采样点与相邻采样点的强度关系, 并根据该强度关 系确定 EO类型 SAO滤波偏移量符号以及从 4个 SAO滤波偏移量绝对值 中确定一个 SAO滤波偏移量绝对值。
根据目标采样点与相邻采样点的强度关系确定 EO类型 SAO滤波偏移 量符号以及从 4个 SAO滤波偏移量绝对值中确定一个 SAO滤波偏移量绝 对值, 具体可根据情况确定, 例如, 第一种情况, 两个相邻采样点的强度 值均大于目标采样点的强度值; 第二种情况, 两个相邻采样点中, 第一个 相邻采样点强度值大于目标采样点的强度值, 第二个相邻采样点强度值等 于目标采样点的强度值; 第三种情况, 两个相邻采样点中, 第一个相邻采 样点强度值小于目标采样点强度值, 第二个相邻采样点强度值等于目标采 样点的强度值; 第四种情况, 两个相邻采样点的强度值均小于目标采样点 的强度值。 可预设第一种情况、 第二种情况、 第三种情况和第四种情况分 别对应的 SAO滤波偏移量绝对值为第一 SAO滤波偏移量绝对值、 第二 SAO滤波偏移量绝对值、第三 SAO滤波偏移量绝对值和第四 SAO滤波偏 移量绝对值;可预设第一种情况和第二种情况对应的 EO类型 SAO滤波偏 移量符号为正号,第三种情况和第四种情况对应的 EO类型 SAO滤波偏移 量符号为负号。
根据按上述方法确定的 SAO滤波偏移量绝对值和 EO类型 SAO滤波 偏移量符号确定目标采样点的 SAO滤波偏移量, 在所述目标采样点的强 度值上叠加所述目标采样点的 SAO滤波偏移量, 对所述目标采样点进行 滤波处理。
上述为解码端采用编码端发送的 SAO参数对图像块进行滤波处理的 具体步骤, 可适用于基本层图像块或者增强层图像块。
本实施例中, 当编码端确定增强层图像块的 SAO参数可以复用基本 层图像块的 SAO参数时, 向解码端发送基本层 SAO参数复用指示, 替代 现有技术中向解码端发送增强层 SAO参数。 解码端获取基本层 SAO参数 复用指示。
在本步骤中, 可选的, 还可以包括, 编码端向解码端发送左侧图像块 SAO参数复用指示, 用于表示增强层图像块的 SAO参数可以复用左侧图 像块的 SAO参数来进行滤波处理。
在本歩骤中, 可选的, 还可以包括, 编码端向解码端发送上方图像块 的 SAO参数复用指示, 用于表示增强层图像块的 SAO参数可以复用上方 图像块的 SAO参数。
在本步骤中, 可选的, 编码端可根据基本层 SAO参数、 左侧图像块
SAO参数、上方图像块 SAO参数的复用优先级,进行 SAO参数复用指示, 例如, 基本层 SAO参数、 左侧图像块 SAO参数、 上方图像块 SAO参数 的复用优先级依次由高到低, 则编码端首先确定基本层 SAO参数是否可 以复用, 可以则将基本层 SAO参数复用指示置为 1, 若不可以, 将基本层 SAO参数复用指示置为 0, 则进一歩确定左侧图像块 SAO参数是否可以 复用, 可以则将左侧图像块 SAO参数复用指示置为 1, 不可以则将左侧图 像块 SAO参数复用指示置为 0, 进一歩地确定上方图像块 SAO参数是否 可以复用, 可以则将上方图像块 SAO参数复用指示置为 1, 不可以则将上 方图像块 SAO参数复用指示置为 0, 本实施例中, 也可增加其他类似的复 用标记, 本发明对此不作限制。
S202: 根据基本层 SAO参数复用指示, 确定是否使用基本层图像块 的 SAO参数对增强层图像块进行滤波处理。
在歩骤 S201中获取基本层 SAO参数复用指示后,可根据基本层 SAO 参数复用指示, 确定是否使用基本层图像块的 SAO参数对增强层图像块 进行滤波处理, 例如当基本层 SAO参数复用指示为 1, 则表示可以使用基 本层 SAO参数作为增强层 SAO参数对增强层图像块进行滤波处理, 当基 本层 SAO参数复用指示为 0, 则表示不可以使用基本层图像块的 SAO参 数对增强层图像块进行处理, 基本层 SAO参数复用指示的具体表示形式, 本发明实施例对此不作限制。
可以选择基本层图像中与增强层图像中图像块的空间位置对应的图 像块作为基本层图像块, 例如, 在基本层图像与增强层图像空间分辨率相 同的情况下, 可以在基本层图像中选择与增强层图像块坐标位置相同的图 像块作为基本层图像块; 在基本层图像与增强层图像空间分辨率不同的情 况下, 例如增强层图像在 X方向与 y方向的分辨率分别是基本层图像的 2 倍, 则对于增强层图像中坐标为(2x, 2y)且大小为 2m*2n的目标图像块, 则将基本层图像块中坐标为(x, y )且大小为 m*n的图像块作为增强层图 像块对应的基本层图像块。
可选的,在步骤 S201中还可以获取左侧图像块的 SAO参数复用指示, 当左侧图像块的 SAO复用指示为 1时, 表示可以使用左侧图像块的 SAO 参数作为目标图像块的 SAO参数, 对目标图像块进行滤波处理。 当左侧 图像块的 SAO复用指示为 0时, 表示不可以使用左侧图像块的 SAO参数 作为目标图像块的 SAO参数, 对目标图像块进行滤波处理。
可选的,在步骤 S201中还可以获取上方图像块的 SAO参数复用指示, 当上方图像块的 SAO复用指示为 1时, 表示可以使用上方图像块的 SAO 参数作为目标图像块的 SAO参数, 对目标图像块进行滤波处理。 当上方 图像块的 SAO复用指示为 0时, 表示不可以使用上方图像块的 SAO参数 作为目标图像块的 SAO参数, 对目标图像块进行滤波处理。
解码端可以根据基本层 SAO参数、 左侧图像块 SAO参数、 上方图像 块 SAO参数的复用优先级, 获取 SAO参数复用指示, 例如, 基本层 SAO 参数、 左侧图像块 SAO参数、 上方图像块 SAO参数的复用优先级依次由 高到低, 则编码端首先获取基本层 SAO参数复用指示确定是否可以复用, 可以则使用基本层 SAO参数作为增强层 SAO参数, 若不可以, 则进一步 获取左侧图像块 SAO参数复用指示确定是否可以复用, 若可以则使用左 侧图像块 SAO参数作为增强层 SAO参数, 若不可以则进一步地获取上方 图像块 SAO参数复用指示确定是否可以复用, 可以则将上方图像块 SAO 参数作为增强层 SAO参数, 若不可以, 则可进一歩地获取其他类似的复 用标记, 处理方法类似, 此处不再赘述。
本实施例中, 通过获取基本层 SAO参数复用指示, 根据基本层 SAO 参数复用指示, 确定是否使用基本层图像块的 SAO参数对增强层图像块 进行滤波处理, 减小了增强层图像块 SAO参数的传输比特, 降低了增强 层图像块 SAO参数与基本层图像块 SAO参数冗余, 提高编码效率。
图 3为本发明解码处理方法实施例三的流程示意图, 如图 3所示, 本 实施例的方法包括:
S301 : 获取 SAO参数预测指示。
具体地, SAO参数预测指示可以用于表示可以根据预测指示对增强层 图像块 SAO参数进行预测, 获取增强层图像块 SAO参数。
当编码端确定增强层图像块的 SAO参数可以根据相邻图像块的 SAO 参数预测获得时, 则向解码端发送 SAO参数预测指示; 所述 SAO预测指 示包括: 左侧图像块 SAO参数预测指示、 上方图像块 SAO参数预测指示 或者基本层图像块的 SAO参数预测指示,对应的表示使用左侧图像块 SAO 参数、 上方图像块 SAO参数或者基本层图像块的 SAO参数对增强层图像 块的 SAO参数进行预测。 编码端根据当前图像块的 SAO参数中的 SAO 滤波偏移量绝对值以及用于预测的 SAO参数中的 SAO滤波偏移量绝对 值, 计算得到 SAO滤波偏移量绝对值差值, 并将所述 SAO滤波偏移量绝 对值差值以及与所述用于预测的 SAO参数对应的 SAO参数预测指示发送 给解码端。
解码端获取上述 SAO参数预测指示。
在本歩骤中, 可选的, 还可以包括 SAO参数复用指示, 例如基本层 SAO参数复用指示、左侧图像块 SAO参数复用指示、上方图像块 SAO参 数复用指示, SAO参数复用指示的优先级高于 SAO参数预测指示, 即, 先确定目标图像块是否可以复用 SAO参数, 如果否的情况下, 再确定采 用根据相邻图像块预测增强层图像块 SAO参数方式。
S302: 根据 SAO参数预测指示, 确定是否根据增强层图像块的相邻 图像块的 SAO参数预测得到的增强层图像块的 SAO参数对增强层图像块 进行滤波处理。
具体地, 该步骤可以为: 根据所述 SAO参数预测指示, 确定是否使 用所述增强层图像块的左侧图像块 SAO参数、 所述增强层图像块的上方 图像块 SAO参数或者基本层图像块的 SAO参数预测得到的增强层图像块 的 SAO参数对所述增强层图像块进行滤波处理。
增强层图像块的 SAO参数, 包括下述参数中的至少一种参数, SAO 滤波类型索引; SAO滤波偏移量绝对值; EO类型索引, 或者 BO类型带 位置以及 BO类型 SAO滤波偏移量符号。
更具体地, 包括以下歩骤, 第一歩, 采用相邻图像块的 SAO滤波类 型索引作为增强层图像块的 SAO滤波类型索引, 或者, 根据相邻图像块 的 SAO滤波类型索引确定增强层图像块的 SAO滤波类型。
例如, 如果相邻图像块的 SAO滤波类型索引指示相邻图像块的 SAO 滤波类型为 BO类型, 则增强层图像块的滤波类型也为 BO类型, 如果相 邻图像块的 SAO滤波类型索引指示相邻图像块的 SAO滤波类型为 EO类 型, 则增强层图像块的滤波类型也为 EO类型。
第二步, 获取 SAO滤波偏移量绝对值差值, 采用相邻图像块的 SAO 滤波偏移量绝对值加上 SAO滤波偏移量绝对值差值作为增强层图像块的 SAO滤波偏移量绝对值。
具体地, SAO滤波类型包括不滤波类型、 EO类型、 BO类型; 当 SAO 滤波类型为不滤波类型时, 则不进行滤波处理, 当 SAO滤波类型为 EO类 型或者 BO类型时, 获取 SAO滤波偏移量绝对值差值; 上述 SAO滤波偏 移量绝对值差值为一组滤波偏移量绝对值差值数据。 例如 SAO滤波类型 为 BO类型时, 可以获取 4个 SAO滤波偏移量绝对值差值, 例如 SAO滤 波类型为 EO类型时, 也可以获取 4个 SAO滤波偏移量绝对值差值。
采用相邻图像块的 SAO滤波偏移量绝对值加上 SAO滤波偏移量绝对 值差值作为增强层图像块的 SAO滤波偏移量绝对值, 分别为第一 SAO滤 波偏移量绝对值, 第二 SAO滤波偏移量绝对值、 第三 SAO滤波偏移量绝 对值和第四 SAO滤波偏移量绝对值。
第三歩, 当 SAO滤波类型为 EO类型时, 采用相邻图像块的 EO类型 索引作为增强层图像块的 EO类型索引, 或者, 根据相邻图像块的 EO类 型索引确定增强层图像块的 EO类型) 。
具体地, 当相邻图像块 SAO滤波类型索引指示相邻图像块 SAO滤波 类型为 EO类型时, 进一歩的采取相邻图像块的 EO类型索引作为增强层 图像块的 EO类型索引, 以根据 EO类型索引计算目标采样点与相邻采样 点的强度关系,并根据该强度关系确定 EO类型 SAO滤波偏移量符号以及 从 4个 SAO滤波偏移量绝对值中确定一个 SAO滤波偏移量绝对值。
根据目标釆样点与相邻采样点的强度关系确定 EO类型 SAO滤波偏移 量符号以及从 4个 SAO滤波偏移量绝对值中确定一个 SAO滤波偏移量绝 对值, 具体可根据情况确定, 例如, 第一种情况, 两个相邻采样点的强度 值均大于目标采样点的强度值; 第二种情况, 两个相邻采样点中, 第一个 相邻采样点强度值大于目标采样点的强度值, 第二个相邻采样点强度值等 于目标采样点的强度值; 第三种情况, 两个相邻采样点中, 第一个相邻采 样点强度值小于目标采样点强度值, 第二个相邻采样点强度值等于目标采 样点的强度值; 第四种情况, 两个相邻采样点的强度值均小于目标采样点 的强度值。 可预设第一种情况、 第二种情况、 第三种情况和第四种情况分 别对应的 SAO滤波偏移量绝对值为第一 SAO滤波偏移量绝对值、 第二 SAO滤波偏移量绝对值、第三 SAO滤波偏移量绝对值和第四 SAO滤波偏 移量绝对值;可预设第一种情况和第二种情况对应的 EO类型 SAO滤波偏 移量符号为正号,第三种情况和第四种情况对应的 EO类型 SAO滤波偏移 量符号为负号。
根据按上述方法确定的 SAO滤波偏移量绝对值和 EO类型 SAO滤波 偏移量符号确定目标采样点的 SAO滤波偏移量, 在所述目标采样点的强 度值上叠加所述目标采样点的 SAO滤波偏移量, 对所述目标采样点进行 滤波处理。
当 SAO滤波类型为 BO类型时,采用相邻图像块的 BO类型带位置作 为增强层图像块的 BO类型带位置以及采用相邻图像块的 BO类型 SAO滤 波偏移量符号作为增强层图像块的 BO类型 SAO滤波偏移量符号。
具体地, 当相邻图像块 SAO滤波类型索引指示相邻图像块 SAO滤波 类型为 BO类型时, 采用相邻图像块的 BO类型带位置作为增强层图像块 的 BO类型带位置, 并根据该 BO类型带位置确定 4个 BO类型带, 进一 步根据目标采样点的强度值确定其所属的 BO类型带, 以确定 BO类型带 对应的 SAO滤波偏移量绝对值, 并采用相邻图像块的 BO类型 SAO滤波 偏移量符号作为增强层图像块的 BO类型 SAO滤波偏移量符号 BO类型偏 移量符号, 以确定 BO类型 SAO滤波偏移量符号。根据该 BO类型带位置 确定 4个 BO类型带, 可以是将从 BO类型带位置开始的连续 4个 BO类 型带确定为 4个 BO类型带。 如果目标采样点不属于 4个 BO类型带, 则 可以不进行滤波操作。 因为每一个 BO类型带规定了一个采样点的强度值 范围, 所以可以根据目标采样点的强度值是否在 BO类型带强度值范围内 来确定目标采样点是否属于 BO类型带。 4个 BO类型带与 4个 SAO滤波 偏移量绝对值存在一一对应关系。 例如, 4个 BO类型带分别为第一 BO 类型带、 第二 BO类型带、 第三 BO类型带和第四 BO类型带, 则第一 BO 类型带、 第二 BO类型带、 第三 BO类型带和第四 BO类型带对应的 SAO 滤波偏移量绝对值分别为第一 SAO滤波偏移量绝对值、 第二 SAO滤波偏 移量绝对值、第三 SAO滤波偏移量绝对值和第四 SAO滤波偏移量绝对值。
根据 SAO滤波偏移量绝对值和 BO类型 SAO滤波偏移量符号确定目 标采样点的 SAO滤波偏移量, 在所述目标采样点的强度值上叠加一个对 应的 SAO滤波偏移量, 对所述目标采样点进行滤波处理。
本实施例, 通过获取 SAO参数预测指示, 根据 SAO参数预测指示, 确定是否根据相邻图像块的 SAO参数确定增强层图像块的 SAO参数, 并 采用确定的增强层图像块的 SAO参数进行滤波处理。 无需在增强层传输 完整的 SAO参数, 减小了增强层图像块 SAO参数的传输比特, 降低了增 强层图像块 SAO参数与基本层图像块 SAO参数冗余, 提高编码效率。 并 且, 还可以通过与 SAO参数复用指示的结合, 增加编码的灵活性, 更进 一歩提高了编码效率。
图 4为本发明编码处理方法实施例一的结构示意图, 如图 4所示, 本 实施例的方法包括:
S401 : 生成包含 SAO参数指示信息的增强层图像块, SAO参数指示 信息用于指示解码器是否根据基本层图像块的 SAO参数对增强层图像块 进行滤波处理。
具体地, 基本层图像块为根据基本层码流重建得到的图像中的块, 基本 层码流指能够提供较低质量的重建图像的视频压縮码流; 增强层图像块为根 据增强层码流重建得到的图像中的块, 增强层码流指能够提供较高质量的重 建图像的视频压縮码流。
编码端需要将每个图像块的 SAO参数传输到解码端, 以使解码端能 够根据 SAO参数对重建的图像进行滤波处理, 提高图像的质量, 本实施 例中的 SAO参数指示信息可以包括: 基本层 SAO参数指示信息、 左侧图 像块 SAO参数指示信息或上方图像块 SAO参数指示信息, 基本层 SAO 参数指示信息进一歩地可以为基本层 SAO参数复用指示或者基本层 SAO 参数预测指示, 与现有技术不同的是, 本实施例中的编码端生成的增强层 图像块的 SAO参数指示信息中增加了基本层 SAO参数指示信息。
S402: 向解码器发送增强层图像块。
编码端向解码端发送增强层图像块的 SAO参数指示信息, 解码端获 取增强层图像块的 SAO参数指示信息。
具体地, 解码端获取增强层图像块的 SAO参数指示信息后, 当 SAO 参数指示信息中包含基本层 SAO参数指示信息时, 可以根据 SAO参数指 示信息, 确定是否根据基本层图像块的 SAO参数对增强层图像块进行滤 波处理。
本实施例中, 通过向解码端发送编码端生成包含 SAO参数指示信息 的增强层图像块, SAO参数指示信息用于指示解码器是否根据基本层图像 块的 SAO参数对所述增强层图像块进行滤波处理; 减小了增强层图像块 SAO参数的传输比特, 降低了增强层图像块 SAO参数与基本层图像块 SAO参数冗余, 提高编码效率。
图 5为本发明编码处理方法实施例二的流程示意图, 如图 5所示, 本 实施例的方法包括:
S501 : 生成基本层 SAO参数复用指示。
具体地, 增强层图像块的参数指示信息包括基本层 SAO参数服用指 示。 SAO参数包括: SAO滤波类型索引、 SAO滤波偏移量绝对值、 边缘 偏移 (Edge Offset, 以下简称: EO ) 类型索引、 EO类型 SAO滤波偏移量 符号、 BO类型带位置和 BO类型 SAO滤波偏移量符号。一个图像块的 SAO 参数可以是上述列举参数的部分或全部。例如, 当确定一个图像块的 SAO 滤波类型为 EO类型时,该图像块的 SAO参数中不包括 BO类型相关参数。 再例如, 当确定一个图像块的 SAO滤波类型为 BO类型时, 该图像块的 SAO参数中不包括 EO类型相关参数。有些参数可以根据所处理图像块内 的采样点的强度值计算得到,例如 EO类型 SAO滤波偏移量符号, 因此无 需获取或根据其它图像块的 SAO参数确定。 解码端根据 SAO参数对重建 的图像块进行滤波处理指对所述图像块内的每一个采样点(下述目标采样 点) 进行 SAO滤波处理。
本实施例中, 当编码端确定增强层图像块的 SAO参数可以复用基本 层图像块的 SAO参数时, 则生成基本层 SAO参数复用指示, 并向解码端 发送基本层 SAO参数复用指示, 基本层 SAO参数复用指示用于指示解码 器是否使用基本层图像块的 SAO参数对所述增强层图像块进行滤波处理。 替代现有技术中向解码端发送增强层 SAO参数。 解码端获取基本层 SAO 参数复用指示。
在本歩骤中, 可选的, 还可以包括, 编码端确定增强层图像块的 SAO 参数可以复用左侧图像块 SAO参数复用指示时, 生成左侧图像块 SAO参 数复用指示, 并向解码端发送左侧图像块 SAO参数复用指示, 用于表示 增强层图像块的 SAO参数可以复用左侧图像块的 SAO参数来进行滤波处 理。
在本歩骤中, 可选的, 还可以包括, 编码端确定增强层图像块的 SAO 参数可以复用上方图像块 SAO参数复用指示时, 生成上方图像块 SAO参 数复用指示, 并向解码端发送上方图像块的 SAO参数复用指示, 用于表 示增强层图像块的 SAO参数可以复用上方图像块的 SAO参数。
在本歩骤中, 可选的, 编码端可根据基本层 SAO参数、 左侧图像块 SAO参数、上方图像块 SAO参数的复用优先级,进行 SAO参数复用指示, 例如, 基本层 SAO参数、 左侧图像块 SAO参数、 上方图像块 SAO参数 的复用优先级依次由高到低, 则编码端首先确定基本层 SAO参数是否可 以复用, 可以则将基本层 SAO参数复用指示置为 1, 若不可以, 将基本层 SAO参数复用指示置为 0, 则进一步确定左侧图像块 SAO参数是否可以 复用, 可以则将左侧图像块 SAO参数复用指示置为 1, 不可以则将左侧图 像块 SAO参数复用指示置为 0, 进一步地确定上方图像块 SAO参数是否 可以复用, 可以则将上方图像块 SAO参数复用指示置为 1, 不可以则将上 方图像块 SAO参数复用指示置为 0, 本实施例中, 也可增加其他类似的复 用标记, 本发明对此不作限制。
S502: 向解码端发送生成的包含基本层 SAO参数复用指示的增强层 图像块, 以使解码端根据基本层 SAO参数复用指示, 确定是否使用基本 层图像块的 SAO参数对增强层图像块进行滤波处理。
具体地, 编码端将在 501中生成的包含基本层 SAO参数复用指示的 增强层图像块发送到编码端, 编码端根据基本层 SAO参数复用指示, 确 定是否使用基本层图像块的 SAO参数对增强层图像块进行滤波处理。
更具体地, 编码端可根据基本层 SAO参数复用指示, 确定是否使用 基本层图像块的 SAO参数对增强层图像块进行滤波处理, 例如当基本层 SAO参数复用指示为 1,则表示可以使用基本层 SAO参数作为增强层 SAO 参数对增强层图像块进行滤波处理, 当基本层 SAO参数复用指示为 0, 则 表示不可以使用基本层图像块的 SAO参数对增强层图像块进行处理, 基 本层 SAO参数复用指示的具体表示形式, 本发明实施例对此不作限制。
可以选择基本层图像中与增强层图像中图像块的空间位置对应的图 像块作为基本层图像块, 例如, 在基本层图像与增强层图像空间分辨率相 同的情况下, 可以在基本层图像中选择与增强层图像块坐标位置相同的图 像块作为基本层图像块: 在基本层图像与增强层图像空间分辨率不同的情 况下, 例如增强层图像在 X方向与 y方向的分辨率分别是基本层图像的 2 倍, 则对于增强层图像中坐标为(2x, 2y)且大小为 2m*2n的目标图像块, 则将基本层图像块中坐标为(x, y )且大小为 m*n的图像块作为增强层图 像块对应的基本层图像块。
可选的, 解码端还可以获取编码端在 S501中生成的左侧图像块的 SAO参数复用指示, 当左侧图像块的 SAO复用指示为 1时, 表示可以使 用左侧图像块的 SAO参数作为目标图像块的 SAO参数, 对目标图像块进 行滤波处理。 当左侧图像块的 SAO复用指示为 0时, 表示不可以使用左 侧图像块的 SAO参数作为目标图像块的 SAO参数, 对目标图像块进行滤 波处理。
可选的, 解码端还可以获取编码端在 S501中生成上方图像块的 SAO 参数复用指示, 当上方图像块的 SAO复用指示为 1时, 表示可以使用上 方图像块的 SAO参数作为目标图像块的 SAO参数, 对目标图像块进行滤 波处理。 当上方图像块的 SAO复用指示为 0时, 表示不可以使用上方图 像块的 SAO参数作为目标图像块的 SAO参数, 对目标图像块进行滤波处 理。
解码端还可以根据基本层 SAO参数、 左侧图像块 SAO参数、 上方图 像块 SAO参数的复用优先级,获取 SAO参数复用指示,例如,基本层 SAO 参数、 左侧图像块 SAO参数、 上方图像块 SAO参数的复用优先级依次由 高到低, 则编码端首先获取基本层 SAO参数复用指示确定是否可以复用, 可以则使用基本层 SAO参数作为增强层 SAO参数, 若不可以, 则进一歩 获取左侧图像块 SAO参数复用指示确定是否可以复用, 若可以则使用左 侧图像块 SAO参数作为增强层 SAO参数, 若不可以则进一歩地获取上方 图像块 SAO参数复用指示确定是否可以复用, 可以则将上方图像块 SAO 参数作为增强层 SAO参数, 若不可以, 则可进一歩地获取其他类似的复 用标记, 处理方法类似, 此处不再赘述。
本实施例中,通过编码端生成基本层 SAO参数复用指示,基本层 SAO 参数复用指示用于指示解码器是否使用基本层图像块的 SAO参数对增强 层图像块进行滤波处理。 以使解码端根据基本层 SAO参数复用指示, 确 定是否使用基本层图像块的 SAO参数对增强层图像块进行滤波处理, 减 小了增强层图像块 SAO参数的传输比特, 降低了增强层图像块 SAO参数 与基本层图像块 SAO参数冗余, 提高编码效率。 图 6为本发明编码处理方法实施例三的流程示意图, 如图 6所示, 本 实施例的方法包括:
S601 : 生成 SAO参数预测指示。
具体地, SAO参数预测指示用于指示解码器是否使用所述增强层图像 块的相邻图像块的 SAO参数预测得到的增强层图像块的 SAO参数对所述 增强层图像块进行滤波处理。
更具体地, 当编码端确定增强层图像块的 SAO参数可以根据增强层 图像块的相邻图像块的 SAO参数预测获得时,则生成 SAO参数预测指示; 所述 SAO参数预测指示包括: 左侧图像块 SAO参数预测指示、 上方图像 块 SAO参数预测指示或者基本层图像块的 SAO参数预测指示, 对应的表 示解码端可使用增强层图像块的左侧图像块 SAO参数、 增强层图像块的 上方图像块 SAO参数或者增强层图像块的基本层图像块的 SAO参数对增 强层图像块的 SAO参数进行预测,并采用预测的 SAO参数进行滤波处理。
编码端根据当前图像块的 SAO参数中的 SAO滤波偏移量绝对值以及 用于预测的 SAO参数中的 SAO滤波偏移量绝对值, 计算得到 SAO滤波 偏移量绝对值差值, 并生成 SAO滤波偏移量绝对值差值以及与用于预测 的 SAO参数对应的 SAO参数预测指示。
在本歩骤中, 可选的, 还可以包括 SAO参数复用指示, 例如基本层 SAO参数复用指示、左侧图像块 SAO参数复用指示、上方图像块 SAO参 数复用指示, SAO参数复用指示的优先级高于 SAO参数预测指示, 即, 编码端先确定目标图像块是否可以复用 SAO参数, 如果是, 则生成 SAO 参数复用指示, 如果否的情况下, 再确定目标图像块是否可以根据增强层 图像块的相邻图像块预测增强层图像块 SAO参数方式, 如果是, 则生成 SAO参数预测指示。
S602: 向解码端发送 SAO参数预测指示。
编码端将 S601中生成的 SAO参数预测指示发送到解码端, SAO参数 预测指示用于指示解码器是否使用所述增强层图像块的相邻图像块的 SAO参数对所述增强层图像块的 SAO参数进行预测并采用预测的 SAO参 数进行滤波处理。
具体地, 解码端根据 SAO参数预测指示, 确定是否使用增强层图像 块的左侧图像块 SAO参数、 增强层图像块的上方图像块 SAO参数或者基 本层图像块的 SAO参数对增强层图像块的 SAO参数进行预测。
增强层图像块的 SAO参数, 包括下述参数中的至少一种参数, SAO 滤波类型索引; SAO滤波偏移量绝对值; EO类型索引, 或者 BO类型带 位置以及 BO类型 SAO滤波偏移量符号。
更具体地, 生成包含 SAO参数预测指示的增强层图像块, SAO参数 预测指示用于指示解码器釆用下述至少一种操作对所述增强层图像块的 SAO参数进行预测并采用预测的 SAO参数进行滤波处理。
解码端第一步, 采用相邻图像块的 SAO滤波类型索引作为增强层图 像块的 SAO滤波类型索引, 或者, 根据相邻图像块的 SAO滤波类型索引 确定增强层图像块的 SAO滤波类型。
例如, 如果相邻图像块的 SAO滤波类型索引指示相邻图像块的 SAO 滤波类型为 BO类型, 则增强层图像块的滤波类型也为 BO类型, 如果相 邻图像块的 SAO滤波类型索引指示相邻图像块的 SAO滤波类型为 EO类 型, 则增强层图像块的滤波类型也为 EO类型。
第二步, 获取 SAO滤波偏移量绝对值差值, 采用相邻图像块的 SAO 滤波偏移量绝对值加上 SAO滤波偏移量绝对值差值作为增强层图像块的 SAO滤波偏移量绝对值。
具体地, SAO滤波类型包括不滤波类型、 EO类型、 BO类型; 当 SAO 滤波类型为不滤波类型时, 则不进行滤波处理, 当 SAO滤波类型为 EO类 型或者 BO类型时, 获取 SAO滤波偏移量绝对值差值; 上述 SAO滤波偏 移量绝对值差值为一组滤波偏移量绝对值差值数据。 例如 SAO滤波类型 为 BO类型时, 可以获取 4个 SAO滤波偏移量绝对值差值, 例如 SAO滤 波类型为 EO类型时, 也可以获取 4个 SAO滤波偏移量绝对值差值。
采用相邻图像块的 SAO滤波偏移量绝对值加上 SAO滤波偏移量绝对 值差值作为增强层图像块的 SAO滤波偏移量绝对值, 分别为第一 SAO滤 波偏移量绝对值, 第二 SAO滤波偏移量绝对值、 第三 SAO滤波偏移量绝 对值和第四 SAO滤波偏移量绝对值。
第三歩, 当 SAO滤波类型为 EO类型时, 采用相邻图像块的 EO类型 索引作为增强层图像块的 EO类型索引, 或者, 根据相邻图像块的 EO类 型索引确定增强层图像块的 EO类型) 。
具体地, 当相邻图像块 SAO滤波类型索引指示相邻图像块 SAO滤波 类型为 EO类型时, 进一步的采取相邻图像块的 EO类型索引作为增强层 图像块的 EO类型索引, 以根据 EO类型索引计算目标采样点与相邻采样 点的强度关系,并根据该强度关系确定 EO类型 SAO滤波偏移量符号以及 从 4个 SAO滤波偏移量绝对值中确定一个 SAO滤波偏移量绝对值。
根据目标釆样点与相邻采样点的强度关系确定 EO类型 SAO滤波偏移 量符号以及从 4个 SAO滤波偏移量绝对值中确定一个 SAO滤波偏移量绝 对值, 具体可根据情况确定, 例如, 第一种情况, 两个相邻采样点的强度 值均大于目标采样点的强度值; 第二种情况, 两个相邻采样点中, 第一个 相邻采样点强度值大于目标采样点的强度值, 第二个相邻采样点强度值等 于目标采样点的强度值; 第三种情况, 两个相邻采样点中, 第一个相邻采 样点强度值小于目标采样点强度值, 第二个相邻采样点强度值等于目标采 样点的强度值; 第四种情况, 两个相邻采样点的强度值均小于目标采样点 的强度值。 可预设第一种情况、 第二种情况、 第三种情况和第四种情况分 别对应的 SAO滤波偏移量绝对值为第一 SAO滤波偏移量绝对值、 第二 SAO滤波偏移量绝对值、第三 SAO滤波偏移量绝对值和第四 SAO滤波偏 移量绝对值;可预设第一种情况和第二种情况对应的 EO类型 SAO滤波偏 移量符号为正号,第三种情况和第四种情况对应的 EO类型 SAO滤波偏移 量符号为负号。
根据按上述方法确定的 SAO滤波偏移量绝对值和 EO类型 SAO滤波 偏移量符号确定目标采样点的 SAO滤波偏移量, 在所述目标采样点的强 度值上叠加所述目标采样点的 SAO滤波偏移量, 对所述目标采样点进行 滤波处理。
当 SAO滤波类型为 BO类型时,采用相邻图像块的 BO类型带位置作 为增强层图像块的 BO类型带位置以及采用相邻图像块的 BO类型 SAO滤 波偏移量符号作为增强层图像块的 BO类型 SAO滤波偏移量符号。
具体地, 当相邻图像块 SAO滤波类型索引指示相邻图像块 SAO滤波 类型为 BO类型时, 采用相邻图像块的 BO类型带位置作为增强层图像块 的 BO类型带位置, 并根据该 BO类型带位置确定 4个 BO类型带, 进一 步根据目标采样点的强度值确定其所属的 BO类型带, 以确定 BO类型带 对应的 SAO滤波偏移量绝对值, 并采用相邻图像块的 BO类型 SAO滤波 偏移量符号作为增强层图像块的 BO类型 SAO滤波偏移量符号, 以确定 BO类型 SAO滤波偏移量符号。 根据该 BO类型带位置确定 4个 BO类型 带,可以是将从 BO类型带位置开始的连续 4个 BO类型带确定为 4个 BO 类型带。如果目标采样点不属于 4个 BO类型带,则可以不进行滤波操作。 因为每一个 BO类型带规定了一个采样点的强度值范围, 所以可以根据目 标采样点的强度值是否在 BO类型带强度值范围内来确定目标采样点是否 属于 BO类型带。 4个 BO类型带与 4个 SAO滤波偏移量绝对值存在一一 对应关系。 例如, 4个 BO类型带分别为第一 BO类型带、 第二 BO类型 带、 第三 BO类型带和第四 BO类型带, 则第一 BO类型带、 第二 BO类 型带、第三 BO类型带和第四 BO类型带对应的 SAO滤波偏移量绝对值分 别为第一 SAO滤波偏移量绝对值、第二 SAO滤波偏移量绝对值、第三 SAO 滤波偏移量绝对值和第四 SAO滤波偏移量绝对值。
根据 SAO滤波偏移量绝对值和 BO类型 SAO滤波偏移量符号确定目 标采样点的 SAO滤波偏移量, 在所述目标采样点的强度值上叠加一个对 应的 SAO滤波偏移量, 对所述目标采样点进行滤波处理。
本实施例,通过编码端生成 SAO参数预测指示,并向编码端发送 SAO 参数预测指示, 以使解码端根据 SAO参数预测指示, 确定是否根据相邻 图像块的 SAO参数确定增强层图像块的 SAO参数, 并采用确定的增强层 图像块的 SAO参数进行滤波处理。 无需在增强层传输完整的 SAO参数, 减小了增强层图像块 SAO参数的传输比特, 降低了增强层图像块 SAO参 数与基本层图像块 SAO参数冗佘, 提高编码效率。 并且, 还可以通过与 SAO参数复用指示的结合,增加编码的灵活性,更进一歩提高了编码效率。
图 7为本发明解码器实施例一的结构示意图, 如图 7所示, 本实施例 的解码器包括: 获取模块 71和处理模块 72, 其中, 获取模块 71用于获取 增强层图像块的 SAO参数指示信息; 处理模块 72用于根据 SAO参数指 示信息, 确定是否根据基本层图像块的 SAO参数对增强层图像块进行滤 波处理。
其中, 基本层图像块为根据基本层码流重建得到的图像块, 增强层图 像块为根据增强层码流重建得到的图像块。
本实施例的解码器, 可以用于执行图 1所示方法实施例的技术方案, 其实现原理和技术效果类似, 此处不再赘述。
在上述实施例中, 增强层图像块的 SAO参数指示信息, 包括 SAO参 数预测指示; 处理模块 72具体用于根据基本层 SAO参数复用指示, 确定 是否使用基本层图像块的 SAO参数对增强层图像块进行滤波处理。
本实施例的解码器, 可用于执行图 2所示方法实施例的技术方案, 其 实现原理和技术效果类似, 此处不再赘述。
图 8为本发明解码器实施例二的结构示意图, 图 8是在图 7所示实施 例的基础上, 处理模块 72进一步地包括: 第一处理单元 721, 第二处理单 元 722, 第三处理单元 723。
在本实施例中, 增强层图像块的 SAO参数指示信息包括 SAO参数预 测指示;
处理模块 72具体用于根据 SAO参数预测指示, 确定是否根据所述增 强层图像块的相邻图像块的 SAO参数预测得到的增强层图像块的 SAO参 数对所述增强层图像块进行滤波处理。
具体地, 处理模块 72具体用于根据 SAO参数预测指示, 确定是否使 用所述增强层图像块的左侧图像块 SAO参数、 所述增强层图像块的上方 图像块 SAO参数或者基本层图像块的 SAO参数预测得到的 SAO参数对 所述增强层图像块进行滤波处理。
增强层图像块的 SAO参数, 包括下述参数中的至少一种参数: SAO 滤波类型索引; SAO滤波偏移量绝对值; EO类型索引; BO类型带位置 以及 BO类型 SAO滤波偏移量符号。
进一歩地, 处理模块 72中的第一处理单元 721用于采用相邻图像块 的 SAO滤波类型索引作为增强层图像块的 SAO滤波类型索引; 第二处理 单元 722用于获取 SAO滤波偏移量绝对值差值, 采用相邻图像块的 SAO 滤波偏移量绝对值加上 SAO滤波偏移量绝对值差值作为增强层图像块的 SAO滤波偏移量绝对值; 第三处理单元 723用于采用相邻图像块的 EO类 型索引作为增强层图像块的 EO类型索引; 或者, 第三处理单元 723用于 采用相邻图像块的 BO类型带位置作为增强层图像块的 BO类型带位置; 采用相邻图像块的 BO类型 SAO滤波偏移量符号作为增强层图像块的 BO 类型 SAO滤波偏移量符号。
本实施例的解码器, 可用于执行图 3所示方法实施例的技术方案, 其 实现原理和技术效果类似, 此处不再赘述。
图 9为本发明编码器实施例一的结构示意图, 如图 9所示, 本实施例 的编码器结构包括: 生成模块 91和发送模块 92, 其中, 生成模块 91用于 生成包含 SAO参数指示信息的增强层图像块, SAO参数指示信息用于指 示解码器是否根据基本层图像块的 SAO参数对增强层图像块进行滤波处 理。 发送模块 92用于向解码器发送增强层图像块; 其中, 基本层图像块 为根据基本层码流重建得到的图像块, 所述增强层图像块为根据增强层码 流重建得到的图像块。
本实施例的编码器, 可用于执行图 4所示方法实施例的技术方案, 其 实现原理和技术效果类似, 此处不再赘述。
在上述实施例中,增强层图像块的 SAO参数指示信息包括基本层 SAO 参数复用指示; 生成模块 91具体用于生成包含基本层 SAO参数复用指示 的增强层图像块, 基本层 SAO参数复用指示用于指示解码器是否使用基 本层图像块的 SAO参数对增强层图像块进行滤波处理。
本实施例的编码器, 可用于执行图 5所示方法实施例的技术方案, 其 实现原理和技术效果类似, 此处不再赘述。
在上述实施例中, 增强层图像块的 SAO参数指示信息包括 SAO参数 预测指示; 生成模块 91具体用于生成包含所述 SAO参数预测指示的增强 层图像块, 所述 SAO参数预测指示用于指示解码器是否使用所述增强层 图像块的相邻图像块的 SAO参数预测得到的增强层图像块的 SAO参数对 所述增强层图像块进行滤波处理。
在上述实施例中, 生成模块 91具体用于生成包含 SAO参数预测指示 的增强层图像块, 所述 SAO参数预测指示用于指示解码器是否使用所述 增强层图像块的左侧图像块 SAO参数、 所述增强层图像块的上方图像块 SAO参数或者基本层图像块的 SAO参数预测得到的增强层图像块的 SAO 参数对所述增强层图像块进行滤波处理。
在上述实施例中, 增强层图像块的 SAO参数, 包括下述参数中的至 少一种参数: SAO滤波类型索引; SAO滤波偏移量绝对值; EO类型索弓 |, 或者 BO类型带位置以及 B0类型 SA0滤波偏移量符号; 生成模块 81具 体用于生成包含 SAO参数预测指示的增强层图像块, SAO参数预测指示 用于指示解码器采用下述至少一种操作对所述增强层图像块的 SAO参数 进行预测并采用预测的 SAO参数进行滤波处理: 采用相邻图像块的 SAO 滤波类型索引作为增强层图像块的 SAO滤波类型索引; 采用相邻图像块 的 SAO滤波偏移量绝对值加上所述 SAO滤波偏移量绝对值差值作为增强 层图像块的 SAO滤波偏移量绝对值;采用相邻图像块的 EO类型索引作为 增强层图像块的 EO类型索引; 或者, 采用相邻图像块的 BO类型带位置 作为增强层图像块的 BO类型带位置以及采用相邻图像块的 BO类型偏移 符号作为增强层图像块的 BO类型 SAO滤波偏移量符号。
本实施例的编码器, 可用于执行图 6所示方法实施例的技术方案, 其 实现原理和技术效果类似, 此处不再赘述。
图 10为本发明解码器实施例三的结构示意图, 如图 10所示, 本实施 例的解码器包括: 接收器 1001和处理器 1002, 其中, 接收器 1001用于获 取增强层图像块的 SAO参数指示信息; 处理器 1002用于根据 SAO参数 指示信息, 确定是否根据基本层图像块的 SAO参数对增强层图像块进行 滤波处理。
其中, 基本层图像块为根据基本层码流重建得到的图像块, 增强层图 像块为根据增强层码流重建得到的图像块。
本实施例的解码器, 可以用于执行图 1所示方法实施例的技术方案, 其实现原理和技术效果类似, 此处不再赘述。
在上述实施例中, 增强层图像块的 SAO参数指示信息, 包括 SAO参 数预测指示; 处理器 1002具体用于根据基本层 SAO参数复用指示, 确定 是否使用基本层图像块的 SAO参数对增强层图像块进行滤波处理。
本实施例的解码器, 可用于执行图 2所示方法实施例的技术方案, 其 实现原理和技术效果类似, 此处不再赘述。
在具体实现时, 增强层图像块的 SAO参数指示信息包括 SAO参数预 测指示。
处理器 1002具体用于根据所述 SAO参数预测指示, 确定是否根据所 述增强层图像块的相邻图像块的 SAO参数预测得到的增强层图像块的 SAO参数对所述增强层图像块进行滤波处理。
具体地, 处理器 1002具体用于根据所述 SAO参数预测指示, 确定是 否使用所述增强层图像块的左侧图像块 SAO参数、 所述增强层图像块的 上方图像块 SAO参数或者基本层图像块的 SAO参数预测得到的 SAO参 数对所述增强层图像块进行滤波处理。
增强层图像块的 SAO参数, 包括下述参数中的至少一种参数: SAO 滤波类型索引; SAO滤波偏移量绝对值; EO类型索引; BO类型带位置 以及 BO类型 SAO滤波偏移量符号。
进一歩地, 处理器 1002还用于进行如下至少一种操作:
采用相邻图像块的 SAO滤波类型索引作为增强层图像块的 SAO滤波 类型索引;
采用相邻图像块的 SAO滤波偏移量绝对值加上 SAO滤波偏移量绝对 值差值作为增强层图像块的 SAO滤波偏移量绝对值;
采用相邻图像块的 EO类型索引作为增强层图像块的 EO类型索引; 或者, 采用相邻图像块的 BO类型带位置作为增强层图像块的 BO类型带 位置以及采用相邻图像块的 BO类型 SAO滤波偏移量符号作为增强层图 像块的 BO类型 SAO滤波偏移量符号。
本实施例的解码器, 可用于执行图 3所示方法实施例的技术方案, 其 实现原理和技术效果类似, 此处不再赘述。
图 1 1为本发明编码器实施例二的结构示意图, 如图 11所示, 本实施 例的编码器结构包括: 生成器 1 101和发送器 1102, 其中, 生成器 1101 用于生成包含 SAO参数指示信息的增强层图像块, SAO参数指示信息用 于指示解码器是否根据基本层图像块的 SAO参数对增强层图像块进行滤 波处理。 发送器 1 102用于向解码器发送增强层图像块; 其中, 基本层图 像块为根据基本层码流重建得到的图像块, 所述增强层图像块为根据增强 层码流重建得到的图像块。
本实施例的编码器, 可用于执行图 4所示方法实施例的技术方案, 其 实现原理和技术效果类似, 此处不再赘述。
在上述实施例中,增强层图像块的 SAO参数指示信息包括基本层 SAO 参数复用指示; 生成器 1 101具体用于生成包含基本层 SAO参数复用指示 的增强层图像块, 基本层 SAO参数复用指示用于指示解码器是否使用基 本层图像块的 SAO参数对增强层图像块进行滤波处理。
本实施例的编码器, 可用于执行图 5所示方法实施例的技术方案, 其 实现原理和技术效果类似, 此处不再赘述。
在上述实施例中, 增强层图像块的 SAO参数指示信息包括 SAO参数 预测指示; 生成器 1 101具体用于生成包含所述 SAO参数预测指示的增强 层图像块, 所述 SAO参数预测指示用于指示解码器是否使用所述增强层 图像块的相邻图像块的 SAO参数预测得到的增强层图像块的 SAO参数对 所述增强层图像块进行滤波处理。
在上述实施例中, 生成器 1 101具体用于生成包含 SAO参数预测指示 的增强层图像块, 所述 SAO参数预测指示用于指示解码器是否使用所述 增强层图像块的左侧图像块 SAO参数、 所述增强层图像块的上方图像块 SAO参数或者基本层图像块的 SAO参数预测得到的增强层图像块的 SAO 参数对所述增强层图像块进行滤波处理。
在上述实施例中, 增强层图像块的 SAO参数, 包括下述参数中的至 少一种参数: SAO滤波类型索引; SAO滤波偏移量绝对值; EO类型索弓 I, 或者 BO类型带位置以及 BO类型 SAO滤波偏移量符号。
本实施例的编码器, 可用于执行图 6所示方法实施例的技术方案, 其 实现原理和技术效果类似, 此处不再赘述。
本领域普通技术人员可以理解: 实现上述各方法实施例的全部或部分 步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算 机可读取存储介质中。 该程序在执行时, 执行包括上述各方法实施例的歩 骤; 而前述的存储介质包括: ROM、 RAM, 磁碟或者光盘等各种可以存 储程序代码的介质。

Claims

权 利 要 求 书
1、 一种解码处理方法, 其特征在于, 包括:
获取增强层图像块的 SAO参数指示信息;
根据所述 SAO参数指示信息, 确定是否根据基本层图像块的 SAO参 数对所述增强层图像块进行滤波处理;
其中, 基本层图像块为根据基本层码流重建得到的图像块, 所述增强 层图像块为根据增强层码流重建得到的图像块。
2、 根据权利要求 1所述的方法, 其特征在于, 所述增强层图像块的 SAO参数指示信息, 包括: 基本层 SAO参数复用指示;
所述根据所述 SAO参数指示信息,确定是否根据基本层图像块的 SAO 参数对所述增强层图像块进行滤波处理, 包括:
根据所述基本层 SAO参数复用指示, 确定是否使用基本层图像块的 SAO参数对所述增强层图像块进行滤波处理。
3、 根据权利要求 1所述的方法, 其特征在于, 所述增强层图像块的 SAO参数指示信息, 包括 SAO参数预测指示;
所述根据所述 SAO参数指示信息,确定是否根据基本层图像块的 SAO 参数对所述增强层图像块进行滤波处理, 包括:
根据所述 SAO参数预测指示, 确定是否根据所述增强层图像块的相 邻图像块的 SAO参数预测得到的增强层图像块的 SAO参数对所述增强层 图像块进行滤波处理。
4、 根据权利要求 3所述的方法, 其特征在于, 所述根据所述 SAO参 数预测指示, 确定是否根据所述增强层图像块的相邻图像块的 SAO参数 预测得到的增强层图像块的 SAO参数对所述增强层图像块进行滤波处理, 包括- 根据所述 SAO参数预测指示, 确定是否使用所述增强层图像块的左 侧图像块 SAO参数、 所述增强层图像块的上方图像块 SAO参数或者基本 层图像块的 SAO参数预测得到的增强层图像块的 SAO参数对所述增强层 图像块进行滤波处理。
5、 根据权利要求 3或 4所述的方法, 其特征在于, 所述增强层图像 块的 SAO参数, 包括下述参数中的至少一种参数: SAO滤波类型索引;
SAO滤波偏移量绝对值;
EO类型索引, 或者 BO类型带位置以及 BO类型 SAO滤波偏移量符 号;
若确定根据所述增强层图像块的相邻图像块的 SAO参数预测得到的 增强层图像块的 SAO参数对所述增强层图像块进行滤波处理, 则所述方 法还包括下述至少一种操作:
采用所述相邻图像块的 SAO滤波类型索引作为所述增强层图像块的 SAO滤波类型索引;
采用所述相邻图像块的 SAO滤波偏移量绝对值加上所述 SAO滤波偏 移量绝对值差值作为所述增强层图像块的 SAO滤波偏移量绝对值;
采用所述相邻图像块的 EO类型索引作为所述增强层图像块的 EO类 型索引; 或者, 采用所述相邻图像块的 BO类型带位置作为所述增强层图 像块的 BO类型带位置以及采用所述相邻图像块的 BO类型偏移符号作为 所述增强层图像块的 BO类型 SAO滤波偏移量符号。
6、 一种编码处理方法, 其特征在于, 包括:
生成包含 SAO参数指示信息的增强层图像块, 所述 SAO参数指示信 息用于指示解码器是否根据基本层图像块的 SAO参数对所述增强层图像 块进行滤波处理;
向所述解码器发送所述增强层图像块,
其中, 基本层图像块为根据基本层码流重建得到的图像块, 所述增强 层图像块为根据增强层码流重建得到的图像块。
7、 根据权利要求 6所述的方法, 其特征在于, 所述增强层图像块的 SAO参数指示信息, 包括: 基本层 SAO参数复用指示;
所述生成包含 SAO参数指示信息的增强层图像块, 所述 SAO参数指 示信息用于指示解码器是否根据基本层图像块的 SAO参数对所述增强层 图像块进行滤波处理, 包括:
生成包含所述基本层 SAO参数复用指示的增强层图像块, 所述基本 层 SAO参数复用指示用于指示解码器是否使用基本层图像块的 SAO参数 对所述增强层图像块进行滤波处理。
8、 根据权利要求 6所述的方法, 其特征在于, 所述增强层图像块的 SAO参数指示信息, 包括 SAO参数预测指示;
所述生成包含 SAO参数指示信息的增强层图像块, 所述 SAO参数指 示信息用于指示解码器是否根据基本层图像块的 SAO参数对所述增强层 图像块进行滤波处理, 包括:
生成包含所述 SAO参数预测指示的增强层图像块, 所述 SAO参数预 测指示用于指示解码器是否使用所述增强层图像块的相邻图像块的 SAO 参数预测得到的增强层图像块的 SAO参数对所述增强层图像块进行滤波 处理。
9、根据权利要求 8所述的方法,其特征在于,所述生成包含所述 SAO 参数预测指示的增强层图像块, 所述 SAO参数预测指示用于指示解码器 是否使用所述增强层图像块的相邻图像块的 SAO参数预测得到的增强层 图像块的 SAO参数对所述增强层图像块进行滤波处理, 包括:
生成包含 SAO参数预测指示的增强层图像块, 所述 SAO参数预测指 示用于指示解码器是否使用所述增强层图像块的左侧图像块 SAO参数、 所述增强层图像块的上方图像块 SAO参数或者基本层图像块的 SAO参数 预测得到的增强层图像块的 SAO参数对所述增强层图像块进行滤波处理。
10、 根据权利要求 8或 9所述的方法, 其特征在于, 所述增强层图像 块的 SAO参数, 包括下述参数中的至少一种参数:
SAO滤波类型索引;
SAO滤波偏移量绝对值;
EO类型索引, 或者 BO类型带位置以及 BO类型 SAO滤波偏移量符 号。
11、 一种解码器, 其特征在于, 包括:
获取模块, 用于获取增强层图像块的 SAO参数指示信息;
处理模块, 用于根据所述 SAO参数指示信息, 确定是否根据基本层 图像块的 SAO参数对所述增强层图像块进行滤波处理;
其中, 基本层图像块为根据基本层码流重建得到的图像块, 所述增强 层图像块为根据增强层码流重建得到的图像块。
12、 根据权利要求 1 1所述的解码器, 其特征在于, 所述增强层图像 块的 SAO参数指示信息, 包括: 基本层 SAO参数复用指示;
所述处理模块, 具体用于根据所述基本层 SAO参数复用指示, 确定 是否使用基本层图像块的 SAO参数对所述增强层图像块进行滤波处理。
13、 根据权利要求 1 1所述的解码器, 其特征在于, 所述增强层图像 块的 SAO参数指示信息, 包括 SAO参数预测指示;
所述处理模块, 具体用于根据所述 SAO参数预测指示, 确定是否根 据所述增强层图像块的相邻图像块的 SAO参数预测得到的增强层图像块 的 SAO参数对所述增强层图像块进行滤波处理。
14、 根据权利要求 13所述的解码器, 其特征在于, 所述处理模块, 具体用于根据所述 SAO参数预测指示, 确定是否使用所述增强层图像块 的左侧图像块 SAO参数、 所述增强层图像块的上方图像块 SAO参数或者 基本层图像块的 SAO参数预测得到的 SAO参数对所述增强层图像块进行 滤波处理。
15、 根据权利要求 13或 14所述的解码器, 其特征在于, 所述增强层 图像块的 SAO参数, 包括下述参数中的至少一种参数:
SAO滤波类型索引;
SAO滤波偏移量绝对值;
EO类型索引;
BO类型带位置以及 BO类型 SAO滤波偏移量符号;
所述处理模块包括下述至少一个单元:
第一处理单元, 用于采用所述相邻图像块的 SAO滤波类型索引作为 所述增强层图像块的 SAO滤波类型索引;
第二处理单元, 用于采用所述相邻图像块的 SAO滤波偏移量绝对值 加上所述 SAO滤波偏移量绝对值差值作为所述增强层图像块的 SAO滤波 偏移量绝对值;
第三处理单元, 用于采用所述相邻图像块的 EO类型索引作为所述增 强层图像块的 EO类型索引; 或者, 采用所述相邻图像块的 BO类型带位 置作为所述增强层图像块的 BO类型带位置以及采用相邻图像块的 BO类 型偏移符号作为所述增强层图像块的 BO类型 SAO滤波偏移量符号。
16、 一种编码器, 其特征在于, 包括: 生成模块, 用于生成包含 SAO参数指示信息的增强层图像块, 所述 SAO参数指示信息用于指示解码器是否根据基本层图像块的 SAO参数对 所述增强层图像块进行滤波处理;
发送模块, 用于向所述解码器发送所述增强层图像块;
其中, 基本层图像块为根据基本层码流重建得到的图像块, 所述增强 层图像块为根据增强层码流重建得到的图像块。
17、 根据权利要求 16所述的编码器, 其特征在于, 所述增强层图像 块的 SAO参数指示信息, 包括: 基本层 SAO参数复用指示;
所述生成模块, 具体用于生成包含所述基本层 SAO参数复用指示的 增强层图像块, 所述基本层 SAO参数复用指示用于指示解码器是否使用 基本层图像块的 SAO参数对所述增强层图像块进行滤波处理。
18、 根据权利要求 16所述的编码器, 其特征在于, 所述增强层图像 块的 SAO参数指示信息, 包括 SAO参数预测指示;
所述生成模块, 具体用于生成包含所述 SAO参数预测指示的增强层 图像块, 所述 SAO参数预测指示用于指示解码器是否使用所述增强层图 像块的相邻图像块的 SAO参数预测得到的增强层图像块的 SAO参数对所 述增强层图像块进行滤波处理。
19、 根据权利要求 18所述的编码器, 其特征在于, 所述生成模块, 具体用于生成包含 SAO参数预测指示的增强层图像块, 所述 SAO参数预 测指示用于指示解码器是否使用所述增强层图像块的左侧图像块 SAO参 数、 所述增强层图像块的上方图像块 SAO参数或者基本层图像块的 SAO 参数预测得到的增强层图像块的 SAO参数对所述增强层图像块进行滤波 处理。
20、 根据权利要求 18或 19所述的编码器, 其特征在于, 所述增强层 图像块的 SAO参数, 包括下述参数中的至少一种参数:
SAO滤波类型索引;
SAO滤波偏移量绝对值;
EO类型索引, 或者 BO类型带位置以及 BO类型 SAO滤波偏移量符 号。
21、 一种解码器, 其特征在于, 包括: 接收器, 用于获取增强层图像块的 SAO参数指示信息;
处理器, 用于根据所述 SAO参数指示信息, 确定是否根据基本层图 像块的 SAO参数对所述增强层图像块进行滤波处理;
其中, 基本层图像块为根据基本层码流重建得到的图像块, 所述增强 层图像块为根据增强层码流重建得到的图像块。
22、 根据权利要求 21所述的解码器, 其特征在于, 所述增强层图像 块的 SAO参数指示信息, 包括: 基本层 SAO参数复用指示;
所述处理器具体用于根据所述基本层 SAO参数复用指示, 确定是否 使用基本层图像块的 SAO参数对所述增强层图像块进行滤波处理。
23、 根据权利要求 22所述的解码器, 其特征在于, 所述增强层图像 块的 SAO参数指示信息, 包括 SAO参数预测指示;
所述处理器具体用于根据所述 SAO参数预测指示, 确定是否根据所 述增强层图像块的相邻图像块的 SAO参数预测得到的增强层图像块的 SAO参数对所述增强层图像块进行滤波处理。
24、 根据权利要求 23所述的解码器, 其特征在于, 所述处理器具体 用于根据所述 SAO参数预测指示, 确定是否使用所述增强层图像块的左 侧图像块 SAO参数、 所述增强层图像块的上方图像块 SAO参数或者基本 层图像块的 SAO参数预测得到的 SAO参数对所述增强层图像块进行滤波 处理。
25、 根据权利要求 23或 24所述的解码器, 其特征在于, 所述增强层 图像块的 SAO参数, 包括下述参数中的至少一种参数:
SAO滤波类型索引;
SAO滤波偏移量绝对值;
EO类型索引;
BO类型带位置以及 BO类型 SAO滤波偏移量符号;
所述处理器用于执行下述至少一种操作:
采用所述相邻图像块的 SAO滤波类型索引作为所述增强层图像块的 SAO滤波类型索引;
采用所述相邻图像块的 SAO滤波偏移量绝对值加上所述 SAO滤波偏 移量绝对值差值作为所述增强层图像块的 SAO滤波偏移量绝对值; 采用所述相邻图像块的 EO类型索引作为所述增强层图像块的 EO类 型索引; 或者, 采用所述相邻图像块的 BO类型带位置作为所述增强层图 像块的 BO类型带位置以及采用相邻图像块的 BO类型偏移符号作为所述 增强层图像块的 BO类型 SAO滤波偏移量符号。
26、 一种编码器, 其特征在于, 包括:
生成器,用于生成包含 SAO参数指示信息的增强层图像块,所述 SAO 参数指示信息用于指示解码器是否根据基本层图像块的 SAO参数对所述 增强层图像块进行滤波处理;
发送器, 用于向所述解码器发送所述增强层图像块;
其中, 基本层图像块为根据基本层码流重建得到的图像块, 所述增强 层图像块为根据增强层码流重建得到的图像块。
27、 根据权利要求 26所述的编码器, 其特征在于, 所述增强层图像 块的 SAO参数指示信息, 包括: 基本层 SAO参数复用指示;
所述生成器具体用于生成包含所述基本层 SAO参数复用指示的增强 层图像块, 所述基本层 SAO参数复用指示用于指示解码器是否使用基本 层图像块的 SAO参数对所述增强层图像块进行滤波处理。
28、 根据权利要求 26所述的编码器, 其特征在于, 所述增强层图像 块的 SAO参数指示信息, 包括 SAO参数预测指示;
所述生成器具体用于生成包含所述 SAO参数预测指示的增强层图像 块, 所述 SAO参数预测指示用于指示解码器是否使用所述增强层图像块 的相邻图像块的 SAO参数预测得到的增强层图像块的 SAO参数对所述增 强层图像块进行滤波处理。
29、 根据权利要求 28所述的编码器, 其特征在于, 所述生成器具体 用于生成包含 SAO参数预测指示的增强层图像块, 所述 SAO参数预测指 示用于指示解码器是否使用所述增强层图像块的左侧图像块 SAO参数、 所述增强层图像块的上方图像块 SAO参数或者基本层图像块的 SAO参数 预测得到的增强层图像块的 SAO参数对所述增强层图像块进行滤波处理。
30、 根据权利要求 28或 29所述的编码器, 其特征在于, 所述增强层 图像块的 SAO参数, 包括下述参数中的至少一种参数:
SAO滤波类型索引; SAO滤波偏移量绝对值;
EO类型索引, 或者 BO类型带位置以及 BO类型 SAO滤波偏移量符
PCT/CN2013/083210 2012-09-29 2013-09-10 编解码处理方法、编码器和解码器 Ceased WO2014048247A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210376010.6 2012-09-29
CN201210376010.6A CN103716628B (zh) 2012-09-29 2012-09-29 编解码处理方法、编码器和解码器

Publications (1)

Publication Number Publication Date
WO2014048247A1 true WO2014048247A1 (zh) 2014-04-03

Family

ID=50386975

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/083210 Ceased WO2014048247A1 (zh) 2012-09-29 2013-09-10 编解码处理方法、编码器和解码器

Country Status (2)

Country Link
CN (1) CN103716628B (zh)
WO (1) WO2014048247A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102298599B1 (ko) 2014-04-29 2021-09-03 마이크로소프트 테크놀로지 라이센싱, 엘엘씨 샘플 적응 오프셋 필터링에 대한 인코더측 결정

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101180882A (zh) * 2005-05-27 2008-05-14 汤姆森许可贸易公司 用于对视频数据进行编码的方法和设备,及用于对视频数据进行解码的方法和设备
CN101931811A (zh) * 2004-10-15 2010-12-29 弗劳恩霍夫应用研究促进协会 用中间层残留值预测产生并解码视频序列的设备和方法
CN102355583A (zh) * 2011-09-29 2012-02-15 广西大学 一种可分级视频编码的块级别层间帧内预测方法
WO2012092777A1 (en) * 2011-01-09 2012-07-12 Mediatek Inc. Apparatus and method of sample adaptive offset for video coding
US20120207227A1 (en) * 2011-02-16 2012-08-16 Mediatek Inc. Method and Apparatus for Slice Common Information Sharing

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2126467A1 (en) * 1993-07-13 1995-01-14 Barin Geoffry Haskell Scalable encoding and decoding of high-resolution progressive video
CN101971632B (zh) * 2008-01-08 2013-10-16 艾利森电话股份有限公司 自适应滤波
WO2014047776A1 (en) * 2012-09-25 2014-04-03 Intel Corporation Inter-layer sample adaptive filter parameters re-use for scalable video coding

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101931811A (zh) * 2004-10-15 2010-12-29 弗劳恩霍夫应用研究促进协会 用中间层残留值预测产生并解码视频序列的设备和方法
CN101180882A (zh) * 2005-05-27 2008-05-14 汤姆森许可贸易公司 用于对视频数据进行编码的方法和设备,及用于对视频数据进行解码的方法和设备
WO2012092777A1 (en) * 2011-01-09 2012-07-12 Mediatek Inc. Apparatus and method of sample adaptive offset for video coding
US20120207227A1 (en) * 2011-02-16 2012-08-16 Mediatek Inc. Method and Apparatus for Slice Common Information Sharing
CN102355583A (zh) * 2011-09-29 2012-02-15 广西大学 一种可分级视频编码的块级别层间帧内预测方法

Also Published As

Publication number Publication date
CN103716628B (zh) 2017-08-18
CN103716628A (zh) 2014-04-09

Similar Documents

Publication Publication Date Title
KR100931870B1 (ko) 비디오 데이터를 효과적으로 코딩 및 디코딩하는 방법,장치 및 시스템
KR102014332B1 (ko) 비디오 코딩 방법 및 장치
US10484702B2 (en) Encoding/decoding method and apparatus with vector derivation mode
CN103096053B (zh) 一种变换模式的编解码方法和装置
CN106031170B (zh) 运动信息编码的方法
EP3453178A1 (en) Systems and methods for motion compensated residual prediction
RU2014105189A (ru) Устройство и способ кодирования видео и устройство и способ декодирования видео, основанные на иерархической информации о структуре кодированного блока
WO2012002785A3 (ko) 화면내 예측 부호화를 위한 영상 부호화/복호화 장치 및 방법
JP2010258740A5 (ja) 画像処理装置および方法
WO2009091383A2 (en) Video and depth coding
JP2007215178A (ja) 多視点動映像符号化装置及び方法
RU2015108082A (ru) Способ и устройство кодирования видео, использующие блок преобразования переменной древовидной структуры, и способ и устройство декодирования видео
KR20230155621A (ko) 움직임 벡터 예측 방법 및 장치, 인코더, 그리고 디코더
CN104253996B (zh) 视频数据的发送、接收方法及其装置以及传输系统
CN106488243A (zh) 一种多描述屏幕内容视频编码方法
WO2013153824A1 (ja) 画像符号化装置、画像符号化方法、画像符号化プログラム、送信装置、送信方法及び送信プログラム、並びに画像復号装置、画像復号方法、画像復号プログラム、受信装置、受信方法及び受信プログラム
JP2013009103A5 (ja) 画像復号装置、画像復号方法、及び画像復号プログラム、並びに、受信装置、受信方法、及び受信プログラム
WO2014048247A1 (zh) 编解码处理方法、编码器和解码器
CN102547266B (zh) 一种视频数据传输方法及设备
JP2013132046A5 (zh)
CN103716622B (zh) 用于图像处理的方法和装置
CN103108178B (zh) 视频图像编解码的方法及装置
JP2013016931A5 (ja) 画像復号装置、画像復号方法、画像復号プログラム、受信装置、受信方法、及び受信プログラム
CN103096050B (zh) 视频图像编解码的方法及装置
CN103581912B (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: 13842593

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13842593

Country of ref document: EP

Kind code of ref document: A1