Data encoding and decoding
Abstract
A data encoding method comprises generating one or more encoding parameters; communicating the one or more encoding parameters for use by a decoding process; and encoding data items representing image data samples of an image by generating residual data indicative of a difference between an image data sample and a predicted version of that image data sample, the encoding step performing the encoding in dependence upon the one or more encoding parameters generated by the generating step; in which the generating step comprises deriving an estimate of the residual data in respect of at least a subset of the image data samples and generating the one or more encoding parameters in dependence upon the derived estimate.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 0.
Claims (18 — 3 Independent, 15 Dependent)
- Claim 1Independent Claim
A data encoding method comprising: generating one or more encoding parameters; communicating the one or more encoding parameters for use by a decoding process; and encoding data items representing image data samples of an image by generating residual data indicative of a difference between an image data sample and a predicted version of that image data sample, the encoding step performing the encoding in dependence upon the one or more encoding parameters generated by the generating step, wherein the generating step comprises deriving an estimate of the residual data in respect of a set of the image data samples and generating the one or more encoding parameters in dependence upon the estimated residual data, the generating step comprises generating a cumulative frequency distribution of data indicative of the estimated residual data for the set of the image data samples and deriving the one or more encoding parameters in dependence upon the cumulative frequency distribution, and the generating the cumulative frequency distribution comprises applying an adjustment to the estimated residual data to generate the data indicative of the estimated residual data, the adjustment depending on at least a quantisation parameter applicable to the set of the image data samples.
- Claim 2Depends on #1
The method of claim 1, wherein the deriving, in respect of a given image data sample, comprises: comparing the given image data sample with another image data sample at a predetermined image location relative to the given image data sample, and deriving the estimate of the residual data for the given image data sample in dependence upon a difference between the given image data sample and the other image data sample.
- Claim 3Depends on #2
The method of claim 2, wherein the deriving step comprises: comparing the given image data sample with two or more other image data samples at different, predetermined respective image locations relative to the given image data sample, and deriving the estimate of the residual data for the given image data sample in dependence upon a smallest respective difference between the given image data sample and the two or more other image data samples.
- Claim 4Depends on #1
The method of claim 1, wherein the deriving, in respect of a given image data sample, comprises: comparing the given image data sample with a value derived as a predetermined combination of two or more other image data samples at predetermined respective image locations relative to the given image data sample, and deriving the estimate of the residual data for the given image data sample in dependence upon a difference between the given image data sample and the value derived as the predetermined combination.
- Claim 5Depends on #1
The method of claim 1, wherein the generating step comprises detecting a value, with respect to the data indicative of the estimated residual data, the value being such that the data indicative of the estimated residual data lies below that value for a given proportion of the set of image data samples.
- Claim 6Depends on #1
The method of claim 1, wherein the adjustment depends on at least a bit depth applicable to the set of image data samples.
- Claim 7Depends on #1
The method of claim 1, wherein the encoding step comprises: encoding a given image data sample using a series of one or more data sets, each data set representing a respective range of values of the image data samples, the series of one or more data sets comprising at least a significance indicator to indicate whether or not the given image data sample has a value of at least a first threshold value; and for at least some of the image data samples, selecting the first threshold value to be greater than 1, and the one or more encoding parameters are indicative of at least the first threshold value.
- Claim 8Depends on #7
The method of claim 7, wherein the one or more data sets comprise: a significance data set comprising the significance indicator; and zero or more further data sets selected from the list consisting of: one or more greater-than-m data sets indicating whether a given image data sample is greater than a respective value of m, m being greater than the first threshold value; and a parity data set indicating a value of a least significant bit of an image data sample.
- Claim 9Depends on #1
The method of claim 1, wherein the encoding step comprises, for a p-bit image data sample: encoding a first portion of the image data sample by a first encoding technique; and encoding a second portion of the image data sample by a second encoding technique, the first encoding technique is different to the second encoding technique, and at least one of the first and second encoding techniques is defined at least in part by the one or more encoding parameters.
- Claim 10Depends on #9
The method of claim 9, wherein at least one of the first and second encoding techniques comprises Rice coding defined at least in part by a Rice parameter dependent upon the one or more encoding parameters.
- Claim 11Depends on #10
The method of claim 10, wherein the encoding step comprises selectively applying a frequency transform or applying a transform skip process, and the image data samples are image data samples to which the transform skip process has been applied.
- Claim 12Depends on #1
The method of claim 1, wherein the encoding step comprises encoding the image data samples as a plurality of blocks and encoding, for a given block, data indicative of a location within that block of an image data sample having a predetermined property, and the generating step comprises generating an origin indicator to indicate an origin to be used, with respect to the plurality of blocks, to generate the data indicative of the location within the blocks.
- Claim 13Depends on #12
The method of claim 12, wherein the encoding step comprises processing samples within the blocks according to a predetermined processing order, and; the data indicative of a location within that block of an image data sample having the predetermined property comprises data indicative of a location within that block of a first image data sample in the predetermined processing order having a value in a given range of values.
- Claim 14Depends on #12
The method of claim 12, wherein the origin indicator is indicative of a top-left origin or a bottom-right origin.
- Claim 15Depends on #12
The method of claim 12, wherein the generating the origin indicator comprises: generating an occupancy prediction indicative of a prediction of a proportion of blocks having at least a threshold proportion of data values to be encoded in response to a distribution of values of the estimate of the residual data.
- Claim 16Independent Claim
A non-transitory machine-readable storage medium which stores computer software which, when executed by a computer, causes the computer to perform a method, the method comprising: generating one or more encoding parameters; communicating the one or more encoding parameters for use by a decoding process; and encoding data items representing image data samples of an image by generating residual data indicative of a difference between an image data sample and a predicted version of that image data sample, the encoding step performing the encoding in dependence upon the one or more encoding parameters generated by the generating step, wherein the generating step comprises deriving an estimate of the residual data in respect of a set of the image data samples and generating the one or more encoding parameters in dependence upon the estimated residual data, the generating step comprises generating a cumulative frequency distribution of data indicative of the estimated residual data for the set of the image data samples and deriving the one or more encoding parameters in dependence upon the cumulative frequency distribution, and the generating the cumulative frequency distribution comprises applying an adjustment to the estimated residual data to generate the data indicative of the estimated residual data, the adjustment depending on at least a quantisation parameter applicable to the set of the image data samples.
- Claim 17Independent Claim
An apparatus comprising: parameter generator circuitry configured to generate one or more encoding parameters; communication circuitry configured to communicate the one or more encoding parameters for use by a decoding process; and encoder circuitry configured to encode data items representing image data samples of an image by generating residual data indicative of a difference between an image data sample and a predicted version of that image data sample, the encoder circuitry being configured to perform the encoding in dependence upon the one or more encoding parameters generated by the parameter generator circuitry, wherein the parameter generator circuitry is configured to derive an estimate of the residual data in respect of at least a set of the image data samples and to generate the one or more encoding parameters in dependence upon the estimated residual data, the parameter generator circuitry is configured to generate a cumulative frequency distribution of data indicative of the estimated residual data for the set of the image data samples and deriving the one or more encoding parameters in dependence upon the cumulative frequency distribution, and the generating the cumulative frequency distribution comprises applying an adjustment to the estimated residual data to generate the data indicative of the estimated residual data, the adjustment depending on at least a quantisation parameter applicable to the set of the image data samples.
- Claim 18Depends on #17
The apparatus of claim 17, wherein the apparatus is a video data capture apparatus, a transmission apparatus, a display apparatus, and/or a storage apparatus.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS The present application is based on PCT filing PCT/GB2022/051567, filed Jun. 20, 2022, which claims priority from GB 2109461.0, filed Jun. 30, 2021, the entire contents of each are incorporated herein by reference. BACKGROUND Field This disclosure relates to data encoding and decoding. Description of Related Art The “ background ” description provided herein is for the purpose of generally presenting the context of the disclosure. Work of the presently named inventors, to the extent it is described in this background section, as well as aspects of the description which may not otherwise qualify as prior art at the time of filing, is neither expressly or impliedly admitted as prior art against the present disclosure. There are several systems, such as video or image data encoding and decoding systems which involve transforming video data into a frequency domain representation, quantising the frequency domain coefficients and then applying some form of entropy encoding to the quantised coefficients. This can achieve compression of the video data. A corresponding decoding or decompression technique is applied to recover a reconstructed version of the original video data. In some examples, the entropy encoding process can involve generating one or more “ data sets ” (such as a significance map, a greater than one map, a greater than two map and/or other data sets) to describe a block of coefficients, with any excess values which cannot be encoded by the significance maps alone being encoded as so-called escape values. The coding of an escape value can (in some examples) be performed by generating a first portion (for example, a unary or truncated unary coded portion such as a prefix) and a non-unary coded second portion (such as a suffix) having a length, in bits, dependent upon a second portion size value. SUMMARY The present disclosure addresses or mitigates problems arising from this processing. The present disclosure provides
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (17)
Non-Patent Literature (10)
- Zhao, Juanping translation of WO 2022206166 Jan. 28, 2022 (Year: 2022).
- Young, Joseph translation of CN 110679148 Jul. 16, 2018 (Year: 2018).
- Liu, Kai translation of CN 109151482 Oct. 29, 2018 (Year: 2018).
- Takahashi Yuji translation of DE 60106702 Aug. 28, 2001 (Year: 2001).
- Zhou, Tian-yang translation of CN 110545430 May 28, 2018 (Year: 2018).
- Vivienne Sze et al.,
- “
- High Efficiency Video Coding (HEVC): algorithms and Architecture
- ”
- , Chapter 3, Integrated Circuits and Systems, DOI10.1007/978-3-319-06895-4_3, Switzerland 2014.