Method and device for optimizing encoding/decoding of compensation offsets for a set of reconstructed samples of an image
First Claim
Patent Images
1. A method of encoding at least a part of an image comprising a plurality of samples and at least one filtering parameter, each sample comprising at least two components, the method comprising:
- encoding a first chroma component and a second chroma component of at least one sample of the image to provide at least one encoded sample;
decoding the at least one encoded sample to produce, for each said sample that is encoded and decoded, a corresponding decoded sample having components corresponding respectively to said components of the sample concerned; and
determining the at least one filtering parameter based on a difference between at least one component of the at least one sample of the image and the at least one corresponding component of the at least one corresponding decoded sample, the at least one filtering parameter being determined so as to be used as a filtering parameter for performing sample adaptive offset loop filtering on said at least one corresponding component of a decoded sample;
wherein when the sample adaptive offset loop filtering is of a first type at least one filtering parameter is determined to be used as a common filtering parameter for performing filtering on both the first and second chroma components, the common filtering parameter indicating a classification for the filtering of the first type, the first type of sample adaptive offset loop filtering being one of edge-type filtering and band-type filtering, and when the sample adaptive offset loop filtering is of a second type, different from the first type, different filtering parameters are determined to be used as dedicated filtering parameters for indicating a classification for filtering the first and second chroma components respectively, the second type of sample adaptive offset loop filtering being the other of edge-type filtering and band-type filtering.
0 Assignments
0 Petitions
Accused Products
Abstract
The present invention provides a method and a device for coding and decoding at least a part of an image comprising a plurality of samples, each sample comprising at least two components, and the encoded image comprising at least one filtering parameter. The filtering comprises using at least one filtering parameter as a common filtering parameter for filtering both the first component and the second component of a reconstructed sample.
16 Citations
18 Claims
-
1. A method of encoding at least a part of an image comprising a plurality of samples and at least one filtering parameter, each sample comprising at least two components, the method comprising:
-
encoding a first chroma component and a second chroma component of at least one sample of the image to provide at least one encoded sample; decoding the at least one encoded sample to produce, for each said sample that is encoded and decoded, a corresponding decoded sample having components corresponding respectively to said components of the sample concerned; and determining the at least one filtering parameter based on a difference between at least one component of the at least one sample of the image and the at least one corresponding component of the at least one corresponding decoded sample, the at least one filtering parameter being determined so as to be used as a filtering parameter for performing sample adaptive offset loop filtering on said at least one corresponding component of a decoded sample; wherein when the sample adaptive offset loop filtering is of a first type at least one filtering parameter is determined to be used as a common filtering parameter for performing filtering on both the first and second chroma components, the common filtering parameter indicating a classification for the filtering of the first type, the first type of sample adaptive offset loop filtering being one of edge-type filtering and band-type filtering, and when the sample adaptive offset loop filtering is of a second type, different from the first type, different filtering parameters are determined to be used as dedicated filtering parameters for indicating a classification for filtering the first and second chroma components respectively, the second type of sample adaptive offset loop filtering being the other of edge-type filtering and band-type filtering. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method of decoding at least a part of an image comprising a plurality of samples and at least one filtering parameter, each sample comprising at least two components, the method comprising:
-
decoding a first chroma component and a second chroma component of at least one encoded sample to provide a first chroma component and a second chroma component of at least one reconstructed sample; decoding the at least one filtering parameter; and performing sample adaptive offset loop filtering on the at least one reconstructed sample, wherein when the sample adaptive offset loop filtering is of a first type at least one decoded filtering parameter is used as a common filtering parameter for performing filtering of the first type on both the first chroma component and the second chroma component of the at least one reconstructed sample, the common filtering parameter indicating a classification for the filtering of the first type, the first type of sample adaptive offset loop filtering being one of edge-type filtering and band-type filtering, and when the sample adaptive offset loop filtering is of a second type, different from the first type, different decoded filtering parameters are used as dedicated filtering parameters for indicating a classification for filtering the first and second chroma components respectively, the second type of sample adaptive offset loop filtering being the other of edge-type filtering and band-type filtering. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A non-transitory computer-readable storage medium storing instructions of a computer program for implementing a method of encoding at least a part of an image comprising a plurality of samples and at least one filtering parameter, each sample comprising at least two components, the method comprising:
-
encoding a first chroma component and a second chroma component of at least one sample of the image to provide at least one encoded sample; decoding the at least one encoded sample to produce, for each said sample that is encoded and decoded, a corresponding decoded sample having components corresponding respectively to said components of the sample concerned; and determining the at least one filtering parameter based on a difference between at least one component of the at least one sample of the image and the at least one corresponding component of the at least one corresponding decoded sample, the at least one filtering parameter being determined so as to be used as a filtering parameter for performing sample adaptive offset loop filtering on said at least one corresponding component of a decoded sample; wherein the sample adaptive offset loop filtering is of a first type at least one filtering parameter is determined to be used as a common filtering parameter for performing filtering on both the first and second chroma components, the common filtering parameter indicating a classification for the filtering of the first type, the first type of sample adaptive offset loop filtering being one of edge-type filtering and band-type filtering, and when the sample adaptive offset loop filtering is of a second type, different from the first type, different filtering parameters are determined to be used as dedicated filtering parameters for indicating a classification for filtering the first and second chroma components respectively, the second type of sample adaptive offset loop filtering being the other of edge-type filtering and band-type filtering.
-
-
12. A non-transitory computer-readable storage medium storing instructions of a computer program for implementing a method of decoding at least a part of an image comprising a plurality of samples and at least one filtering parameter, each sample comprising at least two components, the method comprising:
-
decoding a first chroma component and a second chroma component of at least one encoded sample to provide a first chroma component and a second chroma component of at least one reconstructed sample; decoding the at least one filtering parameter; and performing sample adaptive offset loop filtering on the at least one reconstructed sample, wherein when the sample adaptive offset loop filtering is of a first type at least one decoded filtering parameter is used as a common filtering parameter for performing filtering of the first type on both the first chroma component and the second chroma component of the at least one reconstructed sample, the common filtering parameter indicating a classification for the filtering of the first type, the first type of sample adaptive offset loop filtering being one of edge-type filtering and band-type filtering, and when the sample adaptive offset loop filtering is of a second type, different from the first type, different decoded filtering parameters are used as dedicated filtering parameters for indicating a classification for filtering the first and second chroma components respectively, the second type of sample adaptive offset loop filtering being the other of edge-type filtering and band-type filtering.
-
-
13. An encoding device for encoding at least a part of an image comprising a plurality of samples and at least one filtering parameter, each sample comprising at least two components, the encoding device comprising:
-
an encoding unit which encodes a first chroma component and a second chroma component of at least one sample of the image to provide at least one encoded sample; a decoding unit which decodes the at least one encoded sample to produce, for each said sample that is encoded and decoded, a corresponding decoded sample having components corresponding respectively to said components of the sample concerned; and a determining unit which determines the at least one filtering parameter based on a difference between at least one component of the at least one sample of the image and the at least one corresponding component of the at least one corresponding decoded sample, the at least one filtering parameter being determined so as to be used as a filtering parameter for performing sample adaptive offset loop filtering on said at least one corresponding component of a decoded sample; wherein the determining unit is operable, when the sample adaptive offset loop filtering is of a first type, to determine at least one filtering parameter to be used as a common filtering parameter for performing filtering of the first type on both the first and second chroma components, the common filtering parameter indicating a classification for the filtering of the first type, the first type of sample adaptive offset loop filtering being one of edge-type filtering and band-type filtering, and is further operable, when the sample adaptive offset loop filtering is of a second type, different from the first type, to determine different filtering parameters to be used as dedicated filtering parameters for indicating a classification for filtering the first and second chroma components respectively, the second type of sample adaptive offset loop filtering being the other of edge-type filtering and band-type filtering.
-
-
14. A decoding device for decoding at least a part of an image comprising a plurality of samples and at least one filtering parameter, each sample comprising at least two components, the decoding device comprising:
-
a sample decoding unit which decodes a first chroma component and a second chroma component of at least one encoded sample to provide a first chroma component and a second chroma component of at least one reconstructed sample; a parameter decoding unit which decodes the at least one filtering parameter; and a filtering unit which performs sample adaptive offset loop filtering on the at least one reconstructed sample; wherein the filtering unit is operable, when the sample adaptive offset loop filtering is of a first type, to use at least one decoded filtering parameter as a common filtering parameter for performing filtering of the first type on both the first and second chroma components, the common filtering parameter indicating a classification for the filtering of the first type, the first type of sample adaptive offset loop filtering being one of edge-type filtering and band-type filtering, and is further operable, when the sample adaptive offset loop filtering is of a second type, different from the first type, to use different decoded filtering parameters as dedicated filtering parameters for indicating a classification for filtering the first and second chroma components respectively, the second type of sample adaptive offset loop filtering being the other of edge-type filtering and band-type filtering. - View Dependent Claims (15, 16, 17, 18)
-
Specification