IP Library Granted Patent US 9,866,833
Granted Patent B2
US 9,866,833 · App. 15/293,078 · Granted Jan 9, 2018

Offset decoding device, offset coding device, image filtering device

Inventors: Takanori Yamazaki (Osaka, JP); Tomohiro Ikai (Osaka, JP); Tomoyuki Yamamoto (Osaka, JP); Yukinobu Yasugi (Osaka, JP)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
H04N19/117H04N19/14H04N19/182H04N19/184H04N19/44H04N19/463H04N19/70H04N19/82H04N19/96
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,866,833
App. No.
15/293,078
Granted
Jan 9, 2018
Kind
B2
Abstract

An adaptive offset filter ( 60 ) adds an offset to the pixel value of each pixel forming an input image. The adaptive offset filter ( 60 ) refers to offset-type specifying information, sets offset attributes for a subject unit area of the input image, decodes an offset having a bit width corresponding to an offset value range included in the set offset attributes, and adds the offset to the pixel value of each pixel forming the input image.

Claims (41)

1. An image filtering device, comprising:

an offset attribute setting unit, configured to set an offset value range in accordance with a bit depth of pixel values of pixels forming an input image, wherein the bit depth of pixel values of pixels forming the input image is obtained from coded data;

an offset decoding unit, configured to decode an offset value which is restricted to the set offset value range, wherein the offset attribute setting unit is configured to set an offset bit depth of the offset value to be equal to the bit depth of the pixel values in a case in which the bit depth of the pixel values is ten or smaller, and the offset attribute setting unit is configured to set the offset bit depth of the offset value to be ten in a case in which the bit depth of the pixel values is eleven or greater;

wherein the offset attribute setting unit is configured to set a maximum bit length representing the offset value range to be (the offset bit depth-K) or smaller, wherein the offset value range is determined to be (−2 (the offset bit depth-K-1) ) to (2 (the offset bit depth-K-1) −1), and K is an integer greater than 0; and

a filtering unit, configured to add the offset value to a pixel value of a pixel included in the input image which is constituted by a plurality of unit areas when the bit depth of the pixel values is ten or smaller; or left-shift the offset value according to a shift value when the bit depth of the pixel values is eleven or greater, and add left-shifted offset value to a pixel value of a pixel included in the input image which is constituted by a plurality of unit areas, wherein the shift value is set to be (bit depth of the pixel value minus offset bit depth of the offset value).

2. The image filtering device according to claim 1 , wherein a value of K is equal to 4.

3. An image filtering method, comprising:

setting, by a Sample Adaptive Offset (SAO) filter, an offset value range in accordance with a bit depth of pixel values of pixels forming an input image, wherein the bit depth of the pixel values of pixels forming the input image is obtained from coded data;

decoding, by a decoder, an offset value which is restricted to the set offset value range, wherein an offset bit depth of the offset value is set by the SAO filter to be equal to the bit depth of the pixel values in a case in which the bit depth of the pixel values is ten or smaller, and the offset bit depth of the offset value is set by the SAO filter to be ten in a case in which the bit depth of the pixel values is eleven or greater; and, wherein a maximum bit length representing the offset value range is set by the SAO filter to be (the offset bit depth-K) or smaller, wherein the offset value range is determined to be (−2 (the offset bit depth-K-1) ) to (2 (the offset bit depth-K-1) −1), and K is an integer greater than 0;

adding by the SAO filter, the offset value to a pixel value of a pixel included in the input image which is constituted by a plurality of unit areas when the bit depth of the pixel values is ten or smaller; or left-shifting the offset value by the SAO filter according to a shift value when the bit depth of the pixel values is eleven or greater and adding by the SAO filter the left-shifted offset value to a pixel value of a pixel included in the input image which is constituted by a plurality of unit areas, wherein the shift value is set to be (bit depth of the pixel value minus offset bit depth of the offset value).

4. The image filtering method according to claim 3 , wherein a value of K is equal to 4.

5. An image filtering device comprising:

a non-transitory memory having processor-executable instructions stored thereon; and

a processor in communication with the non-transitory memory, the processor being configured to execute the processor-executable instructions stored in the non-transitory memory for:

setting an offset value range in accordance with a bit depth of pixel values of pixels forming an input image, wherein the a bit depth of the pixel values of the pixels forming the input image is obtained from coded data;

decoding an offset value which is restricted to the set offset value range, wherein an offset bit depth of the offset value is set to be equal to the bit depth of the pixel values in a case in which the bit depth of the pixel values is ten or smaller, and the offset bit depth of the offset value is set to be ten in a case in which the bit depth of the pixel values is eleven or greater; and, wherein a maximum bit length representing the offset value range is set by the SAO filter to be (the offset bit depth-K) or smaller, wherein the offset value range is determined to be (−2 (the offset bit depth-K-1) ) to (2 (the offset bit depth-K-1) −1), and K is an integer greater than 0; and

adding the offset value to a pixel value of a pixel included in the input image which is constituted by a plurality of unit areas when the bit depth of the pixel values is ten or smaller; or left-shifting the offset value according to a shift value when the bit depth of the pixel values is eleven or greater, and adding left-shifted offset value to a pixel value of a pixel included in the input image which is constituted by a plurality of unit areas, wherein the shift value is set to be (bit depth of the pixel value minus offset bit depth of the offset value).

6. The image filtering device according to claim 5 , wherein a value of K is equal to 4.

7. An image filtering device, comprising:

an offset attribute setting unit, configured to set an offset value range in accordance with a bit depth of pixel values of pixels forming an input image, wherein the bit depth of pixel values of pixels forming the input image is obtained from coded data, and the input image is decoded from the coded data;

an offset decoding unit, configured to decode an offset value which is restricted to the set offset value range; and

a filtering unit, configured to add the offset value to a pixel value of a pixel included in the input image which is constituted by a plurality of unit areas;

wherein the offset attribute setting unit is configured to set an offset bit depth of the offset value to be equal to the bit depth of the pixel values in a case in which the bit depth of the pixel values is ten or smaller, and the offset attribute setting unit is configured to set the offset bit depth of the offset value to be ten in a case in which the bit depth of the pixel values is eleven or greater;

wherein the offset attribute setting unit is configured to set a maximum bit length representing the offset value range to be (the offset bit depth-K) or smaller, wherein the offset value range is determined to be (−2 (the offset bit depth-K-1) ) to (2 (the offset bit depth-K-1) −1), and K is an integer greater than 0.

8. The image filtering device according to claim 7 , wherein a value of K is equal to 4.

9. An image filtering method, comprising:

setting, by a Sample Adaptive Offset (SAO) filter, an offset value range in accordance with a bit depth of pixel values of pixels forming an input image, wherein the bit depth of the pixel values of pixels forming the input image is obtained from coded data, and the input image is decoded from the coded data;

decoding, by a decoder, an offset value which is restricted to the set offset value range; and

adding, by the SAO filter, the offset value to a pixel value of a pixel included in the input image which is constituted by a plurality of unit areas;

wherein an offset bit depth of the offset value is set by the SAO filter to be equal to the bit depth of the pixel values in a case in which the bit depth of the pixel values is ten or smaller, and the offset bit depth of the offset value is set by the SAO filter to be ten in a case in which the bit depth of the pixel values is eleven or greater; and

wherein the maximum bit length representing the offset value range is set by the SAO filter to be (the offset bit depth-K) or smaller, wherein the offset value range is determined to be (−2 (the offset bit depth-K-1) ) to (2 (the offset bit depth-K-1) −1), and K is an integer greater than 0.

10. The image filtering device method according to claim 9 , wherein a value of K is equal to 4.

11. An image filtering device comprising:

a non-transitory memory having processor-executable instructions stored thereon; and

a processor in communication with the non-transitory memory, the processor being configured to execute the processor-executable instructions stored in the non-transitory memory for:

setting an offset value range in accordance with a bit depth of pixel values of pixels forming an input image, wherein the a bit depth of the pixel values of the pixels forming the input image is obtained from coded data, and the input image is decoded from the coded data;

decoding an offset value which is restricted to the set offset value range; and

adding the offset value to a pixel value of a pixel included in the input image which is constituted by a plurality of unit areas;

wherein an offset bit depth of the offset value is set to be equal to the bit depth of the pixel values in a case in which the bit depth of the pixel values is ten or smaller, and the offset bit depth of the offset value is set to be ten in a case in which the bit depth of the pixel values is eleven or greater; and

wherein the maximum bit length representing the offset value range is set to be (the offset bit depth-K) or smaller, wherein the offset value range is determined to be (−2 (the offset bit depth-K-1) ) to (2 (the offset bit depth-K-1) −1), and K is an integer greater than 0.

12. The image filtering device according to claim 11 , wherein a value of K is equal to 4.

Priority Claims (2)
JP 2011-139961 · Jun 23, 2011 · national
JP 2011-215476 · Sep 29, 2011 · national
Continuity (2)
Continuation 14127889
Related Publication 20170034511A1 · Feb 2, 2017