# US 2006/0232454 A1 · Context-based adaptive arithmetic coding and decoding methods and apparatuses with improved coding efficiency and video coding and decoding methods and apparatuses using the same

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2006/0232454 A1
- Document ID: US20060232454A1
- Status: Published application
- Kind: A1
- Application number: 11/405,573
- Filed: 2006-04-18
- Published: 2006-10-19
- Earliest claimed: 2005-04-19
- Assignees: Samsung Electronics Co., Ltd.
- Inventors: Sang-chang Cha; Woo-jin Han
- Web page: https://patentgrep.com/patent/US20060232454A1

## CPC

- H04N 19/615: using motion compensated temporal filtering [MCTF]
- H04N 19/13: Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
- H04N 19/15: by monitoring actual compressed data size at the memory before deciding storage at the transmission buffer
- H04N 19/174: the region being a slice, e.g. a line of blocks or a group of blocks
- H04N 19/187: the unit being a scalable video layer
- H04N 19/61: in combination with predictive coding
- H04N 19/63: using sub-band based transform, e.g. wavelets
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Context-based adaptive arithmetic coding and decoding methods and apparatuses with improved coding efficiency and video coding and decoding methods and apparatuses using the same are provided. The method for performing context-based adaptive arithmetic coding on a given slice in an enhancement layer frame of a video signal having a multi-layered structure includes steps of resetting a context model for the given slice to a context model for a base layer slice at the same temporal position as the given slice, arithmetically coding a data symbol of the given slice using the reset context model, and updating the context model based on the value of the arithmetically coded data symbol.

## Claims

### Claim 1

A method for performing context-based adaptive arithmetic coding on a given slice in an enhancement layer frame of a video signal comprising a multi-layered structure, the method comprising:
resetting a context model for the given slice to a context model for a base layer slice at the same temporal position as the given slice;
arithmetically coding a data symbol of the given slice using the reset context model; and
updating the context model based on a value of the arithmetically coded data symbol.

### Claim 2 (depends on 1)

The method of claim 1, further comprising binarizing the data symbol, wherein the data symbol of the given slice is the binarized data symbol.

### Claim 3 (depends on 1)

The method of claim 1, wherein the resetting of the context model for the given slice comprises:
if there is the base layer slice at the same temporal position as the given slice, resetting the context model for the given slice to the context model for the base layer slice; and
if there is no base layer slice at the same temporal position as the given slice, resetting the context model for the given slice to a context model for a slice coded temporally before the given slice.

### Claim 4 (depends on 3)

The method of claim 3, wherein the context model for the slice coded temporally before the given slice is one selected among context models for at least two slices coded temporally before the given slice.

### Claim 5 (depends on 3)

The method of claim 3, wherein the context model for the slice coded temporally before the given slice is a context model selectively comprising at least one among a plurality of probability models contained in the context model for the slice coded temporally before the given slice.

### Claim 6 (depends on 1)

The method of claim 1, wherein the base layer slice at the same temporal position as the given slice is a slice of a low-pass frame or high-pass frame in the base layer.

### Claim 7 (depends on 1)

The method of claim 1, wherein the context model for the base layer slice at the same temporal position as the given slice is a context model selectively comprising at least one among a plurality of probability models contained in the context model for the base layer slice.

### Claim 8

A method for performing context-based adaptive arithmetic decoding on a given slice in an enhancement layer frame of a video signal comprising a multi-layered structure, the method comprising:
resetting a context model for the given slice to a context model for a base layer slice at the same temporal position as the given slice;
arithmetically decoding a bitstream corresponding to the given slice using the reset context model to generate a data symbol of the given slice; and
updating the context model based on a value of the data symbol.

### Claim 9 (depends on 8)

The method of claim 8, further comprising debinarizing the data symbol.

### Claim 10 (depends on 8)

The method of claim 8, wherein the resetting of the context model for the given slice comprises:
if there is the base layer slice at the same temporal position as the given slice, resetting the context model for the given slice to the context model for the base layer slice; and
if there is no base layer slice at the same temporal position as the given slice, resetting the context model for the given slice to a context model for a slice decoded temporally before the given slice.

### Claim 11 (depends on 10)

The method of claim 10, wherein the context model for the slice decoded temporally before the given slice is one selected among context models for at least two slices decoded temporally before the given slice.

### Claim 12 (depends on 10)

The method of claim 10, wherein the context model for the slice decoded temporally before the given slice is a context model selectively comprising at least one among a plurality of probability models contained in the context model for the slice decoded temporally before the given slice.

### Claim 13 (depends on 8)

The method of claim 8, wherein the base layer slice at the same temporal position as the given slice is a slice of a low-pass frame or high-pass frame in the base layer.

### Claim 14 (depends on 8)

The method of claim 8, wherein the context model for the base layer slice at the same temporal position as the given slice is a context model selectively comprising at least one among a plurality of probability models contained in the context model for the base layer slice.

### Claim 15

A method for performing context-based adaptive arithmetic coding on a given slice in an enhancement layer frame of a video signal comprising a multi-layered structure, the method comprising:
resetting a context model for the given slice to at least one of a context model for a base layer slice at the same temporal position as the given slice, a context model for a slice coded temporally before the given slice, and a predetermined value;
arithmetically coding a data symbol of the slice using the reset context model; and
updating the context model based on a value of the arithmetically coded data symbol.

### Claim 16 (depends on 15)

The method of claim 15, further comprising binarizing the data symbol, wherein the data symbol of the given slice is the binarized data symbol.

### Claim 17 (depends on 15)

The method of claim 15, wherein the base layer slice at the same temporal position as the slice is a slice of a low-pass frame or high-pass frame in the base layer.

### Claim 18 (depends on 15)

The method of claim 15, wherein the context model for the base layer slice at the same temporal position as the given slice is a context model selectively comprising at least one among a plurality of probability models contained in the context model for the base layer slice.

### Claim 19 (depends on 15)

The method of claim 15, further comprising determining whether the data symbol is a symbol for a first block of among a plurality of blocks if the given slice comprises the plurality of blocks,
wherein if the data symbol is not the symbol for the first block, the resetting does not occur and the arithmetic coding is performed using the updated context model.

### Claim 20

A method for performing context-based adaptive arithmetic decoding on a given slice in an enhancement layer frame of a video signal comprising a multi-layered structure, the method comprising:
resetting a context model for the given slice to at least one of a context model for a base layer slice at the same temporal position as the given slice, a context model for a slice decoded temporally before the given slice, and a predetermined value;
arithmetically decoding a bitstream corresponding to the given slice using the reset context model to generate a data symbol of the given slice; and
updating the context model based on a value of the data symbol.

### Claim 21 (depends on 20)

The method of claim 20, further comprising debinarizing the data symbol, wherein the data symbol of the slice is a binarized data symbol.

### Claim 22 (depends on 20)

The method of claim 20, wherein the base layer slice at the same temporal position as the given slice is a slice of a low-pass frame or high-pass frame in the base layer.

### Claim 23 (depends on 20)

The method of claim 20, wherein the context model for the base layer slice at the same temporal position as the given slice is a context model selectively comprising at least one among a plurality of probability models contained in the context model for the base layer slice.

### Claim 24 (depends on 20)

The method of claim 20, further comprising determining whether the bitstream comprises a data symbol for a first block among a plurality of blocks if the given slice comprises the plurality of blocks,
wherein if the bitstream does not comprise the data symbol for the first block of the plurality of blocks, the resetting does not occur and the arithmetic decoding is performed using the updated context model.

### Claim 25

A video coding method comprising a method for performing context-based adaptive arithmetic coding on a given slice in an enhancement layer frame comprising a multi-layered structure, the video coding method comprising:
subtracting a predicted image for the given slice from the given slice and generating a residual image;
performing spatial transform on the residual image and generating a transform coefficient;
quantizing the transform coefficient;
resetting a context model for the given slice to a context model for a base layer slice at the same temporal position as the given slice;
arithmetically coding a data symbol of the given slice using the reset context model;
updating the context model based on a value of the arithmetically coded data symbol;
generating a bitstream comprising the arithmetically coded data symbol; and
transmitting the bitstream.

### Claim 26 (depends on 25)

The method of claim 25, further comprising binarizing the data symbol, wherein the data symbol of the given slice is the binarized data symbol.

### Claim 27 (depends on 25)

The method of claim 25, wherein the resetting of the context model for the given slice comprises:
if there is the base layer slice at the same temporal position as the given slice, resetting the context model for the given slice to the context model for the base layer slice; and
if there is no base layer slice at the same temporal position as the given slice, resetting the context model for the given slice to a context model for a slice coded temporally before the given slice.

### Claim 28 (depends on 27)

The method of claim 27, wherein the context model for the slice coded temporally before the given slice is one selected among context models for at least two slices coded temporally before the given slice.

### Claim 29 (depends on 27)

The method of claim 27, wherein the context model for the slice coded temporally before the given slice is a context model selectively comprising at least one among a plurality of probability models contained in the context model for the slice coded temporally before the given slice.

### Claim 30 (depends on 27)

The method of claim 27, wherein the bitstream comprises information about whether each of probability models constituting a context model for a slice coded temporally before the given slice has been used.

### Claim 31 (depends on 25)

The method of claim 25, wherein the base layer slice at the same temporal position as the given slice is a slice of a low-pass frame or high-pass frame in the base layer.

### Claim 32 (depends on 25)

The method of claim 25, wherein the context model for the base layer slice at the same temporal position as the given slice is a context model selectively comprising at least one among a plurality of probability models contained in the context model for the base layer slice.

### Claim 33 (depends on 25)

The method of claim 25, wherein the bitstream comprises information about whether or not each of probability models constituting a context model for the base layer slice at the same temporal position as the given slice has been used as a reference model.

### Claim 34

A video decoding method comprising a method for performing context-based adaptive arithmetic decoding on a given slice in an enhancement layer frame comprising a multi-layered structure, the video decoding method comprising:
parsing a bitstream and extracting data about the given slice to be reconstructed;
resetting a context model for the given slice to a context model for a base layer slice at the same temporal position as the given slice according to the data;
arithmetically decoding a bitstream corresponding to the given slice using the reset context model to generate a data symbol of the given slice;
updating the context model based on a value of the data symbol;
dequantizing the data symbol to generate a transform coefficient;
performing inverse spatial transform on the transform coefficient and reconstructing a residual image obtained by subtracting a predicted image from the given slice; and
adding the predicted image reconstructed by motion compensation to the reconstructed residual image and reconstructing the given slice.

### Claim 35 (depends on 34)

The method of claim 34, further comprising debinarizing the data symbol.

### Claim 36 (depends on 34)

The method of claim 34, wherein the resetting of the context model for the given slice comprises:
if there is the base layer slice at the same temporal position as the given slice, resetting the context model for the given slice to the context model for the base layer slice; and
if there is no base layer slice at the same temporal position as the given slice, resetting the context model for the given slice to a context model for a slice decoded temporally before the given slice.

### Claim 37 (depends on 36)

The method of claim 36, wherein the data comprises information about whether or not each of probability models constituting a context model for a slice coded temporally before the given slice has been used as a reference model.

### Claim 38 (depends on 34)

The method of claim 34, wherein the base layer slice at the same temporal position as the given slice is a slice of a low-pass frame or high-pass frame in the base layer.

### Claim 39 (depends on 34)

The method of claim 34, wherein the data comprises information about whether or not each of probability models constituting a context model for the base layer slice at the same temporal position as the given slice has been used as a reference model.

### Claim 40

A method for coding a given slice in an enhancement layer frame of a video signal comprising a multi-layered structure, the method comprising:
subtracting a predicted image for the given slice from the given slice and generating a residual image;
performing spatial transform on the residual image and generating a transform coefficient;
quantizing the transform coefficient;
resetting a context model for the given slice to at least one of a context model for a base layer slice at the same temporal position as the given slice, a context model for a slice coded temporally before the given slice, and a predetermined value;
arithmetically coding a data symbol of the given slice using the reset context model;
updating the context model based on a value of the arithmetically coded data symbol;
generating a bitstream comprising the arithmetically coded data symbol; and
transmitting the bitstream.

### Claim 41 (depends on 40)

The method of claim 40, further comprising binarizing the data symbol, wherein the data symbol of the given slice is the binarized data symbol.

### Claim 42 (depends on 40)

The method of claim 40, wherein the base layer slice at the same temporal position as the given slice is a slice of a low-pass frame or high-pass frame in the base layer.

### Claim 43 (depends on 40)

The method of claim 40, wherein the context model for the base layer slice at the same temporal position as the given slice is a context model selectively comprising at least one among a plurality of probability models contained in the context model for the base layer slice.

### Claim 44 (depends on 40)

The method of claim 40, wherein the bitstream comprises information about whether or not each of probability models constituting a context model for a slice coded temporally before the given slice has been used as a reference model.

### Claim 45

A method for decoding a given slice in an enhancement layer frame of a video signal comprising a multi-layered structure, the method comprising:
parsing a bitstream and extracting data about the given slice to be reconstructed;
resetting a context model for the slice to at least one of a context model for a base layer slice at the same temporal position as the given slice, a context model for a slice decoded temporally before the given slice, and a predetermined value according to the data;
arithmetically decoding a bitstream corresponding to the given slice using the reset context model to generate a data symbol of the given slice;
updating the context model based on a value of the data symbol;
dequantizing the data symbol to generate a transform coefficient;
performing inverse spatial transform on the transform coefficient to reconstruct a residual image obtained by subtracting a predicted image from the given slice; and
adding the predicted image reconstructed by motion compensation to the reconstructed residual image and reconstructing the given slice.

### Claim 46 (depends on 45)

The method of claim 45, further comprising debinarizing the data symbol, wherein the data symbol of the given slice is a binarized data symbol.

### Claim 47 (depends on 45)

The method of claim 45, wherein the base layer slice at the same temporal position as the given slice is a slice in a base layer low-pass frame.

### Claim 48 (depends on 45)

The method of claim 45, wherein the data comprises information about whether or not each of probability models constituting a context model for a slice coded temporally before the given slice has been used as a reference model.

### Claim 49

A video encoder for compressing a given slice in an enhancement layer frame comprising a multi-layered structure, the encoder comprising:
a unit which subtracts a predicted image for the given slice from the given slice and generates a residual image;
a unit which performs spatial transform on the residual image and generates a transform coefficient;
a unit which quantizes the transform coefficient;
a unit which resets a context model for the given slice to a context model for a base layer slice at the same temporal position as the given slice;
a unit which arithmetically codes a data symbol of the given slice using the reset context model;
a unit which updates the context model based on a value of the arithmetically coded data symbol;
a unit which generates a bitstream comprising the arithmetically coded data symbol; and
a unit which transmits the bitstream.

### Claim 50

A video decoder for reconstructing a given slice in an enhancement layer frame comprising a multi-layered structure, the decoder comprising:
a unit which parses a bitstream and extracts data about the given slice to be reconstructed;
a unit which resets a context model for the given slice to a context model for a base layer slice at the same temporal position as the given slice according to the data;
a unit which arithmetically decodes a bitstream corresponding to the given slice using the reset context model to generate a data symbol of the given slice;
a unit which updates the context model based on a value of the data symbol;
a unit which dequantizes the data symbol to generate a transform coefficient;
a unit which performs inverse spatial transform on the transform coefficient to reconstruct a residual image obtained by subtracting a predicted image from the given slice; and
a unit which adds the predicted image reconstructed by motion compensation to the reconstructed residual image and reconstructs the given slice.

### Claim 51

A video encoder for compressing a given slice in an enhancement layer frame comprising a multi-layered structure, the encoder comprising:
a unit which subtracts a predicted image for the given slice from the given slice and generates a residual image;
a unit which performs spatial transform on the residual image and generates a transform coefficient;
a unit which quantizes the transform coefficient;
a unit which resets a context model for the given slice to at least one of a context model for a base layer slice at the same temporal position as the given slice, a context model for a slice coded temporally before the given slice, and a predetermined value;
a unit which arithmetically codes a data symbol of the given slice using the reset context model;
a unit which updates the context model based on a value of the arithmetically coded data symbol;
a unit which generates a bitstream comprising the arithmetically coded data symbol; and
a unit which transmits the bitstream.

### Claim 52

A video decoder for reconstructing a given slice in an enhancement layer frame comprising a multi-layered structure, the decoder comprising:
a unit which parses a bitstream and extracts data about the given slice to be reconstructed;
a unit which resets a context model for the given slice to at least one of a context model for a base layer slice at the same temporal position as the given slice, a context model for a slice decoded temporally before the given slice according to the data, and a predetermined value;
a unit which arithmetically decodes a bitstream corresponding to the given slice using the reset context model to generate a data symbol of the given slice;
a unit which updates the context model based on a value of the data symbol;
a unit which dequantizes the data symbol to generate a transform coefficient;
a unit which performs inverse spatial transform on the transform coefficient to reconstruct a residual image obtained by subtracting a predicted image from the given slice; and
a unit which adds the predicted image reconstructed by motion compensation to the reconstructed residual image and reconstructs the given slice.

### Claim 53 (depends on 1)

A computer-readable recording program medium having a program for implementing the method of claim 1.

### Claim 54 (depends on 8)

A computer-readable recording program medium having a program for implementing the method of claim 8.

### Claim 55 (depends on 15)

A computer-readable recording program medium having a program for implementing the method of claim 15.

### Claim 56 (depends on 20)

A computer-readable recording program medium having a program for implementing the method of claim 20.

### Claim 57 (depends on 25)

A computer-readable recording program medium having a program for implementing the method of claim 25.

### Claim 58 (depends on 34)

A computer-readable recording program medium having a program for implementing the method of claim 34.

### Claim 59 (depends on 40)

A computer-readable recording program medium having a program for implementing the method of claim 40.

### Claim 60 (depends on 45)

A computer-readable recording program medium having a program for implementing the method of claim 45.
