WO2016122251A1 - 비디오 신호 처리 방법 및 장치 - Google Patents
비디오 신호 처리 방법 및 장치 Download PDFInfo
- Publication number
- WO2016122251A1 WO2016122251A1 PCT/KR2016/001007 KR2016001007W WO2016122251A1 WO 2016122251 A1 WO2016122251 A1 WO 2016122251A1 KR 2016001007 W KR2016001007 W KR 2016001007W WO 2016122251 A1 WO2016122251 A1 WO 2016122251A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- palette
- current block
- entry
- map
- block
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/593—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/001—Texturing; Colouring; Generation of texture or colour
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/103—Selection of coding mode or of prediction mode
- H04N19/105—Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/129—Scanning of coding units, e.g. zig-zag scan of transform coefficients or flexible macroblock ordering [FMO]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/176—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/44—Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/46—Embedding additional information in the video signal during the compression process
- H04N19/463—Embedding additional information in the video signal during the compression process by compressing encoding parameters before transmission
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/70—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/85—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
- H04N19/86—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving reduction of coding artifacts, e.g. of blockiness
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/90—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
- H04N19/93—Run-length coding
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/147—Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
- G06F3/1475—Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels with conversion of CRT control signals to flat panel control signals, e.g. adapting the palette memory
Definitions
- the present invention relates to a video signal processing method and apparatus.
- High efficiency image compression techniques can be used to solve these problems caused by high resolution and high quality image data.
- An inter-screen prediction technique for predicting pixel values included in the current picture from a picture before or after the current picture using an image compression technique an intra prediction technique for predicting pixel values included in a current picture using pixel information in the current picture
- An object of the present invention is to provide a method and apparatus for predicting or reconstructing a palette mode based on a palette mode in encoding / decoding a video signal.
- An object of the present invention is to provide a method and apparatus for constructing a palette map of an encoding / decoding target block in encoding / decoding a video signal.
- An object of the present invention is to provide a method and apparatus for deriving a palette index of an encoding / decoding target block in encoding / decoding a video signal.
- the video signal decoding method obtains at least one palette entry of a current block from a palette map of a previous block and extracts the palette map of the current block including the obtained palette entry. And a palette index in a sample unit of the current block, and restore the current block by using the palette map of the current block and the palette index.
- the palette entry of the current block is determined based on a reuse flag (PredictorPaletteEntryReuseFlag) indicating whether a palette entry belonging to the palette map of the previous block is reused as the palette entry of the current block. Can be.
- a reuse flag PredictorPaletteEntryReuseFlag
- the reuse flag may be derived based on a palette prediction run signaled from a bitstream.
- the palette prediction run may be coded information for specifying the number of reuse flags that are 0 existing between non-use reuse flags.
- the step of obtaining the palette entry of the current block from the palette map of the previous block may be ended.
- the video signal decoding apparatus obtains at least one palette entry of a current block from a palette map of a previous block, and extracts the palette map of the current block including the obtained palette entry. And a predictor for deriving a palette index on a sample basis of the current block and reconstructing the current block by using the palette map of the current block and the palette index.
- the palette entry of the current block is determined based on a reuse flag (PredictorPaletteEntryReuseFlag) indicating whether a palette entry belonging to the palette map of the previous block is reused as the palette entry of the current block. Can be.
- a reuse flag PredictorPaletteEntryReuseFlag
- the prediction unit may derive the reuse flag based on a palette prediction run signaled from a bitstream.
- the palette prediction run may be coded information for specifying the number of reuse flags that are zeros existing between non-reuse flags.
- the prediction unit may end obtaining the palette entry of the current block from the palette map of the previous block.
- the video signal encoding method obtains at least one palette entry of a current block from a palette map of a previous block and extracts the palette map of the current block including the obtained palette entry.
- the palette index may be determined in a sample unit of the current block, and the current block may be restored using the palette map of the current block and the palette index.
- the palette entry of the current block is determined based on a reuse flag (PredictorPaletteEntryReuseFlag) indicating whether the palette entry belonging to the palette map of the previous block is reused as the palette entry of the current block. Can be.
- a reuse flag PredictorPaletteEntryReuseFlag
- the reuse flag may be derived based on an encoded palette prediction run (pallete_predictor_run).
- the palette prediction run may be encoded by adding 1 to the number of reuse flags that are 0 existing between reuse flags other than zero.
- the step of obtaining the palette entry of the current block from the palette map of the previous block may be ended.
- the video signal encoding apparatus obtains at least one palette entry of a current block from a palette map of a previous block and generates a palette map of the current block including the obtained palette entry. And a predictor for deriving a palette index on a sample basis of the current block and reconstructing the current block by using the palette map of the current block and the palette index.
- the palette entry of the current block is determined based on a reuse flag (PredictorPaletteEntryReuseFlag) indicating whether a palette entry belonging to the palette map of the previous block is reused as the palette entry of the current block. Can be.
- a reuse flag PredictorPaletteEntryReuseFlag
- the prediction unit may induce the reuse flag based on an encoded palette prediction run (pallete_predictor_run).
- the palette prediction run may be encoded by adding 1 to the number of reuse flags, which are 0, existing between reuse flags other than zero.
- the prediction unit may end obtaining the palette entry of the current block from the palette map of the previous block.
- the efficiency of prediction or reconstruction of a block to be encoded / decoded can be improved based on the palette mode.
- the palette entry encoding / decoding efficiency can be improved by deriving the palette map of the encoding / decoding target block from the palette map of the previous block.
- the palette index of the encoding / decoding target block can be efficiently derived based on the index mode or the copy mode.
- compression efficiency can be improved by encoding a palette index using a run vector based binary vector.
- FIG. 1 is a block diagram illustrating an image encoding apparatus according to an embodiment of the present invention.
- FIG. 2 is a block diagram illustrating an image decoding apparatus according to an embodiment of the present invention.
- FIG. 3 illustrates a method for restoring a current block based on a palette mode according to an embodiment to which the present invention is applied.
- FIG. 4 illustrates a method of restrictively signaling a reuse flag (previous_palette_entry_flag) according to an embodiment to which the present invention is applied.
- FIG. 5 illustrates a method of signaling a reuse flag in the form of a run vector based binary vector as an embodiment to which the present invention is applied.
- FIG. 6 illustrates a method of obtaining a predicted palette entry of a current block based on a syntax palette_predictor_run as an embodiment to which the present invention is applied.
- FIG. 7 illustrates a method of constructing a palette map for a current block according to an embodiment to which the present invention is applied.
- FIG. 8 is a diagram illustrating a method of deriving a palette index of a current block based on palette index information and palette index run according to an embodiment to which the present invention is applied.
- FIG. 9 illustrates a method of deriving a palette index based on a copy mode as an embodiment to which the present invention is applied.
- FIG. 10 illustrates a scan sequence used in a palette mode as an embodiment to which the present invention is applied.
- FIG. 11 illustrates a method of obtaining a palette index based on an escape present flag according to an embodiment to which the present invention is applied.
- FIG. 12 illustrates a method of encoding / decoding a palette index of a current sample in consideration of the palette index of a previous sample according to an embodiment to which the present invention is applied.
- the video signal decoding method obtains at least one palette entry of a current block from a palette map of a previous block and extracts the palette map of the current block including the obtained palette entry. And a palette index in a sample unit of the current block, and restore the current block by using the palette map of the current block and the palette index.
- the palette entry of the current block is determined based on a reuse flag (PredictorPaletteEntryReuseFlag) indicating whether a palette entry belonging to the palette map of the previous block is reused as the palette entry of the current block. Can be.
- a reuse flag PredictorPaletteEntryReuseFlag
- the reuse flag may be derived based on a palette prediction run signaled from a bitstream.
- the palette prediction run may be coded information for specifying the number of reuse flags that are 0 existing between non-use reuse flags.
- the step of obtaining the palette entry of the current block from the palette map of the previous block may be ended.
- the video signal decoding apparatus obtains at least one palette entry of a current block from a palette map of a previous block, and extracts the palette map of the current block including the obtained palette entry. And a predictor for deriving a palette index on a sample basis of the current block and reconstructing the current block by using the palette map of the current block and the palette index.
- the palette entry of the current block is determined based on a reuse flag (PredictorPaletteEntryReuseFlag) indicating whether a palette entry belonging to the palette map of the previous block is reused as the palette entry of the current block. Can be.
- a reuse flag PredictorPaletteEntryReuseFlag
- the prediction unit may derive the reuse flag based on a palette prediction run signaled from a bitstream.
- the palette prediction run may be coded information for specifying the number of reuse flags that are zeros existing between non-reuse flags.
- the prediction unit may end obtaining the palette entry of the current block from the palette map of the previous block.
- the video signal encoding method obtains at least one palette entry of a current block from a palette map of a previous block and extracts the palette map of the current block including the obtained palette entry.
- the palette index may be determined in a sample unit of the current block, and the current block may be restored using the palette map of the current block and the palette index.
- the palette entry of the current block is determined based on a reuse flag (PredictorPaletteEntryReuseFlag) indicating whether the palette entry belonging to the palette map of the previous block is reused as the palette entry of the current block. Can be.
- a reuse flag PredictorPaletteEntryReuseFlag
- the reuse flag may be derived based on an encoded palette prediction run (pallete_predictor_run).
- the palette prediction run may be encoded by adding 1 to the number of reuse flags that are 0 existing between reuse flags other than zero.
- the step of obtaining the palette entry of the current block from the palette map of the previous block may be ended.
- the video signal encoding apparatus obtains at least one palette entry of a current block from a palette map of a previous block and generates a palette map of the current block including the obtained palette entry. And a predictor for deriving a palette index on a sample basis of the current block and reconstructing the current block by using the palette map of the current block and the palette index.
- the palette entry of the current block is determined based on a reuse flag (PredictorPaletteEntryReuseFlag) indicating whether a palette entry belonging to the palette map of the previous block is reused as the palette entry of the current block. Can be.
- a reuse flag PredictorPaletteEntryReuseFlag
- the prediction unit may induce the reuse flag based on an encoded palette prediction run (pallete_predictor_run).
- the palette prediction run may be encoded by adding 1 to the number of reuse flags, which are 0, existing between reuse flags other than zero.
- the prediction unit may end obtaining the palette entry of the current block from the palette map of the previous block.
- first and second may be used to describe various components, but the components should not be limited by the terms. The terms are used only for the purpose of distinguishing one component from another.
- the first component may be referred to as the second component, and similarly, the second component may also be referred to as the first component.
- FIG. 1 is a block diagram illustrating an image encoding apparatus according to an embodiment of the present invention.
- the image encoding apparatus 100 may include a picture splitter 110, a predictor 120 and 125, a transformer 130, a quantizer 135, a realigner 160, and an entropy encoder. 165, an inverse quantizer 140, an inverse transformer 145, a filter 150, and a memory 155.
- each of the components shown in FIG. 1 is independently illustrated to represent different characteristic functions in the image encoding apparatus, and does not mean that each of the components is made of separate hardware or one software component unit.
- each component is included in each component for convenience of description, and at least two of the components may be combined into one component, or one component may be divided into a plurality of components to perform a function.
- Integrated and separate embodiments of the components are also included within the scope of the present invention without departing from the spirit of the invention.
- the components may not be essential components for performing essential functions in the present invention, but may be optional components for improving performance.
- the present invention can be implemented including only the components essential for implementing the essentials of the present invention except for the components used for improving performance, and the structure including only the essential components except for the optional components used for improving performance. Also included in the scope of the present invention.
- the picture dividing unit 110 may divide the input picture into at least one processing unit.
- the processing unit may be a prediction unit (PU), a transform unit (TU), or a coding unit (CU).
- the picture dividing unit 110 divides one picture into a combination of a plurality of coding units, prediction units, and transformation units, and combines one coding unit, prediction unit, and transformation unit on a predetermined basis (eg, a cost function). You can select to encode the picture.
- one picture may be divided into a plurality of coding units.
- a recursive tree structure such as a quad tree structure may be used, and coding is divided into other coding units by using one image or a largest coding unit as a root.
- the unit may be split with as many child nodes as the number of split coding units. Coding units that are no longer split according to certain restrictions become leaf nodes. That is, when it is assumed that only square division is possible for one coding unit, one coding unit may be split into at most four other coding units.
- a coding unit may be used as a unit for encoding or may be used as a unit for decoding.
- the prediction unit may be split in the form of at least one square or rectangle having the same size in one coding unit, or the prediction unit of any one of the prediction units split in one coding unit is different from one another. It may be divided to have a different shape and / or size than the unit.
- the intra prediction may be performed without splitting into a plurality of prediction units NxN when the prediction unit is not the minimum coding unit.
- the predictors 120 and 125 may include an inter predictor 120 that performs inter prediction and an intra predictor 125 that performs intra prediction. Whether to use inter prediction or intra prediction on the prediction unit may be determined, and specific information (eg, an intra prediction mode, a motion vector, a reference picture, etc.) according to each prediction method may be determined. In this case, the processing unit in which the prediction is performed may differ from the processing unit in which the prediction method and the details are determined. For example, the method of prediction and the prediction mode may be determined in the prediction unit, and the prediction may be performed in the transform unit. The residual value (residual block) between the generated prediction block and the original block may be input to the transformer 130.
- specific information eg, an intra prediction mode, a motion vector, a reference picture, etc.
- prediction mode information and motion vector information used for prediction may be encoded by the entropy encoder 165 together with the residual value and transmitted to the decoder.
- the original block may be encoded as it is and transmitted to the decoder without generating the prediction block through the prediction units 120 and 125.
- the inter prediction unit 120 may predict the prediction unit based on the information of at least one of the previous picture or the next picture of the current picture. In some cases, the inter prediction unit 120 may predict the prediction unit based on the information of the partial region in which the current picture is encoded. You can also predict units.
- the inter predictor 120 may include a reference picture interpolator, a motion predictor, and a motion compensator.
- the reference picture interpolator may receive reference picture information from the memory 155 and generate pixel information of an integer pixel or less in the reference picture.
- a DCT based 8-tap interpolation filter having different filter coefficients may be used to generate pixel information of integer pixels or less in units of 1/4 pixels.
- a DCT-based interpolation filter having different filter coefficients may be used to generate pixel information of an integer pixel or less in units of 1/8 pixels.
- the motion predictor may perform motion prediction based on the reference picture interpolated by the reference picture interpolator.
- various methods such as full search-based block matching algorithm (FBMA), three step search (TSS), and new three-step search algorithm (NTS) may be used.
- FBMA full search-based block matching algorithm
- TSS three step search
- NTS new three-step search algorithm
- the motion vector may have a motion vector value of 1/2 or 1/4 pixel units based on the interpolated pixels.
- the motion prediction unit may predict the current prediction unit by using a different motion prediction method.
- various methods such as a skip method, a merge method, an advanced motion vector prediction (AMVP) method, an intra block copy method, and the like may be used.
- AMVP advanced motion vector prediction
- the intra predictor 125 may generate a prediction unit based on reference pixel information around the current block, which is pixel information in the current picture. If the neighboring block of the current prediction unit is a block that has performed inter prediction, and the reference pixel is a pixel that has performed inter prediction, the reference pixel of the block that has performed intra prediction around the reference pixel included in the block where the inter prediction has been performed Can be used as a substitute for information. That is, when the reference pixel is not available, the unavailable reference pixel information may be replaced with at least one reference pixel among the available reference pixels.
- a prediction mode may have a directional prediction mode using reference pixel information according to a prediction direction, and a non-directional mode using no directional information when performing prediction.
- the mode for predicting the luminance information and the mode for predicting the color difference information may be different, and the intra prediction mode information or the predicted luminance signal information used for predicting the luminance information may be utilized to predict the color difference information.
- intra prediction When performing intra prediction, if the size of the prediction unit and the size of the transform unit are the same, the intra prediction on the prediction unit is performed based on the pixels on the left of the prediction unit, the pixels on the upper left, and the pixels on the top. Can be performed. However, when performing intra prediction, if the size of the prediction unit is different from that of the transform unit, intra prediction may be performed using a reference pixel based on the transform unit. In addition, intra prediction using N ⁇ N partitioning may be used only for a minimum coding unit.
- the intra prediction method may generate a prediction block after applying an adaptive intra smoothing (AIS) filter to a reference pixel according to a prediction mode.
- AIS adaptive intra smoothing
- the type of AIS filter applied to the reference pixel may be different.
- the intra prediction mode of the current prediction unit may be predicted from the intra prediction mode of the prediction unit existing around the current prediction unit.
- the prediction mode of the current prediction unit is predicted by using the mode information predicted from the neighboring prediction unit, if the intra prediction mode of the current prediction unit and the neighboring prediction unit is the same, the current prediction unit and the neighboring prediction unit using the predetermined flag information If the prediction modes of the current prediction unit and the neighboring prediction unit are different, entropy encoding may be performed to encode the prediction mode information of the current block.
- a residual block may include a prediction unit performing prediction based on the prediction units generated by the prediction units 120 and 125 and residual information including residual information that is a difference from an original block of the prediction unit.
- the generated residual block may be input to the transformer 130.
- the transform unit 130 converts the residual block including residual information of the original block and the prediction unit generated by the prediction units 120 and 125 into a discrete cosine transform (DCT), a discrete sine transform (DST), and a KLT. You can convert using the same conversion method. Whether to apply DCT, DST, or KLT to transform the residual block may be determined based on intra prediction mode information of the prediction unit used to generate the residual block.
- DCT discrete cosine transform
- DST discrete sine transform
- KLT KLT
- the quantization unit 135 may quantize the values converted by the transformer 130 into the frequency domain.
- the quantization coefficient may change depending on the block or the importance of the image.
- the value calculated by the quantization unit 135 may be provided to the inverse quantization unit 140 and the reordering unit 160.
- the reordering unit 160 may reorder coefficient values with respect to the quantized residual value.
- the reordering unit 160 may change the two-dimensional block shape coefficients into a one-dimensional vector form through a coefficient scanning method. For example, the reordering unit 160 may scan from DC coefficients to coefficients in the high frequency region by using a Zig-Zag scan method and change them into one-dimensional vectors.
- a vertical scan that scans two-dimensional block shape coefficients in a column direction instead of a zig-zag scan may be used, and a horizontal scan that scans two-dimensional block shape coefficients in a row direction. That is, according to the size of the transform unit and the intra prediction mode, it is possible to determine which scan method among the zig-zag scan, the vertical scan, and the horizontal scan is used.
- the entropy encoder 165 may perform entropy encoding based on the values calculated by the reordering unit 160. Entropy encoding may use various encoding methods such as, for example, Exponential Golomb, Context-Adaptive Variable Length Coding (CAVLC), and Context-Adaptive Binary Arithmetic Coding (CABAC).
- Entropy encoding may use various encoding methods such as, for example, Exponential Golomb, Context-Adaptive Variable Length Coding (CAVLC), and Context-Adaptive Binary Arithmetic Coding (CABAC).
- the entropy encoder 165 receives residual value coefficient information, block type information, prediction mode information, partition unit information, prediction unit information, transmission unit information, and motion of the coding unit from the reordering unit 160 and the prediction units 120 and 125.
- Various information such as vector information, reference frame information, interpolation information of a block, and filtering information can be encoded.
- the entropy encoder 165 may entropy encode a coefficient value of a coding unit input from the reordering unit 160.
- the inverse quantizer 140 and the inverse transformer 145 inverse quantize the quantized values in the quantizer 135 and inversely transform the transformed values in the transformer 130.
- the residual value generated by the inverse quantizer 140 and the inverse transformer 145 is reconstructed by combining the prediction units predicted by the motion estimator, the motion compensator, and the intra predictor included in the predictors 120 and 125. You can create a Reconstructed Block.
- the filter unit 150 may include at least one of a deblocking filter, an offset correction unit, and an adaptive loop filter (ALF).
- a deblocking filter may include at least one of a deblocking filter, an offset correction unit, and an adaptive loop filter (ALF).
- ALF adaptive loop filter
- the deblocking filter may remove block distortion caused by boundaries between blocks in the reconstructed picture.
- it may be determined whether to apply a deblocking filter to the current block based on the pixels included in several columns or rows included in the block.
- a strong filter or a weak filter may be applied according to the required deblocking filtering strength.
- horizontal filtering and vertical filtering may be performed in parallel when vertical filtering and horizontal filtering are performed.
- the offset correction unit may correct the offset with respect to the original image on a pixel-by-pixel basis for the deblocking image.
- the pixels included in the image are divided into a predetermined number of areas, and then, an area to be offset is determined, an offset is applied to the corresponding area, or offset considering the edge information of each pixel. You can use this method.
- Adaptive Loop Filtering may be performed based on a value obtained by comparing the filtered reconstructed image with the original image. After dividing the pixels included in the image into a predetermined group, one filter to be applied to the group may be determined and filtering may be performed for each group. For information related to whether to apply ALF, a luminance signal may be transmitted for each coding unit (CU), and the shape and filter coefficient of an ALF filter to be applied may vary according to each block. In addition, regardless of the characteristics of the block to be applied, the same type (fixed form) of the ALF filter may be applied.
- ALF Adaptive Loop Filtering
- the memory 155 may store the reconstructed block or picture calculated by the filter unit 150, and the stored reconstructed block or picture may be provided to the predictors 120 and 125 when performing inter prediction.
- FIG. 2 is a block diagram illustrating an image decoding apparatus according to an embodiment of the present invention.
- the image decoder 200 includes an entropy decoder 210, a reordering unit 215, an inverse quantizer 220, an inverse transformer 225, a predictor 230, 235, and a filter unit ( 240, a memory 245 may be included.
- the input bitstream may be decoded by a procedure opposite to that of the image encoder.
- the entropy decoder 210 may perform entropy decoding in a procedure opposite to that of the entropy encoding performed by the entropy encoder of the image encoder. For example, various methods such as Exponential Golomb, Context-Adaptive Variable Length Coding (CAVLC), and Context-Adaptive Binary Arithmetic Coding (CABAC) may be applied to the method performed by the image encoder.
- various methods such as Exponential Golomb, Context-Adaptive Variable Length Coding (CAVLC), and Context-Adaptive Binary Arithmetic Coding (CABAC) may be applied to the method performed by the image encoder.
- the entropy decoder 210 may decode information related to intra prediction and inter prediction performed by the encoder.
- the reordering unit 215 may reorder the entropy decoded bitstream by the entropy decoding unit 210 based on a method of rearranging the bitstream. Coefficients expressed in the form of a one-dimensional vector may be reconstructed by reconstructing the coefficients in a two-dimensional block form.
- the reordering unit 215 may be realigned by receiving information related to coefficient scanning performed by the encoder and performing reverse scanning based on the scanning order performed by the corresponding encoder.
- the inverse quantization unit 220 may perform inverse quantization based on the quantization parameter provided by the encoder and the coefficient values of the rearranged block.
- the inverse transform unit 225 may perform an inverse transform, i.e., an inverse DCT, an inverse DST, and an inverse KLT, for a quantization result performed by the image encoder, that is, a DCT, DST, and KLT. Inverse transformation may be performed based on a transmission unit determined by the image encoder.
- the inverse transform unit 225 of the image decoder may selectively perform a transform scheme (eg, DCT, DST, KLT) according to a plurality of pieces of information such as a prediction method, a size of a current block, and a prediction direction.
- a transform scheme eg, DCT, DST, KLT
- the prediction units 230 and 235 may generate the prediction block based on the prediction block generation related information provided by the entropy decoder 210 and previously decoded blocks or picture information provided by the memory 245.
- Intra prediction is performed on a prediction unit based on a pixel, but when intra prediction is performed, when the size of the prediction unit and the size of the transformation unit are different, intra prediction may be performed using a reference pixel based on the transformation unit. Can be.
- intra prediction using N ⁇ N partitioning may be used only for the smallest coding unit.
- the predictors 230 and 235 may include a prediction unit determiner, an inter predictor, and an intra predictor.
- the prediction unit determiner receives various information such as prediction unit information input from the entropy decoder 210, prediction mode information of the intra prediction method, and motion prediction related information of the inter prediction method, and distinguishes the prediction unit from the current coding unit, and predicts It may be determined whether the unit performs inter prediction or intra prediction.
- the inter prediction unit 230 predicts the current prediction based on information included in at least one of a previous picture or a subsequent picture of the current picture including the current prediction unit by using information required for inter prediction of the current prediction unit provided by the image encoder. Inter prediction may be performed on a unit. Alternatively, inter prediction may be performed based on information of some regions pre-restored in the current picture including the current prediction unit.
- a motion prediction method of a prediction unit included in a coding unit based on a coding unit includes a skip mode, a merge mode, an AMVP mode, and an intra block copy mode. It can be determined whether or not it is a method.
- the intra predictor 235 may generate a prediction block based on pixel information in the current picture.
- intra prediction may be performed based on intra prediction mode information of the prediction unit provided by the image encoder.
- the intra predictor 235 may include an adaptive intra smoothing (AIS) filter, a reference pixel interpolator, and a DC filter.
- the AIS filter is a part of filtering the reference pixel of the current block and determines whether to apply the filter according to the prediction mode of the current prediction unit.
- AIS filtering may be performed on the reference pixel of the current block by using the prediction mode and the AIS filter information of the prediction unit provided by the image encoder. If the prediction mode of the current block is a mode that does not perform AIS filtering, the AIS filter may not be applied.
- the reference pixel interpolator may generate a reference pixel having an integer value or less by interpolating the reference pixel. If the prediction mode of the current prediction unit is a prediction mode for generating a prediction block without interpolating the reference pixel, the reference pixel may not be interpolated.
- the DC filter may generate the prediction block through filtering when the prediction mode of the current block is the DC mode.
- the reconstructed block or picture may be provided to the filter unit 240.
- the filter unit 240 may include a deblocking filter, an offset correction unit, and an ALF.
- Information about whether a deblocking filter is applied to a corresponding block or picture, and when the deblocking filter is applied to the corresponding block or picture, may be provided with information about whether a strong filter or a weak filter is applied.
- the deblocking filter related information provided by the image encoder may be provided and the deblocking filtering of the corresponding block may be performed in the image decoder.
- the offset correction unit may perform offset correction on the reconstructed image based on the type of offset correction and offset value information applied to the image during encoding.
- the ALF may be applied to a coding unit based on ALF application information, ALF coefficient information, and the like provided from the encoder. Such ALF information may be provided included in a specific parameter set.
- the memory 245 may store the reconstructed picture or block to use as a reference picture or reference block, and may provide the reconstructed picture to the output unit.
- a coding unit is used as a coding unit for convenience of description, but may also be a unit for performing decoding as well as encoding.
- FIG. 3 illustrates a method for restoring a current block based on a palette mode according to an embodiment to which the present invention is applied.
- a case may occur in which the image of all or a part of the region is composed of only specific pixel values.
- a method of encoding a specific pixel value constituting a corresponding region without using inter prediction or intra prediction may be used, which is called a palette mode.
- the palette mode may be applied in a block unit (eg, coding unit, prediction unit), and for this, flag information (palette_mode_flag) indicating whether to use the palette mode may be signaled in block units.
- a palette map for the current block encoded in the palette mode may be configured (S300).
- the palette map may consist of at least one palette entry and a map index that identifies each palette entry.
- the palette map of the current block may be derived from the palette map of the previous block (hereinafter, referred to as a previous palette map).
- the previous block may mean a block encoded or decoded before the current block.
- the palette entry of the current block may include at least one of a predicted palette entry or a signaling palette entry.
- the current block may use all or part of the palette entries used by the previous block.
- the palette entry reused in the current block is called a predicted palette entry.
- the current block may use the same palette map as the previous block, and for this purpose, a flag (palette_share_flag) indicating whether the current block uses the same palette map as the previous block may be signaled.
- the same palette map means that the size of the palette map (or the number of palette entries included in the palette map) is the same, and the palette entries included in the palette map are the same. If the value of palette_share_flag is 1, the current block uses the same palette map as the previous block, and if the value is 0, the current block is a palette whose size is different from the previous block and the palette map or at least one of the palette entries included in the palette map. Maps are available.
- the current block may selectively use some palette entries of the previous palette map, and for this purpose, a flag (previous_palette_entry_flag, hereinafter referred to as reuse flag) specifying whether to reuse the palette entry may be used.
- a value of the reuse flag is assigned to each palette entry of a previous palette map, and the reuse flag (previous_palette_entry_flag [i]) is used to reuse the palette entry corresponding to the map index i in the previous palette map to the palette map of the current block. It can indicate whether or not. For example, when the value of the reuse flag is 0, the palette entry corresponding to the map index i in the previous palette map is reused in the palette map of the current block, otherwise it is not reused.
- a palette entry with a reuse flag value of 1 may be extracted from the previous plate map and arranged sequentially to form a palette map of the current block.
- the reuse flag may be signaled in the form of a flag encoded for each palette entry or in the form of a binary vector based on run encoding, which will be described in detail with reference to FIGS. 4 to 5.
- PredictorPaletteEntryReuseFlag the number of zero reuse flags present between a non-zero reuse flag and a reuse flag (PredictorPaletteEntryReuseFlag) specifying whether the current block is to reuse the previous palette entry to selectively use some palette entries in the palette map of the previous block.
- a palette prediction run (palette_predictor_run) value may be used, which will be described in detail with reference to FIG. 6.
- the palette map of the current block may further include a palette entry signaled through the bitstream, where the signaled palette entry is a palette entry that is not included in the previous palette map among the palette entries used by the current block. It may mean.
- a method of constructing a palette map of the current block will be further described with reference to FIG. 7.
- a palette index may be derived in a predetermined scan order in a sample unit (or pixel unit) of the current block (S310).
- a horizontal scan, a vertical scan, a horizontal traverse scan, a vertical traverse scan, and the like may be used, which will be described in detail with reference to FIG. 10.
- the current block may derive the palette index using at least one of an index mode, a copy mode, and an escape mode.
- the escape mode may be defined as a separate mode, or may be understood as an example of the index mode.
- the index mode may refer to a method of deriving a palette index based on encoded palette index information for specifying a palette index used in the current block.
- the palette index information has a value between 0 and (palette size-1), where palette size may mean the size of the palette map of the current block or the number of palette entries forming the palette map.
- palette size may mean the size of the palette map of the current block or the number of palette entries forming the palette map.
- the value of the palette index information signaled through the bitstream may be assigned to the palette index of the current sample.
- the COPY MODE may mean a method of deriving the palette index of the current sample using the palette index of the neighboring sample.
- the palette index of the current sample may be predicted based on the palette index of the neighboring sample, or the palette index of the neighboring sample may be copied and set as the palette index of the current sample as it is.
- the neighboring sample may mean a sample adjacent to the top, bottom, left or right side of the current sample.
- the neighboring sample may be located on the same horizontal line or the same vertical line as the current sample.
- the copy mode is a copy entry mode (COPY_ABOVE MODE) using a palette entry used by a sample adjacent to the top of the current sample as a palette entry of the current sample or a palette entry used by a sample adjacent to the left side of the current sample. It may include at least one of the copy left mode (COPY_LEFT MODE) used as.
- COY_ABOVE MODE copy entry mode
- COY_LEFT MODE copy left mode
- either copy abdomen mode or copy left mode may be selectively used. For example, if the current block uses a horizontal scan or a horizontal traverse scan, you can use Copy Ab mode. If the current block uses a vertical scan or a vertical traverse scan, you can use copy left mode. have.
- the scan start position of the current block is not limited to the upper left sample, and other corner samples (eg, the lower left sample, the upper right sample, and the lower right sample) of the current block may be used as the scan start position. Therefore, according to the scanning order and the scan start position of the current block, the same palette entry as the sample adjacent to the top or left side may be used as described above, or the same palette entry as the sample adjacent to the bottom or right side may be used.
- the copy mode may further include a copy write mode (COPY_RIGHT MODE) and / or a copy under mode (COPY_UNDER MODE).
- either one of the copy absolve mode and the copy left mode may be selectively used regardless of the scan order, and a flag (use_copy_above_flag) specifying a scan mode may be signaled for this purpose.
- the use_copy_above_flag may be signaled in a slice header, slice segment header, or block unit. If the value of use_copy_above_flag is 1, the copy abbreviation mode may be used in the slice or block. If the value of use_copy_above_flag is 1, the copy left mode may be used in the slice or block.
- palette_index_mode specifying a method of deriving the palette index for each sample of the current block (hereinafter referred to as palette index mode). It can also be used. For example, if the value of the mode identifier is 1, the current sample of the current block may use the copy mode, and if the value is 0, the current sample may use the index mode or the escape mode.
- the mode identifier may be limitedly signaled based on a flag (use_one_palette_mode_flag) indicating whether the current block uses only one palette index mode.
- the use_one_palette_mode_flag may be signaled in a block unit (eg, coding unit, prediction unit).
- the mode identifier is not signaled through the bitstream, and the palette index mode preset in the image decoding apparatus is the palette of the current block. Can be used in index mode.
- the value of the mode identifier for each sample of the current block may be set to 1 or 0.
- the current block is not limited to using only one palette index mode according to the value of use_one_palette_mode_flag.
- the mode identifier may be signaled through a bitstream.
- the mode identifier may be limitedly signaled based on a flag palette_above_present_flag indicating whether at least one sample in the current block uses the copy mode.
- the mode identifier may be signaled through a bitstream.
- the mode identifier is not signaled through the bitstream, and the palette index mode preset in the image decoding apparatus is the palette index mode of the current block. It can be used as. To do this, the value of the mode identifier for each sample of the current block may be set to 0.
- a palette index may be obtained in consideration of an escape present flag to be described later, which will be described with reference to FIG. 11.
- the sample of the current block may be restored based on the palette index derived in step S310 (S320).
- the sample of the current block may be restored based on the palette map of the current block configured in step S300 and the palette index derived in step S310.
- a palette entry having a map index having the same value as the derived palette index may be extracted from the palette map of the current block, and a sample of the current block may be recovered using the extracted palette entry.
- the value of the palette entry extracted from the palette map may be set as a predicted or reconstructed value of a sample of the current block.
- the value of the derived palette index is the same as the number of palette entries constituting the palette map of the current block, in which case the sample of the current block uses the palette entries of the palette map configured in step S300. Cannot be restored.
- the map index of the palette map has a value between 0 and (number of palette entries-1)
- the case where the value of the derived palette index is the same as the number of palette entries indicates that the current block configured in step S300. This means that there is no palette entry corresponding to the derived palette index in the palette map of.
- the sample may be inferred as encoded in an escape mode.
- the escape mode may mean a method of restoring a sample value based on a palette escape value that is additionally signaled without using a palette entry of the palette map configured in step S300.
- a sample with a palette index of the same value as the number of palette entries may be recovered using the additionally signaled palette escape value.
- the escape mode may be adaptively used based on the number of palette entries (or palette size of the current block) constituting the palette map of the current block.
- a flag indicating whether to use the escape mode may be signaled only when the number of palette entries for the current block is larger than a pre-defined threshold.
- the value of the escape present flag is 1, at least one sample in the current block encoded in the palette mode uses the escape mode, and if the value is 0, it may indicate that the current block does not use the escape mode. have. Therefore, when the value of the escape present flag for the current block is 1, the above-described palette escape value may be additionally signaled.
- the escape present flag may be signaled only when the number of palette entries used by the current block is greater than zero.
- the current block is not allowed to be restored based on the escape mode.
- the escape present flag is not signaled, and the image decoding apparatus may derive the value of the escape present flag to a pre-defined value (eg, 0).
- the pre-defined threshold is not limited to zero, and may be any constant value other than zero in consideration of coding efficiency.
- FIG. 4 illustrates a method of restrictively signaling a reuse flag (previous_palette_entry_flag) according to an embodiment to which the present invention is applied.
- reuse number information num_previous_palette_entry regarding the palette map of the current block may be obtained from the bitstream (S400).
- the reuse number information may refer to information encoded to indicate the number of palette entries reused as palette entries of the current block among palette entries of the previous palette map.
- a reuse flag (previous_palette_entry_flag [i]) specifying whether to reuse the i-th palette entry may be obtained from the bitstream (S410).
- the reuse flag is signaled by the size of the previous palette map (or the number of palette entries included in the previous palette map), and i corresponds to a map index that identifies the palette entry of the previous palette map as described above. It can fall within a range of values (size-1 of the previous palette map).
- variable numPredPreviousPalette value indicating the number of reuse flags having a value of 1 may be updated (S430). For example, the variable numPredPreviousPalette value may be increased by one.
- a reuse flag (previous_palette_entry_flag [i + 1]) specifying whether to reuse the (i + 1) th palette entry may be obtained from the bitstream (S410).
- a reuse flag (previous_palette_entry_flag [i + 1]) specifying whether to reuse the (i + 1) th palette entry may be obtained from the bitstream.
- a reuse flag (previous_palette_entry_flag [i + 1]) specifying whether to reuse the (i + 1) th palette entry may be obtained from the bitstream.
- a reuse flag (previous_palette_entry_flag [i + 1]) specifying whether to reuse the (i + 1) th palette entry may be obtained from the bitstream.
- a reuse flag (previous_palette_entry_flag [i + 1]) specifying whether to reuse the (i + 1) th palette entry may be obtained from the bitstream.
- the variable numPredPreviousPalette value and the number information acquired in step S400 are the same, a palette entry having a map index of a value larger than i may not be used as a palette entry of the current block.
- the i value may be derived as the size of the previous palette map plus one.
- the reuse flag for the (i + 1) th palette entry may be restricted from being signaled.
- FIG. 5 illustrates a method of signaling a reuse flag in the form of a run vector based binary vector as an embodiment to which the present invention is applied.
- the palette map of the previous block uses eight palette entries having a map index of 0 to 7.
- the video encoding apparatus determines whether the palette entry is reused as the palette entry of the current block for each of the palette entries 0 to 7 of the previous block, and if the palette entry is reused as the palette entry of the current block, The reuse flag for an entry can be set to 1, otherwise it can be set to 0. For example, as shown in FIG. 5, when palette entries 0, 1, 3, and 7 of the palette entries of the previous block are reused as palette entries of the current block, and the remaining palette entries are not reused, A binary vector represented by 11010001 may be generated.
- At least one of the number of 1s ie, the number of palette entries reused as the palette entry of the current block among the palette entries of the previous block
- the number of zeros before 1 in the binary vector is encoded.
- Signaling can be performed by the decoding device.
- 4 since the number of 1's is 4 in the binary vector, 4 may be encoded by the number of palette entries of a previous block that is reused as a palette entry of a current block.
- the number of zeros leading from the binary vector i.e., 0, 0, 1, 3 may be sequentially encoded.
- the image decoding apparatus may include at least one of information (num_previous_palette_entry) regarding the number of palette entries of the previous block to be reused as palette entries of the current block from the image encoding apparatus or information about the number of zeros prior to 1 in the binary vector (palette_entry_run). Receive and use it to construct a palette map of the current block.
- the image decoding apparatus sequentially extracts information about the number of zeros prior to 1 (palette_entry_run), that is, 0, 0, 1, and 3 from the bitstream, using the palette entry of the previous block using the same. Can be restored to a binary vector indicating whether to reuse the 11010001. If a value of 1 occurs in the process of restoring the binary vector, the palette entry of the previous block corresponding to the value of 1 may be inserted into the palette map of the current block. This process allows you to selectively reuse some palette entries from the palette map of the previous block to construct the palette map of the current block.
- FIG. 6 illustrates a method of obtaining a predicted palette entry of a current block based on a syntax palette_predictor_run as an embodiment to which the present invention is applied.
- the palette map of the previous block is composed of 12 palette entries to which map indices of 0 to 11 are assigned.
- the image encoding apparatus may determine whether the corresponding palette entry is reused as the palette entry of the current block for each of the palette entries 0 to 11 included in the palette map of the previous block. If the palette entry is to be reused as the palette entry of the current block, the reuse flag (PredictorPaletteEntryReuseFlag) for the palette entry may be set to 1, otherwise, to 0.
- a binary vector represented by 110100010000 may be generated.
- At least one of the number of 1s ie, the number of palette entries reused as the palette entries of the current block among the palette entries of the previous block
- the palette_predictor_run for specifying the number of zeros before 1 in the binary vector.
- One may be encoded to specify a palette entry to be reused as a palette entry of the current block among palette entries of the previous block.
- palette_predictor_run may be encoded using numPreviousZero, which is a variable representing the number of zeros before 1 in the binary vector. If the value of numPreviousZero is greater than zero, you can encode the value of (numPreviousZero + 1) into palette_predictor_run, otherwise (for example, if the value of numPreviousZero is 0), the value of numPreviousZero (for example, 0 ) Can be encoded as palette_predictor_run.
- numPreviousZero is a variable representing the number of zeros before 1 in the binary vector. If the value of numPreviousZero is greater than zero, you can encode the value of (numPreviousZero + 1) into palette_predictor_run, otherwise (for example, if the value of numPreviousZero is 0), the value of numPreviousZero (for example, 0 ) Can be encoded as palette_predictor_run.
- palette entry number 7 may not be reused as the palette entry of the current block.
- the image encoding apparatus needs to signal that after the palette entry no. 7 is no longer reused as the palette entry of the current block, for this, the value of palette_predictor_run may be encoded as 1. That is, if the value of palette_predictor_run is 1, this indicates that palette_predictor_run is no longer encoded in the current block.
- the encoded palette_predictor_run value it is possible to control whether to end the process of obtaining the predicted palette entry of the current block from the palette map of the previous block.
- palette entry 7 of the previous block since the value of the variable numPreviousZero indicating the number of zeros before 1 is 3, the value of (numPreviousZero + 1), that is, 4 may be encoded by the value of palette_predictor_run. Since palette 7 is not reused as the palette entry of the current block, 1 can be encoded as the palette_predictor_run value.
- the palette_predictor_run for the current block may be encoded by the number of palette entries (that is, the number of 1s in the binary vector) among the palette entries of the previous block that are reused as the palette entries of the current block, plus 1 in the binary vector. May be encoded.
- the number of palette_predictor_runs encoded for the current block may be determined based on whether the maximum value (MaxIndex) of the map index of the previous palette map and the maximum value (MaxReuseIdx) of the map index of the palette entry of the previous block reused for the current block may be determined. have.
- MaxReuseIdx is equal to MaxIndex
- palette_predictor_run is encoded as many as 1 in the binary vector, or otherwise (for example, if MaxReuseIdx is less than MaxIndex), the number of 1s in the binary vector It may be encoded by adding one.
- the image decoding apparatus may derive a flag (PredictorPaletteEntryReuseFlag) indicating whether to reuse the palette entry of the previous block, based on the signaled palette_predictor_run. For example, if the value of PredictorPaletteEntryReuseFlag [idx] is 1, the palette entry corresponding to map index idx is reused as the palette entry of the current block. If the value is 0, the palette entry corresponding to map index idx is the current block. It may indicate that it is not reused as a palette entry of. The initial value of PredictorPaletteEntryReuseFlag may be set to zero.
- the value of PredictorPaletteEntryReuseFlag [idx-1] for the palette entry of the map index idx-1 is 1, and palette_predictor_run may be obtained for the map index idx. If the value of palette_predictor_run is greater than 1, the value of PredictorPaletteEntryReuseFlag [idx + palette_predictor_run-1] may be set to 1 for a palette entry having a map index (idx + palette_predictor_run-1). When the value of palette_predictor_run is 0, the value of PredictorPaletteEntryReuseFlag [idx] may be set to 1 for a palette entry having a map index idx.
- palette_predictor_run If the value of palette_predictor_run is 1, it indicates that there is no longer a palette entry to be reused in the palette entry of the previous block, and the value of the maximum map index among the palette entries of the previous block to be reused for the current block is (idx-1) Will be.
- palette_predictor_run for palette entry 0 in the palette map of the previous block may be obtained from the bitstream. Since the value of palette_predictor_run is 0, the value of PredictorPaletteEntryReuseFlag [0] for palette entry 0 is set to 1, and palette entry 0 is included in the palette map of the current block. In the palette map of the previous block, palette_predictor_run for palette entry # 1 may be obtained from the bitstream.
- palette_predictor_run Since the value of palette_predictor_run is 0, the value of PredictorPaletteEntryReuseFlag [1] for palette entry 1 is set to 1, and palette entry 1 is also included in the palette map of the current block.
- the palette_predictor_run for the palette entry 2 in the palette map of the previous block may be obtained from the bitstream. Since the value of palette_predictor_run is 2, the value of PredictorPaletteEntryReuseFlag [3] for palette entry located at (idx + palette_predictor_run-1), namely palette entry 3, is set to 1, and palette entry 3 is included in the palette map of the current block. do.
- the palette_predictor_run for the palette entry 4 in the palette map of the previous block may be obtained from the bitstream.
- palette_predictor_run Since the value of palette_predictor_run is 4, the value of PredictorPaletteEntryReuseFlag [7] for the palette entry located at (idx + palette_predictor_run-1), namely palette entry 7, is set to 1, and palette entry 7 is included in the palette map of the current block. do.
- the predicted palette entry of the current block is obtained from the palette map of the previous block. This process may be performed until the value of palette_predictor_run is 1 as described above.
- FIG. 7 illustrates a method of constructing a palette map for a current block according to an embodiment to which the present invention is applied.
- the current block may use the same palette map as the palette map of the previous block. That is, for this purpose, the size of the palette map of the current block (or the number of palette entries) is the same as the size of the palette map (or the number of palette entries) used by the previous block, and the current block is the same as the palette entry of the previous block.
- a flag (palette_share_flag) indicating whether to use a palette entry may be used. For example, when the value of the palette_share_flag is 1, it may represent that the size of the palette map and the palette entry for the current block are the same as the previous block.
- the current block may optionally use some palette entries of the previous palette map. In addition to the palette entries of the previous palette map, additional palette entries may be available.
- a flag (previous_palette_entry_flag [i]) indicating whether a palette entry is reused may be used to selectively use all or part of a palette entry of a previous palette map. For example, if the value of previous_palette_entry_flag [i] is 1, it indicates that the i th palette entry is reused as the palette entry of the current block in the previous palette map, and if the value is 0, the i th palette entry is the palette entry of the current block. It may indicate that it is not reused.
- previous_palette_entry_flag [i] may be signaled by the number of palette entries included in the previous palette map.
- the image encoding apparatus may encode the number of signaling palette entries and as many signaling palette entries as there are. have. For example, if the number of palette entries belonging to the previous palette map and the number of predicted palette entries of the current block are the same, this may mean that the current block uses at least one signaling palette entry. Therefore, the apparatus for encoding an image may encode a value obtained by subtracting 1 from the number of signaling palette entries (palette_num_signalled_entries_minus1, hereinafter referred to as first signaling entry number information).
- the image encoding apparatus may determine the number of signaling palette entries (palette_num_signalled_entries, hereinafter referred to as second signaling entry number information). Can be encoded.
- the image decoding apparatus may determine the number of signaling entries in consideration of whether the predicted number of palette entries of the current block and the number of palette entries belonging to the previous palette are the same.
- the image decoding apparatus obtains second signaling entry number information.
- the number of signaling palette entries of the current block may be derived to the same value as the value of the second signaling entry number information.
- first signaling entry number information may be obtained (S710).
- the number of signaling palette entries of the current block may be derived by adding 1 to the value of the first signaling entry number information.
- the signaling palette entries may be obtained from the bitstream as many as the signaling palette entries of the current block (S720).
- the predicted palette entry from the previous palette map and the signaled palette entry can be used to construct the current palette map.
- the size of the current palette map (or number of palette entries belonging to the current palette map, CurrentPaletteSize) is based on the size of the previous palette map (or the number of palette entries belonging to the previous palette map) and / or equality between paletteNumPredictedEntries and previousPaletteSize. It can be derived as follows.
- palette_share_flag 0 and paletteNumPredictedEntries and previousPaletteSize are the same
- FIG. 8 is a diagram illustrating a method of deriving a palette index of a current block based on palette index information and palette index run according to an embodiment to which the present invention is applied.
- each sample uses a palette index in the range of 0 to 3, and the horizontal traverse with the upper left sample of the current block as a starting position. Assume a scan is used.
- the palette index used by the current block is arranged in one-dimensional form according to the horizontal traverse scan order, ⁇ 0, 2, 2, 2, 3, 3, 3, 3, 2, 0, 0 , 0, 0, 1, 1, 1 ⁇ .
- the one-dimensional array can be grouped into successive and identical palette indices. That is, the one-dimensional array includes a first group consisting of one zero, a second group consisting of three twos, a third group consisting of four threes, a fourth group consisting of one twos, and four zeros. It may be grouped into a fifth group and a sixth group consisting of three ones.
- the number of palette indexes to be encoded and / or the palette indexes to be encoded is specified, and the information about the palette index information and / or the number of palette indexes to be encoded is encoded by encoding them. Can be generated.
- Table 1 group Palette Index to Encode Palette Index Information Palette Index Run One ⁇ 0 ⁇ 0 0 0 2 ⁇ 2, 2, 2 ⁇ 2 2 2 3 ⁇ 3, 3, 3, 3 ⁇ 3 3 3 4 ⁇ 2 ⁇ 2 2 0 5 ⁇ 0, 0, 0, 0 ⁇ 0 0 3 6 ⁇ 1, 1, 1 ⁇ One One 2
- ⁇ 0, 2, 3, 2, 0, 1 ⁇ can be obtained by removing the redundancy of the palette index for each group, and in this case, the palette index to be encoded is ⁇ 0, 2, 3, 2, 0, 1 ⁇ , And the number of palette indexes to be encoded may be specified as six.
- the image encoding apparatus may encode the number of times the same palette index is repeated for each group (hereinafter, referred to as a palette index run). For example, as shown in Table 1, the first group consists of one zero, the palette index run is determined to be zero, and in the second group, after palette index 2 is used in the sample with scan order (1) Since the samples with the scan order (2) and (3) use the same palette index 2 consecutively, the palette index run can be determined to be 2.
- the image encoding apparatus may encode the determined value of the palette index run as it is, or may divide and encode the most significant bit (MSB) and refinement bit for encoding efficiency.
- MSB most significant bit
- the image encoding apparatus may encode the palette index used in the current block by at least one of information about the number of palette indexes to be encoded, palette index information about the palette index to be encoded, or a palette index run.
- the same palette index may be generated from the current sample to the last sample in the scanning order (run-to-end).
- the palette index run may be set to a predetermined constant and encoded. For example, by setting the value of the palette index run to 3, it is possible to indicate that all palettes have the same palette index from the current sample to the last sample of the current block in the scanning order.
- the value of the palette index run can be set to 8 to indicate that a run-to-end has occurred. If the current sample is located on the third row, the value of the palette index run Set to 8 to indicate that a run-to-end has occurred.
- the scan order of the current sample is larger than the median of the current block size (nCbs * nCbs)
- the value of the palette index run can be set to 6 to indicate that run-to-end has occurred. If the scan order of is smaller than the median value of the current block size (nCbs * nCbs), the value of the palette index run may be set to 2 to indicate that run-to-end has occurred.
- the image decoding apparatus may obtain the palette index information and the palette index run from the bitstream, and use the same to derive the palette index for each sample of the current block.
- the palette index information may be obtained as many as the number according to the information on the number of palette indexes to be encoded, and the palette index of the current block may be derived by sequentially acquiring palette index runs corresponding to the respective palette index information.
- the image decoding apparatus may obtain palette index information of ⁇ 0, 2, 3, 2, 0, 1 ⁇ from the bitstream. Then, a palette index run corresponding to palette index information 0 may be obtained from the bitstream. If the value of the palette index run corresponding to the palette index information 0 is 0, the image decoding apparatus may allocate the palette index 0 to the sample having the scan order (0) of the current block. Then, a palette index run corresponding to palette index information 2 may be obtained from the bitstream.
- the image decoding apparatus sequentially allocates the palette index 2 to the samples having the scan order (1) to (3) of the current block in accordance with the scan order. Can be. In this way, a palette index can be derived for all samples of the current block.
- the palette index of the current sample may be encoded / decoded based on the palette index of the previous sample, which will be described in detail with reference to FIG. 12.
- FIG. 9 illustrates a method of deriving a palette index based on a copy mode as an embodiment to which the present invention is applied.
- the copy mode may be a mode in which a palette index of a neighbor sample decoded before the current sample is copied and used as the palette index of the current sample.
- the neighboring sample may mean a top or left neighboring sample adjacent to the current sample, or may mean a top or left neighboring sample not adjacent to the current sample.
- the top neighbor sample may be in the same column as the current sample, and the left neighbor sample may be in the same row as the current sample.
- the offset may be used to specify neighboring samples (hereinafter referred to as reference samples) used for the copy mode.
- the offset may indicate a position difference (eg, row difference or column difference) between the current sample and the reference sample.
- the offset may be encoded by a position difference between the current sample and the reference sample, or may be encoded by subtracting a constant value from the offset (for example, copy_previous_offest_minus1, copy_previous_offest_minus2).
- the image decoding apparatus may restore the offset by adding a predetermined constant value to the encoded offset.
- Samples having the same offset as the current sample may occur continuously.
- the offset may not be encoded for each sample through run encoding.
- a value (copy_run, hereinafter referred to as a copy run) indicating the number of consecutive samples having the same offset as the current sample may be encoded.
- the value of the copy run may be limited within a predetermined range. For example, if the current sample uses COPY_ABOVE MODE, the value of the copy run cannot be greater than the width of the current block. This is because if the value of the copy run is larger than the width of the current block, neighbor samples that have not been decoded will be used as reference samples.
- the value of the copy run may not be larger than an offset * nCbs of the current block.
- the value of the copy run is larger than the offset (* Cbs) of the current block, the neighbor samples that have not been decoded will be used as reference samples.
- the reference sample of the present invention may be limited to a sample in a current block (eg, a coding block or a prediction block), or may be limited to a sample in a predetermined area including a neighboring block adjacent to the current block.
- the reference sample may be determined using offset and / or block identification information.
- the block identification information may mean information for specifying a neighboring block including a reference sample, and may include location / size information of the neighboring block, block partition information, and the like. Specifically, in the neighboring block specified by the block identification information, a sample of a position shifted by the offset from a sample at the same position as the current sample may be determined as a reference sample.
- the offset encoded according to the position of the current sample in the current block may be selectively used. For example, when the current sample is located in the third row of the current block and the neighboring sample where the current sample is not adjacent is used as a reference sample, the current sample may not use the encoded offset. In this case, the offset with respect to the current sample is derived as 0, and the palette index of the current sample may be derived by copying the palette index of the reference sample located in the first row.
- FIG. 10 illustrates a scan sequence used in a palette mode as an embodiment to which the present invention is applied.
- a scan order used in the palette mode includes a horizontal scan, a vertical scan, a horizontal traverse scan, a vertical traverse scan, and the like.
- the horizontal scan scans each row of the current block from left to right
- the vertical scan scans each column of the current block from top to bottom.
- odd rows of the current block are scanned from left to right, and even rows are scanned from right to left.
- odd columns of the current block are scanned from top to bottom, and even rows are scanned from bottom to top.
- the upper left sample of the current block is set as the scan start position.
- the present invention is not limited thereto and other corner samples of the current block may be set as the scan start position.
- FIG. 11 illustrates a method of obtaining a palette index based on an escape present flag according to an embodiment to which the present invention is applied.
- an escape present flag (palette_escape_val_present_flag) may be obtained based on the number (CurrentPaletteSize) of palette entries constituting the current palette map (S1100). For example, an escape present flag may be obtained when CurrentPaletteSize is not zero. This means that it is determined whether at least one sample in the current block uses an escape mode only when there is at least one palette entry in the current palette map.
- a palette index mode and / or a palette index for each sample may be obtained based on at least one of palette_escape_val_present_flag and CurrentPaletteSize.
- palette_escape_val_present_flag when values of palette_escape_val_present_flag and CurrentPaletteSize are not 1, a mode identifier (palette_run_type_flag) identifying a palette index mode may be obtained from the bitstream (S1110).
- One of the copy mode and the index mode may be determined as the palette index mode of the current sample according to the value of palette_run_type_flag. Meanwhile, when at least one of palette_escape_val_present_flag or CurrentPaletteSize is not 1, the palette_run_type_flag is not signaled and the palette index mode of the current sample may be set as an escape mode.
- a palette index (palette_index_idc) may be obtained from the bitstream (S1120).
- palette_index_idc may be obtained only when the values of palette_escape_val_present_flag and CurrentPaletteSize are not 1.
- palette_index_idc is not signaled through the bitstream and may be derived based on the value of CurrentPaletteSize.
- palette_index_idc may be derived through an addition operation or a subtraction operation that receives a variable (CurrentPaletteSize) regarding a number of palette entries belonging to a current palette map and a predetermined constant value.
- the predetermined constant value may be a variable value that is determined dependent on CurrentPaletteSize, or may be a pre-defined fixed constant value.
- palette_index_idc may be derived as a value obtained by adding 1 to the CurrentPaletteSize.
- FIG. 12 illustrates a method of encoding / decoding a palette index of a current sample in consideration of the palette index of a previous sample according to an embodiment to which the present invention is applied.
- the palette index for the index mode may be encoded with palette index information (palette_index_idc).
- palette_index_idc palette index information
- the palette index of the current sample is readjusted to (paletteIndex-1), and (paletteIndex). -1)
- a value can be encoded as a value of palette index information. Therefore, in the decoding process, the palette index of the current sample may be derived by adding 1 to the value of the signaled palette index information.
- the palette index of the current sample may be derived by comparing the palette index information (palette_index_idc) of the current sample with a palette index of at least one previous sample.
- the palette index of the sample may be derived by adding 1 to the value of the palette index information (palette_index_idc) related to the current sample.
- the number of palette indexes of the previous sample having a value equal to or smaller than the palette index information (palette_index_idc) for the current sample is determined.
- the palette index of the current sample may be derived by increasing the value of the palette index information (palette_index_idc) for the current sample by the corresponding number.
- the comparison process may be performed in a pre-defined order.
- the palette index of the plurality of previous samples includes the first palette index (paletteIndex_1) of the first previous sample and the second palette index (paletteIndex_2) of the second previous sample, and the second previous sample in the first previous sample. Let's look at the case where the comparison process is performed in the order of.
- palette index information (palette_index_idc) regarding the current sample may be compared with the first palette index (paletteIndex_1) of the first previous sample. If the value of the palette index information (palette_index_idc) for the current sample is equal to or larger than the first palette index (paletteIndex_1), the palette index (paletteIndex) of the current sample is 1 plus the value of the palette index information (palette_index_idc). If not, otherwise it may be derived equal to the value of the palette index information (palette_index_idc).
- paletteIndex paletteIndex
- paletteIndex_2 second palette index
- 1 is added to the palette index (paletteIndex) of the current sample derived earlier.
- the final palette index of the current sample is derived.
- the invention can be used to encode / decode a video signal.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Discrete Mathematics (AREA)
Abstract
Description
그룹 | 부호화 대상인팔레트 인덱스 | 팔레트 인덱스 정보 | 팔레트 인덱스 런 | |
1 | {0} | 0 | 0 | 0 |
2 | {2, 2, 2} | 2 | 2 | 2 |
3 | {3, 3, 3, 3} | 3 | 3 | 3 |
4 | {2} | 2 | 2 | 0 |
5 | {0, 0, 0, 0} | 0 | 0 | 3 |
6 | {1, 1, 1} | 1 | 1 | 2 |
Claims (15)
- 이전 블록의 팔레트 맵(palette map)으로부터 현재 블록의 적어도 하나의 팔레트 엔트리(palette entry)를 획득하는 단계;상기 획득된 팔레트 엔트리를 포함한 상기 현재 블록의 팔레트 맵을 구성하는 단계;상기 현재 블록의 샘플 단위로 팔레트 인덱스(palette index)를 유도하는 단계; 및상기 현재 블록의 팔레트 맵과 상기 팔레트 인덱스를 이용하여 상기 현재 블록을 복원하는 단계를 포함하는 비디오 신호 디코딩 방법.
- 제1항에 있어서,상기 현재 블록의 팔레트 엔트리는 상기 이전 블록의 팔레트 맵에 속한 팔레트 엔트리가 상기 현재 블록의 팔레트 엔트리로 재사용되는지 여부를 나타내는 재사용 플래그(PredictorPaletteEntryReuseFlag)에 기초하여 결정되는 것을 특징으로 하는 비디오 신호 디코딩 방법.
- 제2항에 있어서,상기 재사용 플래그는 비트스트림으로부터 시그날링된 팔레트 예측 런(pallete_predictor_run)에 기초하여 유도되되,상기 팔레트 예측 런은 0이 아닌 재사용 플래그들 사이에 존재하는 0인 재사용 플래그의 개수를 특정하기 위해 부호화된 정보인 것을 특징으로 하는 비디오 신호 디코딩 방법.
- 제3항에 있어서,상기 시그날링된 팔레트 예측 런의 값이 1인 경우, 상기 이전 블록의 팔레트 맵으로부터 현재 블록의 팔레트 엔트리를 획득하는 단계는 종료되는 것을 특징으로 하는 비디오 신호 디코딩 방법.
- 이전 블록의 팔레트 맵(palette map)으로부터 현재 블록의 적어도 하나의 팔레트 엔트리(palette entry)를 획득하고, 상기 획득된 팔레트 엔트리를 포함한 상기 현재 블록의 팔레트 맵을 구성하며, 상기 현재 블록의 샘플 단위로 팔레트 인덱스(palette index)를 유도하고, 상기 현재 블록의 팔레트 맵과 상기 팔레트 인덱스를 이용하여 상기 현재 블록을 복원하는 예측부를 포함하는 비디오 신호 디코딩 장치.
- 제5항에 있어서,상기 현재 블록의 팔레트 엔트리는 상기 이전 블록의 팔레트 맵에 속한 팔레트 엔트리가 상기 현재 블록의 팔레트 엔트리로 재사용되는지 여부를 나타내는 재사용 플래그(PredictorPaletteEntryReuseFlag)에 기초하여 결정되는 것을 특징으로 하는 비디오 신호 디코딩 장치.
- 제6항에 있어서, 상기 예측부는,비트스트림으로부터 시그날링된 팔레트 예측 런(pallete_predictor_run)에 기초하여 상기 재사용 플래그를 유도하되,상기 팔레트 예측 런은 0이 아닌 재사용 플래그들 사이에 존재하는 0인 재사용 플래그의 개수를 특정하기 위해 부호화된 정보인 것을 특징으로 하는 비디오 신호 디코딩 장치.
- 제7항에 있어서, 상기 예측부는,상기 시그날링된 팔레트 예측 런의 값이 1인 경우, 상기 이전 블록의 팔레트 맵으로부터 현재 블록의 팔레트 엔트리를 획득하는 것을 종료하는 것을 특징으로 하는 비디오 신호 디코딩 장치.
- 이전 블록의 팔레트 맵(palette map)으로부터 현재 블록의 적어도 하나의 팔레트 엔트리(palette entry)를 획득하는 단계;상기 획득된 팔레트 엔트리를 포함한 상기 현재 블록의 팔레트 맵을 구성하는 단계;상기 현재 블록의 샘플 단위로 팔레트 인덱스(palette index)를 결정하는 단계; 및상기 현재 블록의 팔레트 맵과 상기 팔레트 인덱스를 이용하여 상기 현재 블록을 복원하는 단계를 포함하는 비디오 신호 인코딩 방법.
- 제9항에 있어서,상기 현재 블록의 팔레트 엔트리는 상기 이전 블록의 팔레트 맵에 속한 팔레트 엔트리가 상기 현재 블록의 팔레트 엔트리로 재사용되는지 여부를 나타내는 재사용 플래그(PredictorPaletteEntryReuseFlag)에 기초하여 결정되는 것을 특징으로 하는 비디오 신호 인코딩 방법.
- 제10항에 있어서,상기 재사용 플래그는 부호화된 팔레트 예측 런(pallete_predictor_run)에 기초하여 유도되되,상기 팔레트 예측 런은 0이 아닌 재사용 플래그들 사이에 존재하는 0인 재사용 플래그의 개수에 1을 더한 값으로 부호화되는 것을 특징으로 하는 비디오 신호 인코딩 방법.
- 제11항에 있어서,상기 부호화된 팔레트 예측 런의 값이 1인 경우, 상기 이전 블록의 팔레트 맵으로부터 현재 블록의 팔레트 엔트리를 획득하는 단계는 종료되는 것을 특징으로 하는 비디오 신호 인코딩 방법.
- 이전 블록의 팔레트 맵(palette map)으로부터 현재 블록의 적어도 하나의 팔레트 엔트리(palette entry)를 획득하고, 상기 획득된 팔레트 엔트리를 포함한 상기 현재 블록의 팔레트 맵을 구성하며, 상기 현재 블록의 샘플 단위로 팔레트 인덱스(palette index)를 유도하고, 상기 현재 블록의 팔레트 맵과 상기 팔레트 인덱스를 이용하여 상기 현재 블록을 복원하는 예측부를 포함하는 비디오 신호 인코딩 장치.
- 제13항에 있어서,상기 현재 블록의 팔레트 엔트리는 상기 이전 블록의 팔레트 맵에 속한 팔레트 엔트리가 상기 현재 블록의 팔레트 엔트리로 재사용되는지 여부를 나타내는 재사용 플래그(PredictorPaletteEntryReuseFlag)에 기초하여 결정되는 것을 특징으로 하는 비디오 신호 인코딩 장치.
- 제14항에 있어서, 상기 예측부는,부호화된 팔레트 예측 런(pallete_predictor_run)에 기초하여 상기 재사용 플래그를 유도하되,상기 팔레트 예측 런은 0이 아닌 재사용 플래그들 사이에 존재하는 0인 재사용 플래그의 개수에 1을 더한 값으로 부호화된 것을 특징으로 하는 비디오 신호 인코딩 장치.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010712429.9A CN111970515B (zh) | 2015-01-29 | 2016-01-29 | 对视频信号进行编解码的方法 |
US15/545,053 US10477243B2 (en) | 2015-01-29 | 2016-01-29 | Method and apparatus for predicting and restoring a video signal using palette entry and palette mode |
CN201680007894.4A CN107409224B (zh) | 2015-01-29 | 2016-01-29 | 用于处理视频信号的方法和设备 |
Applications Claiming Priority (6)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR10-2015-0014541 | 2015-01-29 | ||
KR10-2015-0014539 | 2015-01-29 | ||
KR10-2015-0014540 | 2015-01-29 | ||
KR20150014539 | 2015-01-29 | ||
KR20150014541 | 2015-01-29 | ||
KR20150014540 | 2015-01-29 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016122251A1 true WO2016122251A1 (ko) | 2016-08-04 |
Family
ID=56543775
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/KR2016/001007 WO2016122251A1 (ko) | 2015-01-29 | 2016-01-29 | 비디오 신호 처리 방법 및 장치 |
Country Status (4)
Country | Link |
---|---|
US (1) | US10477243B2 (ko) |
KR (1) | KR102422484B1 (ko) |
CN (2) | CN107409224B (ko) |
WO (1) | WO2016122251A1 (ko) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016048092A1 (ko) * | 2014-09-26 | 2016-03-31 | 주식회사 케이티 | 비디오 신호 처리 방법 및 장치 |
WO2016064123A1 (ko) * | 2014-10-20 | 2016-04-28 | 주식회사 케이티 | 비디오 신호 처리 방법 및 장치 |
CN111131824B (zh) * | 2015-01-15 | 2023-10-03 | 株式会社Kt | 对视频信号进行解码的方法和对视频信号进行编码的方法 |
CN107211153B (zh) * | 2015-01-29 | 2020-10-02 | 株式会社Kt | 用于处理视频信号的方法和设备 |
CN107455007B (zh) * | 2015-04-02 | 2021-02-09 | 株式会社Kt | 对视频信号进行编解码的方法 |
US10390028B2 (en) * | 2015-06-03 | 2019-08-20 | Mediatek Inc. | Methods for palette coding of image and video data |
BR112022004606A2 (pt) * | 2019-09-12 | 2022-05-31 | Bytedance Inc | Método de processamento de vídeo, aparelho para processar dados de vídeo e meios de armazenamento e de gravação não transitórios legíveis por computador |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140301475A1 (en) * | 2013-04-05 | 2014-10-09 | Qualcomm Incorporated | Determining palette indices in palette-based video coding |
US20150016501A1 (en) * | 2013-07-12 | 2015-01-15 | Qualcomm Incorporated | Palette prediction in palette-based video coding |
Family Cites Families (57)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5883633A (en) * | 1997-04-15 | 1999-03-16 | Microsoft Corporation | Method and system of variable run length image encoding using sub-palette |
US6937759B2 (en) | 2002-02-28 | 2005-08-30 | Nokia Corporation | Method and device for reducing image by palette modification |
CN1251492C (zh) | 2002-04-19 | 2006-04-12 | 精工爱普生株式会社 | 利用基数近似或利用差分码和转义码的帧压缩 |
US6987807B2 (en) | 2002-04-19 | 2006-01-17 | Seiko Epson Corporation | Frame compression using differential codes and an escape code |
US6937652B2 (en) | 2002-04-19 | 2005-08-30 | Seiko Epson Corporation | Frame compression using radix approximation |
CN100342432C (zh) | 2002-10-02 | 2007-10-10 | Lg电子有限公司 | 用于控制图形数据再现的数据结构的记录和再现方法 |
US7525552B2 (en) | 2004-04-21 | 2009-04-28 | Slipstream Data Inc. | Method, system and software product for color image encoding |
KR100868716B1 (ko) | 2004-04-21 | 2008-11-13 | 슬립스트림 데이터 인크. | 컬러 이미지 인코딩을 위한 방법, 시스템 및 소프트웨어제품 |
TWI317914B (en) | 2006-08-03 | 2009-12-01 | Via Tech Inc | Color-displayed method, color-changed method and apparatus thereof |
AU2006246497B2 (en) | 2006-11-30 | 2010-02-11 | Canon Kabushiki Kaisha | Method and apparatus for hybrid image compression |
EP1988703A1 (en) | 2007-05-02 | 2008-11-05 | TTPCOM Limited | Image transformation |
US20090010533A1 (en) | 2007-07-05 | 2009-01-08 | Mediatek Inc. | Method and apparatus for displaying an encoded image |
KR101631280B1 (ko) | 2009-07-28 | 2016-06-16 | 삼성전자주식회사 | 스킵 모드에 기초한 영상을 복호화하는 방법 및 장치 |
JP5218333B2 (ja) | 2009-08-21 | 2013-06-26 | セイコーエプソン株式会社 | 画像処理装置 |
US8861879B2 (en) | 2009-09-17 | 2014-10-14 | Samsung Electronics Co., Ltd. | Method and apparatus for encoding and decoding image based on skip mode |
US20110112667A1 (en) | 2009-11-12 | 2011-05-12 | Bally Gaming, Inc. | Gaming Audio Codec System and Method |
US20110110416A1 (en) | 2009-11-12 | 2011-05-12 | Bally Gaming, Inc. | Video Codec System and Method |
AU2009243440A1 (en) | 2009-11-30 | 2011-06-16 | Canon Kabushiki Kaisha | Optimised rendering of palette images |
JP5281624B2 (ja) | 2010-09-29 | 2013-09-04 | 日本電信電話株式会社 | 画像符号化方法,画像復号方法,画像符号化装置,画像復号装置およびそれらのプログラム |
CN102088604B (zh) | 2011-02-10 | 2013-06-26 | 深圳创维数字技术股份有限公司 | 一种影片缩略图的压缩方法及压缩装置 |
US9357185B2 (en) | 2011-11-08 | 2016-05-31 | Qualcomm Incorporated | Context optimization for last significant coefficient position coding |
US9154792B2 (en) | 2011-11-08 | 2015-10-06 | Qualcomm Incorporated | Progressive coding of position of last significant coefficient |
CN102523367B (zh) | 2011-12-29 | 2016-06-15 | 全时云商务服务股份有限公司 | 基于多调色板的实时图像压缩和还原方法 |
CN102833463A (zh) | 2012-08-13 | 2012-12-19 | 华为技术有限公司 | 一种图片处理方法及设备 |
US20140192866A1 (en) | 2013-01-09 | 2014-07-10 | Mitsubishi Electric Research Laboratories, Inc. | Data Remapping for Predictive Video Coding |
JP6136644B2 (ja) * | 2013-06-28 | 2017-05-31 | 富士電機株式会社 | 半導体圧力センサ装置およびその製造方法 |
US9729875B2 (en) | 2013-07-08 | 2017-08-08 | Sony Corporation | Palette coding mode |
EP3080991B1 (en) | 2013-12-10 | 2020-02-12 | Canon Kabushiki Kaisha | Improved palette mode in hevc |
GB2528431B (en) * | 2014-05-21 | 2020-11-18 | Canon Kk | Improved encoding process using a palette mode |
CN106031171B (zh) | 2013-12-27 | 2019-08-30 | 联发科技股份有限公司 | 具有跨块预测的调色板编码的方法和装置 |
CN105981388B (zh) | 2013-12-27 | 2019-05-10 | 寰发股份有限公司 | 调色板编码中句法冗余移除的方法和装置 |
KR101845462B1 (ko) | 2014-03-14 | 2018-04-04 | 브이아이디 스케일, 인크. | 스크린 콘텐츠 코딩을 위한 팔레트 코딩 |
CN106464914A (zh) | 2014-03-17 | 2017-02-22 | 诺基亚技术有限公司 | 用于视频编码和解码的方法和技术设备 |
US10362336B2 (en) * | 2014-03-25 | 2019-07-23 | Qualcomm Incorporated | Palette predictor signaling with run length code for video coding |
US10291940B2 (en) | 2014-05-23 | 2019-05-14 | Qualcomm Incorporated | Coding runs with escape in palette-based video coding |
US10237557B2 (en) * | 2014-06-20 | 2019-03-19 | Hfi Innovation Inc. | Method of run-length coding for palette predictor |
US10477204B2 (en) * | 2014-06-20 | 2019-11-12 | Sharp Kabushiki Kaisha | Harmonized palette coding |
KR101887798B1 (ko) * | 2014-06-20 | 2018-08-10 | 에이치에프아이 이노베이션 인크. | 비디오 코딩에서의 신택스에 대한 이진화 및 컨텍스트 적응 코딩의 방법 및 장치 |
JP6417027B2 (ja) * | 2014-07-07 | 2018-10-31 | 寰發股▲ふん▼有限公司HFI Innovation Inc. | インデックスマップ符号化の予測器としてエスケープ画素を処理する方法 |
US10687064B2 (en) | 2014-08-04 | 2020-06-16 | Qualcomm Incorporated | Palette mode encoding and decoding with inferred pixel scan order |
US9544607B2 (en) * | 2014-08-25 | 2017-01-10 | Hfi Innovation Inc. | Method of palette index signaling for image and video coding |
WO2016048092A1 (ko) * | 2014-09-26 | 2016-03-31 | 주식회사 케이티 | 비디오 신호 처리 방법 및 장치 |
US10158866B2 (en) | 2014-09-26 | 2018-12-18 | Qualcomm Incorporated | Parsing dependency reduction for palette index coding |
CN111131818B (zh) | 2014-10-01 | 2023-05-26 | 株式会社Kt | 对视频信号进行解码的方法和对视频信号进行编码的方法 |
MX2017004467A (es) * | 2014-10-06 | 2017-12-14 | Vid Scale Inc | Codificacion de paleta mejorada para codificacion de contenido de pantalla. |
US10097837B2 (en) * | 2014-10-10 | 2018-10-09 | Qualcomm Incorporated | Palette run hiding in palette-based video coding |
WO2016064123A1 (ko) * | 2014-10-20 | 2016-04-28 | 주식회사 케이티 | 비디오 신호 처리 방법 및 장치 |
CN111131824B (zh) * | 2015-01-15 | 2023-10-03 | 株式会社Kt | 对视频信号进行解码的方法和对视频信号进行编码的方法 |
CN107211153B (zh) * | 2015-01-29 | 2020-10-02 | 株式会社Kt | 用于处理视频信号的方法和设备 |
WO2016123388A1 (en) * | 2015-01-29 | 2016-08-04 | Vid Scale, Inc. | Palette coding modes and palette flipping |
US9986248B2 (en) * | 2015-01-29 | 2018-05-29 | Qualcomm Incorporated | Palette mode coding for video coding |
US20160227254A1 (en) | 2015-01-30 | 2016-08-04 | Qualcomm Incorporated | Coding palette run in palette-based video coding |
US9942551B2 (en) | 2015-01-30 | 2018-04-10 | Qualcomm Incorporated | Palette index grouping for video coding |
CN107455007B (zh) * | 2015-04-02 | 2021-02-09 | 株式会社Kt | 对视频信号进行编解码的方法 |
CN107534782B (zh) | 2015-04-08 | 2020-09-08 | 寰发股份有限公司 | 视频编解码中调色板模式编解码方法 |
CN107431824B (zh) | 2015-04-08 | 2020-10-02 | 寰发股份有限公司 | 视频编解码中调色板模式上下文编解码和二值化的方法 |
US10448058B2 (en) * | 2015-05-21 | 2019-10-15 | Qualcomm Incorporated | Grouping palette index at the end and index coding using palette size and run value |
-
2016
- 2016-01-29 WO PCT/KR2016/001007 patent/WO2016122251A1/ko active Application Filing
- 2016-01-29 CN CN201680007894.4A patent/CN107409224B/zh active Active
- 2016-01-29 KR KR1020160011272A patent/KR102422484B1/ko active IP Right Grant
- 2016-01-29 US US15/545,053 patent/US10477243B2/en active Active
- 2016-01-29 CN CN202010712429.9A patent/CN111970515B/zh active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140301475A1 (en) * | 2013-04-05 | 2014-10-09 | Qualcomm Incorporated | Determining palette indices in palette-based video coding |
US20150016501A1 (en) * | 2013-07-12 | 2015-01-15 | Qualcomm Incorporated | Palette prediction in palette-based video coding |
Non-Patent Citations (3)
Title |
---|
JOSHI, RAJAN ET AL.: "CE6 subtest A.5: Contexts for Run Coding in Palette Mode", JCTVC-S0038, JCT-VC 19TH MEETING: STRASBOURG, FR, 8 October 2014 (2014-10-08) * |
PU, WEI ET AL.: "Non-CE6: Improvement On Palette Sharing Mode", JCTVC-S0108RL, JCT-VC 19TH MEETING: STRASBOURG, FR, 10 October 2014 (2014-10-10) * |
SEREGIN, VADIM ET AL.: "Non-SCCE3: Run-Length Coding for Palette Predictor", JCTVC-R0228, JCT-VC 18TH MEETING: SAPPORO, JP, 2 July 2014 (2014-07-02) * |
Also Published As
Publication number | Publication date |
---|---|
CN107409224B (zh) | 2020-09-08 |
CN107409224A (zh) | 2017-11-28 |
CN111970515B (zh) | 2024-03-29 |
KR20160093564A (ko) | 2016-08-08 |
KR102422484B1 (ko) | 2022-07-20 |
US20180020236A1 (en) | 2018-01-18 |
US10477243B2 (en) | 2019-11-12 |
CN111970515A (zh) | 2020-11-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2016052977A1 (ko) | 비디오 신호 처리 방법 및 장치 | |
WO2017188652A1 (ko) | 영상 부호화/복호화 방법 및 장치 | |
WO2016159610A1 (ko) | 비디오 신호 처리 방법 및 장치 | |
WO2020071830A1 (ko) | 히스토리 기반 움직임 정보를 이용한 영상 코딩 방법 및 그 장치 | |
WO2018174593A1 (ko) | 적응적인 화소 분류 기준에 따른 인루프 필터링 방법 | |
WO2018066959A1 (ko) | 비디오 신호 처리 방법 및 장치 | |
WO2017039256A1 (ko) | 비디오 신호 처리 방법 및 장치 | |
WO2016048092A1 (ko) | 비디오 신호 처리 방법 및 장치 | |
WO2018008904A2 (ko) | 비디오 신호 처리 방법 및 장치 | |
WO2017209328A1 (ko) | 영상 코딩 시스템에서 인트라 예측 방법 및 장치 | |
WO2016114583A1 (ko) | 비디오 신호 처리 방법 및 장치 | |
WO2017164441A1 (ko) | 비디오 코딩 시스템에서 인터 예측 방법 및 장치 | |
WO2017014412A1 (ko) | 비디오 코딩 시스템에서 인트라 예측 방법 및 장치 | |
WO2017052009A1 (ko) | 영상 코딩 시스템에서 amvr 기반한 영상 코딩 방법 및 장치 | |
WO2014171713A1 (ko) | 인트라 예측을 이용한 비디오 부호화/복호화 방법 및 장치 | |
WO2019117639A1 (ko) | 변환에 기반한 영상 코딩 방법 및 그 장치 | |
WO2013154366A1 (ko) | 블록 정보에 따른 변환 방법 및 이러한 방법을 사용하는 장치 | |
WO2016064123A1 (ko) | 비디오 신호 처리 방법 및 장치 | |
WO2016122251A1 (ko) | 비디오 신호 처리 방법 및 장치 | |
WO2020009419A1 (ko) | 병합 후보를 사용하는 비디오 코딩 방법 및 장치 | |
WO2017082443A1 (ko) | 영상 코딩 시스템에서 임계값을 이용한 적응적 영상 예측 방법 및 장치 | |
WO2016085231A1 (ko) | 비디오 신호 처리 방법 및 장치 | |
WO2016122253A1 (ko) | 비디오 신호 처리 방법 및 장치 | |
WO2018044089A1 (ko) | 비디오 신호 처리 방법 및 장치 | |
WO2019194484A1 (ko) | 인트라 예측을 이용한 영상 부호화/복호화 방법 및 장치 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16743729 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 15545053 Country of ref document: US |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 16.11.2017) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16743729 Country of ref document: EP Kind code of ref document: A1 |