Method and apparatus for predicting and restoring a video signal using palette entry
AssigneeKt Corporation
InventorsBae Keun Lee, Joo Young Kim
Life of this patent
Estimating the term…
Abstract
Provided is a method for decoding a video signal. Such a method may include constructing a palette map for a current block encoded in a palette mode, the palette map comprising at least one palette entry and a map index that identifies the palette entry, deriving a palette index of the current block on a sample-by-sample basis, and reconstructing a current sample based on an escape mode if a value of the palette index relating to the current sample of the current block is equal to the number of palette entries constituting the palette map of the current block, wherein the escape mode is a method of restoring a sample value based on a signaled palette escape value, without using a palette entry of the constructed palette map.
Claims4
A method of decoding a video signal, the method comprising:
- constructing a palette map for a current block encoded in a palette mode, the palette map comprising at least one palette entry and a map index that identifies the palette entry;
- deriving a palette index of the current block on a sample-by-sample basis;
- and
- reconstructing a current sample of the current block by using a palette entry having a map index of the same value as the derived palette index from the palette map, or reconstructing a current sample based on an escape mode if a value of the palette index relating to the current sample of the current block is equal to the number of palette entries constituting the palette map of the current block,
- wherein the escape mode is a method of restoring a sample value based on a signaled palette escape value, without using a palette entry of the constructed palette map,
- wherein the palette entry comprises at least one of a predicted palette entry and a signaled palette entry, the predicted palette entry means a palette entry reused in the current block among palette entries included in a palette map of a previous block, and the signaled palette entry indicates a palette entry not included in the palette map of the previous block among the palette entries used by the current block,
- wherein the predicted palette entry is derived from information about palette entry run, the information about palette entry run is used to determine a number of zeros that precede a non-zero entry in palette entries in the previous block,
- wherein when a number of the predicted palette entry is smaller than a maximum number of palette entry, the signaled palette entry is derived,
- wherein the palette index is derived using at least one of an index mode or a copy mode, the index mode is a method of deriving a palette index based on information about palette index run, and the copy mode is a method of deriving a palette index of the current sample using a palette index of a neighboring sample,
- wherein when at least one sample of the current block uses the index mode, the palette index is derived using the information about palette index run indicating the number of consecutive sample locations with same palette index, and
- wherein a value of the palette index run is entropy encoded selected from one of two encoded types based on a number of bits used,
- as a first encoded type, a value of the palette index run is derived from a single encoded element that represents the value of the palette index run as is,
- as a second encoded type, a value of the palette index run is derived from two encoded elements that represent a most significant bit (MSB) value as is and refinement bits as is of the value of the palette index run.
A method of encoding a video signal, the method comprising:
- constructing a palette map for a current block encoded in a palette mode, the palette map comprising at least one palette entry and a map index that identifies the palette entry;
- deriving a palette index of the current block on a sample-by-sample basis;
- and
- reconstructing a current sample of the current block by using a palette entry having a map index of the same value as the derived palette index from the palette map, or reconstructing a current sample based on an escape mode if a value of the palette index relating to the current sample of the current block is equal to the number of palette entries constituting the palette map of the current block,
- wherein the escape mode is a method of restoring a sample value based on a signaled palette escape value, without using a palette entry of the constructed palette map,
- wherein the palette entry comprises at least one of a predicted palette entry and a signaled palette entry, the predicted palette entry means a palette entry reused in the current block among palette entries included in a palette map of a previous block, and the signaled palette entry indicates a palette entry not included in the palette map of the previous block among the palette entries used by the current block,
- wherein the predicted palette entry is derived from information about palette entry run, the information about palette entry run is signaled to determine a number of zeros that precede a non-zero entry in palette entries in the previous block,
- wherein when a number of the predicted palette entry is smaller than a maximum number of palette entry, the signaled palette entry is signaled,
- wherein the palette index is derived using at least one of an index mode or a copy mode, the index mode is a method of deriving a palette index based on information about palette index run, and the copy mode is a method of deriving a palette index of the current sample using a palette index of a neighboring sample,
- wherein when at least one sample of the current block uses the index mode, the information about palette index run is encoded to indicate the number of consecutive sample locations with same palette index, and
- wherein a value of the palette index run is encoded selected from one of two encoded types based on a number of bits to use,
- as a first encoded type, a value of the palette index run is encoded to a single encoded element that represents the value of the palette index run as is,
- as a second encoded type, a value of the palette index run is encoded to two encoded elements that represent a most significant bit (MSB) value as is and refinement bits as is of the value of the palette index run.
Dependencies are inferred from the claim text.