Flexible band offset mode in sample adaptive offset in HEVC
A Flexible Band Offset (FBO) apparatus and method of performing Sample Adaptive Offset (SAO) filtering within encoders and decoders, such as according to the High Efficiency Video Coding (HEVC) standard, and similarly configured coding devices. The number of Band Offset (BO) modes and the number of necessary offsets is reduced. The invention beneficially provides simpler coding, reduces temporary buffer size requirements, and can yield a small performance gain over existing SAO techniques of HEVC test model HM 5.
1. A decoding apparatus, comprising:
circuitry configured to:
decode a bit stream, which includes information indicating a starting band position of four consecutive bands of a band offset mode, to generate a decoded image; and
for the decoded image, apply an offset to a pixel that corresponds to one of the four consecutive bands of the band offset mode, wherein:
in the band offset mode, a corresponding offset is set for each of the four consecutive bands,
the corresponding offset is respectively applied to each of the four consecutive bands,
each of the four consecutive bands corresponds to an intensity range of corresponding pixel values, and
the four consecutive bands from a total of 32 bands are determined based on the information decoded from the bit stream.
2. The decoding apparatus according to claim 1 , wherein the circuitry is further configured to add the offset to a pixel value of the pixel that corresponds to one of the four consecutive bands.
3. The decoding apparatus according to claim 1 , wherein the circuitry is further configured to apply the offset to the pixel that corresponds to one of the four consecutive bands based on at least one of color-difference components of the decoded image.
4. The decoding apparatus according to claim 1 , wherein the circuitry is further configured to:
apply a deblocking filter on the decoded image, and
apply the offset to the pixel that corresponds to one of the four consecutive bands that correspond to the decoded image on which the deblocking filter has been applied.
5. The decoding apparatus according to claim 4 , wherein the circuitry is further configured to decode the bit stream that correspond to each of coding units that is divided based on quadtree structure.
6. The decoding apparatus according to claim 5 , wherein each of the coding units is divided into a prediction unit and a transformation unit.
7. A method for decoding a bit stream, comprising:
decoding the bit stream, which includes information indicating a starting band position of four consecutive bands of a band offset mode, to generate a decoded image; and
for the decoded image, applying an offset to a pixel that corresponds to one of the four consecutive bands of the band offset mode, wherein:
in the band offset mode, a corresponding offset is set for each of the four consecutive bands,
the corresponding offset is respectively applied to each of the four consecutive bands,
each of the four consecutive bands corresponds to an intensity range of corresponding pixel values, and
the four consecutive bands from a total of 32 bands are determined based on the information decoded from the bit stream.
8. The method according to claim 7 , further comprising adding the offset to a pixel value of the pixel that corresponds to one of the four consecutive bands.
9. The method according to claim 7 , further comprising applying the offset to the pixel that corresponds to one of the four consecutive bands based on at least one of color-difference components of the decoded image.
10. The method according to claim 7 , further comprising:
applying a deblocking filter on the decoded image; and
applying the offset to the pixel that corresponds to one of the four consecutive bands that correspond to the decoded image on which the deblocking filter has been applied.
11. The method according to claim 10 , further comprising decoding the bit stream that correspond to each of coding unit that is divided based on quadtree structure.