WO2016048092A1 - 비디오 신호 처리 방법 및 장치 - Google Patents

비디오 신호 처리 방법 및 장치 Download PDF

Info

Publication number
WO2016048092A1
WO2016048092A1 PCT/KR2015/010213 KR2015010213W WO2016048092A1 WO 2016048092 A1 WO2016048092 A1 WO 2016048092A1 KR 2015010213 W KR2015010213 W KR 2015010213W WO 2016048092 A1 WO2016048092 A1 WO 2016048092A1
Authority
WO
WIPO (PCT)
Prior art keywords
palette
index
current block
map
sample
Prior art date
Application number
PCT/KR2015/010213
Other languages
English (en)
French (fr)
Inventor
이배근
김주영
Original Assignee
주식회사 케이티
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 케이티 filed Critical 주식회사 케이티
Priority to CN201580052244.7A priority Critical patent/CN107079151B/zh
Priority to US15/511,673 priority patent/US10469870B2/en
Publication of WO2016048092A1 publication Critical patent/WO2016048092A1/ko

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods 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/129Scanning of coding units, e.g. zig-zag scan of transform coefficients or flexible macroblock ordering [FMO]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/593Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/001Texturing; Colouring; Generation of texture or colour
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods 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/17Methods 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/176Methods 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/80Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
    • G06F3/1475Digital 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods 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

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 comprises constructing a palette map for a current block encoded in a palette mode, deriving a palette index in a predetermined scan order in units of samples of the current block, and generating the palette index. Restoring each sample of the current block by using a palette entry having a map index of the same value as the palette index derived from the map.
  • the palette map is characterized by comprising at least one palette entry and a map index identifying the palette entry.
  • the palette entry is characterized in that it comprises at least one of a predicted palette entry or a signaled palette entry.
  • the predicted palette entry means a palette entry reused in the current block among palette entries included in a palette map of a previous block, and the signaled palette entry refers to the current block. This means that the palette entry is not included in the palette map of the previous block among the palette entries to be used.
  • the predetermined scan order is one of a horizontal traverse scan or a vertical traverse scan.
  • the horizontal traverse scan is a method in which odd rows of the current block are scanned from left to right, and even rows are scanned from right to left, and the vertical traverse is performed.
  • the scanning is characterized in that the odd column (column) of the current block is scanned from the top to the bottom, the even row is scanned from the bottom to the top.
  • the palette index may be derived using at least one of an index mode and a copy mode.
  • the index mode is a method of deriving the palette index based on the encoded palette index information
  • the copy mode is the neighboring sample adjacent to the current sample
  • the palette index may be used to derive the palette index of the current sample.
  • the palette index for at least one sample of the current block is the encoded palette index information. And it is derived using the encoded palette index run.
  • the palette index run is characterized in that the number of times the same palette index is repeated.
  • the value of the derived palette index for the current sample is equal to the number of palette entries constituting the palette map of the current block.
  • the current sample may be recovered based on an escape mode.
  • the escape mode is a method of restoring a sample value based on a palette escape value that is additionally signaled without using a palette entry of the configured palette map. It features.
  • the escape mode is adaptively used based on the number of palette entries forming the palette map of the current block.
  • the number of palette entries constituting the palette map of the current block when the number of palette entries constituting the palette map of the current block is greater than zero, it is allowed to recover at least one sample of the current block based on the escape mode. When the number of palette entries constituting the palette map of the current block is 0, restoring the current block based on the escape mode is not allowed.
  • the video signal decoding apparatus constructs a palette map for a current block encoded in a palette mode, derives a palette index according to a predetermined scan order in units of samples of the current block, and generates the palette map. And a reconstruction unit for reconstructing each sample of the current block by using a palette entry having a map index having the same value as the palette index derived from a map.
  • the palette map is configured by at least one palette entry and a map index identifying the palette entry.
  • the palette entry may include at least one of a predicted palette entry or a signaled palette entry.
  • the predicted palette entry refers to a palette entry reused in the current block among palette entries included in a palette map of a previous block, and the signaled palette entry refers to the current block. This means that the palette entry is not included in the palette map of the previous block among the palette entries to be used.
  • the predetermined scan order is one of a horizontal traverse scan or a vertical traverse scan.
  • the horizontal traverse scan is a method in which odd rows of the current block are scanned from left to right, even columns are scanned from right to left, and the vertical traverse is performed.
  • the scanning is characterized in that the odd column (column) of the current block is scanned from the top to the bottom, the even row is scanned from the bottom to the top.
  • the reconstruction unit may induce the palette index in at least one of an index mode and a copy mode.
  • the index mode is a method of deriving the palette index based on the encoded palette index information
  • the copy mode is the neighboring sample adjacent to the current sample
  • the palette index may be used to derive the palette index of the current sample.
  • the coded palette index information and the coded palette index run (palette index run) run) to derive a palette index for at least one sample of the current block.
  • the palette index run is characterized in that the number of times the same palette index is repeated.
  • the reconstructing unit when the value of the derived palette index with respect to the current sample is the same as the number of palette entries constituting the palette map of the current block (ESCAPE MODE) Based on restoring the current sample.
  • the escape mode is a method of restoring a sample value based on a palette escape value that is additionally signaled without using a palette entry of the configured palette map. It features.
  • the escape mode is adaptively used based on the number of palette entries constituting the palette map of the current block.
  • the number of palette entries constituting the palette map of the current block when the number of palette entries constituting the palette map of the current block is greater than zero, it is allowed to restore at least one sample of the current block based on the escape mode. When the number of palette entries constituting the palette map of the current block is 0, restoring the current block based on the escape mode is not allowed.
  • the video signal encoding method comprises constructing a palette map for a current block encoded in a palette mode, deriving a palette index in a predetermined scan order in units of samples of the current block, and generating the palette index. Restoring each sample of the current block by using a palette entry having a map index of the same value as the palette index derived from the map.
  • the palette map is characterized by consisting of at least one palette entry and a map index for identifying the palette entry.
  • the palette entry includes at least one of a predicted palette entry or a signaled palette entry, wherein the predicted palette entry is the current one of palette entries included in a palette map of a previous block.
  • the palette entry is reused in the block, and the signaled palette entry may be a palette entry that is not included in the palette map of the previous block among the palette entries used by the current block.
  • the predetermined scan order is either a horizontal traverse scan or a vertical traverse scan, wherein the horizontal traverse scan has an odd row of the current block from left to right. Scan in the right-to-left direction, the vertical traverse scan scans the odd rows of the current block from top to bottom, and the even rows scan from the bottom to the top. It is characterized by.
  • the palette index may be derived using at least one of an index mode and a copy mode.
  • the index mode is a method of deriving a palette index based on the palette index information
  • the copy mode is a palette index of a neighboring sample adjacent to the current sample It is characterized in that the method of inducing a palette index of the current sample using.
  • the palette index for at least one sample of the current block is the palette index information and palette It is derived using a palette index run, wherein the palette index run is characterized by indicating the number of times the same palette index is repeated.
  • the value of the derived palette index for the current sample is equal to the number of palette entries constituting the palette map of the current block.
  • the current sample is restored based on an ESCAPE MODE, and the escape mode does not use a palette entry of the configured palette map, but based on a palette escape value that is additionally signaled. Characterized in that the method to restore the value.
  • the escape mode is adaptively used based on the number of palette entries constituting the palette map of the current block.
  • the number of palette entries constituting the palette map of the current block when the number of palette entries constituting the palette map of the current block is greater than zero, it is allowed to restore at least one sample of the current block based on the escape mode. When the number of palette entries constituting the palette map of the current block is 0, restoring the current block based on the escape mode is not allowed.
  • the video signal encoding apparatus constructs a palette map for a current block encoded in a palette mode, derives a palette index in a predetermined scan order in units of samples of the current block, and generates the palette map. And a reconstruction unit for reconstructing each sample of the current block by using a palette entry having a map index having the same value as the palette index derived from a map.
  • 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 reuse flag in a limited manner based on a last entry flag last_previous_entry_flag according to an embodiment to which the present invention is applied.
  • FIG. 7 relates to a method of deriving a palette index of a current block based on palette index information and a palette index run according to an embodiment to which the present invention is applied.
  • FIG. 8 is an embodiment to which the present invention is applied and relates to a method of deriving a palette index of a current block based on palette index information and palette index run when the palette map of the current block includes two palette entries.
  • FIG. 9 is a diagram illustrating a scanning sequence used in a palette mode as an embodiment to which the present invention is applied.
  • FIG. 10 illustrates a method of determining the number of palette entries used by a current block in an embodiment to which the present invention is applied.
  • the video signal decoding method comprises constructing a palette map for a current block encoded in a palette mode, deriving a palette index in a predetermined scan order in units of samples of the current block, and generating the palette index. Restoring each sample of the current block by using a palette entry having a map index of the same value as the palette index derived from the map.
  • the palette map is characterized by comprising at least one palette entry and a map index identifying the palette entry.
  • the palette entry is characterized in that it comprises at least one of a predicted palette entry or a signaled palette entry.
  • the predicted palette entry means a palette entry reused in the current block among palette entries included in a palette map of a previous block, and the signaled palette entry refers to the current block. This means that the palette entry is not included in the palette map of the previous block among the palette entries to be used.
  • the predetermined scan order is one of a horizontal traverse scan or a vertical traverse scan.
  • the horizontal traverse scan is a method in which odd rows of the current block are scanned from left to right, and even rows are scanned from right to left, and the vertical traverse is performed.
  • the scanning is characterized in that the odd column (column) of the current block is scanned from the top to the bottom, the even row is scanned from the bottom to the top.
  • the palette index may be derived using at least one of an index mode and a copy mode.
  • the index mode is a method of deriving the palette index based on the encoded palette index information
  • the copy mode is the neighboring sample adjacent to the current sample
  • the palette index may be used to derive the palette index of the current sample.
  • the palette index for at least one sample of the current block is the encoded palette index information. And it is derived using the encoded palette index run.
  • the palette index run is characterized in that the number of times the same palette index is repeated.
  • the value of the derived palette index for the current sample is equal to the number of palette entries constituting the palette map of the current block.
  • the current sample may be recovered based on an escape mode.
  • the escape mode is a method of restoring a sample value based on a palette escape value that is additionally signaled without using a palette entry of the configured palette map. It features.
  • the escape mode is adaptively used based on the number of palette entries forming the palette map of the current block.
  • the number of palette entries constituting the palette map of the current block when the number of palette entries constituting the palette map of the current block is greater than zero, it is allowed to recover at least one sample of the current block based on the escape mode. When the number of palette entries constituting the palette map of the current block is 0, restoring the current block based on the escape mode is not allowed.
  • the video signal decoding apparatus constructs a palette map for a current block encoded in a palette mode, derives a palette index according to a predetermined scan order in units of samples of the current block, and generates the palette map. And a reconstruction unit for reconstructing each sample of the current block by using a palette entry having a map index having the same value as the palette index derived from a map.
  • the palette map is configured by at least one palette entry and a map index identifying the palette entry.
  • the palette entry may include at least one of a predicted palette entry or a signaled palette entry.
  • the predicted palette entry refers to a palette entry reused in the current block among palette entries included in a palette map of a previous block, and the signaled palette entry refers to the current block. This means that the palette entry is not included in the palette map of the previous block among the palette entries to be used.
  • the predetermined scan order is one of a horizontal traverse scan or a vertical traverse scan.
  • the horizontal traverse scan is a method in which odd rows of the current block are scanned from left to right, even columns are scanned from right to left, and the vertical traverse is performed.
  • the scanning is characterized in that the odd column (column) of the current block is scanned from the top to the bottom, the even row is scanned from the bottom to the top.
  • the reconstruction unit may induce the palette index in at least one of an index mode and a copy mode.
  • the index mode is a method of deriving the palette index based on the encoded palette index information
  • the copy mode is the neighboring sample adjacent to the current sample
  • the palette index may be used to derive the palette index of the current sample.
  • the coded palette index information and the coded palette index run (palette index run) run) to derive a palette index for at least one sample of the current block.
  • the palette index run is characterized in that the number of times the same palette index is repeated.
  • the reconstructing unit when the value of the derived palette index with respect to the current sample is the same as the number of palette entries constituting the palette map of the current block (ESCAPE MODE) Based on restoring the current sample.
  • the escape mode is a method of restoring a sample value based on a palette escape value that is additionally signaled without using a palette entry of the configured palette map. It features.
  • the escape mode is adaptively used based on the number of palette entries constituting the palette map of the current block.
  • the number of palette entries constituting the palette map of the current block when the number of palette entries constituting the palette map of the current block is greater than zero, it is allowed to restore at least one sample of the current block based on the escape mode. When the number of palette entries constituting the palette map of the current block is 0, restoring the current block based on the escape mode is not allowed.
  • the video signal encoding method comprises constructing a palette map for a current block encoded in a palette mode, deriving a palette index in a predetermined scan order in units of samples of the current block, and generating the palette index. Restoring each sample of the current block by using a palette entry having a map index of the same value as the palette index derived from the map.
  • the palette map is characterized by consisting of at least one palette entry and a map index for identifying the palette entry.
  • the palette entry includes at least one of a predicted palette entry or a signaled palette entry, wherein the predicted palette entry is the current one of palette entries included in a palette map of a previous block.
  • the palette entry is reused in the block, and the signaled palette entry may be a palette entry that is not included in the palette map of the previous block among the palette entries used by the current block.
  • the predetermined scan order is either a horizontal traverse scan or a vertical traverse scan, wherein the horizontal traverse scan has an odd row of the current block from left to right. Scan in the right-to-left direction, the vertical traverse scan scans the odd rows of the current block from top to bottom, and the even rows scan from the bottom to the top. It is characterized by.
  • the palette index may be derived using at least one of an index mode and a copy mode.
  • the index mode is a method of deriving a palette index based on the palette index information
  • the copy mode is a palette index of a neighboring sample adjacent to the current sample It is characterized in that the method of inducing a palette index of the current sample using.
  • the palette index for at least one sample of the current block is the palette index information and palette It is derived using a palette index run, wherein the palette index run is characterized by indicating the number of times the same palette index is repeated.
  • the value of the derived palette index for the current sample is equal to the number of palette entries constituting the palette map of the current block.
  • the current sample is restored based on an ESCAPE MODE, and the escape mode does not use a palette entry of the configured palette map, but based on a palette escape value that is additionally signaled. Characterized in that the method to restore the value.
  • the escape mode is adaptively used based on the number of palette entries constituting the palette map of the current block.
  • the number of palette entries constituting the palette map of the current block when the number of palette entries constituting the palette map of the current block is greater than zero, it is allowed to restore at least one sample of the current block based on the escape mode. When the number of palette entries constituting the palette map of the current block is 0, restoring the current block based on the escape mode is not allowed.
  • the video signal encoding apparatus constructs a palette map for a current block encoded in a palette mode, derives a palette index in a predetermined scan order in units of samples of the current block, and generates the palette map. And a reconstruction unit for reconstructing each sample of the current block by using a palette entry having a map index having the same value as the palette index derived from a map.
  • 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 signaled 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 may be signaled in the form of a run vector based binary vector, which will be described in detail with reference to FIGS. 4 to 6.
  • a variable between a reuse variable array (predictor_palette_entry_reuse_flag) that specifies whether or not to reuse the previous palette entry to selectively use some palette entries in the palette map of the previous block and nonzero reuse variables in the reuse variable array.
  • predictor_palette_entry_reuse_flag a variable between a reuse variable array that specifies whether or not to reuse the previous palette entry to selectively use some palette entries in the palette map of the previous block and nonzero reuse variables in the reuse variable array.
  • a syntax palette_predictor_run value that specifies the number of reuse variables whose value is 0 may be used.
  • 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 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. 9.
  • the current block may derive a palette index using at least one of an index mode and a copy 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.
  • 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.
  • 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 forming the palette map of the current block.
  • a method of determining the number of palette entries used by the current block will be described later with reference to FIG. 10. For example, if the number of palette entries used by the current block is greater than zero (eg, the number of palette entries is one), then at least one sample of the current block may be allowed to be restored based on the escape mode. Can be. On the contrary, when the number of palette entries used by the current block is 0, the current block is not allowed to be restored based on the escape mode.
  • 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 reuse flag in a limited manner based on a last entry flag last_previous_entry_flag according to an embodiment to which the present invention is applied.
  • a reuse flag (previous_palette_entry_flag [idx]) may be obtained in consideration of the size of the palette map of the previous block (S600).
  • the reuse flag may indicate whether the palette entry corresponding to the current map index idx in the palette map of the previous block is reused as the palette entry of the current block.
  • the reuse flag may be obtained within a range in which the current map index idx is smaller than the size of the palette map of the previous block (or the number of palette entries constituting the palette map of the previous block).
  • the last entry flag last_previous_entry_flag may be obtained based on the reuse flag acquired in step S600 (S610).
  • the last entry flag is extracted from the bitstream, and if the value is 0, the last entry flag is not extracted from the bitstream.
  • the last entry flag may indicate whether the palette entry corresponding to the current map index idx is the last palette entry among the palette entries of the previous block to be reused as the palette entry of the current block. For example, if the last entry flag has a value of 1, a palette entry with a map index with a value greater than the current map index idx is not reused as a palette entry of the current block. On the other hand, if the last entry flag has a value of 0, at least one of the palette entries having a map index having a value larger than the current map index idx may be reused as the palette entry of the current block.
  • the value of the current map index idx may be updated to a predetermined value based on the last entry flag obtained in step S610 (S620).
  • the value of the current map index idx may be updated to a value equal to the size of the palette map of the previous block.
  • the reuse flag is extracted within the size range of the palette map of the previous block, so that the reuse flag is not signaled for the palette entry having a map index having a value larger than the current map index idx.
  • the last entry flag has a value of 0, it means that at least one of the palette entries having a map index greater than the current map index idx can be reused as the palette entry of the current block, and thus the current map index idx value. Can be increased by 1. That is, the current map index idx value is updated to a value of (idx + 1), and steps S600 and S610 may be repeatedly performed until the last entry flag has a value of 1.
  • the reuse flag of the present invention may be limitedly signaled based on the value of the last entry flag.
  • FIG. 7 relates to a method of deriving a palette index of a current block based on palette index information and a 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 a 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 at least one of information on the number of palette indexes to be encoded, palette index information on palette indexes to be encoded, or a palette index run in the current block.
  • 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.
  • FIG. 8 is an embodiment to which the present invention is applied and relates to a method of deriving a palette index of a current block based on palette index information and palette index run when the palette map of the current block includes two palette entries.
  • palette index used by the current block is arranged in one-dimensional form according to the horizontal traverse scan order, ⁇ 0, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0 , 0, 1, 1, 0, 0 ⁇ .
  • the one-dimensional array is grouped into palette indexes of successive and identical values according to the method described with reference to FIG.
  • the number of palette indexes to be encoded may be specified.
  • ⁇ 0, 1, 0, 1, 0, 1, 0 ⁇ can be obtained by removing the redundancy of the palette index for each group.
  • the palette index to be encoded is ⁇ 0, 1, 0, 1, 0. , 1, 0 ⁇ , and the number of palette indexes to be encoded may be specified as seven.
  • palette indexes are generated alternately, and thus it is not necessary to encode all of the palette indexes to be encoded. If only the palette index of the first sample of the current block (eg, the sample with the first scan order) is signaled, then the palette index of the samples with the subsequent scan order may be derived in the image decoding apparatus based on the encoded palette index run. Can be.
  • the image encoding apparatus may encode palette index information regarding the first sample of the palette index to be encoded and all palette index runs corresponding to the palette index to be encoded.
  • 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 is palette index information regarding a sample having the first scan order in the current block, as described above.
  • the image decoding apparatus when the image decoding apparatus obtains palette index information 0 from the bitstream and acquires the palette index run 1 corresponding thereto, the sample having the scanning order (1) and (2) of the current block is obtained. You can assign palette index 0 sequentially. Then, when the palette index run 2 of the second group is obtained from the bitstream, the palette index of the second group may be derived with a value different from the palette index used immediately before. That is, since the value of the palette index used immediately before is 0, the palette index of the second group may be derived as 1. In this case, the image decoding apparatus may sequentially allocate the palette index 1 to the samples having the scan order (2) to (4) of the current block according to the scan order. In this way, a palette index can be derived for all samples of the current block.
  • FIG. 9 is a diagram illustrating a scanning sequence used in a palette mode as an embodiment to which the present invention is applied.
  • scan sequences used in the palette mode include 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. 10 illustrates a method of determining the number of palette entries used by a current block in an embodiment to which the present invention is applied.
  • a flag (one_palette_entry_flag) indicating whether the number of palette entries used by the current block is one may be obtained from the bitstream (S1000).
  • the current block may be restored using only one palette entry, and if the value is 0, the current block may be restored using a plurality of palette entries.
  • the value of one_palette_entry_flag is 1, the number of palette entries of the current block may be determined to be 1, and if the value is 0, the number of palette entries of the current block is based on the number of palette entries signaled from the bitstream. Can be derived.
  • the number information (palette_num_signalled_entries) of signaled palette entries may be obtained from the bitstream (S1010).
  • the number information of the signaled palette entries may indicate the number of palette entries which are not included in the previous palette map among the palette entries used by the current block.
  • the number of palette entries of the current block may be derived based on at least one of palette_num_signalled_entries obtained in step S1010 and the number of palette entries (numPredPreviousPalette) reused as palette entries of the current block in the previous palette map.
  • the number of palette entries of the current block may be derived as the sum of the value of numPredPreviousPalette and the value of palette_num_signalled_entries (S1020).
  • the number of palette entries of the current block may be derived based on palette_num_signalled_entries.
  • the number of palette entries of the current block may be derived by adding 2 to the value of palette_num_signalled_entries (S1030). This is because if the value of one_palette_entry_flag is 0, the palette map of the current block will include at least two palette entries, and thus palette_num_signalled_entries is encoded by subtracting 2 from the number of actual palette entries used by the current block.
  • palette_num_signalled_entries may encode the actual number of palette entries used by the current block as it is.
  • the number of palette entries of the current block may be derived to the same value as palette_num_signalled_entries.
  • the present invention can be used to code a video signal.

Abstract

본 발명에 따른 비디오 신호 처리 방법은 팔레트 모드로 부호화된 현재 블록에 대한 팔레트 맵을 구성하고, 현재 블록의 샘플 단위로 소정의 스캔 순서에 따라 팔레트 인덱스(palette index)를 유도하며, 팔레트 맵으로부터 유도된 팔레트 인덱스와 동일한 값의 맵 인덱스를 가진 팔레트 엔트리를 이용하여 현재 블록의 각 샘플을 복원하는 것을 특징으로 한다.

Description

비디오 신호 처리 방법 및 장치
본 발명은 비디오 신호 처리 방법 및 장치에 관한 것이다.
최근 HD(High Definition) 영상 및 UHD(Ultra High Definition) 영상과 같은 고해상도, 고품질의 영상에 대한 수요가 다양한 응용 분야에서 증가하고 있다. 영상 데이터가 고해상도, 고품질이 될수록 기존의 영상 데이터에 비해 상대적으로 데이터량이 증가하기 때문에 기존의 유무선 광대역 회선과 같은 매체를 이용하여 영상 데이터를 전송하거나 기존의 저장 매체를 이용해 저장하는 경우, 전송 비용과 저장 비용이 증가하게 된다. 영상 데이터가 고해상도, 고품질화 됨에 따라 발생하는 이러한 문제들을 해결하기 위해서는 고효율의 영상 압축 기술들이 활용될 수 있다.
영상 압축 기술로 현재 픽쳐의 이전 또는 이후 픽쳐로부터 현재 픽쳐에 포함된 화소값을 예측하는 화면 간 예측 기술, 현재 픽쳐 내의 화소 정보를 이용하여 현재 픽쳐에 포함된 화소값을 예측하는 화면 내 예측 기술, 출현 빈도가 높은 값에 짧은 부호를 할당하고 출현 빈도가 낮은 값에 긴 부호를 할당하는 엔트로피 부호화 기술 등 다양한 기술이 존재하고 이러한 영상 압축 기술을 이용해 영상 데이터를 효과적으로 압축하여 전송 또는 저장할 수 있다.
한편, 고해상도 영상에 대한 수요가 증가함과 함께, 새로운 영상 서비스로서 입체 영상 컨텐츠에 대한 수요도 함께 증가하고 있다. 고해상도 및 초고해상도의 입체 영상 콘텐츠를 효과적으로 제공하기 위한 비디오 압축 기술에 대하여 논의가 진행되고 있다.
본 발명은 비디오 신호를 부호화/복호화함에 있어서, 팔레트 모드에 기반한 예측 또는 복원 방법 및 장치를 제공하는 것을 목적으로 한다.
본 발명은 비디오 신호를 부호화/복호화함에 있어서, 부호화/복호화 대상 블록의 팔레트 맵을 구성하는 방법 및 장치를 제공하는 것을 목적으로 한다.
본 발명은 비디오 신호를 부호화/복호화함에 있어서, 부호화/복호화 대상 블록의 팔레트 인덱스를 유도하는 방법 및 장치를 제공하는 것을 목적으로 한다.
본 발명에 따른 비디오 신호 디코딩 방법은, 팔레트 모드로 부호화된 현재 블록에 대한 팔레트 맵을 구성하고, 상기 현재 블록의 샘플 단위로 소정의 스캔 순서에 따라 팔레트 인덱스(palette index)를 유도하며, 상기 팔레트 맵으로부터 상기 유도된 팔레트 인덱스와 동일한 값의 맵 인덱스를 가진 팔레트 엔트리를 이용하여 상기 현재 블록의 각 샘플을 복원하는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 방법에 있어서, 상기 팔레트 맵은 적어도 하나의 팔레트 엔트리(palette entry)와 상기 팔레트 엔트리를 식별하는 맵 인덱스(map index)로 구성되는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 방법에 있어서, 상기 팔레트 엔트리는 예측된 팔레트 엔트리 또는 시그널링된 팔레트 엔트리 중 적어도 하나를 포함하는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 방법에 있어서, 상기 예측된 팔레트 엔트리는 이전 블록의 팔레트 맵에 포함된 팔레트 엔트리 중 상기 현재 블록에서 재사용되는 팔레트 엔트리를 의미하고, 상기 시그날링된 팔레트 엔트리는 상기 현재 블록이 사용하는 팔레트 엔트리 중 상기 이전 블록의 팔레트 맵에 포함되지 않은 팔레트 엔트리를 의미하는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 방법에 있어서, 상기 소정의 스캔 순서는 수평 방향 트래버스 스캔 또는 수직 방향 트래버스 스캔 중 어느 하나인 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 방법에 있어서, 상기 수평 방향 트래버스 스캔은 상기 현재 블록의 홀수 열(row)은 왼쪽에서 오른쪽으로 스캔하고, 짝수 열은 오른쪽에서 왼쪽으로 스캔하는 방식이고, 상기 수직 방향 트래버스 스캔은 상기 현재 블록의 홀수 행(column)은 위쪽에서 아래쪽으로 스캔하고, 짝수 행은 아래쪽에서 위쪽으로 스캔하는 방식인 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 방법에 있어서, 상기 팔레트 인덱스는 인덱스 모드(INDEX MODE) 또는 카피 모드(COPY MODE) 중 적어도 하나를 이용하여 유도되는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 방법에 있어서, 상기 인덱스 모드(INDEX MODE)는 부호화된 팔레트 인덱스 정보에 기반하여 팔레트 인덱스를 유도하는 방식이고, 상기 카피 모드(COPY MODE)는 현재 샘플에 인접한 이웃 샘플의 팔레트 인덱스를 이용하여 상기 현재 샘플의 팔레트 인덱스를 유도하는 방식인 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 방법에 있어서, 상기 현재 블록의 적어도 하나의 샘플이 인덱스 모드(INDEX MODE)를 사용하는 경우, 상기 현재 블록의 적어도 하나의 샘플에 대한 팔레트 인덱스는 상기 부호화된 팔레트 인덱스 정보와 부호화된 팔레트 인덱스 런(palette index run)을 이용하여 유도되는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 방법에 있어서, 상기 팔레트 인덱스 런은 동일한 팔레트 인덱스가 반복되는 횟수를 나타내는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 방법에 있어서, 상기 현재 샘플의 각 샘플을 복원하는 단계에서, 현재 샘플에 관한 상기 유도된 팔레트 인덱스의 값이 상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수와 동일한 경우, 상기 현재 샘플은 이스케이프 모드(ESCAPE MODE)에 기반하여 복원되는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 방법에 있어서, 상기 이스케이프 모드는 상기 구성된 팔레트 맵의 팔레트 엔트리를 이용하지 않고, 추가적으로 시그날링되는 팔레트 이스케이프 값(palette escape value)에 기반하여 샘플 값을 복원하는 방법인 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 방법에 있어서, 상기 이스케이프 모드는 상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수에 기초하여 적응적으로 이용되는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 방법에 있어서, 상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수가 0보다 큰 경우, 상기 현재 블록의 적어도 하나의 샘플을 상기 이스케이프 모드에 기반하여 복원하는 것이 허용되고, 상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수가 0인 경우, 상기 현재 블록을 상기 이스케이프 모드에 기반하여 복원하는 것이 허용되지 않는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 장치는, 팔레트 모드로 부호화된 현재 블록에 대한 팔레트 맵을 구성하고, 상기 현재 블록의 샘플 단위로 소정의 스캔 순서에 따라 팔레트 인덱스(palette index)를 유도하며, 상기 팔레트 맵으로부터 상기 유도된 팔레트 인덱스와 동일한 값의 맵 인덱스를 가진 팔레트 엔트리를 이용하여 상기 현재 블록의 각 샘플을 복원하는 복원부를 포함하는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 장치에 있어서, 상기 팔레트 맵은 적어도 하나의 팔레트 엔트리(palette entry)와 상기 팔레트 엔트리를 식별하는 맵 인덱스(map index)로 구성되는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 장치에 있어서, 상기 팔레트 엔트리는 예측된 팔레트 엔트리 또는 시그널링된 팔레트 엔트리 중 적어도 하나를 포함하는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 장치에 있어서, 상기 예측된 팔레트 엔트리는 이전 블록의 팔레트 맵에 포함된 팔레트 엔트리 중 상기 현재 블록에서 재사용되는 팔레트 엔트리를 의미하고, 상기 시그날링된 팔레트 엔트리는 상기 현재 블록이 사용하는 팔레트 엔트리 중 상기 이전 블록의 팔레트 맵에 포함되지 않은 팔레트 엔트리를 의미하는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 장치에 있어서, 상기 소정의 스캔 순서는 수평 방향 트래버스 스캔 또는 수직 방향 트래버스 스캔 중 어느 하나인 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 장치에 있어서, 상기 수평 방향 트래버스 스캔은 상기 현재 블록의 홀수 열(row)은 왼쪽에서 오른쪽으로 스캔하고, 짝수 열은 오른쪽에서 왼쪽으로 스캔하는 방식이고, 상기 수직 방향 트래버스 스캔은 상기 현재 블록의 홀수 행(column)은 위쪽에서 아래쪽으로 스캔하고, 짝수 행은 아래쪽에서 위쪽으로 스캔하는 방식인 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 장치에 있어서, 상기 복원부는, 인덱스 모드(INDEX MODE) 또는 카피 모드(COPY MODE) 중 적어도 하나를 상기 팔레트 인덱스를 유도하는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 장치에 있어서, 상기 인덱스 모드(INDEX MODE)는 부호화된 팔레트 인덱스 정보에 기반하여 팔레트 인덱스를 유도하는 방식이고, 상기 카피 모드(COPY MODE)는 현재 샘플에 인접한 이웃 샘플의 팔레트 인덱스를 이용하여 상기 현재 샘플의 팔레트 인덱스를 유도하는 방식인 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 장치에 있어서, 상기 복원부는, 상기 현재 블록의 적어도 하나의 샘플이 인덱스 모드(INDEX MODE)를 사용하는 경우, 상기 부호화된 팔레트 인덱스 정보와 부호화된 팔레트 인덱스 런(palette index run)을 이용하여 상기 현재 블록의 적어도 하나의 샘플에 대한 팔레트 인덱스를 유도하는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 장치에 있어서, 상기 팔레트 인덱스 런은 동일한 팔레트 인덱스가 반복되는 횟수를 나타내는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 장치에 있어서, 상기 복원부는, 현재 샘플에 관한 상기 유도된 팔레트 인덱스의 값이 상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수와 동일한 경우, 이스케이프 모드(ESCAPE MODE)에 기반하여 상기 현재 샘플을 복원하는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 장치에 있어서, 상기 이스케이프 모드는 상기 구성된 팔레트 맵의 팔레트 엔트리를 이용하지 않고, 추가적으로 시그날링되는 팔레트 이스케이프 값(palette escape value)에 기반하여 샘플 값을 복원하는 방법인 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 장치에 있어서, 상기 이스케이프 모드는 상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수에 기초하여 적응적으로 이용되는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 장치에 있어서, 상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수가 0보다 큰 경우, 상기 현재 블록의 적어도 하나의 샘플을 상기 이스케이프 모드에 기반하여 복원하는 것이 허용되고, 상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수가 0인 경우, 상기 현재 블록을 상기 이스케이프 모드에 기반하여 복원하는 것이 허용되지 않는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 인코딩 방법은, 팔레트 모드로 부호화된 현재 블록에 대한 팔레트 맵을 구성하고, 상기 현재 블록의 샘플 단위로 소정의 스캔 순서에 따라 팔레트 인덱스(palette index)를 유도하며, 상기 팔레트 맵으로부터 상기 유도된 팔레트 인덱스와 동일한 값의 맵 인덱스를 가진 팔레트 엔트리를 이용하여 상기 현재 블록의 각 샘플을 복원하는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 인코딩 방법에 있어서, 상기 팔레트 맵은 적어도 하나의 팔레트 엔트리(palette entry)와 상기 팔레트 엔트리를 식별하는 맵 인덱스(map index)로 구성되는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 인코딩 방법에 있어서, 상기 팔레트 엔트리는 예측된 팔레트 엔트리 또는 시그널링된 팔레트 엔트리 중 적어도 하나를 포함하고, 상기 예측된 팔레트 엔트리는 이전 블록의 팔레트 맵에 포함된 팔레트 엔트리 중 상기 현재 블록에서 재사용되는 팔레트 엔트리를 의미하고, 상기 시그날링된 팔레트 엔트리는 상기 현재 블록이 사용하는 팔레트 엔트리 중 상기 이전 블록의 팔레트 맵에 포함되지 않은 팔레트 엔트리를 의미하는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 인코딩 방법에 있어서, 상기 소정의 스캔 순서는 수평 방향 트래버스 스캔 또는 수직 방향 트래버스 스캔 중 어느 하나이며, 상기 수평 방향 트래버스 스캔은 상기 현재 블록의 홀수 열(row)은 왼쪽에서 오른쪽으로 스캔하고, 짝수 열은 오른쪽에서 왼쪽으로 스캔하는 방식이고, 상기 수직 방향 트래버스 스캔은 상기 현재 블록의 홀수 행(column)은 위쪽에서 아래쪽으로 스캔하고, 짝수 행은 아래쪽에서 위쪽으로 스캔하는 방식인 것을 특징으로 한다.
본 발명에 따른 비디오 신호 인코딩 방법에 있어서, 상기 팔레트 인덱스는 인덱스 모드(INDEX MODE) 또는 카피 모드(COPY MODE) 중 적어도 하나를 이용하여 유도되는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 인코딩 방법에 있어서, 상기 인덱스 모드(INDEX MODE)는 팔레트 인덱스 정보에 기반하여 팔레트 인덱스를 유도하는 방식이고, 상기 카피 모드(COPY MODE)는 현재 샘플에 인접한 이웃 샘플의 팔레트 인덱스를 이용하여 상기 현재 샘플의 팔레트 인덱스를 유도하는 방식인 것을 특징으로 한다.
본 발명에 따른 비디오 신호 인코딩 방법에 있어서, 상기 현재 블록의 적어도 하나의 샘플이 인덱스 모드(INDEX MODE)를 사용하는 경우, 상기 현재 블록의 적어도 하나의 샘플에 대한 팔레트 인덱스는 상기 팔레트 인덱스 정보와 팔레트 인덱스 런(palette index run)을 이용하여 유도되고, 상기 팔레트 인덱스 런은 동일한 팔레트 인덱스가 반복되는 횟수를 나타내는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 인코딩 방법에 있어서, 상기 현재 샘플의 각 샘플을 복원하는 단계에서, 현재 샘플에 관한 상기 유도된 팔레트 인덱스의 값이 상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수와 동일한 경우, 상기 현재 샘플은 이스케이프 모드(ESCAPE MODE)에 기반하여 복원되고, 상기 이스케이프 모드는 상기 구성된 팔레트 맵의 팔레트 엔트리를 이용하지 않고, 추가적으로 시그날링되는 팔레트 이스케이프 값(palette escape value)에 기반하여 샘플 값을 복원하는 방법인 것을 특징으로 한다.
본 발명에 따른 비디오 신호 인코딩 방법에 있어서, 상기 이스케이프 모드는 상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수에 기초하여 적응적으로 이용되는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 인코딩 방법에 있어서, 상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수가 0보다 큰 경우, 상기 현재 블록의 적어도 하나의 샘플을 상기 이스케이프 모드에 기반하여 복원하는 것이 허용되고, 상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수가 0인 경우, 상기 현재 블록을 상기 이스케이프 모드에 기반하여 복원하는 것이 허용되지 않는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 인코딩 장치는, 팔레트 모드로 부호화된 현재 블록에 대한 팔레트 맵을 구성하고, 상기 현재 블록의 샘플 단위로 소정의 스캔 순서에 따라 팔레트 인덱스(palette index)를 유도하며, 상기 팔레트 맵으로부터 상기 유도된 팔레트 인덱스와 동일한 값의 맵 인덱스를 가진 팔레트 엔트리를 이용하여 상기 현재 블록의 각 샘플을 복원하는 복원부를 포함하는 것을 특징으로 한다.
본 발명에 의하면, 팔레트 모드에 기반하여 부호화/복호화 대상 블록의 예측 또는 복원의 효율성을 높일 수 있다.
본 발명에 의하면, 부호화/복호화 대상 블록의 팔레트 맵을 이전 블록의 팔레트 맵으로부터 유도함으로써, 팔레트 엔트리 부호화/복호화 효율을 향상시킬 수 있다.
본 발명에 의하면, 부호화/복호화 대상 블록의 팔레트 인덱스를 인덱스 모드 또는 카피 모드에 기반하여 효율적으로 유도할 수 있다.
본 발명에 의하면, 팔레트 인덱스를 런 부호화 기반의 바이너리 벡터를 이용하여 부호화함으로써, 압축 효율을 향상시킬 수 있다.
본 발명에 의하면, 부호화/복호화 대상 블록의 샘플 값을 이스케이프 모드에 기반하여 복원함으로써, 팔레트 엔트리 범위를 벗어나는 샘플을 효과적으로 부호화/복호화할 수 있다.
도 1은 본 발명의 일실시예에 따른 영상 부호화 장치를 나타낸 블록도이다.
도 2는 본 발명의 일실시예에 따른 영상 복호화 장치를 나타낸 블록도이다.
도 3은 본 발명이 적용되는 일실시예로서, 팔레트 모드(palette mode) 기반하여 현재 블록을 복원하는 방법을 도시한 것이다.
도 4는 본 발명이 적용되는 일실시예로서, 재사용 플래그(previous_palette_entry_flag)를 제한적으로 시그날링하는 방법을 도시한 것이다.
도 5는 본 발명이 적용되는 일실시예로서, 런 부호화 기반의 바이너리 벡터의 형태로 재사용 플래그를 시그날링하는 방법을 도시한 것이다.
도 6은 본 발명이 적용되는 일실시예로서, 라스트 엔트리 플래그(last_previous_entry_flag)에 기반하여 재사용 플래그를 제한적으로 획득하는 방법을 도시한 것이다.
도 7은 본 발명이 적용되는 일실시예로서, 팔레트 인덱스 정보와 팔레트 인덱스 런에 기반하여 현재 블록의 팔레트 인덱스를 유도하는 방법에 관한 것이다.
도 8은 본 발명이 적용되는 일실시예로서, 현재 블록의 팔레트 맵이 2개의 팔레트 엔트리로 구성된 경우에 팔레트 인덱스 정보와 팔레트 인덱스 런에 기반하여 현재 블록의 팔레트 인덱스를 유도하는 방법에 관한 것이다.
도 9는 본 발명이 적용되는 일실시예로서, 팔레트 모드에서 사용하는 스캔 순서를 도시한 것이다.
도 10은 본 발명이 적용되는 일실시예로서, 현재 블록이 사용하는 팔레트 엔트리의 개수를 결정하는 방법에 관한 것이다.
본 발명에 따른 비디오 신호 디코딩 방법은, 팔레트 모드로 부호화된 현재 블록에 대한 팔레트 맵을 구성하고, 상기 현재 블록의 샘플 단위로 소정의 스캔 순서에 따라 팔레트 인덱스(palette index)를 유도하며, 상기 팔레트 맵으로부터 상기 유도된 팔레트 인덱스와 동일한 값의 맵 인덱스를 가진 팔레트 엔트리를 이용하여 상기 현재 블록의 각 샘플을 복원하는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 방법에 있어서, 상기 팔레트 맵은 적어도 하나의 팔레트 엔트리(palette entry)와 상기 팔레트 엔트리를 식별하는 맵 인덱스(map index)로 구성되는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 방법에 있어서, 상기 팔레트 엔트리는 예측된 팔레트 엔트리 또는 시그널링된 팔레트 엔트리 중 적어도 하나를 포함하는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 방법에 있어서, 상기 예측된 팔레트 엔트리는 이전 블록의 팔레트 맵에 포함된 팔레트 엔트리 중 상기 현재 블록에서 재사용되는 팔레트 엔트리를 의미하고, 상기 시그날링된 팔레트 엔트리는 상기 현재 블록이 사용하는 팔레트 엔트리 중 상기 이전 블록의 팔레트 맵에 포함되지 않은 팔레트 엔트리를 의미하는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 방법에 있어서, 상기 소정의 스캔 순서는 수평 방향 트래버스 스캔 또는 수직 방향 트래버스 스캔 중 어느 하나인 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 방법에 있어서, 상기 수평 방향 트래버스 스캔은 상기 현재 블록의 홀수 열(row)은 왼쪽에서 오른쪽으로 스캔하고, 짝수 열은 오른쪽에서 왼쪽으로 스캔하는 방식이고, 상기 수직 방향 트래버스 스캔은 상기 현재 블록의 홀수 행(column)은 위쪽에서 아래쪽으로 스캔하고, 짝수 행은 아래쪽에서 위쪽으로 스캔하는 방식인 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 방법에 있어서, 상기 팔레트 인덱스는 인덱스 모드(INDEX MODE) 또는 카피 모드(COPY MODE) 중 적어도 하나를 이용하여 유도되는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 방법에 있어서, 상기 인덱스 모드(INDEX MODE)는 부호화된 팔레트 인덱스 정보에 기반하여 팔레트 인덱스를 유도하는 방식이고, 상기 카피 모드(COPY MODE)는 현재 샘플에 인접한 이웃 샘플의 팔레트 인덱스를 이용하여 상기 현재 샘플의 팔레트 인덱스를 유도하는 방식인 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 방법에 있어서, 상기 현재 블록의 적어도 하나의 샘플이 인덱스 모드(INDEX MODE)를 사용하는 경우, 상기 현재 블록의 적어도 하나의 샘플에 대한 팔레트 인덱스는 상기 부호화된 팔레트 인덱스 정보와 부호화된 팔레트 인덱스 런(palette index run)을 이용하여 유도되는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 방법에 있어서, 상기 팔레트 인덱스 런은 동일한 팔레트 인덱스가 반복되는 횟수를 나타내는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 방법에 있어서, 상기 현재 샘플의 각 샘플을 복원하는 단계에서, 현재 샘플에 관한 상기 유도된 팔레트 인덱스의 값이 상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수와 동일한 경우, 상기 현재 샘플은 이스케이프 모드(ESCAPE MODE)에 기반하여 복원되는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 방법에 있어서, 상기 이스케이프 모드는 상기 구성된 팔레트 맵의 팔레트 엔트리를 이용하지 않고, 추가적으로 시그날링되는 팔레트 이스케이프 값(palette escape value)에 기반하여 샘플 값을 복원하는 방법인 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 방법에 있어서, 상기 이스케이프 모드는 상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수에 기초하여 적응적으로 이용되는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 방법에 있어서, 상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수가 0보다 큰 경우, 상기 현재 블록의 적어도 하나의 샘플을 상기 이스케이프 모드에 기반하여 복원하는 것이 허용되고, 상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수가 0인 경우, 상기 현재 블록을 상기 이스케이프 모드에 기반하여 복원하는 것이 허용되지 않는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 장치는, 팔레트 모드로 부호화된 현재 블록에 대한 팔레트 맵을 구성하고, 상기 현재 블록의 샘플 단위로 소정의 스캔 순서에 따라 팔레트 인덱스(palette index)를 유도하며, 상기 팔레트 맵으로부터 상기 유도된 팔레트 인덱스와 동일한 값의 맵 인덱스를 가진 팔레트 엔트리를 이용하여 상기 현재 블록의 각 샘플을 복원하는 복원부를 포함하는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 장치에 있어서, 상기 팔레트 맵은 적어도 하나의 팔레트 엔트리(palette entry)와 상기 팔레트 엔트리를 식별하는 맵 인덱스(map index)로 구성되는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 장치에 있어서, 상기 팔레트 엔트리는 예측된 팔레트 엔트리 또는 시그널링된 팔레트 엔트리 중 적어도 하나를 포함하는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 장치에 있어서, 상기 예측된 팔레트 엔트리는 이전 블록의 팔레트 맵에 포함된 팔레트 엔트리 중 상기 현재 블록에서 재사용되는 팔레트 엔트리를 의미하고, 상기 시그날링된 팔레트 엔트리는 상기 현재 블록이 사용하는 팔레트 엔트리 중 상기 이전 블록의 팔레트 맵에 포함되지 않은 팔레트 엔트리를 의미하는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 장치에 있어서, 상기 소정의 스캔 순서는 수평 방향 트래버스 스캔 또는 수직 방향 트래버스 스캔 중 어느 하나인 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 장치에 있어서, 상기 수평 방향 트래버스 스캔은 상기 현재 블록의 홀수 열(row)은 왼쪽에서 오른쪽으로 스캔하고, 짝수 열은 오른쪽에서 왼쪽으로 스캔하는 방식이고, 상기 수직 방향 트래버스 스캔은 상기 현재 블록의 홀수 행(column)은 위쪽에서 아래쪽으로 스캔하고, 짝수 행은 아래쪽에서 위쪽으로 스캔하는 방식인 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 장치에 있어서, 상기 복원부는, 인덱스 모드(INDEX MODE) 또는 카피 모드(COPY MODE) 중 적어도 하나를 상기 팔레트 인덱스를 유도하는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 장치에 있어서, 상기 인덱스 모드(INDEX MODE)는 부호화된 팔레트 인덱스 정보에 기반하여 팔레트 인덱스를 유도하는 방식이고, 상기 카피 모드(COPY MODE)는 현재 샘플에 인접한 이웃 샘플의 팔레트 인덱스를 이용하여 상기 현재 샘플의 팔레트 인덱스를 유도하는 방식인 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 장치에 있어서, 상기 복원부는, 상기 현재 블록의 적어도 하나의 샘플이 인덱스 모드(INDEX MODE)를 사용하는 경우, 상기 부호화된 팔레트 인덱스 정보와 부호화된 팔레트 인덱스 런(palette index run)을 이용하여 상기 현재 블록의 적어도 하나의 샘플에 대한 팔레트 인덱스를 유도하는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 장치에 있어서, 상기 팔레트 인덱스 런은 동일한 팔레트 인덱스가 반복되는 횟수를 나타내는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 장치에 있어서, 상기 복원부는, 현재 샘플에 관한 상기 유도된 팔레트 인덱스의 값이 상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수와 동일한 경우, 이스케이프 모드(ESCAPE MODE)에 기반하여 상기 현재 샘플을 복원하는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 장치에 있어서, 상기 이스케이프 모드는 상기 구성된 팔레트 맵의 팔레트 엔트리를 이용하지 않고, 추가적으로 시그날링되는 팔레트 이스케이프 값(palette escape value)에 기반하여 샘플 값을 복원하는 방법인 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 장치에 있어서, 상기 이스케이프 모드는 상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수에 기초하여 적응적으로 이용되는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 디코딩 장치에 있어서, 상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수가 0보다 큰 경우, 상기 현재 블록의 적어도 하나의 샘플을 상기 이스케이프 모드에 기반하여 복원하는 것이 허용되고, 상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수가 0인 경우, 상기 현재 블록을 상기 이스케이프 모드에 기반하여 복원하는 것이 허용되지 않는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 인코딩 방법은, 팔레트 모드로 부호화된 현재 블록에 대한 팔레트 맵을 구성하고, 상기 현재 블록의 샘플 단위로 소정의 스캔 순서에 따라 팔레트 인덱스(palette index)를 유도하며, 상기 팔레트 맵으로부터 상기 유도된 팔레트 인덱스와 동일한 값의 맵 인덱스를 가진 팔레트 엔트리를 이용하여 상기 현재 블록의 각 샘플을 복원하는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 인코딩 방법에 있어서, 상기 팔레트 맵은 적어도 하나의 팔레트 엔트리(palette entry)와 상기 팔레트 엔트리를 식별하는 맵 인덱스(map index)로 구성되는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 인코딩 방법에 있어서, 상기 팔레트 엔트리는 예측된 팔레트 엔트리 또는 시그널링된 팔레트 엔트리 중 적어도 하나를 포함하고, 상기 예측된 팔레트 엔트리는 이전 블록의 팔레트 맵에 포함된 팔레트 엔트리 중 상기 현재 블록에서 재사용되는 팔레트 엔트리를 의미하고, 상기 시그날링된 팔레트 엔트리는 상기 현재 블록이 사용하는 팔레트 엔트리 중 상기 이전 블록의 팔레트 맵에 포함되지 않은 팔레트 엔트리를 의미하는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 인코딩 방법에 있어서, 상기 소정의 스캔 순서는 수평 방향 트래버스 스캔 또는 수직 방향 트래버스 스캔 중 어느 하나이며, 상기 수평 방향 트래버스 스캔은 상기 현재 블록의 홀수 열(row)은 왼쪽에서 오른쪽으로 스캔하고, 짝수 열은 오른쪽에서 왼쪽으로 스캔하는 방식이고, 상기 수직 방향 트래버스 스캔은 상기 현재 블록의 홀수 행(column)은 위쪽에서 아래쪽으로 스캔하고, 짝수 행은 아래쪽에서 위쪽으로 스캔하는 방식인 것을 특징으로 한다.
본 발명에 따른 비디오 신호 인코딩 방법에 있어서, 상기 팔레트 인덱스는 인덱스 모드(INDEX MODE) 또는 카피 모드(COPY MODE) 중 적어도 하나를 이용하여 유도되는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 인코딩 방법에 있어서, 상기 인덱스 모드(INDEX MODE)는 팔레트 인덱스 정보에 기반하여 팔레트 인덱스를 유도하는 방식이고, 상기 카피 모드(COPY MODE)는 현재 샘플에 인접한 이웃 샘플의 팔레트 인덱스를 이용하여 상기 현재 샘플의 팔레트 인덱스를 유도하는 방식인 것을 특징으로 한다.
본 발명에 따른 비디오 신호 인코딩 방법에 있어서, 상기 현재 블록의 적어도 하나의 샘플이 인덱스 모드(INDEX MODE)를 사용하는 경우, 상기 현재 블록의 적어도 하나의 샘플에 대한 팔레트 인덱스는 상기 팔레트 인덱스 정보와 팔레트 인덱스 런(palette index run)을 이용하여 유도되고, 상기 팔레트 인덱스 런은 동일한 팔레트 인덱스가 반복되는 횟수를 나타내는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 인코딩 방법에 있어서, 상기 현재 샘플의 각 샘플을 복원하는 단계에서, 현재 샘플에 관한 상기 유도된 팔레트 인덱스의 값이 상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수와 동일한 경우, 상기 현재 샘플은 이스케이프 모드(ESCAPE MODE)에 기반하여 복원되고, 상기 이스케이프 모드는 상기 구성된 팔레트 맵의 팔레트 엔트리를 이용하지 않고, 추가적으로 시그날링되는 팔레트 이스케이프 값(palette escape value)에 기반하여 샘플 값을 복원하는 방법인 것을 특징으로 한다.
본 발명에 따른 비디오 신호 인코딩 방법에 있어서, 상기 이스케이프 모드는 상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수에 기초하여 적응적으로 이용되는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 인코딩 방법에 있어서, 상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수가 0보다 큰 경우, 상기 현재 블록의 적어도 하나의 샘플을 상기 이스케이프 모드에 기반하여 복원하는 것이 허용되고, 상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수가 0인 경우, 상기 현재 블록을 상기 이스케이프 모드에 기반하여 복원하는 것이 허용되지 않는 것을 특징으로 한다.
본 발명에 따른 비디오 신호 인코딩 장치는, 팔레트 모드로 부호화된 현재 블록에 대한 팔레트 맵을 구성하고, 상기 현재 블록의 샘플 단위로 소정의 스캔 순서에 따라 팔레트 인덱스(palette index)를 유도하며, 상기 팔레트 맵으로부터 상기 유도된 팔레트 인덱스와 동일한 값의 맵 인덱스를 가진 팔레트 엔트리를 이용하여 상기 현재 블록의 각 샘플을 복원하는 복원부를 포함하는 것을 특징으로 한다.
본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 각 도면을 설명하면서 유사한 참조부호를 유사한 구성요소에 대해 사용하였다.
제1, 제2 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다. 및/또는 이라는 용어는 복수의 관련된 기재된 항목들의 조합 또는 복수의 관련된 기재된 항목들 중의 어느 항목을 포함한다.
어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어"있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어"있다거나 "직접 접속되어"있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다.
본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.
이하, 첨부한 도면들을 참조하여, 본 발명의 바람직한 실시예를 보다 상세하게 설명하고자 한다. 이하, 도면상의 동일한 구성요소에 대해서는 동일한 참조부호를 사용하고 동일한 구성요소에 대해서 중복된 설명은 생략한다.
도 1은 본 발명의 일실시예에 따른 영상 부호화 장치를 나타낸 블록도이다.
도 1을 참조하면, 영상 부호화 장치(100)는 픽쳐 분할부(110), 예측부(120, 125), 변환부(130), 양자화부(135), 재정렬부(160), 엔트로피 부호화부(165), 역양자화부(140), 역변환부(145), 필터부(150) 및 메모리(155)를 포함할 수 있다.
도 1에 나타난 각 구성부들은 영상 부호화 장치에서 서로 다른 특징적인 기능들을 나타내기 위해 독립적으로 도시한 것으로, 각 구성부들이 분리된 하드웨어나 하나의 소프트웨어 구성단위로 이루어짐을 의미하지 않는다. 즉, 각 구성부는 설명의 편의상 각각의 구성부로 나열하여 포함한 것으로 각 구성부 중 적어도 두 개의 구성부가 합쳐져 하나의 구성부로 이루어지거나, 하나의 구성부가 복수개의 구성부로 나뉘어져 기능을 수행할 수 있고 이러한 각 구성부의 통합된 실시예 및 분리된 실시예도 본 발명의 본질에서 벗어나지 않는 한 본 발명의 권리범위에 포함된다.
또한, 일부의 구성 요소는 본 발명에서 본질적인 기능을 수행하는 필수적인 구성 요소는 아니고 단지 성능을 향상시키기 위한 선택적 구성 요소일 수 있다. 본 발명은 단지 성능 향상을 위해 사용되는 구성 요소를 제외한 본 발명의 본질을 구현하는데 필수적인 구성부만을 포함하여 구현될 수 있고, 단지 성능 향상을 위해 사용되는 선택적 구성 요소를 제외한 필수 구성 요소만을 포함한 구조도 본 발명의 권리범위에 포함된다.
픽쳐 분할부(110)는 입력된 픽쳐를 적어도 하나의 처리 단위로 분할할 수 있다. 이때, 처리 단위는 예측 단위(Prediction Unit: PU)일 수도 있고, 변환 단위(Transform Unit: TU)일 수도 있으며, 부호화 단위(Coding Unit: CU)일 수도 있다. 픽쳐 분할부(110)에서는 하나의 픽쳐에 대해 복수의 부호화 단위, 예측 단위 및 변환 단위의 조합으로 분할하고 소정의 기준(예를 들어, 비용 함수)으로 하나의 부호화 단위, 예측 단위 및 변환 단위 조합을 선택하여 픽쳐를 부호화 할 수 있다.
예를 들어, 하나의 픽쳐는 복수개의 부호화 단위로 분할될 수 있다. 픽쳐에서 부호화 단위를 분할하기 위해서는 쿼드 트리 구조(Quad Tree Structure)와 같은 재귀적인 트리 구조를 사용할 수 있는데 하나의 영상 또는 최대 크기 부호화 단위(largest coding unit)를 루트로 하여 다른 부호화 단위로 분할되는 부호화 유닛은 분할된 부호화 단위의 개수만큼의 자식 노드를 가지고 분할될 수 있다. 일정한 제한에 따라 더 이상 분할되지 않는 부호화 단위는 리프 노드가 된다. 즉, 하나의 코딩 유닛에 대하여 정방형 분할만이 가능하다고 가정하는 경우, 하나의 부호화 단위는 최대 4개의 다른 부호화 단위로 분할될 수 있다.
이하, 본 발명의 실시예에서는 부호화 단위는 부호화를 수행하는 단위의 의미로 사용할 수도 있고, 복호화를 수행하는 단위의 의미로 사용할 수도 있다.
예측 단위는 하나의 부호화 단위 내에서 동일한 크기의 적어도 하나의 정사각형 또는 직사각형 등의 형태를 가지고 분할된 것일 수도 있고, 하나의 부호화 단위 내에서 분할된 예측 단위 중 어느 하나의 예측 단위가 다른 하나의 예측 단위와 상이한 형태 및/또는 크기를 가지도록 분할된 것일 수도 있다.
부호화 단위를 기초로 인트라 예측을 수행하는 예측 단위를 생성시 최소 부호화 단위가 아닌 경우, 복수의 예측 단위 NxN 으로 분할하지 않고 인트라 예측을 수행할 수 있다.
예측부(120, 125)는 인터 예측을 수행하는 인터 예측부(120)와 인트라 예측을 수행하는 인트라 예측부(125)를 포함할 수 있다. 예측 단위에 대해 인터 예측을 사용할 것인지 또는 인트라 예측을 수행할 것인지를 결정하고, 각 예측 방법에 따른 구체적인 정보(예컨대, 인트라 예측 모드, 모션 벡터, 참조 픽쳐 등)를 결정할 수 있다. 이때, 예측이 수행되는 처리 단위와 예측 방법 및 구체적인 내용이 정해지는 처리 단위는 다를 수 있다. 예컨대, 예측의 방법과 예측 모드 등은 예측 단위로 결정되고, 예측의 수행은 변환 단위로 수행될 수도 있다. 생성된 예측 블록과 원본 블록 사이의 잔차값(잔차 블록)은 변환부(130)로 입력될 수 있다. 또한, 예측을 위해 사용한 예측 모드 정보, 모션 벡터 정보 등은 잔차값과 함께 엔트로피 부호화부(165)에서 부호화되어 복호화기에 전달될 수 있다. 특정한 부호화 모드를 사용할 경우, 예측부(120, 125)를 통해 예측 블록을 생성하지 않고, 원본 블록을 그대로 부호화하여 복호화부에 전송하는 것도 가능하다.
인터 예측부(120)는 현재 픽쳐의 이전 픽쳐 또는 이후 픽쳐 중 적어도 하나의 픽쳐의 정보를 기초로 예측 단위를 예측할 수도 있고, 경우에 따라서는 현재 픽쳐 내의 부호화가 완료된 일부 영역의 정보를 기초로 예측 단위를 예측할 수도 있다. 인터 예측부(120)는 참조 픽쳐 보간부, 모션 예측부, 움직임 보상부를 포함할 수 있다.
참조 픽쳐 보간부에서는 메모리(155)로부터 참조 픽쳐 정보를 제공받고 참조 픽쳐에서 정수 화소 이하의 화소 정보를 생성할 수 있다. 휘도 화소의 경우, 1/4 화소 단위로 정수 화소 이하의 화소 정보를 생성하기 위해 필터 계수를 달리하는 DCT 기반의 8탭 보간 필터(DCT-based Interpolation Filter)가 사용될 수 있다. 색차 신호의 경우 1/8 화소 단위로 정수 화소 이하의 화소 정보를 생성하기 위해 필터 계수를 달리하는 DCT 기반의 4탭 보간 필터(DCT-based Interpolation Filter)가 사용될 수 있다.
모션 예측부는 참조 픽쳐 보간부에 의해 보간된 참조 픽쳐를 기초로 모션 예측을 수행할 수 있다. 모션 벡터를 산출하기 위한 방법으로 FBMA(Full search-based Block Matching Algorithm), TSS(Three Step Search), NTS(New Three-Step Search Algorithm) 등 다양한 방법이 사용될 수 있다. 모션 벡터는 보간된 화소를 기초로 1/2 또는 1/4 화소 단위의 모션 벡터값을 가질 수 있다. 모션 예측부에서는 모션 예측 방법을 다르게 하여 현재 예측 단위를 예측할 수 있다. 모션 예측 방법으로 스킵(Skip) 방법, 머지(Merge) 방법, AMVP(Advanced Motion Vector Prediction) 방법, 인트라 블록 카피(Intra Block Copy) 방법 등 다양한 방법이 사용될 수 있다.
인트라 예측부(125)는 현재 픽쳐 내의 화소 정보인 현재 블록 주변의 참조 픽셀 정보를 기초로 예측 단위를 생성할 수 있다. 현재 예측 단위의 주변 블록이 인터 예측을 수행한 블록이어서, 참조 픽셀이 인터 예측을 수행한 픽셀일 경우, 인터 예측을 수행한 블록에 포함되는 참조 픽셀을 주변의 인트라 예측을 수행한 블록의 참조 픽셀 정보로 대체하여 사용할 수 있다. 즉, 참조 픽셀이 가용하지 않는 경우, 가용하지 않은 참조 픽셀 정보를 가용한 참조 픽셀 중 적어도 하나의 참조 픽셀로 대체하여 사용할 수 있다.
인트라 예측에서 예측 모드는 참조 픽셀 정보를 예측 방향에 따라 사용하는 방향성 예측 모드와 예측을 수행시 방향성 정보를 사용하지 않는 비방향성 모드를 가질 수 있다. 휘도 정보를 예측하기 위한 모드와 색차 정보를 예측하기 위한 모드가 상이할 수 있고, 색차 정보를 예측하기 위해 휘도 정보를 예측하기 위해 사용된 인트라 예측 모드 정보 또는 예측된 휘도 신호 정보를 활용할 수 있다.
인트라 예측을 수행할 때 예측 단위의 크기와 변환 단위의 크기가 동일할 경우, 예측 단위의 좌측에 존재하는 픽셀, 좌측 상단에 존재하는 픽셀, 상단에 존재하는 픽셀을 기초로 예측 단위에 대한 인트라 예측을 수행할 수 있다. 그러나 인트라 예측을 수행할 때 예측 단위의 크기와 변환 단위의 크기가 상이할 경우, 변환 단위를 기초로 한 참조 픽셀을 이용하여 인트라 예측을 수행할 수 있다. 또한, 최소 부호화 단위에 대해서만 N x N 분할을 사용하는 인트라 예측을 사용할 수 있다.
인트라 예측 방법은 예측 모드에 따라 참조 화소에 AIS(Adaptive Intra Smoothing) 필터를 적용한 후 예측 블록을 생성할 수 있다. 참조 화소에 적용되는 AIS 필터의 종류는 상이할 수 있다. 인트라 예측 방법을 수행하기 위해 현재 예측 단위의 인트라 예측 모드는 현재 예측 단위의 주변에 존재하는 예측 단위의 인트라 예측 모드로부터 예측할 수 있다. 주변 예측 단위로부터 예측된 모드 정보를 이용하여 현재 예측 단위의 예측 모드를 예측하는 경우, 현재 예측 단위와 주변 예측 단위의 인트라 예측 모드가 동일하면 소정의 플래그 정보를 이용하여 현재 예측 단위와 주변 예측 단위의 예측 모드가 동일하다는 정보를 전송할 수 있고, 만약 현재 예측 단위와 주변 예측 단위의 예측 모드가 상이하면 엔트로피 부호화를 수행하여 현재 블록의 예측 모드 정보를 부호화할 수 있다.
또한, 예측부(120, 125)에서 생성된 예측 단위를 기초로 예측을 수행한 예측 단위와 예측 단위의 원본 블록과 차이값인 잔차값(Residual) 정보를 포함하는 잔차 블록이 생성될 수 있다. 생성된 잔차 블록은 변환부(130)로 입력될 수 있다.
변환부(130)에서는 원본 블록과 예측부(120, 125)를 통해 생성된 예측 단위의 잔차값(residual)정보를 포함한 잔차 블록을 DCT(Discrete Cosine Transform), DST(Discrete Sine Transform), KLT와 같은 변환 방법을 사용하여 변환시킬 수 있다. 잔차 블록을 변환하기 위해 DCT를 적용할지, DST를 적용할지 또는 KLT를 적용할지는 잔차 블록을 생성하기 위해 사용된 예측 단위의 인트라 예측 모드 정보를 기초로 결정할 수 있다.
양자화부(135)는 변환부(130)에서 주파수 영역으로 변환된 값들을 양자화할 수 있다. 블록에 따라 또는 영상의 중요도에 따라 양자화 계수는 변할 수 있다. 양자화부(135)에서 산출된 값은 역양자화부(140)와 재정렬부(160)에 제공될 수 있다.
재정렬부(160)는 양자화된 잔차값에 대해 계수값의 재정렬을 수행할 수 있다.
재정렬부(160)는 계수 스캐닝(Coefficient Scanning) 방법을 통해 2차원의 블록 형태 계수를 1차원의 벡터 형태로 변경할 수 있다. 예를 들어, 재정렬부(160)에서는 지그-재그 스캔(Zig-Zag Scan)방법을 이용하여 DC 계수부터 고주파수 영역의 계수까지 스캔하여 1차원 벡터 형태로 변경시킬 수 있다. 변환 단위의 크기 및 인트라 예측 모드에 따라 지그-재그 스캔 대신 2차원의 블록 형태 계수를 열 방향으로 스캔하는 수직 스캔, 2차원의 블록 형태 계수를 행 방향으로 스캔하는 수평 스캔이 사용될 수도 있다. 즉, 변환 단위의 크기 및 인트라 예측 모드에 따라 지그-재그 스캔, 수직 방향 스캔 및 수평 방향 스캔 중 어떠한 스캔 방법이 사용될지 여부를 결정할 수 있다.
엔트로피 부호화부(165)는 재정렬부(160)에 의해 산출된 값들을 기초로 엔트로피 부호화를 수행할 수 있다. 엔트로피 부호화는 예를 들어, 지수 골롬(Exponential Golomb), CAVLC(Context-Adaptive Variable Length Coding), CABAC(Context-Adaptive Binary Arithmetic Coding)과 같은 다양한 부호화 방법을 사용할 수 있다.
엔트로피 부호화부(165)는 재정렬부(160) 및 예측부(120, 125)로부터 부호화 단위의 잔차값 계수 정보 및 블록 타입 정보, 예측 모드 정보, 분할 단위 정보, 예측 단위 정보 및 전송 단위 정보, 모션 벡터 정보, 참조 프레임 정보, 블록의 보간 정보, 필터링 정보 등 다양한 정보를 부호화할 수 있다.
엔트로피 부호화부(165)에서는 재정렬부(160)에서 입력된 부호화 단위의 계수값을 엔트로피 부호화할 수 있다.
역양자화부(140) 및 역변환부(145)에서는 양자화부(135)에서 양자화된 값들을 역양자화하고 변환부(130)에서 변환된 값들을 역변환한다. 역양자화부(140) 및 역변환부(145)에서 생성된 잔차값(Residual)은 예측부(120, 125)에 포함된 움직임 추정부, 움직임 보상부 및 인트라 예측부를 통해서 예측된 예측 단위와 합쳐져 복원 블록(Reconstructed Block)을 생성할 수 있다.
필터부(150)는 디블록킹 필터, 오프셋 보정부, ALF(Adaptive Loop Filter)중 적어도 하나를 포함할 수 있다.
디블록킹 필터는 복원된 픽쳐에서 블록간의 경계로 인해 생긴 블록 왜곡을 제거할 수 있다. 디블록킹을 수행할지 여부를 판단하기 위해 블록에 포함된 몇 개의 열 또는 행에 포함된 픽셀을 기초로 현재 블록에 디블록킹 필터 적용할지 여부를 판단할 수 있다. 블록에 디블록킹 필터를 적용하는 경우 필요한 디블록킹 필터링 강도에 따라 강한 필터(Strong Filter) 또는 약한 필터(Weak Filter)를 적용할 수 있다. 또한 디블록킹 필터를 적용함에 있어 수직 필터링 및 수평 필터링 수행시 수평 방향 필터링 및 수직 방향 필터링이 병행 처리되도록 할 수 있다.
오프셋 보정부는 디블록킹을 수행한 영상에 대해 픽셀 단위로 원본 영상과의 오프셋을 보정할 수 있다. 특정 픽쳐에 대한 오프셋 보정을 수행하기 위해 영상에 포함된 픽셀을 일정한 수의 영역으로 구분한 후 오프셋을 수행할 영역을 결정하고 해당 영역에 오프셋을 적용하는 방법 또는 각 픽셀의 에지 정보를 고려하여 오프셋을 적용하는 방법을 사용할 수 있다.
ALF(Adaptive Loop Filtering)는 필터링한 복원 영상과 원래의 영상을 비교한 값을 기초로 수행될 수 있다. 영상에 포함된 픽셀을 소정의 그룹으로 나눈 후 해당 그룹에 적용될 하나의 필터를 결정하여 그룹마다 차별적으로 필터링을 수행할 수 있다. ALF를 적용할지 여부에 관련된 정보는 휘도 신호는 부호화 단위(Coding Unit, CU) 별로 전송될 수 있고, 각각의 블록에 따라 적용될 ALF 필터의 모양 및 필터 계수는 달라질 수 있다. 또한, 적용 대상 블록의 특성에 상관없이 동일한 형태(고정된 형태)의 ALF 필터가 적용될 수도 있다.
메모리(155)는 필터부(150)를 통해 산출된 복원 블록 또는 픽쳐를 저장할 수 있고, 저장된 복원 블록 또는 픽쳐는 인터 예측을 수행 시 예측부(120, 125)에 제공될 수 있다.
도 2는 본 발명의 일실시예에 따른 영상 복호화 장치를 나타낸 블록도이다.
도 2를 참조하면, 영상 복호화기(200)는 엔트로피 복호화부(210), 재정렬부(215), 역양자화부(220), 역변환부(225), 예측부(230, 235), 필터부(240), 메모리(245)가 포함될 수 있다.
영상 부호화기에서 영상 비트스트림이 입력된 경우, 입력된 비트스트림은 영상 부호화기와 반대의 절차로 복호화될 수 있다.
엔트로피 복호화부(210)는 영상 부호화기의 엔트로피 부호화부에서 엔트로피 부호화를 수행한 것과 반대의 절차로 엔트로피 복호화를 수행할 수 있다. 예를 들어, 영상 부호화기에서 수행된 방법에 대응하여 지수 골롬(Exponential Golomb), CAVLC(Context-Adaptive Variable Length Coding), CABAC(Context-Adaptive Binary Arithmetic Coding)과 같은 다양한 방법이 적용될 수 있다.
엔트로피 복호화부(210)에서는 부호화기에서 수행된 인트라 예측 및 인터 예측에 관련된 정보를 복호화할 수 있다.
재정렬부(215)는 엔트로피 복호화부(210)에서 엔트로피 복호화된 비트스트림을 부호화부에서 재정렬한 방법을 기초로 재정렬을 수행할 수 있다. 1차원 벡터 형태로 표현된 계수들을 다시 2차원의 블록 형태의 계수로 복원하여 재정렬할 수 있다. 재정렬부(215)에서는 부호화부에서 수행된 계수 스캐닝에 관련된 정보를 제공받고 해당 부호화부에서 수행된 스캐닝 순서에 기초하여 역으로 스캐닝하는 방법을 통해 재정렬을 수행할 수 있다.
역양자화부(220)는 부호화기에서 제공된 양자화 파라미터와 재정렬된 블록의 계수값을 기초로 역양자화를 수행할 수 있다.
역변환부(225)는 영상 부호화기에서 수행한 양자화 결과에 대해 변환부에서 수행한 변환 즉, DCT, DST, 및 KLT에 대해 역변환 즉, 역 DCT, 역 DST 및 역 KLT를 수행할 수 있다. 역변환은 영상 부호화기에서 결정된 전송 단위를 기초로 수행될 수 있다. 영상 복호화기의 역변환부(225)에서는 예측 방법, 현재 블록의 크기 및 예측 방향 등 복수의 정보에 따라 변환 기법(예를 들어, DCT, DST, KLT)이 선택적으로 수행될 수 있다.
예측부(230, 235)는 엔트로피 복호화부(210)에서 제공된 예측 블록 생성 관련 정보와 메모리(245)에서 제공된 이전에 복호화된 블록 또는 픽쳐 정보를 기초로 예측 블록을 생성할 수 있다.
전술한 바와 같이 영상 부호화기에서의 동작과 동일하게 인트라 예측을 수행시 예측 단위의 크기와 변환 단위의 크기가 동일할 경우, 예측 단위의 좌측에 존재하는 픽셀, 좌측 상단에 존재하는 픽셀, 상단에 존재하는 픽셀을 기초로 예측 단위에 대한 인트라 예측을 수행하지만, 인트라 예측을 수행시 예측 단위의 크기와 변환 단위의 크기가 상이할 경우, 변환 단위를 기초로 한 참조 픽셀을 이용하여 인트라 예측을 수행할 수 있다. 또한, 최소 부호화 단위에 대해서만 N x N 분할을 사용하는 인트라 예측을 사용할 수도 있다.
예측부(230, 235)는 예측 단위 판별부, 인터 예측부 및 인트라 예측부를 포함할 수 있다. 예측 단위 판별부는 엔트로피 복호화부(210)에서 입력되는 예측 단위 정보, 인트라 예측 방법의 예측 모드 정보, 인터 예측 방법의 모션 예측 관련 정보 등 다양한 정보를 입력 받고 현재 부호화 단위에서 예측 단위를 구분하고, 예측 단위가 인터 예측을 수행하는지 아니면 인트라 예측을 수행하는지 여부를 판별할 수 있다. 인터 예측부(230)는 영상 부호화기에서 제공된 현재 예측 단위의 인터 예측에 필요한 정보를 이용해 현재 예측 단위가 포함된 현재 픽쳐의 이전 픽쳐 또는 이후 픽쳐 중 적어도 하나의 픽쳐에 포함된 정보를 기초로 현재 예측 단위에 대한 인터 예측을 수행할 수 있다. 또는, 현재 예측 단위가 포함된 현재 픽쳐 내에서 기-복원된 일부 영역의 정보를 기초로 인터 예측을 수행할 수도 있다.
인터 예측을 수행하기 위해 부호화 단위를 기준으로 해당 부호화 단위에 포함된 예측 단위의 모션 예측 방법이 스킵 모드(Skip Mode), 머지 모드(Merge 모드), AMVP 모드(AMVP Mode), 인트라 블록 카피 모드 중 어떠한 방법인지 여부를 판단할 수 있다.
인트라 예측부(235)는 현재 픽쳐 내의 화소 정보를 기초로 예측 블록을 생성할 수 있다. 예측 단위가 인트라 예측을 수행한 예측 단위인 경우, 영상 부호화기에서 제공된 예측 단위의 인트라 예측 모드 정보를 기초로 인트라 예측을 수행할 수 있다. 인트라 예측부(235)에는 AIS(Adaptive Intra Smoothing) 필터, 참조 화소 보간부, DC 필터를 포함할 수 있다. AIS 필터는 현재 블록의 참조 화소에 필터링을 수행하는 부분으로써 현재 예측 단위의 예측 모드에 따라 필터의 적용 여부를 결정하여 적용할 수 있다. 영상 부호화기에서 제공된 예측 단위의 예측 모드 및 AIS 필터 정보를 이용하여 현재 블록의 참조 화소에 AIS 필터링을 수행할 수 있다. 현재 블록의 예측 모드가 AIS 필터링을 수행하지 않는 모드일 경우, AIS 필터는 적용되지 않을 수 있다.
참조 화소 보간부는 예측 단위의 예측 모드가 참조 화소를 보간한 화소값을 기초로 인트라 예측을 수행하는 예측 단위일 경우, 참조 화소를 보간하여 정수값 이하의 화소 단위의 참조 화소를 생성할 수 있다. 현재 예측 단위의 예측 모드가 참조 화소를 보간하지 않고 예측 블록을 생성하는 예측 모드일 경우 참조 화소는 보간되지 않을 수 있다. DC 필터는 현재 블록의 예측 모드가 DC 모드일 경우 필터링을 통해서 예측 블록을 생성할 수 있다.
복원된 블록 또는 픽쳐는 필터부(240)로 제공될 수 있다. 필터부(240)는 디블록킹 필터, 오프셋 보정부, ALF를 포함할 수 있다.
영상 부호화기로부터 해당 블록 또는 픽쳐에 디블록킹 필터를 적용하였는지 여부에 대한 정보 및 디블록킹 필터를 적용하였을 경우, 강한 필터를 적용하였는지 또는 약한 필터를 적용하였는지에 대한 정보를 제공받을 수 있다. 영상 복호화기의 디블록킹 필터에서는 영상 부호화기에서 제공된 디블록킹 필터 관련 정보를 제공받고 영상 복호화기에서 해당 블록에 대한 디블록킹 필터링을 수행할 수 있다.
오프셋 보정부는 부호화시 영상에 적용된 오프셋 보정의 종류 및 오프셋 값 정보 등을 기초로 복원된 영상에 오프셋 보정을 수행할 수 있다.
ALF는 부호화기로부터 제공된 ALF 적용 여부 정보, ALF 계수 정보 등을 기초로 부호화 단위에 적용될 수 있다. 이러한 ALF 정보는 특정한 파라메터 셋에 포함되어 제공될 수 있다.
메모리(245)는 복원된 픽쳐 또는 블록을 저장하여 참조 픽쳐 또는 참조 블록으로 사용할 수 있도록 할 수 있고 또한 복원된 픽쳐를 출력부로 제공할 수 있다.
전술한 바와 같이 이하, 본 발명의 실시예에서는 설명의 편의상 코딩 유닛(Coding Unit)을 부호화 단위라는 용어로 사용하지만, 부호화뿐만 아니라 복호화를 수행하는 단위가 될 수도 있다.
도 3은 본 발명이 적용되는 일실시예로서, 팔레트 모드(palette mode) 기반하여 현재 블록을 복원하는 방법을 도시한 것이다.
애니메이션이나 그래픽이 포함되어 있는 영상의 경우, 전부 또는 일부 영역의 영상이 특정 화소값으로만 구성되어 있는 경우가 발생할 수 있다. 이러한 경우 인터 예측 또는 인트라 예측 방법을 사용하지 않고, 해당 영역을 구성하는 특정 화소값을 부호화하는 방법을 사용할 수 있으며, 이를 팔레트 모드라 한다. 팔레트 모드는 블록 단위(예를 들어, 코딩 유닛, 예측 유닛)로 적용될 수 있으며, 이를 위해 블록 단위로 팔레트 모드의 사용 여부를 나타내는 플래그 정보(palette_mode_flag)를 시그날링할 수도 있다.
도 3을 참조하면, 팔레트 모드로 부호화된 현재 블록에 대한 팔레트 맵(palette map)을 구성할 수 있다(S300).
팔레트 맵은 적어도 하나의 팔레트 엔트리(palette entry)와 각각의 팔레트 엔트리를 식별하는 맵 인덱스(map index)로 구성될 수 있다. 현재 블록의 팔레트 맵은 이전 블록의 팔레트 맵(이하, 이전 팔레트 맵이라 함)으로부터 유도될 수 있다. 여기서, 이전 블록은 현재 블록 이전에 부호화 또는 복호화된 블록을 의미할 수 있다.
상기 현재 블록의 팔레트 엔트리는 예측된 팔레트 엔트리 또는 시그널링된 팔레트 엔트리 중 적어도 하나를 포함할 수 있다. 현재 블록은 이전 블록이 사용한 팔레트 엔트리의 전부 또는 일부를 사용할 수 있으며, 이와 같이 이전 블록에서 사용된 팔레트 엔트리 중 현재 블록에서 재사용되는 팔레트 엔트리를 예측된 팔레트 엔트리라 부르기로 한다.
구체적으로, 현재 블록은 이전 블록과 동일한 팔레트 맵을 이용할 수 있으며, 이를 위해 현재 블록이 이전 블록과 동일한 팔레트 맵을 이용하는지 여부를 나타내는 플래그(palette_share_flag)를 시그날링할 수 있다. 여기서, 동일한 팔레트 맵이라 함은 팔레트 맵의 크기(또는, 팔레트 맵에 포함된 팔레트 엔트리의 개수)가 동일하고, 팔레트 맵에 포함된 팔레트 엔트리가 동일함을 의미한다. palette_share_flag의 값이 1이면, 현재 블록은 이전 블록과 동일한 팔레트 맵을 이용하고, 그 값이 0이면, 현재 블록은 이전 블록과 팔레트 맵의 크기 또는 팔레트 맵에 포함된 팔레트 엔트리 중 적어도 하나가 상이한 팔레트 맵을 이용할 수 있다.
또는, 현재 블록은 이전 팔레트 맵의 일부 팔레트 엔트리를 선택적으로 이용할 수도 있으며, 이를 위해 팔레트 엔트리의 재사용 여부를 특정하는 플래그(previous_palette_entry_flag, 이하 재사용 플래그라 함)를 이용할 수 있다. 구체적으로, 이전 팔레트 맵의 팔레트 엔트리 각각에 상기 재사용 플래그의 값이 할당되며, 상기 재사용 플래그(previous_palette_entry_flag[i])는 이전 팔레트 맵에서 맵 인덱스 i에 대응하는 팔레트 엔트리가 현재 블록의 팔레트 맵에 재사용되는지 여부를 나타낼 수 있다. 예를 들어, 상기 재사용 플래그의 값이 0인 경우에는 이전 팔레트 맵에서 맵 인덱스 i에 대응하는 팔레트 엔트리가 현재 블록의 팔레트 맵에 재사용되고, 그렇지 않은 경우에는 재사용되지 아니한다. 이전 플레트 맵으로부터 재사용 플래그의 값이 1인 팔레트 엔트리를 추출하고, 이를 순차적으로 배열하여 현재 블록의 팔레트 맵을 구성할 수 있다. 상기 재사용 플래그는 팔레트 엔트리 별로 부호화된 플래그의 형태로 시그날링될 수도 있고, 런 부호화 기반의 바이너리 벡터의 형태로 시그날링될 수 있으며, 이에 대해서는 도 4 내지 도 6을 참조하여 자세히 살펴 보기로 한다.
또는 현재 블록이 이전 블록의 팔레트 맵에서 일부 팔레트 엔트리를 선택적으로 이용하기 위해 이전 팔레트 엔트리의 재사용 여부를 특정하는 재사용 변수 어레이 (predictor_palette_entry_reuse_flag)와 상기 재사용 변수 어레이에서 0이 아닌 재사용 변수들 사이에 있는 변수 값이 0인 재사용 변수의 개수를 특정하는 신택스 palette_predictor_run값을 이용할 수도 있다.
또한, 현재 블록의 팔레트 맵은 비트스트림을 통해 시그날링된 팔레트 엔트리를 더 포함할 수 있으며, 여기서, 상기 시그날링된 팔레트 엔트리는 현재 블록이 사용하는 팔레트 엔트리 중 이전 팔레트 맵에 포함되지 않은 팔레트 엔트리를 의미할 수 있다.
도 3을 참조하면, 현재 블록의 샘플 단위(또는 픽셀 단위)로 소정의 스캔 순서에 따라 팔레트 인덱스(palette index)를 유도할 수 있다(S310).
본 발명의 스캔 순서로는 수평 방향 스캔, 수직 방향 스캔, 수평 방향 트래버스 스캔, 수직 방향 트래버스 스캔 등이 이용될 수 있으며, 이에 대해서는 도 9를 참조하여 자세히 살펴 보기로 한다.
현재 블록은 인덱스 모드(INDEX MODE) 또는 카피 모드(COPY MODE) 중 적어도 하나를 이용하여 팔레트 인덱스를 유도할 수 있다.
여기서, 인덱스 모드(INDEX MODE)는 현재 블록에서 사용되는 팔레트 인덱스를 특정하기 위해 부호화된 팔레트 인덱스 정보에 기반하여 팔레트 인덱스를 유도하는 방법을 의미할 수 있다. 팔레트 인덱스 정보는 0에서 (palette size-1) 사이의 값을 가지며, 여기서 palette size는 현재 블록의 팔레트 맵의 크기 또는 팔레트 맵을 구성하는 팔레트 엔트리의 개수를 의미할 수 있다. 인덱스 모드에서는 비트스트림을 통해 시그날링된 팔레트 인덱스 정보의 값이 현재 샘플의 팔레트 인덱스로 할당될 수 있다. 인덱스 모드에 기반하여 팔레트 인덱스를 유도하는 방법에 대해서는 도 7 및 도 8을 참조하여 자세히 살펴 보기로 한다.
카피 모드(COPY MODE)는 이웃 샘플의 팔레트 인덱스를 이용하여 현재 샘플의 팔레트 인덱스를 유도하는 방법을 의미할 수 있다. 예를 들어, 카피 모드에서는 이웃 샘플의 팔레트 인덱스에 기초하여 현재 샘플의 팔레트 인덱스를 예측할 수도 있고, 이웃 샘플의 팔레트 인덱스를 복사하여 그대로 현재 샘플의 팔레트 인덱스로 설정할 수도 있다. 여기서, 이웃 샘플은 현재 샘플의 상단, 하단, 좌측 또는 우측에 인접한 샘플을 의미할 수 있다. 특히, 상기 이웃 샘플은 현재 샘플과 동일 수평 라인 또는 동일 수직 라인에 위치한 것일 수 있다.
상기 카피 모드는 현재 샘플의 상단에 인접한 샘플이 사용한 팔레트 엔트리를 현재 샘플의 팔레트 엔트리로 사용하는 카피 어보브 모드(COPY_ABOVE MODE) 또는 현재 샘플의 좌측에 인접한 샘플이 사용한 팔레트 엔트리를 현재 샘플의 팔레트 엔트리로 사용하는 카피 레프트 모드(COPY_LEFT MODE) 중 적어도 하나를 포함할 수 있다. 현재 블록의 스캔 순서에 따라 카피 어보브 모드 또는 카피 레프트 모드 중 어느 하나를 선택적으로 사용할 수도 있다. 예를 들어, 현재 블록이 수평 방향 스캔 또는 수평 방향 트래버스 스캔을 사용하는 경우에는 카피 어보브 모드를 사용하고, 현재 블록이 수직 방향 스캔 또는 수직 방향 트래버스 스캔을 사용하는 경우에는 카피 레프트 모드를 사용할 수 있다. 또한 현재 블록의 스캔 시작 위치는 좌상단 샘플로 한정되지 아니하며, 현재 블록의 다른 코너 샘플(예를 들어, 좌하단 샘플, 우상단 샘플, 우하단 샘플)이 스캔 시작 위치로 이용될 수도 있다. 따라서, 현재 블록의 스캔 순서 및 스캔 시작 위치에 따라 상술한 바와 같이 상단 또는 좌측에 인접한 샘플과 동일한 팔레트 엔트리를 사용할 수도 있고, 하단 또는 우측에 인접한 샘플과 동일한 팔레트 엔트리를 사용할 수 있다. 이 경우, 상기 카피 모드는 카피 라이트 모드(COPY_RIGHT MODE) 및/또는 카피 언더 모드(COPY_UNDER MODE)가 더 포함될 수도 있다.
또는, 스캔 순서와 관계없이 카피 어보브 모드 또는 카피 레프트 모드 중 어느 하나를 선택적으로 이용할 수도 있으며, 이를 위해 스캔 모드를 특정하는 플래그(use_copy_above_flag)를 시그날링할 수 있다. 상기 use_copy_above_flag는 슬라이스 헤더, 슬라이스 세그먼트 헤더 또는 블록 단위에서 시그날링될 수 있다. use_copy_above_flag의 값이 1이면, 해당 슬라이스 또는 블록에서 카피 어보브 모드를 사용할 수 있고, 그 값이 0이면, 해당 슬라이스 또는 블록에서 카피 레프트 모드를 사용할 수 있다.
현재 블록의 각 샘플 별로 팔레트 인덱스를 유도하는 방법(이하, 팔레트 인덱스 모드라 함)을 특정하는 모드 식별자(palette_index_mode)에 기반하여 상술한 인덱스 모드, 카피 모드 등과 같은 팔레트 인덱스 모드 중 어느 하나를 선택적으로 이용할 수도 있다. 예를 들어, 모드 식별자의 값이 1이면, 현재 블록의 현재 샘플은 카피 모드를 사용하고, 그 값이 0이면, 현재 샘플은 인덱스 모드를 사용할 수 있다.
상기 모드 식별자는 현재 블록이 하나의 팔레트 인덱스 모드만을 사용하는지 여부를 나타내는 플래그(use_one_palette_mode_flag)에 기반하여 제한적으로 시그날링될 수 있다. 상기 use_one_palette_mode_flag는 블록 단위(예를 들어, 코딩 유닛 단위, 예측 유닛 단위)로 시그날링될 수 있다.
예를 들어, use_one_palette_mode_flag의 값에 따라 현재 블록이 하나의 팔레트 인덱스 모드만을 사용하는 경우, 상기 모드 식별자는 비트스트림을 통해 시그날링되지 않고, 영상 복호화 장치에 기-설정된 팔레트 인덱스 모드가 현재 블록의 팔레트 인덱스 모드로 이용될 수 있다. 이를 위해 현재 블록의 각 샘플에 대한 모드 식별자의 값을 1 또는 0으로 설정할 수 있다.
반면, use_one_palette_mode_flag의 값에 따라 현재 블록이 하나의 팔레트 인덱스 모드만을 사용하는 것으로 제한되지 않고, 복수의 팔레트 인덱스 모드를 사용하는 경우에는 비트스트림을 통해 상기 모드 식별자가 시그날링될 수 있다.
또는, 상기 모드 식별자는 현재 블록 내 적어도 하나의 샘플이 카피 모드를 사용하는지 여부를 나타내는 플래그(palette_above_present_flag)에 기반하여 제한적으로 시그날링될 수도 있다.
예를 들어, palette_above_present_flag의 값에 따라 현재 블록 내 샘플 중 적어도 하나가 카피 모드를 사용하는 경우, 상기 모드 식별자는 비트스트림으로 통해 시그날링될 수 있다. 반면, palette_above_present_flag의 값에 따라 현재 블록의 샘플들이 카피 모드를 사용하지 않는 경우, 상기 모드 식별자는 비트스트림을 통해 시그날링되지 않으며, 영상 복호화 장치에 기-설정된 팔레트 인덱스 모드가 현재 블록의 팔레트 인덱스 모드로 이용될 수 있다. 이를 위해 현재 블록의 각 샘플에 대한 모드 식별자의 값을 0으로 설정할 수 있다.
도 3을 참조하면, S310 단계에서 유도된 팔레트 인덱스에 기반하여 현재 블록의 샘플을 복원할 수 있다(S320).
구체적으로, S300 단계에서 구성된 현재 블록의 팔레트 맵과 S310 단계에서 유도된 팔레트 인덱스에 기초하여 현재 블록의 샘플을 복원할 수 있다. 현재 블록의 팔레트 맵으로부터 상기 유도된 팔레트 인덱스와 동일한 값의 맵 인덱스를 가진 팔레트 엔트리를 추출하고, 이를 이용하여 현재 블록의 샘플을 복원할 수 있다. 예를 들어, 팔레트 맵으로부터 추출된 팔레트 엔트리의 값을 현재 블록의 샘플의 예측 값 또는 복원 값으로 설정할 수 있다.
다만, 상기 유도된 팔레트 인덱스의 값이 상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수와 동일한 경우가 있을 수 있으며, 이러한 경우 상기 현재 블록의 샘플은 S300 단계에서 구성된 팔레트 맵의 팔레트 엔트리를 이용하여 복원될 수 없다. 다시 말해, 팔레트 맵의 맵 인덱스는 0에서 (팔레트 엔트리의 개수-1) 사이의 값을 가지므로, 상기 유도된 팔레트 인덱스의 값이 팔레트 엔트리의 개수와 동일한 경우라 함은 S300 단계에서 구성된 현재 블록의 팔레트 맵 내에는 상기 유도된 팔레트 인덱스에 대응하는 팔레트 엔트리가 존재하지 않음을 의미한다. 이와 같이, 현재 블록 내에 팔레트 엔트리의 개수와 동일한 값의 팔레트 인덱스를 가진 샘플이 존재하는 경우, 해당 샘플은 이스케이프 모드(ESCAPE MODE)로 부호화된 것으로 유추될 수 있다. 여기서, 이스케이프 모드라 함은 S300 단계에서 구성된 팔레트 맵의 팔레트 엔트리를 이용하지 않고, 대신에 추가적으로 시그날링되는 팔레트 이스케이프 값(palette escape value)에 기반하여 샘플 값을 복원하는 방법을 의미할 수 있다. 따라서, 팔레트 엔트리의 개수와 동일한 값의 팔레트 인덱스를 가진 샘플은 상기 추가적으로 시그날링되는 팔레트 이스케이프 값을 이용하여 복원될 수 있다.
한편, 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수에 기초하여 이스케이프 모드를 적응적으로 이용할 수 있다. 현재 블록이 사용하는 팔레트 엔트리의 개수를 결정하는 방법에 대해서는 도 10을 참조하여 후술하도록 한다. 예를 들어, 현재 블록이 이용하는 팔레트 엔트리의 개수가 0보다 큰 경우(예를 들어, 팔레트 엔트리의 개수가 1개인 경우), 현재 블록의 적어도 하나의 샘플을 이스케이프 모드에 기반하여 복원하는 것이 허용될 수 있다. 반대로, 현재 블록이 사용하는 팔레트 엔트리의 개수가 0인 경우, 현재 블록이 이스케이프 모드에 기반하여 복원되는 것이 허용되지 아니한다.
도 4는 본 발명이 적용되는 일실시예로서, 재사용 플래그(previous_palette_entry_flag)를 제한적으로 시그날링하는 방법을 도시한 것이다.
도 4를 참조하면, 현재 블록의 팔레트 맵에 관한 재사용 개수 정보(num_previous_palette_entry)를 비트스트림으로부터 획득할 수 있다(S400).
여기서, 재사용 개수 정보라 함은 이전 팔레트 맵의 팔레트 엔트리 중에서 현재 블록의 팔레트 엔트리로 재사용되는 팔레트 엔트리의 개수를 나타내기 위해서 부호화된 정보를 의미할 수 있다.
i번째 팔레트 엔트리의 재사용 여부를 특정하는 재사용 플래그(previous_palette_entry_flag[i])를 비트스트림으로부터 획득할 수 있다(S410).
상기 재사용 플래그는 이전 팔레트 맵의 크기(또는, 이전 팔레트 맵에 포함된 팔레트 엔트리의 개수)만큼 시그날링되며, i 는 상술한 이전 팔레트 맵의 팔레트 엔트리를 식별하는 맵 인덱스에 해당하는 것으로서, 0 내지 (이전 팔레트 맵의 크기-1) 값의 범위 내에 속할 수 있다.
S410 단계에서 획득된 재사용 플래그의 값이 1인지 여부를 확인할 수 있다(S420).
확인 결과, 상기 재사용 플래그의 값이 1이면, 1 값을 가진 재사용 플래그의 개수를 나타내는 변수 numPredPreviousPalette 값을 업데이트할 수 있다(S430). 예를 들어, 상기 변수 numPredPreviousPalette 값은 1만큼 증가될 수 있다.
반면, 재사용 플래그의 값이 0이면, (i+1)번째 팔레트 엔트리의 재사용 여부를 특정하는 재사용 플래그(previous_palette_entry_flag[i+1])를 비트스트림으로부터 획득할 수 있다(S410).
S430 단계에서 증가된 변수 numPredPreviousPalette 값과 S400 단계에서 획득된 개수 정보가 동일한지 여부를 비교할 수 있다(S440).
만일, 변수 numPredPreviousPalette 값과 S400 단계에서 획득된 개수 정보가 동일하지 않은 경우, (i+1)번째 팔레트 엔트리의 재사용 여부를 특정하는 재사용 플래그(previous_palette_entry_flag[i+1])를 비트스트림으로부터 획득할 수 있다(S410). 다만, 변수 numPredPreviousPalette 값과 S400 단계에서 획득된 개수 정보가 동일한 경우, i 값보다 큰 값의 맵 인덱스를 가진 팔레트 엔트리는 현재 블록의 팔레트 엔트리로 사용되지 않을 수 있다. 이를 위해 변수 numPredPreviousPalette 값과 S400 단계에서 획득된 개수 정보가 동일한 경우, i 값은 이전 팔레트 맵의 크기와 같거나 큰 값으로 유도될 수 있다. 예를 들어, i 값은 이전 팔레트 맵의 크기에 1을 더한 값으로 유도될 수 있다. 이와 같이, i 값을 이전 팔레트 맵의 크기와 같거나 큰 값으로 설정함으로써, (i+1)번째 팔레트 엔트리에 관한 재사용 플래그가 시그날링되지 않도록 제한할 수 있다.
도 5는 본 발명이 적용되는 일실시예로서, 런 부호화 기반의 바이너리 벡터의 형태로 재사용 플래그를 시그날링하는 방법을 도시한 것이다.
본 실시예에서는, 이전 블록의 팔레트 맵은 0 내지 7의 맵 인덱스를 가진 8개의 팔레트 엔트리를 사용한 것으로 가정한다.
영상 부호화 장치는, 이전 블록의 0 내지 7번의 팔레트 엔트리 각각에 대해서 해당 팔레트 엔트리가 현재 블록의 팔레트 엔트리로 재사용되는지를 결정하고, 만일 해당 팔레트 엔트리가 현재 블록의 팔레트 엔트리로 재사용되는 경우에는 해당 팔레트 엔트리에 대한 재사용 플래그의 값을 1로, 그렇지 않은 경우에는 0으로 각각 설정할 수 있다. 예를 들어, 도 5에 도시된 바와 같이, 이전 블록의 팔레트 엔트리 중에서 0번, 1번, 3번, 7번의 팔레트 엔트리가 현재 블록의 팔레트 엔트리로 재사용되고, 나머지 팔레트 엔트리는 재사용되지 않는 경우, 11010001로 표현되는 바이너리 벡터(binary vector)를 생성할 수 있다.
그런 다음, 상기 바이너리 벡터에서 1의 개수(즉, 이전 블록의 팔레트 엔트리 중 현재 블록의 팔레트 엔트리로 재사용되는 팔레트 엔트리의 개수) 또는 상기 바이너리 벡터에서 1보다 앞선 0의 개수 중 적어도 하나를 부호화하여 영상 복호화 장치로 시그날링할 수 있다. 예를 들어, 상기 바이너리 벡터에서 1의 개수가 4개이므로, 현재 블록의 팔레트 엔트리로 재사용되는 이전 블록의 팔레트 엔트리의 개수로 4를 부호화할 수 있다. 또한, 상기 바이너리 벡터에서 1보다 앞선 0의 개수 즉, 0, 0, 1, 3을 순차적으로 부호화할 수도 있다.
영상 복호화 장치는, 영상 부호화 장치로부터 현재 블록의 팔레트 엔트리로 재사용되는 이전 블록의 팔레트 엔트리의 개수에 관한 정보(num_previous_palette_entry) 또는 상기 바이너리 벡터에서 1보다 앞선 0의 개수에 관한 정보(palette_entry_run) 중 적어도 하나를 수신하고, 이를 이용하여 현재 블록의 팔레트 맵을 구성할 수 있다.
예를 들어, 영상 복호화 장치는, 바이너리 벡터에서 1보다 앞선 0의 개수에 관한 정보(palette_entry_run) 즉, 0, 0, 1, 3을 비트스트림으로부터 순차적으로 추출하고, 이를 이용하여 이전 블록의 팔레트 엔트리의 재사용 여부를 나타내는 바이너리 벡터 즉, 11010001을 복원할 수 있다. 바이너리 벡터를 복원하는 과정에서 1 값이 발생하면, 1 값에 대응하는 이전 블록의 팔레트 엔트리를 현재 블록의 팔레트 맵에 삽입할 수 있다. 이러한 과정을 통해 이전 블록의 팔레트 맵으로부터 일부 팔레트 엔트리를 선택적으로 재사용하여 현재 블록의 팔레트 맵을 구성할 수 있다.
도 6은 본 발명이 적용되는 일실시예로서, 라스트 엔트리 플래그(last_previous_entry_flag)에 기반하여 재사용 플래그를 제한적으로 획득하는 방법을 도시한 것이다.
도 6을 참조하면, 이전 블록의 팔레트 맵의 크기를 고려하여 재사용 플래그(previous_palette_entry_flag[idx])를 획득할 수 있다(S600).
재사용 플래그는 이전 블록의 팔레트 맵에서 현재 맵 인덱스 idx에 대응하는 팔레트 엔트리가 현재 블록의 팔레트 엔트리로 재사용되는지 여부를 나타낼 수 있다. 상기 재사용 플래그는 현재 맵 인덱스 idx가 이전 블록의 팔레트 맵의 크기(또는, 이전 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수)보다 작은 범위 내에서 획득될 수 있다.
S600 단계에서 획득된 재사용 플래그에 기초하여 라스트 엔트리 플래그(last_previous_entry_flag)를 획득할 수 있다(S610).
구체적으로, 재사용 플래그의 값이 1이면, 라스트 엔트리 플래그는 비트스트림으로부터 추출되고, 그 값이 0이면, 라스트 엔트리 플래그를 비트스트림으로부터 추출되지 아니한다.
여기서, 라스트 엔트리 플래그는 현재 맵 인덱스 idx에 대응하는 팔레트 엔트리가 현재 블록의 팔레트 엔트리로 재사용되는 이전 블록의 팔레트 엔트리 중 마지막 팔레트 엔트리인지를 여부를 나타낼 수 있다. 예를 들어, 라스트 엔트리 플래그의 값이 1이면, 현재 맵 인덱스 idx보다 큰 값의 맵 인덱스를 가진 팔레트 엔트리는 현재 블록의 팔레트 엔트리로 재사용되지 아니한다. 반면, 라스트 엔트리 플래그의 값이 0이면, 현재 맵 인덱스 idx보다 큰 값의 맵 인덱스를 가진 팔레트 엔트리 중 적어도 하나는 현재 블록의 팔레트 엔트리로 재사용될 수 있다.
S610 단계에서 획득된 라스트 엔트리 플래그에 기초하여 현재 맵 인덱스 idx의 값은 소정의 값으로 업데이트될 수 있다(S620).
예를 들어, 상기 라스트 엔트리 플래그의 값이 1인 경우, 상기 현재 맵 인덱스 idx의 값은 이전 블록의 팔레트 맵의 크기와 동일한 값으로 업데이트될 수 있다. 이러한 경우, 상술한 바와 같이, 재사용 플래그는 이전 블록의 팔레트 맵의 크기 범위 내에서 추출되는바, 현재 맵 인덱스 idx 보다 큰 값의 맵 인덱스를 가진 팔레트 엔트리에 대해서 재사용 플래그가 시그날링되지 않는다.
반면, 상기 라스트 엔트리 플래그의 값이 0인 경우, 현재 맵 인덱스 idx 보다 큰 값의 맵 인덱스를 가진 팔레트 엔트리 중 적어도 하나가 현재 블록의 팔레트 엔트리로 재사용될 수 있음을 의미하므로, 현재 맵 인덱스 idx 값을 1만큼 증가시킬 수 있다. 즉, 현재 맵 인덱스 idx 값은 (idx+1) 값으로 업데이트되며, 상기 라스트 엔트리 플래그의 값이 1이 나올 때까지 상기 S600 단계 및 S610 단계를 반복 수행할 수 있다.
상술한 과정을 통해 본 발명의 재사용 플래그는 라스트 엔트리 플래그의 값에 기반하여 제한적으로 시그날링될 수 있다.
도 7은 본 발명이 적용되는 일실시예로서, 팔레트 인덱스 정보와 팔레트 인덱스 런에 기반하여 현재 블록의 팔레트 인덱스를 유도하는 방법에 관한 것이다.
먼저, 본 발명의 팔레트 인덱스 정보와 팔레트 인덱스 런(palette index run)이 영상 부호화 장치에서 부호화되는 과정에 대해서 살펴 보기로 한다. 설명의 편의를 위해, 현재 블록은 인덱스 모드로 부호화되고, 도 7에 도시된 바와 같이 각 샘플은 0 내지 3 범위에서의 팔레트 인덱스를 사용하며, 현재 블록의 좌상단 샘플을 시작 위치로 하는 수평 방향 트래버스 스캔이 사용됨을 가정한다.
도 7을 참조하면, 현재 블록이 사용하는 팔레트 인덱스를 수평 방향 트래버스 스캔 순서에 따라 1차원 형태로 배열하면, {0, 2, 2, 2, 3, 3, 3, 3, 2, 0, 0, 0, 0, 1, 1, 1}와 같이 표현될 수 있다. 상기 1차원 형태의 배열을 연속적인 그리고 동일한 값의 팔레트 인덱스들로 그룹핑할 수 있다. 즉, 상기 1차원 형태의 배열은 하나의 0으로 구성된 제1 그룹, 3개의 2로 구성된 제2 그룹, 4개의 3으로 구성된 제3 그룹, 하나의 2로 구성된 제4 그룹, 4개의 0으로 구성된 제5 그룹, 그리고 3개의 1로 구성된 제 6그룹으로 그룹핑될 수 있다. 각 그룹 별로 팔레트 인덱스의 중복성을 제거하여 다음 표 1과 같이 부호화 대상인 팔레트 인덱스 및/또는 부호화 대상인 팔레트 인덱스의 개수를 특정하고, 이를 부호화하여 팔레트 인덱스 정보 및/또는 부호화 대상인 팔레트 인덱스의 개수에 관한 정보를 생성할 수 있다.
표 1
그룹 부호화 대상인팔레트 인덱스 팔레트 인덱스 정보 팔레트 인덱스 런
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
즉, 각 그룹 별로 팔레트 인덱스의 중복성을 제거함으로써 {0, 2, 3, 2, 0, 1}을 획득할 수 있으며, 이 경우 부호화 대상인 팔레트 인덱스는 {0, 2, 3, 2, 0, 1}로 특정되며, 부호화 대상인 팔레트 인덱스의 개수는 6개로 특정될 수 있다.
또한, 영상 부호화 장치는 각 그룹 별로 동일한 팔레트 인덱스가 반복되는 횟수(이하, 팔레트 인덱스 런(palette index run))를 부호화할 수 있다. 예를 들어, 표 1과 같이 제1 그룹은 하나의 0으로 구성되는바, 팔레트 인덱스 런은 0으로 결정되고, 제2 그룹에서는 스캔 순서 (1)을 가진 샘플에서 팔레트 인덱스 2가 사용된 이후에 스캔 순서 (2)와 (3)을 가진 샘플에서 연속적으로 동일한 팔레트 인덱스 2를 사용하므로, 팔레트 인덱스 런은 2로 결정될 수 있다. 영상 부호화 장치는 상기 결정된 팔레트 인덱스 런의 값을 그대로 부호화할 수도 있고, 부호화 효율을 위해 MSB(most significant bit)와 refinement bit로 나누어 부호화할 수도 있다.
상술한 과정을 통해 영상 부호화 장치에서는 현재 블록에서 사용된 팔레트 인덱스를 부호화 대상인 팔레트 인덱스의 개수에 관한 정보, 부호화 대상인 팔레트 인덱스에 관한 팔레트 인덱스 정보 또는 팔레트 인덱스 런 중 적어도 하나를 부호화할 수 있다.
영상 복호화 장치는 비트스트림으로부터 팔레트 인덱스 정보와 팔레트 인덱스 런을 획득하고, 이를 이용하여 현재 블록의 각 샘플 별로 팔레트 인덱스를 유도할 수 있다.
상기 팔레트 인덱스 정보는 부호화 대상인 팔레트 인덱스의 개수에 관한 정보에 따른 개수만큼 획득될 수 있으며, 각각의 팔레트 인덱스 정보에 대응하는 팔레트 인덱스 런을 순차적으로 획득하여 현재 블록의 팔레트 인덱스를 유도할 수 있다. 예를 들어, 영상 복호화 장치는 비트스트림으로부터 {0, 2, 3, 2, 0, 1}의 팔레트 인덱스 정보를 획득할 수 있다. 그런 다음, 팔레트 인덱스 정보 0에 대응하는 팔레트 인덱스 런을 비트스트림으로부터 획득할 수 있다. 만일 팔레트 인덱스 정보 0에 대응하는 팔레트 인덱스 런의 값이 0인 경우, 영상 복호화 장치는 현재 블록의 스캔 순서 (0)을 가진 샘플에 팔레트 인덱스 0을 할당할 수 있다. 그런 다음, 팔레트 인덱스 정보 2에 대응하는 팔레트 인덱스 런을 비트스트림으로부터 획득할 수 있다. 상기 팔레트 인덱스 정보 2에 대응하는 팔레트 인덱스 런의 값이 2인 경우, 영상 복호화 장치는 현재 블록의 스캔 순서 (1) 내지 (3)을 가진 샘플에 팔레트 인덱스 2를 스캔 순서에 따라 순차적으로 할당할 수 있다. 이러한 방식으로 현재 블록의 모든 샘플에 대해서 팔레트 인덱스를 유도할 수 있다.
도 8은 본 발명이 적용되는 일실시예로서, 현재 블록의 팔레트 맵이 2개의 팔레트 엔트리로 구성된 경우에 팔레트 인덱스 정보와 팔레트 인덱스 런에 기반하여 현재 블록의 팔레트 인덱스를 유도하는 방법에 관한 것이다.
먼저, 본 발명의 팔레트 인덱스 정보와 팔레트 인덱스 런이 영상 부호화 장치에서 부호화되는 과정에 대해서 살펴 보기로 한다. 설명의 편의를 위해, 현재 블록은 인덱스 모드로 부호화되고, 도 8에 도시된 바와 같이 2개의 팔레트 인덱스를 사용하며, 현재 블록의 좌상단 샘플을 시작 위치로 하는 수평 방향 트래버스 스캔이 사용됨을 가정한다.
도 8을 참조하면, 현재 블록이 사용하는 팔레트 인덱스를 수평 방향 트래버스 스캔 순서에 따라 1차원 형태로 배열하면, {0, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0}와 같이 표현될 수 있다. 도 7에서 설명한 방식에 따라 상기 1차원 형태의 배열을 연속적인 그리고 동일한 값의 팔레트 인덱스들로 그룹핑하고, 각 그룹 별로 팔레트 인덱스의 중복성을 제거하면, 다음 표 2와 같이 부호화 대상인 팔레트 인덱스 및/또는 부호화 대상인 팔레트 인덱스의 개수가 특정될 수 있다.
표 2
그룹 부호화 대상인팔레트 인덱스 팔레트 인덱스 정보 팔레트 인덱스 런
1 {0, 0} 0 0 1
2 {1, 1, 1} 1 - 2
3 {0} 0 - 0
4 {1, 1, 1, 1} 1 - 3
5 {0, 0} 0 - 1
6 {1, 1} 1 - 1
7 {0, 0} 0 - 1
즉, 각 그룹 별로 팔레트 인덱스의 중복성을 제거함으로써 {0, 1, 0, 1, 0, 1, 0}을 획득할 수 있으며, 이 경우 부호화 대상인 팔레트 인덱스는 {0, 1, 0, 1, 0, 1, 0}로 특정되며, 부호화 대상인 팔레트 인덱스의 개수는 7개로 특정될 수 있다.
그러나, 현재 블록의 팔레트 맵이 2개의 팔레트 엔트리로 구성된 경우에는 2개의 팔레트 인덱스가 교대로 발생하기 때문에 부호화 대상인 팔레트 인덱스 전부를 부호화할 필요가 없다. 현재 블록의 첫번째 샘플(예를 들어, 첫번째 스캔 순서를 가진 샘플)의 팔레트 인덱스만이 시그날링되면, 이후 스캔 순서를 가진 샘플들의 팔레트 인덱스는 부호화된 팔레트 인덱스 런에 기초하여 영상 복호화 장치에서 유도될 수 있다.
따라서, 영상 부호화 장치에서는 부호화 대상인 팔레트 인덱스 중 첫번째 샘플에 관한 팔레트 인덱스 정보와 부호화 대상인 팔레트 인덱스에 대응하는 모든 팔레트 인덱스 런을 부호화할 수 있다.
영상 복호화 장치는 비트스트림으로부터 팔레트 인덱스 정보와 팔레트 인덱스 런을 획득하고, 이를 이용하여 현재 블록의 각 샘플 별로 팔레트 인덱스를 유도할 수 있다. 여기서, 팔레트 인덱스 정보는 상술한 바와 같이, 현재 블록에서 첫번째 스캔 순서를 가진 샘플에 관한 팔레트 인덱스 정보이다.
도 8을 참조하면, 영상 복호화 장치는 비트스트림으로부터 팔레트 인덱스 정보 0을 획득하고, 이에 대응하는 팔레트 인덱스 런 1을 획득한 경우, 현재 블록의 스캔 순서 (1) 및 (2)를 가진 샘플에 대해서 팔레트 인덱스 0을 순차적으로 할당할 수 있다. 그런 다음, 제2 그룹의 팔레트 인덱스 런 2가 비트스트림으로부터 획득된 경우, 직전에 사용된 팔레트 인덱스와 다른 값으로 제2 그룹의 팔레트 인덱스를 유도할 수 있다. 즉, 직전에 사용된 팔레트 인덱스의 값이 0이므로 제2 그룹의 팔레트 인덱스는 1로 유도될 수 있다. 이 경우 영상 복호화 장치는 현재 블록의 스캔 순서 (2) 내지 (4)를 가진 샘플에 대해 팔레트 인덱스 1을 스캔 순서에 따라 순차적으로 할당할 수 있다. 이러한 방식으로 현재 블록의 모든 샘플에 대해서 팔레트 인덱스를 유도할 수 있다.
도 9는 본 발명이 적용되는 일실시예로서, 팔레트 모드에서 사용하는 스캔 순서를 도시한 것이다.
도 9를 참조하면, 팔레트 모드에서 사용하는 스캔 순서에는 수평 방향 스캔, 수직 방향 스캔, 수평 방향 트래버스 스캔, 수직 방향 트래버스 스캔 등이 있다.
구체적으로, 수평 방향 스캔은 현재 블록의 각각의 열(row)을 왼쪽에서 오른쪽으로 스캔하는 방식이고, 수직 방향 스캔은 현재 블록의 각각의 행(column)을 위에서 아래쪽으로 스캔하는 방식이다.
수평 방향 트래버스 스캔은 현재 블록의 홀수 열(row)은 왼쪽에서 오른쪽으로 스캔하고, 짝수 열은 오른쪽에서 왼쪽으로 스캔하는 방식이다. 수직 방향 트래버스 스캔은 현재 블록의 홀수 행(column)은 위쪽에서 아래쪽으로 스캔하고, 짝수 행은 아래쪽에서 위쪽으로 스캔하는 방식이다.
다만, 본 실시예에서는 현재 블록의 좌상단 샘플을 스캔 시작 위치로 설정한 경우를 전제로 하나, 이에 한정되지 아니하며 현재 블록의 다른 코너 샘플을 스캔 시작 위치로 설정할 수도 있다.
도 10은 본 발명이 적용되는 일실시예로서, 현재 블록이 사용하는 팔레트 엔트리의 개수를 결정하는 방법에 관한 것이다.
도 10을 참조하면, 현재 블록이 사용하는 팔레트 엔트리의 개수가 1개인지 여부를 나타내는 플래그(one_palette_entry_flag)를 비트스트림으로부터 획득할 수 있다(S1000).
구체적으로, one_palette_entry_flag의 값이 1이면, 현재 블록은 1개의 팔레트 엔트리만을 사용하여 복원되고, 그 값이 0이면, 현재 블록은 복수의 팔레트 엔트리를 사용하여 복원될 수 있다. 따라서, one_palette_entry_flag의 값이 1이면, 현재 블록의 팔레트 엔트리의 개수는 1로 결정될 수 있고, 그 값이 0이면, 현재 블록의 팔레트 엔트리의 개수는 비트스트림으로부터 시그날링된 팔레트 엔트리의 개수에 기초하여 유도될 수 있다.
도 10을 참조하면, one_palette_entry_flag의 값이 0인 경우, 비트스트림으로부터 시그날링된 팔레트 엔트리의 개수 정보(palette_num_signalled_entries)를 획득할 수 있다(S1010).
여기서, 상기 시그날링된 팔레트 엔트리의 개수 정보는 현재 블록이 사용하는 팔레트 엔트리 중 이전 팔레트 맵에 포함되지 않은 팔레트 엔트리의 개수를 나타낼 수 있다.
S1010 단계에서 획득된 palette_num_signalled_entries와 이전 팔레트 맵에서 현재 블록의 팔레트 엔트리로 재사용되는 팔레트 엔트리의 개수(numPredPreviousPalette) 중 적어도 하나에 기초하여 현재 블록의 팔레트 엔트리의 개수를 유도할 수 있다.
구체적으로, 상기 numPredPreviousPalette의 값이 0이 아닌 경우, 상기 현재 블록의 팔레트 엔트리의 개수(palette size)는 numPredPreviousPalette의 값과 palette_num_signalled_entries의 값의 합으로 유도될 수 있다(S1020).
반면, 상기 numPredPreviousPalette의 값이 0인 경우, 이는 이전 블록의 팔레트 엔트리를 재사용하지 않음을 의미하며, 상기 현재 블록의 팔라트 엔트리의 개수(palette size)는 palette_num_signalled_entries에 기초하여 유도될 수 있다. 예를 들어, 상기 현재 블록의 팔라트 엔트리의 개수(palette size)는 palette_num_signalled_entries의 값에 2를 더한 값으로 유도될 수 있다(S1030). 이는 one_palette_entry_flag의 값이 0인 경우, 현재 블록의 팔레트 맵은 적어도 2개의 팔레트 엔트리를 포함할 것이므로, palette_num_signalled_entries는 현재 블록이 사용하는 실제 팔레트 엔트리의 개수에서 2를 뺀 값으로 부호화되기 때문이다. 다만, 이에 한정되지 아니하며, palette_num_signalled_entries는 현재 블록이 사용하는 실제 팔레트 엔트리의 개수를 그대로 부호화할 수도 있고, 이 경우 현재 블록의 팔레트 엔트리의 개수는 palette_num_signalled_entries와 동일한 값으로 유도될 수도 있다.
본 발명은 비디오 신호를 코딩하는데 이용될 수 있다.

Claims (25)

  1. 팔레트 모드로 부호화된 현재 블록에 대한 팔레트 맵을 구성하는 단계; 여기서, 상기 팔레트 맵은 적어도 하나의 팔레트 엔트리(palette entry)와 상기 팔레트 엔트리를 식별하는 맵 인덱스(map index)로 구성됨,
    상기 현재 블록의 샘플 단위로 소정의 스캔 순서에 따라 팔레트 인덱스(palette index)를 유도하는 단계; 및
    상기 팔레트 맵으로부터 상기 유도된 팔레트 인덱스와 동일한 값의 맵 인덱스를 가진 팔레트 엔트리를 이용하여 상기 현재 블록의 각 샘플을 복원하는 단계를 포함하는 비디오 신호 디코딩 방법.
  2. 제1항에 있어서,
    상기 팔레트 엔트리는 예측된 팔레트 엔트리 또는 시그널링된 팔레트 엔트리 중 적어도 하나를 포함하고,
    상기 예측된 팔레트 엔트리는 이전 블록의 팔레트 맵에 포함된 팔레트 엔트리 중 상기 현재 블록에서 재사용되는 팔레트 엔트리를 의미하고, 상기 시그날링된 팔레트 엔트리는 상기 현재 블록이 사용하는 팔레트 엔트리 중 상기 이전 블록의 팔레트 맵에 포함되지 않은 팔레트 엔트리를 의미하는 것을 특징으로 하는 비디오 신호 디코딩 방법.
  3. 제1항에 있어서,
    상기 소정의 스캔 순서는 수평 방향 트래버스 스캔 또는 수직 방향 트래버스 스캔 중 어느 하나이며,
    상기 수평 방향 트래버스 스캔은 상기 현재 블록의 홀수 열(row)은 왼쪽에서 오른쪽으로 스캔하고, 짝수 열은 오른쪽에서 왼쪽으로 스캔하는 방식이고, 상기 수직 방향 트래버스 스캔은 상기 현재 블록의 홀수 행(column)은 위쪽에서 아래쪽으로 스캔하고, 짝수 행은 아래쪽에서 위쪽으로 스캔하는 방식인 것을 특징으로 하는 비디오 신호 디코딩 방법.
  4. 제1항에 있어서,
    상기 팔레트 인덱스는 인덱스 모드(INDEX MODE) 또는 카피 모드(COPY MODE) 중 적어도 하나를 이용하여 유도되되,
    상기 인덱스 모드(INDEX MODE)는 부호화된 팔레트 인덱스 정보에 기반하여 팔레트 인덱스를 유도하는 방식이고, 상기 카피 모드(COPY MODE)는 현재 샘플에 인접한 이웃 샘플의 팔레트 인덱스를 이용하여 상기 현재 샘플의 팔레트 인덱스를 유도하는 방식인 것을 특징으로 하는 비디오 신호 디코딩 방법.
  5. 제4항에 있어서,
    상기 현재 블록의 적어도 하나의 샘플이 인덱스 모드(INDEX MODE)를 사용하는 경우, 상기 현재 블록의 적어도 하나의 샘플에 대한 팔레트 인덱스는 상기 부호화된 팔레트 인덱스 정보와 부호화된 팔레트 인덱스 런(palette index run)을 이용하여 유도되되,
    상기 팔레트 인덱스 런은 동일한 팔레트 인덱스가 반복되는 횟수를 나타내는 것을 특징으로 하는 비디오 신호 디코딩 방법.
  6. 제1항에 있어서, 상기 현재 샘플의 각 샘플을 복원하는 단계에서,
    현재 샘플에 관한 상기 유도된 팔레트 인덱스의 값이 상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수와 동일한 경우, 상기 현재 샘플은 이스케이프 모드(ESCAPE MODE)에 기반하여 복원되고,
    상기 이스케이프 모드는 상기 구성된 팔레트 맵의 팔레트 엔트리를 이용하지 않고, 추가적으로 시그날링되는 팔레트 이스케이프 값(palette escape value)에 기반하여 샘플 값을 복원하는 방법인 것을 특징으로 하는 비디오 신호 디코딩 방법.
  7. 제6항에 있어서, 상기 이스케이프 모드는 상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수에 기초하여 적응적으로 이용되는 것을 특징으로 하는 비디오 신호 디코딩 방법.
  8. 제7항에 있어서,
    상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수가 0보다 큰 경우, 상기 현재 블록의 적어도 하나의 샘플을 상기 이스케이프 모드에 기반하여 복원하는 것이 허용되고,
    상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수가 0인 경우, 상기 현재 블록을 상기 이스케이프 모드에 기반하여 복원하는 것이 허용되지 않는 것을 특징으로 하는 비디오 신호 디코딩 방법.
  9. 팔레트 모드로 부호화된 현재 블록에 대한 팔레트 맵을 구성하고, 상기 현재 블록의 샘플 단위로 소정의 스캔 순서에 따라 팔레트 인덱스(palette index)를 유도하며, 상기 팔레트 맵으로부터 상기 유도된 팔레트 인덱스와 동일한 값의 맵 인덱스를 가진 팔레트 엔트리를 이용하여 상기 현재 블록의 각 샘플을 복원하는 복원부를 포함하되,
    상기 팔레트 맵은 적어도 하나의 팔레트 엔트리(palette entry)와 상기 팔레트 엔트리를 식별하는 맵 인덱스(map index)로 구성되는 비디오 신호 디코딩 장치.
  10. 제9항에 있어서,
    상기 팔레트 엔트리는 예측된 팔레트 엔트리 또는 시그널링된 팔레트 엔트리 중 적어도 하나를 포함하고,
    상기 예측된 팔레트 엔트리는 이전 블록의 팔레트 맵에 포함된 팔레트 엔트리 중 상기 현재 블록에서 재사용되는 팔레트 엔트리를 의미하고, 상기 시그날링된 팔레트 엔트리는 상기 현재 블록이 사용하는 팔레트 엔트리 중 상기 이전 블록의 팔레트 맵에 포함되지 않은 팔레트 엔트리를 의미하는 것을 특징으로 하는 비디오 신호 디코딩 장치.
  11. 제9항에 있어서,
    상기 소정의 스캔 순서는 수평 방향 트래버스 스캔 또는 수직 방향 트래버스 스캔 중 어느 하나이며,
    상기 수평 방향 트래버스 스캔은 상기 현재 블록의 홀수 열(row)은 왼쪽에서 오른쪽으로 스캔하고, 짝수 열은 오른쪽에서 왼쪽으로 스캔하는 방식이고, 상기 수직 방향 트래버스 스캔은 상기 현재 블록의 홀수 행(column)은 위쪽에서 아래쪽으로 스캔하고, 짝수 행은 아래쪽에서 위쪽으로 스캔하는 방식인 것을 특징으로 하는 비디오 신호 디코딩 장치.
  12. 제9항에 있어서, 상기 복원부는,
    인덱스 모드(INDEX MODE) 또는 카피 모드(COPY MODE) 중 적어도 하나를 상기 팔레트 인덱스를 유도하되,
    상기 인덱스 모드(INDEX MODE)는 부호화된 팔레트 인덱스 정보에 기반하여 팔레트 인덱스를 유도하는 방식이고, 상기 카피 모드(COPY MODE)는 현재 샘플에 인접한 이웃 샘플의 팔레트 인덱스를 이용하여 상기 현재 샘플의 팔레트 인덱스를 유도하는 방식인 것을 특징으로 하는 비디오 신호 디코딩 장치.
  13. 제12항에 있어서, 상기 복원부는,
    상기 현재 블록의 적어도 하나의 샘플이 인덱스 모드(INDEX MODE)를 사용하는 경우, 상기 부호화된 팔레트 인덱스 정보와 부호화된 팔레트 인덱스 런(palette index run)을 이용하여 상기 현재 블록의 적어도 하나의 샘플에 대한 팔레트 인덱스를 유도하되,
    상기 팔레트 인덱스 런은 동일한 팔레트 인덱스가 반복되는 횟수를 나타내는 것을 특징으로 하는 비디오 신호 디코딩 장치.
  14. 제9항에 있어서, 상기 복원부는,
    현재 샘플에 관한 상기 유도된 팔레트 인덱스의 값이 상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수와 동일한 경우, 이스케이프 모드(ESCAPE MODE)에 기반하여 상기 현재 샘플을 복원하고,
    상기 이스케이프 모드는 상기 구성된 팔레트 맵의 팔레트 엔트리를 이용하지 않고, 추가적으로 시그날링되는 팔레트 이스케이프 값(palette escape value)에 기반하여 샘플 값을 복원하는 방법인 것을 특징으로 하는 비디오 신호 디코딩 장치.
  15. 제14항에 있어서,
    상기 이스케이프 모드는 상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수에 기초하여 적응적으로 이용되는 것을 특징으로 하는 비디오 신호 디코딩 장치.
  16. 제15항에 있어서,
    상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수가 0보다 큰 경우, 상기 현재 블록의 적어도 하나의 샘플을 상기 이스케이프 모드에 기반하여 복원하는 것이 허용되고,
    상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수가 0인 경우, 상기 현재 블록을 상기 이스케이프 모드에 기반하여 복원하는 것이 허용되지 않는 것을 특징으로 하는 비디오 신호 디코딩 장치.
  17. 팔레트 모드로 부호화된 현재 블록에 대한 팔레트 맵을 구성하는 단계; 여기서, 상기 팔레트 맵은 적어도 하나의 팔레트 엔트리(palette entry)와 상기 팔레트 엔트리를 식별하는 맵 인덱스(map index)로 구성됨,
    상기 현재 블록의 샘플 단위로 소정의 스캔 순서에 따라 팔레트 인덱스(palette index)를 유도하는 단계; 및
    상기 팔레트 맵으로부터 상기 유도된 팔레트 인덱스와 동일한 값의 맵 인덱스를 가진 팔레트 엔트리를 이용하여 상기 현재 블록의 각 샘플을 복원하는 단계를 포함하는 비디오 신호 인코딩 방법.
  18. 제17항에 있어서,
    상기 팔레트 엔트리는 예측된 팔레트 엔트리 또는 시그널링된 팔레트 엔트리 중 적어도 하나를 포함하고,
    상기 예측된 팔레트 엔트리는 이전 블록의 팔레트 맵에 포함된 팔레트 엔트리 중 상기 현재 블록에서 재사용되는 팔레트 엔트리를 의미하고, 상기 시그날링된 팔레트 엔트리는 상기 현재 블록이 사용하는 팔레트 엔트리 중 상기 이전 블록의 팔레트 맵에 포함되지 않은 팔레트 엔트리를 의미하는 것을 특징으로 하는 비디오 신호 인코딩 방법.
  19. 제17항에 있어서,
    상기 소정의 스캔 순서는 수평 방향 트래버스 스캔 또는 수직 방향 트래버스 스캔 중 어느 하나이며,
    상기 수평 방향 트래버스 스캔은 상기 현재 블록의 홀수 열(row)은 왼쪽에서 오른쪽으로 스캔하고, 짝수 열은 오른쪽에서 왼쪽으로 스캔하는 방식이고, 상기 수직 방향 트래버스 스캔은 상기 현재 블록의 홀수 행(column)은 위쪽에서 아래쪽으로 스캔하고, 짝수 행은 아래쪽에서 위쪽으로 스캔하는 방식인 것을 특징으로 하는 비디오 신호 인코딩 방법.
  20. 제17항에 있어서,
    상기 팔레트 인덱스는 인덱스 모드(INDEX MODE) 또는 카피 모드(COPY MODE) 중 적어도 하나를 이용하여 유도되되,
    상기 인덱스 모드(INDEX MODE)는 팔레트 인덱스 정보에 기반하여 팔레트 인덱스를 유도하는 방식이고, 상기 카피 모드(COPY MODE)는 현재 샘플에 인접한 이웃 샘플의 팔레트 인덱스를 이용하여 상기 현재 샘플의 팔레트 인덱스를 유도하는 방식인 것을 특징으로 하는 비디오 신호 인코딩 방법.
  21. 제20항에 있어서,
    상기 현재 블록의 적어도 하나의 샘플이 인덱스 모드(INDEX MODE)를 사용하는 경우, 상기 현재 블록의 적어도 하나의 샘플에 대한 팔레트 인덱스는 상기 팔레트 인덱스 정보와 팔레트 인덱스 런(palette index run)을 이용하여 유도되되,
    상기 팔레트 인덱스 런은 동일한 팔레트 인덱스가 반복되는 횟수를 나타내 는 것을 특징으로 하는 비디오 신호 인코딩 방법.
  22. 제17항에 있어서, 상기 현재 샘플의 각 샘플을 복원하는 단계에서,
    현재 샘플에 관한 상기 유도된 팔레트 인덱스의 값이 상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수와 동일한 경우, 상기 현재 샘플은 이스케이프 모드(ESCAPE MODE)에 기반하여 복원되고,
    상기 이스케이프 모드는 상기 구성된 팔레트 맵의 팔레트 엔트리를 이용하지 않고, 추가적으로 시그날링되는 팔레트 이스케이프 값(palette escape value)에 기반하여 샘플 값을 복원하는 방법인 것을 특징으로 하는 비디오 신호 인코딩 방법.
  23. 제22항에 있어서, 상기 이스케이프 모드는 상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수에 기초하여 적응적으로 이용되는 것을 특징으로 하는 비디오 신호 인코딩 방법.
  24. 제23항에 있어서,
    상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수가 0보다 큰 경우, 상기 현재 블록의 적어도 하나의 샘플을 상기 이스케이프 모드에 기반하여 복원하는 것이 허용되고,
    상기 현재 블록의 팔레트 맵을 구성하는 팔레트 엔트리의 개수가 0인 경우, 상기 현재 블록을 상기 이스케이프 모드에 기반하여 복원하는 것이 허용되지 않는 것을 특징으로 하는 비디오 신호 인코딩 방법.
  25. 팔레트 모드로 부호화된 현재 블록에 대한 팔레트 맵을 구성하고, 상기 현재 블록의 샘플 단위로 소정의 스캔 순서에 따라 팔레트 인덱스(palette index)를 유도하며, 상기 팔레트 맵으로부터 상기 유도된 팔레트 인덱스와 동일한 값의 맵 인덱스를 가진 팔레트 엔트리를 이용하여 상기 현재 블록의 각 샘플을 복원하는 복원부를 포함하되,
    상기 팔레트 맵은 적어도 하나의 팔레트 엔트리(palette entry)와 상기 팔레트 엔트리를 식별하는 맵 인덱스(map index)로 구성되는 비디오 신호 인코딩 장치.
PCT/KR2015/010213 2014-09-26 2015-09-25 비디오 신호 처리 방법 및 장치 WO2016048092A1 (ko)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201580052244.7A CN107079151B (zh) 2014-09-26 2015-09-25 用于处理视频信号的方法和设备
US15/511,673 US10469870B2 (en) 2014-09-26 2015-09-25 Method and apparatus for predicting and restoring a video signal using palette entry

Applications Claiming Priority (16)

Application Number Priority Date Filing Date Title
KR20140128838 2014-09-26
KR20140128839 2014-09-26
KR10-2014-0128839 2014-09-26
KR10-2014-0128838 2014-09-26
KR10-2014-0132467 2014-10-01
KR20140132465 2014-10-01
KR10-2014-0132468 2014-10-01
KR20140132467 2014-10-01
KR20140132469 2014-10-01
KR10-2014-0132466 2014-10-01
KR20140132468 2014-10-01
KR10-2014-0132469 2014-10-01
KR20140132466 2014-10-01
KR20140132464 2014-10-01
KR10-2014-0132464 2014-10-01
KR10-2014-0132465 2014-10-01

Publications (1)

Publication Number Publication Date
WO2016048092A1 true WO2016048092A1 (ko) 2016-03-31

Family

ID=55581510

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2015/010213 WO2016048092A1 (ko) 2014-09-26 2015-09-25 비디오 신호 처리 방법 및 장치

Country Status (4)

Country Link
US (1) US10469870B2 (ko)
KR (1) KR20160037111A (ko)
CN (1) CN107079151B (ko)
WO (1) WO2016048092A1 (ko)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114788289A (zh) * 2019-12-03 2022-07-22 阿里巴巴集团控股有限公司 使用调色板模式的视频处理方法和装置

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016048092A1 (ko) 2014-09-26 2016-03-31 주식회사 케이티 비디오 신호 처리 방법 및 장치
CN107079163B (zh) 2014-10-20 2020-06-05 株式会社Kt 用于处理视频信号的方法和设备
CN107211143B (zh) * 2015-01-15 2020-08-18 株式会社Kt 用于处理视频信号的方法和设备
WO2016122253A1 (ko) * 2015-01-29 2016-08-04 주식회사 케이티 비디오 신호 처리 방법 및 장치
KR102422484B1 (ko) * 2015-01-29 2022-07-20 주식회사 케이티 비디오 신호 처리 방법 및 장치
WO2016159610A1 (ko) * 2015-04-02 2016-10-06 주식회사 케이티 비디오 신호 처리 방법 및 장치
GB2547047B (en) * 2016-02-08 2018-07-18 Canon Kk Encoder optimizations for palette lossless encoding of content with subsampled colour component
CN110024383B (zh) * 2016-09-23 2024-03-08 弗劳恩霍夫应用研究促进协会 图像压缩技术
US10924750B2 (en) * 2019-03-01 2021-02-16 Alibaba Group Holding Limited Palette size constraint in palette mode for video compression system
MX2022002617A (es) * 2019-09-12 2022-03-25 Bytedance Inc Uso de predictor de paleta en codificacion de video.

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080144952A1 (en) * 2006-11-30 2008-06-19 Canon Kabushiki Kaisha Method and Apparatus For Hybrid Image Compression

Family Cites Families (60)

* Cited by examiner, † Cited by third party
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
AU2003264988B2 (en) 2002-10-02 2009-12-03 Lg Electronics Inc. Recording medium having a data structure for managing reproduction of graphic data and recording and reproducing methods and apparatuses
DE602005024054D1 (de) 2004-04-21 2010-11-18 Slipstream Data Inc Verfahren, System und Softwareprodukt zur Farbbildcodierung
US7525552B2 (en) 2004-04-21 2009-04-28 Slipstream Data Inc. Method, system and software product for color image encoding
TWI317914B (en) 2006-08-03 2009-12-01 Via Tech Inc Color-displayed method, color-changed method and apparatus thereof
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
US20110110416A1 (en) 2009-11-12 2011-05-12 Bally Gaming, Inc. Video Codec System and Method
US20110112667A1 (en) 2009-11-12 2011-05-12 Bally Gaming, Inc. Gaming Audio 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
US11259020B2 (en) 2013-04-05 2022-02-22 Qualcomm Incorporated Determining palettes in palette-based video coding
JP6021851B2 (ja) * 2013-05-10 2016-11-09 富士フイルム株式会社 吸湿材料及びその製造方法並びに包装材料
JP6136644B2 (ja) * 2013-06-28 2017-05-31 富士電機株式会社 半導体圧力センサ装置およびその製造方法
WO2015006169A1 (en) 2013-07-08 2015-01-15 Sony Corporation Improvement for palette coding mode
US9558567B2 (en) * 2013-07-12 2017-01-31 Qualcomm Incorporated Palette prediction in palette-based video coding
RU2679566C1 (ru) * 2013-12-10 2019-02-11 Кэнон Кабусики Кайся Улучшенный палитровый режим в hevc
EP3087742B1 (en) 2013-12-27 2020-09-23 HFI Innovation Inc. Method and apparatus for syntax redundancy removal in palette coding
US10182242B2 (en) * 2013-12-27 2019-01-15 Mediatek Inc. Method and apparatus for palette coding with cross block prediction
CN107124910B (zh) * 2014-01-24 2019-08-23 加州理工学院 稳定的微波频率源
PL3117617T3 (pl) 2014-03-14 2022-08-22 Vid Scale, Inc. Kodowanie palety przeznaczone do kodowania zawartości ekranu
EP3120564A1 (en) * 2014-03-17 2017-01-25 Nokia Technologies OY Method and technical equipment for video encoding and decoding
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
CA2950818C (en) * 2014-06-20 2020-12-22 Hfi Innovation Inc. Method and apparatus of binarization and context-adaptive coding for syntax in video coding
US10477204B2 (en) * 2014-06-20 2019-11-12 Sharp Kabushiki Kaisha Harmonized palette coding
KR101962458B1 (ko) * 2014-07-07 2019-03-26 에이치에프아이 이노베이션 인크. 인덱스 맵 부호화의 예측자로서 이스케이프 픽셀을 취급하는 방법
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
US10158866B2 (en) * 2014-09-26 2018-12-18 Qualcomm Incorporated Parsing dependency reduction for palette index coding
WO2016048092A1 (ko) 2014-09-26 2016-03-31 주식회사 케이티 비디오 신호 처리 방법 및 장치
US10257521B2 (en) 2014-10-01 2019-04-09 Kt Corporation Method and apparatus for processing video signal
CN110677656A (zh) * 2014-10-06 2020-01-10 Vid拓展公司 执行调色板解码的方法及解码设备
US10097837B2 (en) * 2014-10-10 2018-10-09 Qualcomm Incorporated Palette run hiding in palette-based video coding
CN107079163B (zh) 2014-10-20 2020-06-05 株式会社Kt 用于处理视频信号的方法和设备
CN107211143B (zh) * 2015-01-15 2020-08-18 株式会社Kt 用于处理视频信号的方法和设备
US9986248B2 (en) 2015-01-29 2018-05-29 Qualcomm Incorporated Palette mode coding for video coding
EP3251353A1 (en) 2015-01-29 2017-12-06 VID SCALE, Inc. Palette coding modes and palette flipping
KR102422484B1 (ko) * 2015-01-29 2022-07-20 주식회사 케이티 비디오 신호 처리 방법 및 장치
WO2016122253A1 (ko) * 2015-01-29 2016-08-04 주식회사 케이티 비디오 신호 처리 방법 및 장치
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
WO2016159610A1 (ko) * 2015-04-02 2016-10-06 주식회사 케이티 비디오 신호 처리 방법 및 장치
SG11201708026TA (en) 2015-04-08 2017-10-30 Hfi Innovation Inc Methods of palette mode coding in video coding
KR102060871B1 (ko) 2015-04-08 2019-12-30 에이치에프아이 이노베이션 인크. 비디오 코딩에서의 팔레트 모드 콘텍스트 코딩 및 이진화를 위한 방법
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

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080144952A1 (en) * 2006-11-30 2008-06-19 Canon Kabushiki Kaisha Method and Apparatus For Hybrid Image Compression

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
CHEN, JIANLE ET AL.: "Description of screen content coding technology proposal by Qualcomm", JCTVC-Q0031, JCT-VC 17TH MEETING: VALENCIA, ES, 28 March 2014 (2014-03-28), Valencia, ES *
GUO, LIWEI ET AL.: "Palette Mode for Screen Content Coding", JCTVC-M0323, JCT-VC 13TH MEETING: INCHEON, KR, 20 April 2013 (2013-04-20), Incheon, KR *
HSIANG, SHIH-TA ET AL.: "Non-SCCE3: Run coding of the palette index map using a universal entropy coding scheme", JCTVC-R0136, JCT-VC 18TH MEETING: SAPPORO, JP, 3 July 2014 (2014-07-03), Sapporo, JP *
LAROCHE, GUILLAUME ET AL.: "AhG10: Run coding for palette mode", JCTVC- Q0066, JCT-VC 17TH MEETING: VALENCIA, ES, 17 March 2014 (2014-03-17) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114788289A (zh) * 2019-12-03 2022-07-22 阿里巴巴集团控股有限公司 使用调色板模式的视频处理方法和装置

Also Published As

Publication number Publication date
CN107079151B (zh) 2020-06-05
US10469870B2 (en) 2019-11-05
US20170310992A1 (en) 2017-10-26
KR20160037111A (ko) 2016-04-05
CN107079151A (zh) 2017-08-18

Similar Documents

Publication Publication Date Title
WO2016052977A1 (ko) 비디오 신호 처리 방법 및 장치
WO2016048092A1 (ko) 비디오 신호 처리 방법 및 장치
WO2016159610A1 (ko) 비디오 신호 처리 방법 및 장치
WO2017188652A1 (ko) 영상 부호화/복호화 방법 및 장치
WO2018070790A1 (ko) 영상의 부호화/복호화 방법 및 장치
WO2018066959A1 (ko) 비디오 신호 처리 방법 및 장치
WO2018088805A1 (ko) 비디오 신호 처리 방법 및 장치
WO2020071829A1 (ko) 히스토리 기반 영상 코딩 방법 및 그 장치
WO2017164645A2 (ko) 비디오 신호 부호화/복호화 방법 및 장치
WO2020071830A1 (ko) 히스토리 기반 움직임 정보를 이용한 영상 코딩 방법 및 그 장치
WO2016064123A1 (ko) 비디오 신호 처리 방법 및 장치
WO2017209328A1 (ko) 영상 코딩 시스템에서 인트라 예측 방법 및 장치
WO2018174593A1 (ko) 적응적인 화소 분류 기준에 따른 인루프 필터링 방법
WO2016114583A1 (ko) 비디오 신호 처리 방법 및 장치
WO2017039256A1 (ko) 비디오 신호 처리 방법 및 장치
WO2014171713A1 (ko) 인트라 예측을 이용한 비디오 부호화/복호화 방법 및 장치
WO2020009419A1 (ko) 병합 후보를 사용하는 비디오 코딩 방법 및 장치
WO2018008905A1 (ko) 비디오 신호 처리 방법 및 장치
WO2019240448A1 (ko) 성분 간 참조 기반의 비디오 신호 처리 방법 및 장치
WO2013154366A1 (ko) 블록 정보에 따른 변환 방법 및 이러한 방법을 사용하는 장치
WO2016122253A1 (ko) 비디오 신호 처리 방법 및 장치
WO2016122251A1 (ko) 비디오 신호 처리 방법 및 장치
WO2018044089A1 (ko) 비디오 신호 처리 방법 및 장치
WO2016085231A1 (ko) 비디오 신호 처리 방법 및 장치
WO2013109123A1 (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: 15844876

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 15511673

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 14/07/17)

122 Ep: pct application non-entry in european phase

Ref document number: 15844876

Country of ref document: EP

Kind code of ref document: A1