[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2012092787A1 - Apparatus and method of efficient sample adaptive offset - Google Patents

Apparatus and method of efficient sample adaptive offset Download PDF

Info

Publication number
WO2012092787A1
WO2012092787A1 PCT/CN2011/080536 CN2011080536W WO2012092787A1 WO 2012092787 A1 WO2012092787 A1 WO 2012092787A1 CN 2011080536 W CN2011080536 W CN 2011080536W WO 2012092787 A1 WO2012092787 A1 WO 2012092787A1
Authority
WO
WIPO (PCT)
Prior art keywords
distortion
current pixel
video data
sao
processed video
Prior art date
Application number
PCT/CN2011/080536
Other languages
French (fr)
Inventor
Chih-Ming Fu
Ching-Yeh Chen
Chia-Yang Tsai
Yu-Wen Huang
Shaw-Min Lei
Original Assignee
Mediatek Inc.
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
Priority claimed from US12/987,151 external-priority patent/US8660174B2/en
Priority claimed from US13/158,427 external-priority patent/US9055305B2/en
Priority claimed from US13/177,424 external-priority patent/US9161041B2/en
Application filed by Mediatek Inc. filed Critical Mediatek Inc.
Priority to EP11855222.3A priority Critical patent/EP2661887A4/en
Priority to CN201180063977.2A priority patent/CN103404137B/en
Priority to JP2013535259A priority patent/JP5524423B2/en
Publication of WO2012092787A1 publication Critical patent/WO2012092787A1/en

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/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/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/136Incoming video signal characteristics or properties
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/136Incoming video signal characteristics or properties
    • H04N19/14Coding unit complexity, e.g. amount of activity or edge presence estimation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/146Data rate or code amount at the encoder output
    • H04N19/147Data rate or code amount at the encoder output according to rate distortion criteria
    • 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/182Methods 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 pixel
    • 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/189Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding
    • H04N19/19Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding using optimisation based on Lagrange multipliers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/80Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation
    • H04N19/82Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation involving filtering within a prediction loop
    • 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
    • H04N19/86Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving reduction of coding artifacts, e.g. of blockiness
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/96Tree coding, e.g. quad-tree coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/61Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
    • 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

Definitions

  • the present invention relates to video processing.
  • the present invention relates to apparatus and method of efficient sample adaptive offset compensation.
  • the video data are subject to various processing such as prediction, transform, quantization, deblocking, and adaptive loop filtering.
  • certain characteristics of the processed video data may be altered from the original video data due to the operations applied to the video data.
  • the mean value of the processed video may be shifted. Intensity shift may cause visual impairment or artifacts, which is especially more noticeable when the intensity shift varies from picture to picture. Therefore, the pixel intensity shift has to be carefully compensated or restored to alleviate the artifacts.
  • Some intensity offset schemes have been used in the field.
  • An intensity offset scheme proposed for High-Efficiency Video Coding classifies each pixel in the processed video data into one of multiple categories according to a context selected.
  • the context may be the pixel intensity of the processed video data.
  • the context may be a combination of a current pixel and its surrounding pixels.
  • the processed video data may represent the reconstructed video, the deblocked video, the adaptive loop filtered video, or other video in an intermediate stage.
  • a characteristic measurement is derived according to the selected context and a category is determined according to the measured characteristic.
  • intensity shift between the original pixels and the processed pixels is determined.
  • the intensity shift is also called the "offset value" in this disclosure.
  • the offset value is applied to the processed pixels belonging to the category to compensate the intensity shift.
  • the process of intensity shift compensation or restoration for processed video data based on the category of each pixel is termed "sample adaptive offset (SAO)" in this disclosure.
  • the conventional SAO scheme often determines the category for the pixels on a picture by picture or slice by slice basis.
  • picture contents often are dynamic and the characteristic may vary from region to region within a picture.
  • a sample adaptive offset scheme is disclosed in US Non-Provisional Patent Application, Serial No. 13/158,427, entitled “Apparatus and Method of Sample Adaptive Offset for Video Coding", filed on June 12, 2011, where a group of SAO types are used to classify pixels in a region and each SAO type classifies the pixels into multiple categories.
  • Some SAO types are associated with edge offset based classification, where the classification of a current pixel involves neighboring pixels.
  • the SAO process is preferred to be done on a region by region basis to adapt to the local characteristics of the picture.
  • Rate-distortion optimization (RDO) is often used to guide the mode decision (i.e., region splitting/region merging decision). Computations associated with the RDO process usually is very computational intensive. It is desirable to use a fast algorithm to speed up RDO process.
  • the method according to the present invention comprises receiving the processed video data, identifying SAO modes, estimating distortion associated with each of the modes according to distortion reduction estimation, determining rate-distortion (RD) cost based on the distortion for said each of the modes; selecting a best mode among the modes, wherein the best mode has a smallest RD cost, and applying SAO to the processed video data according to the best mode selected.
  • the distortion reduction estimation is related to a number of pixels for said each of the modes (iCo nt), an offset value to be added to the pixels belonging to said each of the modes(iOffset), and a sum of the offset value between original signal and reconstructed signal (iOffsetOrg) associated with the processed video data.
  • the distortion reduction estimation is related to (iCount*iOffset*iOffset)-(iOffsetOrg*iOffset*Z).
  • Another aspect of the present invention addresses fast algorithm for SAO region splitting or region merging, where the distortion reduction estimation for a small regions is re-used for calculating the distortion reduction estimation for a respective large region.
  • An apparatus and method of sample adaptive offset (SAO) compensation of processed video data comprises receiving the processed video data, determining a category for a current pixel of the processed video data according to edge offset (EO) based classification, wherein the EO based classification is related to the current pixel and one or more neighboring pixels, compensating the current pixel using an offset value associated with the category to generated a compensated current pixel, storing relation between the current pixel and said one or more neighboring pixels, and replacing the current pixel with the compensated current pixel within a substantially small number of pixel periods after determining the category for the current pixel.
  • EO edge offset
  • At least a portion of the relation between the current pixel and said one or more neighboring pixels is used for determining a category of another pixel.
  • the relation between the current pixel and said one or more neighboring pixels can be based on a sign function, and a look-up table is used for determining the category for the current pixel.
  • FIG. 1 illustrates a system block diagram of an exemplary video encoder having a reconstruction loop including deblocking filter and adaptive loop filter.
  • FIG. 2 illustrates a system block diagram of an exemplary video decoder including deblocking filter and adaptive loop filter.
  • Fig. 3 illustrates an example of adaptive offset based on pixel category, where the category is determined according to pixel C and its neighboring pixels nl-n4.
  • Fig. 4 illustrates an exemplary system block diagram of a video encoder where sample adaptive offset is applied to video data after deblocking filter.
  • Fig. 5 illustrates an exemplary system block diagram of a video encoder where sample adaptive offset is applied to video data after reconstruction.
  • Fig. 6 illustrates an example of two SAO types based on band offset (BO), where the first type consists of central bands and the second type consists of side bands.
  • BO band offset
  • Figs.7A-7D illustrate four linear configurations of a current pixel and its neighboring pixels for pixel category determination.
  • Fig. 8 illustrates a system block diagram of a video encoder wherein sample adaptive offset is applied to video data after inverse transform.
  • Fig. 9 illustrates an exemplary system block diagram of a video encoder where sample adaptive offset is applied to the prediction signal.
  • Fig. 10 illustrates an exemplary system block diagram of a video encoder where sample adaptive offset is applied to the de-quantized signal.
  • Fig. 11 illustrates an example of recursive region partition, wherein a SAO type is selected for each region.
  • Fig. 12 illustrates an example of recursive region partition by dividing a region into four sub-regions having roughly the same number of LCUs horizontally and vertically.
  • Fig. 13 illustrates an example of re-use of partial results from a previous pixel for edge offset (EO) based classification.
  • EO edge offset
  • Fig. 14 illustrates an example of region splitting and region merging for sample adaptive offset.
  • the video data are subject to various processing such as prediction, transform, quantization, deblocking, and adaptive loop filtering.
  • certain characteristics of the processed video data may be altered from the original video data due to the operations applied to video data.
  • the mean value of the processed video may be shifted. Intensity shift may cause visual impairment or artifacts, which is especially more noticeable when the intensity shift varies from picture to picture. Therefore, the pixel intensity shift has to be carefully compensated or restored to alleviate the artifacts.
  • the changes in characteristics of processed video data may be intrinsically related to the operations applied.
  • pixel values corresponding to a sharp edge will have reduced slope.
  • the pixel value on one side of the edge may be increased and the pixel value on the other side may be decreased.
  • video quality may be improved.
  • An adaptive offset scheme proposed to the original High-Efficiency Video Coding (HEVC) classifies each pixel in the processed video data into one of multiple categories according to a context selected.
  • the context may be the pixel intensity of the processed video data.
  • the context may be a combination of a current pixel and its surrounding pixels.
  • the processed video data may represent the reconstructed video, the deblocked video, the adaptive loop filtered video, or other video in an intermediate stage.
  • a characteristic measurement is derived according to the selected context and a category is determined according to the measured characteristic. For each category, intensity shift between the original pixels and the processed pixels is determined. The intensity shift is also called the "offset value" in this disclosure. Accordingly, the offset value is applied to the processed pixels belonging to the category to compensate the intensity shift.
  • the process of intensity shift compensation or restoration for processed video data based on the category of each pixel is termed "sample adaptive offset (SAO)" in this disclosure.
  • the conventional SAO scheme often determines the category for the pixels on a picture by picture or slice by slice basis.
  • picture contents often are dynamic and the characteristic may vary from region to region within a frame. Therefore, it is desirable to develop a sample adaptive offset scheme that can take into consideration of the dynamic characteristics within a picture using a region partition scheme to adaptively partition the processed video data into regions having different sizes.
  • the conventional SAO scheme always uses a fixed context to determine a category for the pixel of processed video data. For example, the SAO may only use a fixed 16-band band offset (BO) for sample adaptive offset. In another example, the SAO may only use pixels within a 3x3 window as the context to determine the category for the pixel of processed video data.
  • BO 16-band band offset
  • the SAO may only use pixels within a 3x3 window as the context to determine the category for the pixel of processed video data.
  • sample adaptive offset scheme can adaptively select a SAO type from a group of SAO types to tailor the SAO process to the characteristics of processed video data and to achieve better quality. Accordingly, a sample adaptive offset scheme is disclosed herein that can exploit the dynamic characteristics of processed video data.
  • Intra-prediction 110 is responsible to provide prediction data based on video data in the same picture.
  • motion estimation (ME) and motion compensation (MC) 112 is used to provide prediction data based on video data from other picture or pictures.
  • Switch 114 selects intra-prediction or inter-prediction data and the selected prediction data are supplied to adder 116 to form prediction errors, also called residues.
  • the prediction error is then processed by transformation (T) 118 followed by quantization (Q) 120.
  • the transformed and quantized residues are then coded by entropy coding 122 to form a bitstream corresponding to the compressed video data.
  • the bitstream associated with the transform coefficients is then packed with side information such as motion, mode, and other information associated with the image area.
  • the side information may also be subject to entropy coding to reduce required bandwidth. Accordingly the data associated with the side information are provided to entropy coding 122 as shown in Fig. 1.
  • entropy coding 122 As shown in Fig. 1.
  • a reference picture or reference pictures have to be reconstructed at the encoder end. Consequently, the transformed and quantized residues are processed by inverse quantization (IQ) 124 and inverse transformation (IT) 126 to recover the residues.
  • the residues are then added back to prediction data 136 at reconstruction (REC) 128 to reconstruct video data.
  • the reconstructed video data may be stored in reference picture buffer 134 and used for prediction of other pictures.
  • deblocking filter 130 and adaptive loop filter 132 are applied to the reconstructed video data in order to improve video quality.
  • the adaptive loop filter information may have to be transmitted in the bitstream so that a decoder can properly recover the required information in order to apply the adaptive loop filter. Therefore, adaptive loop filter information from ALF 132 is provided to entropy coding 122 for incorporation into the bitstream.
  • incoming video data undergo a series of processing in the encoding system.
  • the reconstructed video data from REC 128 may be subject to intensity shift due to the series of processing.
  • the reconstructed video data are further processed by deblocking 130 and adaptive loop filter 132, which may cause further intensity shift. Accordingly, it is desired to incorporate sample adaptive offset to restore or compensate the intensity shift.
  • Fig. 2 illustrates a system block diagram of an exemplary video decoder including deblocking filter and adaptive loop filter. Since the encoder also contains a local decoder for reconstructing the video data, some decoder components are already used in the encoder except for the entropy decoder 222. Furthermore, only motion compensation 212 is required for the decoder side.
  • the switch 214 selects intra-prediction or inter-prediction and the selected prediction data are supplied to reconstruction (REC) 128 to be combined with recovered residues.
  • entropy decoding 222 is also responsible for entropy decoding of side information and provides the side information to respective blocks.
  • intra mode information is provided to intra- prediction 110
  • inter mode information is provided to motion compensation 212
  • adaptive loop filter information is provided to ALF 132
  • residues are provided to inverse quantization 124.
  • the residues are processed by IQ 124, IT 126 and subsequent reconstruction process to reconstruct the video data.
  • reconstructed video data from REC 128 undergo a series of processing including IQ 124 and IT 126 as shown in Fig. 2 and are subject to intensity shift.
  • the reconstructed video data are further processed by deblocking filter 130 and adaptive loop filter 132, which may cause further intensity shift. Accordingly, it is desired to incorporate sample adaptive offset to compensate the intensity shift.
  • McCann et al. disclosed a content adaptive extreme correction and band correction in "Samsung's Response to the Call for Proposals on Video Compression Technology", Document: JCTVC-A124, Joint Collaborative Team on Video Coding (JCT-VC) of ITU-T SG16 WP3 and ISO/IEC JTC1/SC29/WG11, 1st Meeting: Dresden, DE, 15-23 April, 2010.
  • JCTVC-A124 Joint Collaborative Team on Video Coding
  • JCT-VC Joint Collaborative Team on Video Coding
  • the use of content information based on neighboring pixels can explore local edge characteristics and may result in improved performance in terms of better visual quality or bit rate reduction.
  • McCann et al. disclosed a neighboring pixel configuration as shown in Fig.
  • the pixel C is a local minimum, also called a valley.
  • the pixel C is a local maximum, also called a peak.
  • the pixel C is at an object edge.
  • the processed video data can be the reconstructed video data from REC 128, the deblocked data from DF 130 or the adaptive loop filtered data from ALF 132. McCann et al. classify the edge characteristics into "categories", which are also termed as "classes”. While Fig. 1 and Fig.
  • FIG. 2 illustrate exemplary systems that sample adaptive offset for video coding can be applied
  • other systems may also embody the present invention to overcome the intensity shift issue.
  • video data processed by demosaicing, white balancing, and/or edge enhancement may also be subject to intensity shift.
  • McCann et al. apply a first intensity offset to restore processed data between DF 130 and ALF 132 according to edge characteristic of underlying pixel.
  • the adaptive offset based on the edge characteristic of underlying pixel is termed as Extreme Correction (EXC) by McCann et al.
  • EXC Extreme Correction
  • the above extreme correction is applied to reconstructed video data.
  • the reconstructed mean intensity value Vr(c) corresponding to class c and the original mean intensity value Vo(c) corresponding to class c are determined for a video picture.
  • the offset Vd(c) corresponding to class c can be determined according to:
  • Vd(c) Vo(c) - Vr(c).
  • Vr'(c) Vr(c) + Vd(c), where Vr'(c) is the offset corrected video data.
  • Vr'(c) the offset corrected video data.
  • the Adaptive Offset 410 based on EXC according to McCaan et ah is applied to video data between DF 130 and ALF 132, as shown in Fig. 4.
  • McCann et al. disclosed another adaptive offset correction according to the band that an underlying pixel belongs to. This method is also termed as band correction (BDC).
  • BDC band correction
  • the main motivation of band-based classification is to equalize two different Probability Density Functions (PDFs) of underlying data corresponding to the reconstructed video data and the original video data.
  • PDFs Probability Density Functions
  • McCann et al. disclosed a band-based classification by using the p most significant bits of the pixels, which is equivalent to dividing the intensity into 2 ⁇ classes having uniform intervals.
  • the mean difference is computed and transmitted to the decoder and the offset can be corrected individually for each band.
  • the reconstructed mean intensity value Vr(c) corresponding to band c or class c and the original mean intensity value Vo(c) corresponding to band c or class c are determined for a video picture.
  • the same mathematical symbols Vr(c) and Vo(c) for EXC have been used for convenience.
  • Vr'(c) Vr(c) + Vd(c), where Vr'(c) is the offset corrected video data.
  • McCann et al. apply band correction to processed video data between ALF 132 and reference picture buffer 134 (not shown). While McCann et al. apply AO either between DF 130 and ALF 132, or between ALF 132 and Reference Picture Buffer 134, AO 510 may also be applied between REC 128 and DF 130 as shown in Fig. 5.
  • the 32 uniform bands are divided into two groups as shown in Fig. 6.
  • the 16 bands in the center are assigned to group 1 and the 16 bands on both sides are assigned to group 2. Accordingly, one set of offsets is sent for the center 16 bands (group 1), and one set of offsets is sent for the outer 16 bands (group 2).
  • Each pixel configuration arranged as a short line is responsive to intensity transition along the line. For example, a horizontal edge will cause a more noticeable intensity transition in the vertical line than lines having other orientations. Similarly, a vertical edge will cause more noticeable intensity transition in the horizontal line than lines having other orientation.
  • the selection of pixel configuration can be determined on a region by region basis and a flag is required for each region. Based on the pixel configuration, an underlying pixel is classified into 6 classes corresponding to edges, peak, valley and none of the above as shown in Table 2:
  • an embodiment according to the present invention utilizes multiple SAO types.
  • the multiple SAO types may include both the BO context and EO context.
  • Each SAO type has an associated number of categories. For example, 16 categories (i.e., 16 bands) are associated with group 1 BO and group 2 BO in the above example. 6 categories are associated with each of the four EO configurations or contexts.
  • the number of categories mentioned in the above example is intended for illustration purpose and shall not be construed as limitation to the present invention.
  • the total number of SAO types according to the present invention can be pre-defined or user defined.
  • the number of categories for each SAO type can be pre-defined, user defined, or image size dependent.
  • a syntax element sao_type_idx may be used to identify the SAO type selected.
  • Table 3 illustrates an example of multiple SAO types including both the BO context and the EO context.
  • sample adaptive offset may also be applied to the video signal before reconstruction.
  • sample adaptive offset 810 may be applied to inverse transformed residual signal before reconstruction ( EC) 128 as shown in Fig. 8.
  • the recovered residual signal at the output of inverse transform (IT) 126 has been processed by transform 118, quantization 120, de-quantization 124 and inverse transform 126. Therefore, the residual signal may be subject to intensity shift and adaptive offset will be useful to restore the intensity shift.
  • Side information associated with adaptive offset may be entropy coded and incorporated into the bitstream.
  • sample adaptive offset is applied to the intra/inter predictor before the predictor is subtracted from the original video signal as shown in Fig. 9.
  • sample adaptive offset 1010 may be applied to video signal between de-quantization 124 and inverse transformation 126as shown in Fig. 10.
  • the AO is always based on a whole picture or a group of pictures.
  • a region corresponding to a smaller picture area may be more advantageous for adaptive processing because the category associated with a smaller picture area may closely characterize the underlying video data in the region.
  • a multilevel region partition is used in the present invention.
  • Each region can be recursively divided into four sub-regions using a quadtree.
  • Information related to the region partition can be conveyed using syntax.
  • the region boundaries can be aligned with the coding unit (CU) or with the largest coding unit (LCU).
  • Each region can select one of the sample adaptive offset (SAO) types such as 2 types of band offset (BO), 4 types of edge offset (EO) and no processing (OFF) as shown in the above table.
  • Fig. 11 illustrates an example of picture partitioned into regions and each region is processed by SAO using BO, EO or OFF type.
  • SAO sample adaptive offset
  • BO band offset
  • EO edge offset
  • OFF no processing
  • Region partition for SAO can be block based.
  • the number of depths in quadtree partition is depending on the block size. If either the region width or region height is smaller than the block size, the splitting process for the current region will be terminated.
  • the maximum quadtree depth can be user-defined depth, pre-defined depth, or image size.
  • the block size can be smaller than, equal to, or larger than the LCU size.
  • An example of LCU aligned region partitioning is shown in Fig. 12. The region is measured by LCU size. WidthlnLCU is the number of LCUs for the width of the current region and HeightlnLCU is the number of LCUs for the height of the current region.
  • the partition in the horizontal direction divides WidthlnLCU into two sub-regions having widths Floor(WidthInLCU/2) and WidthlnLCU -Floor(WidthInLCU 12), where Floor(x) is the floor function.
  • the partition in the vertical direction divides HeightlnLCU into two sub-regions having widths
  • the 1-D edge offset (EO) classification is more computational efficient than the 2-D EO classification. Nevertheless, the 1-D EO classification algorithm as described in Table 2 still requires quite some operations. It is desirable to further improve the computational efficiency. Accordingly, one aspect of the present invention discloses a fast algorithm for EO based classification.
  • the fast algorithm compares the current pixel with two neighboring pixels. The results of comparison are provided to a look-up table to determine the category. The comparison can be implemented as a signQ function. For example, the current pixel C and two neighboring pixels B and D for a 0-degree EO 1310 is shown in Fig. 13.
  • the sign operation is performed for (C-B) and (C-D), i.e., sign(C- ) and sign (C-D) are performed, where
  • a look-up table i.e., edgejable
  • Category edge_table[2 + sign(C-B) + sign(C-D)] .
  • the pixel classification is exactly the same as Table 2.
  • the comparison of C and D is computed for pixel C.
  • the comparison of D and C will be computed for pixel D for the 1-D EO 1320 as shown in Fig. 13.
  • signQ function is used as a means for determining the relation between a current pixel and its neighboring pixels, other measurement may be used as well.
  • the 0-degree 1-D EO is shown as an example, the same fast algorithm can be applied to 45 -degree, 90-degree, and 135-degree EO.
  • Rate-distortion optimization is a widely known technique used in video encoding to obtain good coding efficiency.
  • RDO can be applied to SAO decision such as region splitting and region merging.
  • Fig. 14 illustrates an example of region splitting and region merging for SAO.
  • a picture or a picture area such as a region, may be successfully split from a largest picture area (top-down splitting) or small picture regions may be successfully merged into larger regions using the RDO technique (bottom-up merging).
  • JO through J20 are the R-D costs associated with respective regions.
  • the cost associated each region is compared with the costs of corresponding split regions.
  • cost J3 is compared with cost (J13+J14+J17+J18).
  • the region associated with J3 is split if J3 > ( J 13 + J 14+ J 17+ J 18); otherwise the region is not split.
  • the region associated with JO is split if JO > (J1+J2+J3+J3); otherwise the region is not split.
  • the process for region merging can be done similarly by comparing the costs associated with individual regions and a merged region.
  • the RDO process is quite computational intensive. It is desirable to develop a means for speeding up RDO process. For example, in region splitting and region merging, the statistics (i.e., rate and/or distortion) associated with a larger region can be derived from the corresponding smaller regions. Furthermore, in SAO, there are multiple regions in one picture, and there are multiple SAO types to be tested for each region. Given one region with one SAO type, an encoder usually has to derive the offsets, add the offsets to pixels, and then compute distortion. Therefore, the mode decision process of SAO needs to access the picture buffer many times. This multi-pass encoding algorithm may require a lot of external memory access leading to high power consumption and long latency.
  • the distortion for SAO can be estimated as follows: s(k) is the original signal,
  • x(k) is the reconstructed signal, which can be deblocked signal
  • 6Ao(k) is the estimated distortion of the SAO signal.
  • K is a set of pixels to be processed by filter
  • C is a set of pixels belonged to one type of AO category
  • P is a set of SAO category, and P is a collection of all SAO categories, and
  • a c is the offset value to be added.
  • the distortion reduction of the SAO signal is SsAo(k) -S rec (k), which represents the difference in mean square errors corresponding to the signal processed by SAO and the reconstructed signal respectively.
  • 6 REC mean s uare error between reconstructed signal and original signal
  • ceP xeC (-*W 2 ⁇ 2 ⁇ W ⁇ 5 W + + 2 ' a c - x ( k + a c 2 - 2 - a c - s ( k ))
  • N c is the number of pixel of current category
  • a cs is the offset value to be added on the pixels belonging to category k
  • a c is the sum of the offset value between original signal and reconstructed signal.
  • SAO ( N c a c 2 - 2 * N c * a c * a cs ) .
  • the distortion reduction dssAO of offset signal after the SAO is applied can be estimated based on the number of pixel of current category, the offset value to be added on the pixels belonging to category k, and the sum of the offset value between original signal and reconstructed signal.
  • the distortion used in the cost function of RDO process is derived between the SAO processed signal and the original signal.
  • Various SAO modes are evaluated for the RDO to select a best mode, where the SAO process is applied to the same reconstructed signal. Therefore, the distortion reduction dSsAO can be used to replace the mean square error SSAO between offset signal and original signal.
  • the computation of distortion reduction dSsAO can be estimated using the fast algorithm.
  • An embodiment according to the present invention computes the estimated distortion reduction for each mode and uses the estimated distortion reduction to evaluate the RDO cost function.
  • the mode can be the region associated with region splitting/region merging to be optimized. According to the RDO cost function associated with the mode candidates, a best mode is selected.
  • Embodiment of sample adaptive offset compensation according to the present invention as described above may be implemented in various hardware, software codes, or a combination of both.
  • an embodiment of the present invention can be a circuit integrated into a video compression chip or program codes integrated into video compression software to perform the processing described herein.
  • An embodiment of the present invention may also be program codes to be executed on a Digital Signal Processor (DSP) to perform the processing described herein.
  • DSP Digital Signal Processor
  • the invention may also involve a number of functions to be performed by a computer processor, a digital signal processor, a microprocessor, or field programmable gate array (FPGA). These processors can be configured to perform particular tasks according to the invention, by executing machine-readable software code or firmware code that defines the particular methods embodied by the invention.
  • the software code or firmware codes may be developed in different programming languages and different format or style.
  • the software code may also be compiled for different target platform.
  • different code formats, styles and languages of software codes and other means of configuring code to perform the tasks in accordance with the invention will not depart from the spirit and scope of the invention.

Landscapes

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

Abstract

For sample adaptive offset, classification may be used to classify the pixels into multiple categories and pixels in each category are offset compensated using an offset value for the category. The classification may be based on values of the current pixel and its neighboring pixels before SAO compensation. Therefore, the SAO compensated pixel cannot be written back to the current pixel location until the category for all pixels are determined. An embodiment of the present invention stores the relation between the current pixel and said one or more neighboring pixels so that the SAO compensated current pixel can replace the current pixel without buffering the to-be-processed pixels for classification. The SAO process may be performed on a region by region basis to adapt to the local characteristics of the picture. Rate-distortion optimization (RDO) is often used to guide the mode decision, such as region splitting/region merging decision. Computations associated with the RDO process usually are very computational intensive. Accordingly, distortion reduction estimation is developed which can substantially reduce the required computation associated with RDO.

Description

APPARATUS AND METHOD OF EFFICIENT SAMPLE ADAPTIVE
OFFSET
BACKGROUND OF THE INVENTION Cross Reference To Related Applications
[0001] The present invention claims priority to U.S. Provisional Patent Application, No. 61/432,482, filed January 13, 2011, entitled "Picture Quadtree Adaptive Offset", U.S. Provisional Patent Application, No. 61/436,296, filed January 26, 2011, entitled "Improved Offset Method", U.S. Provisional Patent Application, No. 61/466,083, filed March 22, 2011, entitled "Sample Adaptive Offset", US Non-Provisional Patent Application, Serial No. 12/987,151, entitled "Apparatus and Method of Adaptive Offset for Video Coding", filed on January 9, 2011, US Non-Provisional Patent Application, Serial No. 13/177,424, entitled "APPARATUS AND METHOD OF EFFICIENT SAMPLE ADAPTIVE OFFSET", filed on July 06, 2011, and US Non-Provisional Patent Application, Serial No. 13/158,427, entitled "Apparatus and Method of Sample Adaptive Offset for Video Coding", filed on June 12, 2011. The U.S. Provisional Patent Applications and U.S. Non-Provisional Patent Applications are hereby incorporated by reference in their entireties.
Field of the Invention
[0002] The present invention relates to video processing. In particular, the present invention relates to apparatus and method of efficient sample adaptive offset compensation.
Description of the Related Art
[0003] In a video coding system, the video data are subject to various processing such as prediction, transform, quantization, deblocking, and adaptive loop filtering. Along the processing path in the video coding system, certain characteristics of the processed video data may be altered from the original video data due to the operations applied to the video data. For example, the mean value of the processed video may be shifted. Intensity shift may cause visual impairment or artifacts, which is especially more noticeable when the intensity shift varies from picture to picture. Therefore, the pixel intensity shift has to be carefully compensated or restored to alleviate the artifacts. Some intensity offset schemes have been used in the field. An intensity offset scheme proposed for High-Efficiency Video Coding (HEVC) classifies each pixel in the processed video data into one of multiple categories according to a context selected. For example, the context may be the pixel intensity of the processed video data. Alternatively, the context may be a combination of a current pixel and its surrounding pixels. Depending on where the adaptive offset is applied, the processed video data may represent the reconstructed video, the deblocked video, the adaptive loop filtered video, or other video in an intermediate stage. A characteristic measurement is derived according to the selected context and a category is determined according to the measured characteristic. For each category, intensity shift between the original pixels and the processed pixels is determined. The intensity shift is also called the "offset value" in this disclosure. Accordingly, the offset value is applied to the processed pixels belonging to the category to compensate the intensity shift. The process of intensity shift compensation or restoration for processed video data based on the category of each pixel is termed "sample adaptive offset (SAO)" in this disclosure.
[0004] The conventional SAO scheme often determines the category for the pixels on a picture by picture or slice by slice basis. However, picture contents often are dynamic and the characteristic may vary from region to region within a picture. Accordingly, a sample adaptive offset scheme is disclosed in US Non-Provisional Patent Application, Serial No. 13/158,427, entitled "Apparatus and Method of Sample Adaptive Offset for Video Coding", filed on June 12, 2011, where a group of SAO types are used to classify pixels in a region and each SAO type classifies the pixels into multiple categories. Some SAO types are associated with edge offset based classification, where the classification of a current pixel involves neighboring pixels. Since there are multiple SAO types, an encoder usually has to derive the offsets, add the offsets to pixels, and then compute distortion for each region with one SAO type. Therefore, the mode decision process of SAO needs to access the picture buffer many times. This multi-pass encoding algorithm may require a lot of external memory access leading to high power consumption and long latency. It is desirable to perform the mode decision for SAO without any additional picture buffer access. After all SAO parameters are derived, only one additional pass is required to perform offset compensation accordingly.
[0005] The SAO process is preferred to be done on a region by region basis to adapt to the local characteristics of the picture. Rate-distortion optimization (RDO) is often used to guide the mode decision (i.e., region splitting/region merging decision). Computations associated with the RDO process usually is very computational intensive. It is desirable to use a fast algorithm to speed up RDO process.
BRIEF SUMMARY OF THE INVENTION [0006] An apparatus and method for of mode decision for sample adaptive offset (SAO) compensation of processed video data using rate-distortion optimization (RDO) are disclosed.
The method according to the present invention comprises receiving the processed video data, identifying SAO modes, estimating distortion associated with each of the modes according to distortion reduction estimation, determining rate-distortion (RD) cost based on the distortion for said each of the modes; selecting a best mode among the modes, wherein the best mode has a smallest RD cost, and applying SAO to the processed video data according to the best mode selected. The distortion reduction estimation is related to a number of pixels for said each of the modes (iCo nt), an offset value to be added to the pixels belonging to said each of the modes(iOffset), and a sum of the offset value between original signal and reconstructed signal (iOffsetOrg) associated with the processed video data. Furthermore, the distortion reduction estimation is related to (iCount*iOffset*iOffset)-(iOffsetOrg*iOffset*Z). Another aspect of the present invention addresses fast algorithm for SAO region splitting or region merging, where the distortion reduction estimation for a small regions is re-used for calculating the distortion reduction estimation for a respective large region.
[0007] An apparatus and method of sample adaptive offset (SAO) compensation of processed video data are disclosed. The method according to the present invention comprises receiving the processed video data, determining a category for a current pixel of the processed video data according to edge offset (EO) based classification, wherein the EO based classification is related to the current pixel and one or more neighboring pixels, compensating the current pixel using an offset value associated with the category to generated a compensated current pixel, storing relation between the current pixel and said one or more neighboring pixels, and replacing the current pixel with the compensated current pixel within a substantially small number of pixel periods after determining the category for the current pixel. To further reduce the required computations, at least a portion of the relation between the current pixel and said one or more neighboring pixels is used for determining a category of another pixel. The relation between the current pixel and said one or more neighboring pixels can be based on a sign function, and a look-up table is used for determining the category for the current pixel.
BRIEF DESCRIPTION OF DRAWINGS
[0008] Fig. 1 illustrates a system block diagram of an exemplary video encoder having a reconstruction loop including deblocking filter and adaptive loop filter.
[0009] Fig. 2 illustrates a system block diagram of an exemplary video decoder including deblocking filter and adaptive loop filter.
[0010] Fig. 3 illustrates an example of adaptive offset based on pixel category, where the category is determined according to pixel C and its neighboring pixels nl-n4.
[0011] Fig. 4 illustrates an exemplary system block diagram of a video encoder where sample adaptive offset is applied to video data after deblocking filter.
[0012] Fig. 5 illustrates an exemplary system block diagram of a video encoder where sample adaptive offset is applied to video data after reconstruction.
[0013] Fig. 6 illustrates an example of two SAO types based on band offset (BO), where the first type consists of central bands and the second type consists of side bands.
[0014] Figs.7A-7D illustrate four linear configurations of a current pixel and its neighboring pixels for pixel category determination.
[0015] Fig. 8 illustrates a system block diagram of a video encoder wherein sample adaptive offset is applied to video data after inverse transform.
[0016] Fig. 9 illustrates an exemplary system block diagram of a video encoder where sample adaptive offset is applied to the prediction signal.
[0017] Fig. 10 illustrates an exemplary system block diagram of a video encoder where sample adaptive offset is applied to the de-quantized signal.
[0018] Fig. 11 illustrates an example of recursive region partition, wherein a SAO type is selected for each region.
[0019] Fig. 12 illustrates an example of recursive region partition by dividing a region into four sub-regions having roughly the same number of LCUs horizontally and vertically.
[0020] Fig. 13 illustrates an example of re-use of partial results from a previous pixel for edge offset (EO) based classification.
[0021] Fig. 14 illustrates an example of region splitting and region merging for sample adaptive offset.
DETAILED DESCRIPTION OF THE INVENTION
[0022] In a video coding system, the video data are subject to various processing such as prediction, transform, quantization, deblocking, and adaptive loop filtering. Along the processing path in the video coding system, certain characteristics of the processed video data may be altered from the original video data due to the operations applied to video data. For example, the mean value of the processed video may be shifted. Intensity shift may cause visual impairment or artifacts, which is especially more noticeable when the intensity shift varies from picture to picture. Therefore, the pixel intensity shift has to be carefully compensated or restored to alleviate the artifacts. There may be various reasons that may cause certain characteristics of the processed video data to be altered. The changes in characteristics of processed video data may be intrinsically related to the operations applied. For example, when a low-pass filter is applied to the video data, pixel values corresponding to a sharp edge will have reduced slope. The pixel value on one side of the edge may be increased and the pixel value on the other side may be decreased. In this example, if sample adaptive offset can take into consideration of the edge characteristics, video quality may be improved. An adaptive offset scheme proposed to the original High-Efficiency Video Coding (HEVC) classifies each pixel in the processed video data into one of multiple categories according to a context selected. For example, the context may be the pixel intensity of the processed video data. Alternatively, the context may be a combination of a current pixel and its surrounding pixels. Depending on where the adaptive offset is applied, the processed video data may represent the reconstructed video, the deblocked video, the adaptive loop filtered video, or other video in an intermediate stage. A characteristic measurement is derived according to the selected context and a category is determined according to the measured characteristic. For each category, intensity shift between the original pixels and the processed pixels is determined. The intensity shift is also called the "offset value" in this disclosure. Accordingly, the offset value is applied to the processed pixels belonging to the category to compensate the intensity shift. The process of intensity shift compensation or restoration for processed video data based on the category of each pixel is termed "sample adaptive offset (SAO)" in this disclosure.
[0023] The conventional SAO scheme often determines the category for the pixels on a picture by picture or slice by slice basis. However, picture contents often are dynamic and the characteristic may vary from region to region within a frame. Therefore, it is desirable to develop a sample adaptive offset scheme that can take into consideration of the dynamic characteristics within a picture using a region partition scheme to adaptively partition the processed video data into regions having different sizes. Furthermore, the conventional SAO scheme always uses a fixed context to determine a category for the pixel of processed video data. For example, the SAO may only use a fixed 16-band band offset (BO) for sample adaptive offset. In another example, the SAO may only use pixels within a 3x3 window as the context to determine the category for the pixel of processed video data. It is desirable that the sample adaptive offset scheme can adaptively select a SAO type from a group of SAO types to tailor the SAO process to the characteristics of processed video data and to achieve better quality. Accordingly, a sample adaptive offset scheme is disclosed herein that can exploit the dynamic characteristics of processed video data.
[0024] The exemplary encoder shown in Fig. 1 represents a system using intra/inter-prediction. Intra-prediction 110 is responsible to provide prediction data based on video data in the same picture. For inter-prediction, motion estimation (ME) and motion compensation (MC) 112 is used to provide prediction data based on video data from other picture or pictures. Switch 114 selects intra-prediction or inter-prediction data and the selected prediction data are supplied to adder 116 to form prediction errors, also called residues. The prediction error is then processed by transformation (T) 118 followed by quantization (Q) 120. The transformed and quantized residues are then coded by entropy coding 122 to form a bitstream corresponding to the compressed video data. The bitstream associated with the transform coefficients is then packed with side information such as motion, mode, and other information associated with the image area. The side information may also be subject to entropy coding to reduce required bandwidth. Accordingly the data associated with the side information are provided to entropy coding 122 as shown in Fig. 1. When an inter-prediction mode is used, a reference picture or reference pictures have to be reconstructed at the encoder end. Consequently, the transformed and quantized residues are processed by inverse quantization (IQ) 124 and inverse transformation (IT) 126 to recover the residues. The residues are then added back to prediction data 136 at reconstruction (REC) 128 to reconstruct video data. The reconstructed video data may be stored in reference picture buffer 134 and used for prediction of other pictures. Before the reconstructed video data are stored in the reference picture buffer, deblocking filter 130 and adaptive loop filter 132 are applied to the reconstructed video data in order to improve video quality. The adaptive loop filter information may have to be transmitted in the bitstream so that a decoder can properly recover the required information in order to apply the adaptive loop filter. Therefore, adaptive loop filter information from ALF 132 is provided to entropy coding 122 for incorporation into the bitstream. As it is shown in Fig. 1, incoming video data undergo a series of processing in the encoding system. The reconstructed video data from REC 128 may be subject to intensity shift due to the series of processing. The reconstructed video data are further processed by deblocking 130 and adaptive loop filter 132, which may cause further intensity shift. Accordingly, it is desired to incorporate sample adaptive offset to restore or compensate the intensity shift.
[0025] Fig. 2 illustrates a system block diagram of an exemplary video decoder including deblocking filter and adaptive loop filter. Since the encoder also contains a local decoder for reconstructing the video data, some decoder components are already used in the encoder except for the entropy decoder 222. Furthermore, only motion compensation 212 is required for the decoder side. The switch 214 selects intra-prediction or inter-prediction and the selected prediction data are supplied to reconstruction (REC) 128 to be combined with recovered residues. Besides performing entropy decoding on compressed video data, entropy decoding 222 is also responsible for entropy decoding of side information and provides the side information to respective blocks. For example, intra mode information is provided to intra- prediction 110, inter mode information is provided to motion compensation 212, adaptive loop filter information is provided to ALF 132 and residues are provided to inverse quantization 124. The residues are processed by IQ 124, IT 126 and subsequent reconstruction process to reconstruct the video data. Again, reconstructed video data from REC 128 undergo a series of processing including IQ 124 and IT 126 as shown in Fig. 2 and are subject to intensity shift. The reconstructed video data are further processed by deblocking filter 130 and adaptive loop filter 132, which may cause further intensity shift. Accordingly, it is desired to incorporate sample adaptive offset to compensate the intensity shift.
[0026] In order to overcome the offset problems, McCann et al. disclosed a content adaptive extreme correction and band correction in "Samsung's Response to the Call for Proposals on Video Compression Technology", Document: JCTVC-A124, Joint Collaborative Team on Video Coding (JCT-VC) of ITU-T SG16 WP3 and ISO/IEC JTC1/SC29/WG11, 1st Meeting: Dresden, DE, 15-23 April, 2010. The use of content information based on neighboring pixels can explore local edge characteristics and may result in improved performance in terms of better visual quality or bit rate reduction. McCann et al. disclosed a neighboring pixel configuration as shown in Fig. 3, where C is the current pixel value and nl through n4 are four neighboring pixels on the top, left, right and bottom sides of the current pixel respectively. The method to classify pixels into seven categories according to McCann et al. is shown in Table 1 :
Table 1.
Figure imgf000008_0001
[0027] For category 0, the pixel C is a local minimum, also called a valley. For category 5, the pixel C is a local maximum, also called a peak. For categories 1, 2, 3 and 4, the pixel C is at an object edge. For pixels in each category, the difference between the mean of processed video data and the mean of original video data is computed and transmitted to the decoder. The processed video data can be the reconstructed video data from REC 128, the deblocked data from DF 130 or the adaptive loop filtered data from ALF 132. McCann et al. classify the edge characteristics into "categories", which are also termed as "classes". While Fig. 1 and Fig. 2 illustrate exemplary systems that sample adaptive offset for video coding can be applied, other systems may also embody the present invention to overcome the intensity shift issue. For example, in the camera image processing system, video data processed by demosaicing, white balancing, and/or edge enhancement may also be subject to intensity shift. As disclosed above, McCann et al. apply a first intensity offset to restore processed data between DF 130 and ALF 132 according to edge characteristic of underlying pixel. The adaptive offset based on the edge characteristic of underlying pixel is termed as Extreme Correction (EXC) by McCann et al.
[0028] According to McCann et ah, the above extreme correction is applied to reconstructed video data. The reconstructed mean intensity value Vr(c) corresponding to class c and the original mean intensity value Vo(c) corresponding to class c are determined for a video picture. The offset Vd(c) corresponding to class c can be determined according to:
Vd(c) = Vo(c) - Vr(c).
[0029] The offset Vd(c) as computed above is added to the reconstructed video data belonging to class c, i.e. , Vr'(c) = Vr(c) + Vd(c), where Vr'(c) is the offset corrected video data. In order for a decoder to apply the proper offset for respective classes, the offset Vd(c) values for all classes have to be transmitted to the decoder. Proper bitstream syntax will be needed to incorporate the offset Vd(c) values.
[0030] The Adaptive Offset 410 based on EXC according to McCaan et ah, is applied to video data between DF 130 and ALF 132, as shown in Fig. 4. McCann et al. disclosed another adaptive offset correction according to the band that an underlying pixel belongs to. This method is also termed as band correction (BDC). According to McCann et ah, the main motivation of band-based classification is to equalize two different Probability Density Functions (PDFs) of underlying data corresponding to the reconstructed video data and the original video data. McCann et al. disclosed a band-based classification by using the p most significant bits of the pixels, which is equivalent to dividing the intensity into 2^ classes having uniform intervals. In one implementation, McCann et al. selected p=4 to divide the intensity into 16 equally spaced bands, also termed as classes. For each band or class, the mean difference is computed and transmitted to the decoder and the offset can be corrected individually for each band. The reconstructed mean intensity value Vr(c) corresponding to band c or class c and the original mean intensity value Vo(c) corresponding to band c or class c are determined for a video picture. The same mathematical symbols Vr(c) and Vo(c) for EXC have been used for convenience. As in the adaptive offset correction based on edge characteristics, the offset Vd(c) associated corresponding to class c can be determined according to Vd(c) = Vo(c) - Vr(c). The offset Vd(c) as computed above is then added to the reconstructed video data belonging to class c, i.e., Vr'(c) = Vr(c) + Vd(c), where Vr'(c) is the offset corrected video data. McCann et al. apply band correction to processed video data between ALF 132 and reference picture buffer 134 (not shown). While McCann et al. apply AO either between DF 130 and ALF 132, or between ALF 132 and Reference Picture Buffer 134, AO 510 may also be applied between REC 128 and DF 130 as shown in Fig. 5.
[0031] In additional to 16 uniform bands for band classification, 32 uniform bands for band classification to increase the possibility of nonzero are described in "CE8 Subset3: Picture Quadtree Adaptive Offset", Document: JCTVC-D122, Joint Collaborative Team on Video Coding (JCT-VC) of ITU-T SG16 WP3 and ISO/TEC JTC1/SC29/WG11, 4th Meeting: Daegu, KR, 20-28 January, 2011, and in "CE13: Sample Adaptive Offset with LCU-Independent Decoding", Document: JCTVC-E049, Joint Collaborative Team on Video Coding (JCT-VC) of ITU-T SG16 WP3 and ISO/IEC JTC1/SC29/WG11, 5th Meeting: Geneva, CH, 16-23 March, 2011, and in US Non-Provisional Patent Application, Serial No. 12/987,151, entitled "Apparatus and Method of Adaptive Offset for Video Coding", filed on January 9, 2011. In order to reduce side information (from 32 offsets to 16), the 32 uniform bands are divided into two groups as shown in Fig. 6. The 16 bands in the center are assigned to group 1 and the 16 bands on both sides are assigned to group 2. Accordingly, one set of offsets is sent for the center 16 bands (group 1), and one set of offsets is sent for the outer 16 bands (group 2).
[0032] While McCann et al. disclosed adaptive processing related to edge characteristics of an underlying pixel and the pixel classification is based on a whole picture, an alternative edge based adaptive offset is disclosed in the co-pending U.S. Patent Application, Serial No. 12/987,151, entitled "Apparatus and Method of Adaptive Offset for Video Coding", filed January 9, 2011, where simplified linear pixel configurations using two neighboring pixels are used. The use of simplified pixel configuration will reduce the required computation. Accordingly, four simplified pixel configurations, also called pixel patterns, are disclosed as shown in Figs. 7A-7D corresponding to vertical line (90-degree), horizontal line (0-degree), 135-degree line and 45-degree line respectively. Each pixel configuration arranged as a short line is responsive to intensity transition along the line. For example, a horizontal edge will cause a more noticeable intensity transition in the vertical line than lines having other orientations. Similarly, a vertical edge will cause more noticeable intensity transition in the horizontal line than lines having other orientation. The selection of pixel configuration can be determined on a region by region basis and a flag is required for each region. Based on the pixel configuration, an underlying pixel is classified into 6 classes corresponding to edges, peak, valley and none of the above as shown in Table 2:
Table 2.
Figure imgf000011_0001
[0033] While the SAO schemes mentioned above utilize either the band offset (BO) context or the edge offset (EO) context to classify pixels into categories, an embodiment according to the present invention utilizes multiple SAO types. For example, the multiple SAO types may include both the BO context and EO context. Each SAO type has an associated number of categories. For example, 16 categories (i.e., 16 bands) are associated with group 1 BO and group 2 BO in the above example. 6 categories are associated with each of the four EO configurations or contexts. The number of categories mentioned in the above example is intended for illustration purpose and shall not be construed as limitation to the present invention. The total number of SAO types according to the present invention can be pre-defined or user defined. Furthermore, the number of categories for each SAO type can be pre-defined, user defined, or image size dependent. When multiple SAO types are used, a syntax element sao_type_idx may be used to identify the SAO type selected. Table 3 illustrates an example of multiple SAO types including both the BO context and the EO context.
Table 3.
Figure imgf000011_0002
[0034] While sample adaptive offset has been always applied to the video signal after reconstruction to restore the video signal, sample adaptive offset may also be applied to the video signal before reconstruction. For example, sample adaptive offset 810 may be applied to inverse transformed residual signal before reconstruction ( EC) 128 as shown in Fig. 8. The recovered residual signal at the output of inverse transform (IT) 126 has been processed by transform 118, quantization 120, de-quantization 124 and inverse transform 126. Therefore, the residual signal may be subject to intensity shift and adaptive offset will be useful to restore the intensity shift. Side information associated with adaptive offset may be entropy coded and incorporated into the bitstream. In another example, sample adaptive offset is applied to the intra/inter predictor before the predictor is subtracted from the original video signal as shown in Fig. 9. The predictor derived according to either Intra or Inter prediction is subject to various operations which may cause intensity shift. Therefore, sample adaptive offset will be useful to restore the intensity shift. In yet another example, sample adaptive offset 1010 may be applied to video signal between de-quantization 124 and inverse transformation 126as shown in Fig. 10.
[0035] In the method by McCann el ah, the AO is always based on a whole picture or a group of pictures. For some video data, a region corresponding to a smaller picture area may be more advantageous for adaptive processing because the category associated with a smaller picture area may closely characterize the underlying video data in the region. Accordingly, a multilevel region partition is used in the present invention. Each region can be recursively divided into four sub-regions using a quadtree. Information related to the region partition can be conveyed using syntax. The region boundaries can be aligned with the coding unit (CU) or with the largest coding unit (LCU). Each region can select one of the sample adaptive offset (SAO) types such as 2 types of band offset (BO), 4 types of edge offset (EO) and no processing (OFF) as shown in the above table. Fig. 11 illustrates an example of picture partitioned into regions and each region is processed by SAO using BO, EO or OFF type. Each small block in Fig. 11 represents a LCU.
[0036] Region partition for SAO can be block based. The number of depths in quadtree partition is depending on the block size. If either the region width or region height is smaller than the block size, the splitting process for the current region will be terminated. The maximum quadtree depth can be user-defined depth, pre-defined depth, or image size. The block size can be smaller than, equal to, or larger than the LCU size. An example of LCU aligned region partitioning is shown in Fig. 12. The region is measured by LCU size. WidthlnLCU is the number of LCUs for the width of the current region and HeightlnLCU is the number of LCUs for the height of the current region. The partition in the horizontal direction divides WidthlnLCU into two sub-regions having widths Floor(WidthInLCU/2) and WidthlnLCU -Floor(WidthInLCU 12), where Floor(x) is the floor function. Similarly, the partition in the vertical direction divides HeightlnLCU into two sub-regions having widths
Floor(HeightInLCU/2) and HeightlnLCU -Floor(HeightInLCU 12).
[0037] The 1-D edge offset (EO) classification is more computational efficient than the 2-D EO classification. Nevertheless, the 1-D EO classification algorithm as described in Table 2 still requires quite some operations. It is desirable to further improve the computational efficiency. Accordingly, one aspect of the present invention discloses a fast algorithm for EO based classification. The fast algorithm compares the current pixel with two neighboring pixels. The results of comparison are provided to a look-up table to determine the category. The comparison can be implemented as a signQ function. For example, the current pixel C and two neighboring pixels B and D for a 0-degree EO 1310 is shown in Fig. 13. The sign operation is performed for (C-B) and (C-D), i.e., sign(C- ) and sign (C-D) are performed, where
+1 if x > th,
sign(x) -1 elseif x < th,
0 else.
A look-up table, i.e., edgejable, can be used to convert the comparison results into a categ index, where edge_table[x]={\, 2, 0, 3, 4} . Accordingly, the Category for the 1-D EO classification can be derived as:
Category = edge_table[2 + sign(C-B) + sign(C-D)] .
When the th value is zero, the pixel classification is exactly the same as Table 2. The comparison of C and D is computed for pixel C. The comparison of D and C will be computed for pixel D for the 1-D EO 1320 as shown in Fig. 13. The comparison of C and D may be reused for comparison of D and C, i.e., sign(O-C) = -sign(C-D), which can save some operations. While the signQ function is used as a means for determining the relation between a current pixel and its neighboring pixels, other measurement may be used as well. While the 0-degree 1-D EO is shown as an example, the same fast algorithm can be applied to 45 -degree, 90-degree, and 135-degree EO.
[0038] Another aspect of the present invention is related to simplified rate-distortion optimization (RDO) for SAO decision. Rate-distortion optimization (RDO) is a widely known technique used in video encoding to obtain good coding efficiency. RDO can be applied to SAO decision such as region splitting and region merging. For example, Fig. 14 illustrates an example of region splitting and region merging for SAO. To achieve the best RD performance among various region partition, a picture or a picture area, such as a region, may be successfully split from a largest picture area (top-down splitting) or small picture regions may be successfully merged into larger regions using the RDO technique (bottom-up merging). Fig. 14 illustrates a three-level picture structure, where JO through J20 are the R-D costs associated with respective regions. For the top-down splitting method, the cost associated each region is compared with the costs of corresponding split regions. For example, cost J3 is compared with cost (J13+J14+J17+J18). The region associated with J3 is split if J3 > ( J 13 + J 14+ J 17+ J 18); otherwise the region is not split. Similarly, the region associated with JO is split if JO > (J1+J2+J3+J3); otherwise the region is not split. The process for region merging can be done similarly by comparing the costs associated with individual regions and a merged region.
[0039] The RDO process is quite computational intensive. It is desirable to develop a means for speeding up RDO process. For example, in region splitting and region merging, the statistics (i.e., rate and/or distortion) associated with a larger region can be derived from the corresponding smaller regions. Furthermore, in SAO, there are multiple regions in one picture, and there are multiple SAO types to be tested for each region. Given one region with one SAO type, an encoder usually has to derive the offsets, add the offsets to pixels, and then compute distortion. Therefore, the mode decision process of SAO needs to access the picture buffer many times. This multi-pass encoding algorithm may require a lot of external memory access leading to high power consumption and long latency. It is also desirable to perform the mode decision for SAO without any additional picture buffer access. After all SAO parameters are derived, only one additional pass is required to perform offset compensation accordingly. Therefore, instead of computing actual rate and/or distortion values, these values can be estimated. For example, the distortion for SAO can be estimated as follows: s(k) is the original signal,
x(k) is the reconstructed signal, which can be deblocked signal,
6rec(k) is the estimated distortion of the reconstructed signal, and
6Ao(k) is the estimated distortion of the SAO signal.
K is a set of pixels to be processed by filter,
C is a set of pixels belonged to one type of AO category,
P is a set of SAO category, and P is a collection of all SAO categories, and
ac is the offset value to be added.
The distortion reduction of the SAO signal is SsAo(k) -Srec(k), which represents the difference in mean square errors corresponding to the signal processed by SAO and the reconstructed signal respectively.
6REC = mean s uare error between reconstructed signal and original signal
Figure imgf000015_0001
=∑ (x(kf -2 x(k) s(k) + s(kf )
k≡K
=∑(¾(0)-2-r„(0) + r„(0))
k≡K
=∑(¾(0)-2-¾(0) + rii(0))
k≡K
SSAO = mean square error between offset signal and original signal
Figure imgf000015_0002
ceP xeC (-*W2 ~ 2■ W■ 5W + + 2 ' ac - x(k + ac2 -2-ac - s(k))
Figure imgf000015_0003
=∑∑ (rxx (0) - 2 · rxs (0) + r„ (0) + 2 · ac x(k) + a,2 - 2 ac s (*)) ceP xeC dSsAO =£SAO -£rec = distortion reduction of offset signal after the SAO is applied
=∑∑ (0) - · r„ (0) + rss (0) + 2 ac x(k) + a2 - 2 ac s (*)) ceP xeC
-∑(^(0)-2τ(0) + ^(0))
keK
=∑∑(2-ac-x(k) + ac 2-2-ac-s(k))
ceP keC ∑∑(2 - <*c - (s(k) - aa) + ac 2 - 2 - ac - s (*))
ceP keC
ΣΣ^2 - 2 ' ac ' acs )
c≡P k≡C
Figure imgf000016_0001
ceP
where Nc is the number of pixel of current category,
acs is the offset value to be added on the pixels belonging to category k, and
ac is the sum of the offset value between original signal and reconstructed signal.
[0040] According to the above derivation, the distortion reduction dS o of offset signal
SAO is applied can be estimated from: d£SAO =
Figure imgf000016_0002
(Ncac2 - 2 * Nc * ac * acs ) . (1) ceP
[0041] According to equation (1), the distortion reduction dssAO of offset signal after the SAO is applied can be estimated based on the number of pixel of current category, the offset value to be added on the pixels belonging to category k, and the sum of the offset value between original signal and reconstructed signal. The distortion used in the cost function of RDO process is derived between the SAO processed signal and the original signal. Various SAO modes are evaluated for the RDO to select a best mode, where the SAO process is applied to the same reconstructed signal. Therefore, the distortion reduction dSsAO can be used to replace the mean square error SSAO between offset signal and original signal. As shown in equation (1), the computation of distortion reduction dSsAO can be estimated using the fast algorithm. On the other hand, derivation based on the original distortion reduction or the original distortion between offset signal and original signal will involve computations of autocorrelation of original signal, autocorrelation of the reconstructed signal, and cross-correlation between the original signal and the reconstructed signal. Consequently, the estimated distortion reduction can greatly reduce the required computation and picture buffer access. An embodiment according to the present invention computes the estimated distortion reduction for each mode and uses the estimated distortion reduction to evaluate the RDO cost function. The mode can be the region associated with region splitting/region merging to be optimized. According to the RDO cost function associated with the mode candidates, a best mode is selected.
[0042] Embodiment of sample adaptive offset compensation according to the present invention as described above may be implemented in various hardware, software codes, or a combination of both. For example, an embodiment of the present invention can be a circuit integrated into a video compression chip or program codes integrated into video compression software to perform the processing described herein. An embodiment of the present invention may also be program codes to be executed on a Digital Signal Processor (DSP) to perform the processing described herein. The invention may also involve a number of functions to be performed by a computer processor, a digital signal processor, a microprocessor, or field programmable gate array (FPGA). These processors can be configured to perform particular tasks according to the invention, by executing machine-readable software code or firmware code that defines the particular methods embodied by the invention. The software code or firmware codes may be developed in different programming languages and different format or style. The software code may also be compiled for different target platform. However, different code formats, styles and languages of software codes and other means of configuring code to perform the tasks in accordance with the invention will not depart from the spirit and scope of the invention.
[0043] The invention may be embodied in other specific forms without departing from its spirit or essential characteristics. The described examples are to be considered in all respects only as illustrative and not restrictive. The scope of the invention is, therefore, indicated by the appended claims rather than by the foregoing description. All changes which come within the meaning and range of equivalency of the claims are to be embraced within their scope.

Claims

1. A method of mode decision for sample adaptive offset (SAO) compensation of processed video data using rate-distortion optimization (RDO), the method comprising:
receiving the processed video data;
identifying SAO modes;
determining distortion associated with each of the modes according to distortion reduction, wherein the distortion reduction is related to a difference between a first distortion and a second distortion, the first distortion is associated with SAO compensated signal and original signal associated with the processed video data, and the second distortion is associated with reconstructed signal and the original signal associated with the processed video data;
determining rate-distortion (RD) cost based on the distortion for said each of the modes; selecting a best mode among the modes, wherein the best mode has a smallest RD cost; and applying SAO to the processed video data according to the best mode selected.
2. The method of Claim 1, wherein the distortion reduction is related to a number of pixels for said each of the modes (iCount), an offset value to be added to the pixels belonging to said each of the modes(iOffset), and a sum of the offset value between original signal and reconstructed signal (iOffsetOrg) associated with the processed video data.
3. The method of Claim 2, wherein the distortion reduction is related to (iCount* iOffset* iOffset)-(iOffsetOrg*iOffset*2).
4. The method of Claim 1, wherein the distortion reduction for a small regions is re-used for calculating the distortion reduction for a respective large region when the modes are associated with region splitting or region merging.
5. A method of sample adaptive offset (SAO) compensation of processed video data, the method comprising:
receiving the processed video data;
determining a category for a current pixel of the processed video data according to classification, wherein the classification is related to the current pixel and one or more neighboring pixels;
compensating the current pixel using an offset value associated with the category to generated a compensated current pixel;
storing relation between the current pixel and said one or more neighboring pixels; and replacing the current pixel with the compensated current pixel within a substantially small number of pixel periods after determining the category for the current pixel.
6. The method of Claim 5, wherein at least a portion of the relation between the current pixel and said one or more neighboring pixels is used for determining a category of another pixel.
7. The method of Claim 5, wherein the relation between the current pixel and said one or more neighboring pixels is based on a sign function.
8. The method of Claim 5, wherein a look-up table is used for determining the category for the current pixel.
9. An apparatus of mode decision for sample adaptive offset (SAO) compensation of processed video data using rate-distortion optimization (RDO), the apparatus comprising:
means for receiving the processed video data;
means for identifying SAO modes;
means for determining distortion associated with each of the modes according to distortion reduction, wherein the distortion reduction is related to a difference between a first distortion and a second distortion, the first distortion is associated with SAO compensated signal and original signal associated with the processed video data, and the second distortion is associated with reconstructed signal and the original signal associated with the processed video data;
means for determining rate-distortion (RD) cost based on the distortion for said each of the modes; selecting a best mode among the modes, wherein the best mode has a smallest RD cost; and
means for applying SAO to the processed video data according to the best mode selected.
10. The apparatus of Claim 9, wherein the distortion reduction is related to a number of pixels for said each of the modes (iCount), an offset value to be added to the pixels belonging to said each of the modes(iOffset), and a sum of the offset value between original signal and reconstructed signal (iOffsetOrg) associated with the processed video data.
11. The apparatus of Claim 10, wherein the distortion reduction is related to (iCount*iOfFset*iOfFset)-(iOfTsetOrg*iOfFset*2).
12. The apparatus of Claim 9, wherein the distortion reduction for a small regions is re- used for calculating the distortion reduction for a respective large region when the modes are associated with region splitting or region merging.
13. An apparatus of sample adaptive offset (SAO) compensation of processed video data, the apparatus comprising:
means for receiving the processed video data;
means for determining a category for a current pixel of the processed video data according to classification, wherein the classification is related to the current pixel and one or more neighboring pixels;
means for compensating the current pixel using an offset value associated with the category to generated a compensated current pixel;
means for storing relation between the current pixel and said one or more neighboring pixels; and
means for replacing the current pixel with the compensated current pixel within a substantially small number of pixel periods after determining the category for the current pixel.
14. The apparatus of Claim 13, wherein at least a portion of the relation between the current pixel and said one or more neighboring pixels is used for determining a category of another pixel.
15. The apparatus of Claim 13, wherein the relation between the current pixel and said one or more neighboring pixels is based on a sign function.
16. The apparatus of Claim 13, wherein a look-up table is used for determining the category for the current pixel.
PCT/CN2011/080536 2011-01-09 2011-10-08 Apparatus and method of efficient sample adaptive offset WO2012092787A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP11855222.3A EP2661887A4 (en) 2011-01-09 2011-10-08 Apparatus and method of efficient sample adaptive offset
CN201180063977.2A CN103404137B (en) 2011-01-09 2011-10-08 The method and apparatus of effective sample adaptive equalization
JP2013535259A JP5524423B2 (en) 2011-01-09 2011-10-08 Apparatus and method for efficient sample adaptive offset

Applications Claiming Priority (12)

Application Number Priority Date Filing Date Title
US12/987,151 2011-01-09
US12/987,151 US8660174B2 (en) 2010-06-15 2011-01-09 Apparatus and method of adaptive offset for video coding
US201161432482P 2011-01-13 2011-01-13
US61/432,482 2011-01-13
US201161436296P 2011-01-26 2011-01-26
US61/436,296 2011-01-26
US201161466083P 2011-03-22 2011-03-22
US61/466,083 2011-03-22
US13/158,427 US9055305B2 (en) 2011-01-09 2011-06-12 Apparatus and method of sample adaptive offset for video coding
US13/158,427 2011-06-12
US13/177,424 2011-07-06
US13/177,424 US9161041B2 (en) 2011-01-09 2011-07-06 Apparatus and method of efficient sample adaptive offset

Publications (1)

Publication Number Publication Date
WO2012092787A1 true WO2012092787A1 (en) 2012-07-12

Family

ID=46457216

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/080536 WO2012092787A1 (en) 2011-01-09 2011-10-08 Apparatus and method of efficient sample adaptive offset

Country Status (4)

Country Link
EP (1) EP2661887A4 (en)
JP (1) JP5524423B2 (en)
CN (2) CN103404137B (en)
WO (1) WO2012092787A1 (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2496222A (en) * 2011-11-07 2013-05-08 Canon Kk Providing compensation offsets for a set of reconstructed samples of an image
JP2014516217A (en) * 2011-05-10 2014-07-07 クゥアルコム・インコーポレイテッド Offset type and coefficient signaling method for sample adaptive offset
JP2014523183A (en) * 2011-06-28 2014-09-08 サムスン エレクトロニクス カンパニー リミテッド Video encoding method and apparatus using offset adjustment by pixel classification, and video decoding method and apparatus
JP2014236348A (en) * 2013-05-31 2014-12-15 富士通株式会社 Device, method and program for moving image coding
WO2014201862A1 (en) * 2013-06-21 2014-12-24 华为技术有限公司 Image processing method and apparatus
JP2015502715A (en) * 2012-01-17 2015-01-22 ジェニップ ピーティーイー. エルティーディー. How to apply edge offset
KR20150047379A (en) * 2013-10-24 2015-05-04 삼성전자주식회사 Video encoding devic and driving method thereof
JP2015104061A (en) * 2013-11-27 2015-06-04 三菱電機株式会社 Dynamic image encoding device and dynamic image decoding device
EP3011744A4 (en) * 2013-07-15 2017-03-01 HFI Innovation Inc. Method of sample adaptive offset processing for video coding
US9787992B2 (en) 2012-07-16 2017-10-10 Samsung Electronics Co., Ltd. Video encoding method and video encoding apparatus and video decoding method and video decoding apparatus for signaling SAO parameters
US9872015B2 (en) 2011-04-21 2018-01-16 Hfi Innovation Inc. Method and apparatus for improved in-loop filtering
US10623759B2 (en) 2012-06-13 2020-04-14 Sony Corporation Decoupling enhancements in sample adaptive offset (SAO) for high efficiency video encoder (HEVC)
CN114363613A (en) * 2022-01-10 2022-04-15 北京达佳互联信息技术有限公司 Filtering method and filtering device

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104735460B (en) * 2013-12-24 2018-04-06 珠海全志科技股份有限公司 Video image samples point self-adapted migration processing method and device
WO2015098231A1 (en) * 2013-12-27 2015-07-02 ソニー株式会社 Image processing device and image processing method
KR101789954B1 (en) * 2013-12-27 2017-10-25 인텔 코포레이션 Content adaptive gain compensated prediction for next generation video coding
JP6042001B2 (en) * 2014-02-03 2016-12-14 三菱電機株式会社 Moving picture coding apparatus and moving picture coding method
CN106817583B (en) * 2015-12-02 2020-01-10 福州瑞芯微电子股份有限公司 HEVC SAO calculation method and device
CN110063057B (en) * 2016-09-20 2021-09-07 联发科技股份有限公司 Method and apparatus for sample adaptive offset processing for video coding and decoding
CN113099230B (en) * 2021-02-22 2022-09-06 浙江大华技术股份有限公司 Encoding method, encoding device, electronic equipment and computer readable storage medium
CN112927324B (en) * 2021-02-24 2022-06-03 上海哔哩哔哩科技有限公司 Data processing method and device of boundary compensation mode of sample point self-adaptive compensation

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009015553A1 (en) * 2007-07-31 2009-02-05 Peking University Founder Group Co., Ltd. A method and device selecting intra-frame predictive coding best mode for video coding
CN101640802A (en) * 2009-08-28 2010-02-03 北京工业大学 Video inter-frame compression coding method based on macroblock features and statistical properties
CN101790092A (en) * 2010-03-15 2010-07-28 河海大学常州校区 Intelligent filter designing method based on image block encoding information

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FI116819B (en) * 2000-01-21 2006-02-28 Nokia Corp Procedure for transferring images and an image encoder
US7450641B2 (en) * 2001-09-14 2008-11-11 Sharp Laboratories Of America, Inc. Adaptive filtering based upon boundary strength
KR100679026B1 (en) * 2004-07-15 2007-02-05 삼성전자주식회사 Method for temporal decomposition and inverse temporal decomposition for video coding and decoding, and video encoder and video decoder
US20070070243A1 (en) * 2005-09-28 2007-03-29 Ali Corporation Adaptive vertical temporal flitering method of de-interlacing
CN100417228C (en) * 2005-10-31 2008-09-03 连展科技(天津)有限公司 Method of selecting in frame prediction mode based on H.264/AVC standard frame image
DK2663076T3 (en) * 2009-04-20 2016-12-05 Dolby Laboratories Licensing Corp Filter Selection for video preprocessing of video applications
WO2010123862A1 (en) * 2009-04-20 2010-10-28 Dolby Laboratories Licensing Corporation Adaptive interpolation filters for multi-layered video delivery

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009015553A1 (en) * 2007-07-31 2009-02-05 Peking University Founder Group Co., Ltd. A method and device selecting intra-frame predictive coding best mode for video coding
CN101640802A (en) * 2009-08-28 2010-02-03 北京工业大学 Video inter-frame compression coding method based on macroblock features and statistical properties
CN101790092A (en) * 2010-03-15 2010-07-28 河海大学常州校区 Intelligent filter designing method based on image block encoding information

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
"CE13: Sample Adaptive Offset with LCU-Independent Decoding", JCTVC-E049, JOINT COLLABORATIVE TEAM ON VIDEO CODING (JCT-VC) OF ITU-T SG16 WP3 AND ISO/IEC JTC1/SC29/WG11, 16 March 2011 (2011-03-16)
"CE8 Subset3: Picture Quadtree Adaptive Offset", JCTVC-D122, JOINT COLLABORATIVE TEAM ON VIDEO CODING (JCT-VC) OF ITU-T SG16 WP3 AND ISO/IEC JTC1/SC29/WG11, 20 January 2011 (2011-01-20)
"Samsung's Response to the Call for Proposals on Video Compression Technology", JCTVC-A124, JOINT COLLABORATIVE TEAM ON VIDEO CODING (JCT-VC) OF ITU-T SG16 WP3 AND ISO/IEC JTC1/SC29/WG11, 15 April 2010 (2010-04-15)
See also references of EP2661887A4 *

Cited By (55)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9872015B2 (en) 2011-04-21 2018-01-16 Hfi Innovation Inc. Method and apparatus for improved in-loop filtering
US9510000B2 (en) 2011-05-10 2016-11-29 Qualcomm Incorporated Offset type and coefficients signaling method for sample adaptive offset
JP2014516217A (en) * 2011-05-10 2014-07-07 クゥアルコム・インコーポレイテッド Offset type and coefficient signaling method for sample adaptive offset
JP2017085614A (en) * 2011-05-10 2017-05-18 クゥアルコム・インコーポレイテッドQualcomm Incorporated Offset type and coefficients signaling method for sample adaptive offset
JP2016197890A (en) * 2011-06-28 2016-11-24 サムスン エレクトロニクス カンパニー リミテッド Video encoding method using offset adjustment according to pixel classification and apparatus therefor, and video decoding method and apparatus therefor
US10038911B2 (en) 2011-06-28 2018-07-31 Samsung Electronics Co., Ltd. Video encoding method using offset adjustments according to pixel classification and apparatus therefor, video decoding method and apparatus therefor
JP2014523183A (en) * 2011-06-28 2014-09-08 サムスン エレクトロニクス カンパニー リミテッド Video encoding method and apparatus using offset adjustment by pixel classification, and video decoding method and apparatus
US10542273B2 (en) 2011-06-28 2020-01-21 Samsung Electronics Co., Ltd. Video encoding method using offset adjustments according to pixel classification and apparatus therefor, video decoding method and apparatus therefor
US9426483B2 (en) 2011-06-28 2016-08-23 Samsung Electronics Co., Ltd. Video encoding method using offset adjustments according to pixel classification and apparatus therefor, video decoding method and apparatus therefor
JP2015128333A (en) * 2011-06-28 2015-07-09 サムスン エレクトロニクス カンパニー リミテッド Video encoding method using offset adjustments according to pixel classification and apparatus therefor, and video decoding method and apparatus therefor
JP2015128334A (en) * 2011-06-28 2015-07-09 サムスン エレクトロニクス カンパニー リミテッド Video encoding method using offset adjustments according to pixel classification and apparatus therefor, and video decoding method and apparatus therefor
JP2015128332A (en) * 2011-06-28 2015-07-09 サムスン エレクトロニクス カンパニー リミテッド Video encoding method using offset adjustments according to pixel classification and apparatus therefor, and video decoding method and apparatus therefor
US9462288B2 (en) 2011-06-28 2016-10-04 Samsung Electronics Co., Ltd. Video encoding method using offset adjustments according to pixel classification and apparatus therefor, video decoding method and apparatus therefor
US9438921B2 (en) 2011-06-28 2016-09-06 Samsung Electronics Co., Ltd. Video encoding method using offset adjustments according to pixel classification and apparatus therefor, video decoding method and apparatus therefor
JP2015164331A (en) * 2011-06-28 2015-09-10 サムスン エレクトロニクス カンパニー リミテッド Video encoding method using offset adjustments according to pixel classification and apparatus therefor, video decoding method and apparatus therefor
US9438922B2 (en) 2011-06-28 2016-09-06 Samsung Electronics Co., Ltd. Video encoding method using offset adjustments according to pixel classification and apparatus therefor, video decoding method and apparatus therefor
US9426482B2 (en) 2011-06-28 2016-08-23 Samsung Electronics Co., Ltd. Video encoding method using offset adjustments according to pixel classification and apparatus therefor, video decoding method and apparatus therefor
US9106931B2 (en) 2011-11-07 2015-08-11 Canon Kabushiki Kaisha Method and device for providing compensation offsets for a set of reconstructed samples of an image
GB2499983A (en) * 2011-11-07 2013-09-11 Canon Kk Providing compensation offsets for a set of reconstructed samples of an image
US9118931B2 (en) 2011-11-07 2015-08-25 Canon Kabushiki Kaisha Method and device for optimizing encoding/decoding of compensation offsets for a set of reconstructed samples of an image
GB2496222A (en) * 2011-11-07 2013-05-08 Canon Kk Providing compensation offsets for a set of reconstructed samples of an image
US10085042B2 (en) 2011-11-07 2018-09-25 Canon Kabushiki Kaisha Method, device and program for encoding and decoding a sequence of images using area-by-area loop filtering
US9503758B2 (en) 2012-01-17 2016-11-22 Infobridge Pte. Ltd. Method of applying edge offset
US9491489B2 (en) 2012-01-17 2016-11-08 Infobridge Pte. Ltd. Method of applying edge offset
US9172961B2 (en) 2012-01-17 2015-10-27 Infobridge Pte. Ltd. Method of applying edge offset
US9516348B2 (en) 2012-01-17 2016-12-06 Inforbridge Pte. Ltd. Method of applying edge offset
US9491488B2 (en) 2012-01-17 2016-11-08 Infobridge Pte. Ltd. Method of applying edge offset
JP2015502715A (en) * 2012-01-17 2015-01-22 ジェニップ ピーティーイー. エルティーディー. How to apply edge offset
US9485522B2 (en) 2012-01-17 2016-11-01 Infobridge Pte. Ltd. Method of applying edge offset
US10063859B2 (en) 2012-01-17 2018-08-28 Infobridge Pte. Ltd. Method of applying edge offset
US10750197B2 (en) 2012-06-13 2020-08-18 Sony Corporation Enhancements in sample adaptive offset (SAO) for high efficiency video encoder (HEVC)
US10623759B2 (en) 2012-06-13 2020-04-14 Sony Corporation Decoupling enhancements in sample adaptive offset (SAO) for high efficiency video encoder (HEVC)
US10021399B2 (en) 2012-07-16 2018-07-10 Samsung Electronics Co., Ltd. Video encoding method and video encoding for signaling SAO parameters
US10362313B2 (en) 2012-07-16 2019-07-23 Samsung Electronics Co., Ltd. Video encoding method and video encoding for signaling SAO parameters
CN108235036A (en) * 2012-07-16 2018-06-29 三星电子株式会社 SAO coding methods and equipment and SAO coding/decoding methods and equipment
CN108235030A (en) * 2012-07-16 2018-06-29 三星电子株式会社 SAO coding methods and equipment and SAO coding/decoding methods and equipment
RU2643658C2 (en) * 2012-07-16 2018-02-02 Самсунг Электроникс Ко., Лтд. Video encoding method and video encoding device, video decoding method and video decoding device for signalling sao parameters
CN108235030B (en) * 2012-07-16 2020-10-09 三星电子株式会社 SAO encoding method and apparatus and SAO decoding method and apparatus
CN108235036B (en) * 2012-07-16 2020-10-09 三星电子株式会社 SAO encoding method and apparatus and SAO decoding method and apparatus
RU2701080C1 (en) * 2012-07-16 2019-09-24 Самсунг Электроникс Ко., Лтд. Video encoding method and a video encoding device and a video decoding method and a video decoding device for sao parameter signaling
US9787992B2 (en) 2012-07-16 2017-10-10 Samsung Electronics Co., Ltd. Video encoding method and video encoding apparatus and video decoding method and video decoding apparatus for signaling SAO parameters
RU2675154C1 (en) * 2012-07-16 2018-12-17 Самсунг Электроникс Ко., Лтд. Video encoding method and video encoding apparatus and video decoding method and video decoding device for signaling sao parameters
US10277903B2 (en) 2012-07-16 2019-04-30 Samsung Electronics Co., Ltd. Video encoding method and video encoding for signaling SAO parameters
US10356421B2 (en) 2012-07-16 2019-07-16 Samsung Electronics Co., Ltd. Video encoding method and video encoding for signaling SAO parameters
JP2014236348A (en) * 2013-05-31 2014-12-15 富士通株式会社 Device, method and program for moving image coding
WO2014201862A1 (en) * 2013-06-21 2014-12-24 华为技术有限公司 Image processing method and apparatus
US10021427B2 (en) 2013-06-21 2018-07-10 Huawei Technologies Co., Ltd. Image processing method and apparatus
EP3011744A4 (en) * 2013-07-15 2017-03-01 HFI Innovation Inc. Method of sample adaptive offset processing for video coding
US10659817B2 (en) 2013-07-15 2020-05-19 Hfi Innovation Inc. Method of sample adaptive offset processing for video coding
JP2018082453A (en) * 2013-07-15 2018-05-24 寰發股▲ふん▼有限公司HFI Innovation Inc. Sample-adaptive offset processing method for video encoding
KR20150047379A (en) * 2013-10-24 2015-05-04 삼성전자주식회사 Video encoding devic and driving method thereof
KR102276914B1 (en) * 2013-10-24 2021-07-13 삼성전자주식회사 Video encoding devic and driving method thereof
JP2015104061A (en) * 2013-11-27 2015-06-04 三菱電機株式会社 Dynamic image encoding device and dynamic image decoding device
CN114363613A (en) * 2022-01-10 2022-04-15 北京达佳互联信息技术有限公司 Filtering method and filtering device
CN114363613B (en) * 2022-01-10 2023-11-28 北京达佳互联信息技术有限公司 Filtering method and filtering device

Also Published As

Publication number Publication date
CN103404137A (en) 2013-11-20
JP5524423B2 (en) 2014-06-18
CN103404137B (en) 2016-10-19
EP2661887A1 (en) 2013-11-13
EP2661887A4 (en) 2016-06-15
JP2013541918A (en) 2013-11-14
CN106454357A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
US9432670B2 (en) Apparatus and method of efficient sample adaptive offset
EP2661887A1 (en) Apparatus and method of efficient sample adaptive offset
US9641863B2 (en) Apparatus and method of sample adaptive offset for video coding
US9998737B2 (en) Method and apparatus of adaptive loop filtering
AU2011313735B2 (en) Method and apparatus of adaptive loop filtering
US11909965B2 (en) Method and apparatus for non-linear adaptive loop filtering in video coding
RU2783342C1 (en) Method and apparatus for nonlinear adaptive contour filtering in video encoding
AU2014200419B2 (en) Method and apparatus of adaptive loop filtering

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: 11855222

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2013535259

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2011855222

Country of ref document: EP