KR20180075464A - Methods and apparatus for video transform encoding/decoding - Google Patents

Methods and apparatus for video transform encoding/decoding Download PDF

Info

Publication number
KR20180075464A
KR20180075464A KR1020180074040A KR20180074040A KR20180075464A KR 20180075464 A KR20180075464 A KR 20180075464A KR 1020180074040 A KR1020180074040 A KR 1020180074040A KR 20180074040 A KR20180074040 A KR 20180074040A KR 20180075464 A KR20180075464 A KR 20180075464A
Authority
KR
South Korea
Prior art keywords
current block
information
transform
conversion
block
Prior art date
Application number
KR1020180074040A
Other languages
Korean (ko)
Other versions
KR101973568B1 (en
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 한국전자통신연구원
Publication of KR20180075464A publication Critical patent/KR20180075464A/en
Application granted granted Critical
Publication of KR101973568B1 publication Critical patent/KR101973568B1/en

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/12Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • 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/103Selection of coding mode or of prediction mode
    • 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/124Quantisation
    • 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/13Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
    • 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/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/157Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
    • 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/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/61Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Discrete Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

The present invention relates to a method and an apparatus for encoding/decoding an image. The method for decoding an image according to the present invention comprises: acquiring context information on a block to be decoded; deriving an inverse transform method for the block to be decoded by using the context information; and performing inverse transformation on the block to be decoded by using the derived inverse transform method. According to the present invention, image compression performance can be improved while minimizing the amount of information to be transmitted.

Description

영상 변환 부호화/복호화 방법 및 장치 {METHODS AND APPARATUS FOR VIDEO TRANSFORM ENCODING/DECODING}TECHNICAL FIELD [0001] The present invention relates to an image encoding / decoding method and apparatus,

본 발명은 영상 처리에 관한 것으로서, 보다 상세하게는 영상 부호화/복호화 방법 및 장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to image processing, and more particularly, to a video encoding / decoding method and apparatus.

최근 HD(High Definition) 해상도를 가지는 방송 서비스가 국내뿐만 아니라 세계적으로 확대되면서, 많은 사용자들이 고해상도, 고화질의 영상에 익숙해지고 있으며 이에 따라 많은 기관들이 차세대 영상기기에 대한 개발에 박차를 가하고 있다. 또한 HDTV와 더불어 HDTV의 4배 이상의 해상도를 갖는 UHD(Ultra High Definition)에 대한 관심이 증대되면서 보다 높은 해상도, 고화질의 영상에 대한 압축기술이 요구되고 있다.Recently, broadcasting service having high definition (HD) resolution has been expanded not only in domestic but also in the world, so that many users are accustomed to high definition and high definition video, and accordingly, many organizations are spurring development for next generation video equipment. In addition, with the increase of interest in UHD (Ultra High Definition) having resolution more than 4 times of HDTV in addition to HDTV, a compression technique for a higher resolution and a higher image quality is required.

영상 압축 기술에는 시간적으로 이전 및/또는 이후의 픽쳐로부터 현재 픽쳐에 포함된 화소값을 예측하는 인터(inter) 예측 기술, 현재 픽쳐 내의 화소 정보를 이용하여 현재 픽쳐에 포함된 화소값을 예측하는 인트라(intra) 예측 기술, 원 영상 신호를 주파수 영역의 신호로 분해하는 변환 기술, 주파수 영역의 신호를 원 영상 신호로 복원하는 역변환 기술, 출현 빈도가 높은 심볼(symbol)에 짧은 부호를 할당하고 출현 빈도가 낮은 심볼에 긴 부호를 할당하는 엔트로피 부호화 기술 등이 있다. 이러한 영상 압축 기술들에 의해 영상 데이터가 효율적으로 압축될 수 있다.An image compression technique includes an inter prediction technique for predicting a pixel value included in a current picture from temporally preceding and / or following pictures, an intra prediction technique for predicting a pixel value included in a current picture using pixel information in the current picture, an intra prediction technique, a transform technique for decomposing an original video signal into a frequency domain signal, an inverse transform technique for restoring a frequency domain signal to an original video signal, a short code is assigned to a symbol having a high appearance frequency, And an entropy coding technique for assigning a long code to a low symbol. The image data can be efficiently compressed by these image compression techniques.

본 발명의 기술적 과제는 전송되는 정보량을 최소화하면서 영상 압축 성능을 향상시킬 수 있는 영상 부호화 방법 및 장치를 제공함에 있다.An object of the present invention is to provide an image encoding method and apparatus capable of improving image compression performance while minimizing the amount of information to be transmitted.

본 발명의 다른 기술적 과제는 전송되는 정보량을 최소화하면서 영상 압축 성능을 향상시킬 수 있는 영상 복호화 방법 및 장치를 제공함에 있다.Another aspect of the present invention is to provide an image decoding method and apparatus capable of improving image compression performance while minimizing the amount of information to be transmitted.

본 발명의 또 다른 기술적 과제는 전송되는 정보량을 최소화하면서 영상 압축 성능을 향상시킬 수 있는 변환 방법 및 장치를 제공함에 있다.Another aspect of the present invention is to provide a conversion method and apparatus capable of improving image compression performance while minimizing the amount of information to be transmitted.

본 발명의 또 다른 기술적 과제는 전송되는 정보량을 최소화하면서 영상 압축 성능을 향상시킬 수 있는 역변환 방법 및 장치를 제공함에 있다.Another aspect of the present invention is to provide an inverse conversion method and apparatus capable of improving image compression performance while minimizing the amount of information to be transmitted.

본 발명의 또 다른 기술적 과제는 전송되는 정보량을 최소화하면서 영상 압축 성능을 향상시킬 수 있는 엔트로피 부호화 방법 및 장치를 제공함에 있다.It is another object of the present invention to provide an entropy encoding method and apparatus capable of improving image compression performance while minimizing the amount of information to be transmitted.

본 발명의 또 다른 기술적 과제는 전송되는 정보량을 최소화하면서 영상 압축 성능을 향상시킬 수 있는 엔트로피 복호화 방법 및 장치를 제공함에 있다.It is another object of the present invention to provide an entropy decoding method and apparatus capable of improving image compression performance while minimizing the amount of information to be transmitted.

영상 복호화 방법이 제공된다. 상기 방법은 복호화 대상 블록, 상기 복호화 대상 블록의 복호화 수행 전에 이미 복호화된 블록 및 상기 복호화 대상 블록의 복호화 수행 전에 이미 복원된 화소의 화소값들에 포함된 정보 중 적어도 하나를 이용하여 상기 복호화 대상 블록에 대한 문맥 정보를 획득하는 단계, 상기 문맥 정보를 이용하여 상기 복호화 대상 블록에 대한 역변환 방법을 도출하는 단계 및 상기 도출된 역변환 방법을 이용하여 복호화 대상 블록에 대한 역변환을 수행하는 단계를 포함하고, 상기 문맥 정보를 이용하여 상기 복호화 대상 블록에 대한 역변환 방법을 도출하는 단계에서는, 복수의 역변환 방법들 중 하나를 선택하는 방법 및 초기 역변환식을 갱신하는 방법 중 적어도 하나를 이용하여 상기 역변환 방법을 도출하고, 상기 복수의 역변환 방법들은 상기 복호화 대상 블록에 대한 복호화 수행 이전에 이미 정해진 역변환 방법들이고 상기 초기 역변환식은 상기 복호화 대상 블록에 대한 복호화 수행 이전에 이미 정해진 역변환식이다.A video decoding method is provided. The method may further include a step of decoding the block to be decoded using at least one of information on pixel values of a pixel that has already been decoded before decoding of the block to be decoded, , Deriving an inverse transform method for the current block to be decoded using the context information, and performing inverse transform on the current block to be decoded using the derived inverse transform method, And deriving the inverse transformation method for the block to be decoded using the context information, deriving the inverse transformation method using at least one of a method of selecting one of a plurality of inverse transformation methods and a method of updating an initial inverse transformation expression , And the plurality of inverse conversion methods Deulyigo already given way to perform the inverse transform decoding of the block prior to the initial inversion expression is already determined before performing the inverse transform formula for decoding the current block.

본 발명에 따른 영상 부호화 방법에 의하면 전송되는 정보량이 최소화되면서 영상 압축 성능이 향상될 수 있다.According to the image encoding method of the present invention, the amount of information to be transmitted can be minimized and the image compression performance can be improved.

본 발명에 따른 영상 복호화 방법에 의하면 전송되는 정보량이 최소화되면서 영상 압축 성능이 향상될 수 있다.According to the image decoding method of the present invention, the amount of information to be transmitted can be minimized and the image compression performance can be improved.

본 발명에 따른 변환 방법에 의하면 전송되는 정보량이 최소화되면서 영상 압축 성능이 향상될 수 있다.According to the conversion method of the present invention, the amount of information to be transmitted can be minimized and the image compression performance can be improved.

본 발명에 따른 역변환 방법에 의하면 전송되는 정보량이 최소화되면서 영상 압축 성능이 향상될 수 있다.According to the inverse transformation method of the present invention, the amount of information to be transmitted is minimized, and the image compression performance can be improved.

본 발명에 따른 엔트로피 부호화 방법에 의하면 전송되는 정보량이 최소화되면서 영상 압축 성능이 향상될 수 있다.According to the entropy encoding method of the present invention, the amount of information to be transmitted is minimized, and image compression performance can be improved.

본 발명에 따른 엔트로피 복호화 방법에 의하면 전송되는 정보량이 최소화되면서 영상 압축 성능이 향상될 수 있다.According to the entropy decoding method of the present invention, the amount of information to be transmitted can be minimized and the image compression performance can be improved.

도 1은 영상 부호화 장치의 일 실시예에 따른 구성을 나타내는 블록도이다.
도 2는 영상 복호화 장치의 일 실시예에 따른 구성을 나타내는 블록도이다.
도 3은 본 발명의 일 실시예에 따른 변환 방법을 개략적으로 나타내는 흐름도이다.
도 4는 본 발명의 일 실시예에 따른 엔트로피 부호화 방법을 개략적으로 나타내는 흐름도이다.
도 5는 본 발명의 일 실시예에 따른 엔트로피 복호화 방법을 개략적으로 나타내는 흐름도이다.
도 6은 본 발명의 일 실시예에 따른 역변환 방법을 개략적으로 나타내는 흐름도이다.
1 is a block diagram showing a configuration of an image encoding apparatus according to an embodiment of the present invention.
2 is a block diagram illustrating a configuration of an image decoding apparatus according to an embodiment of the present invention.
3 is a flow chart schematically illustrating a conversion method according to an embodiment of the present invention.
4 is a flowchart schematically illustrating an entropy encoding method according to an embodiment of the present invention.
5 is a flowchart schematically illustrating an entropy decoding method according to an embodiment of the present invention.
6 is a flowchart schematically showing an inverse transformation method according to an embodiment of the present invention.

이하, 도면을 참조하여 본 발명의 실시 형태에 대하여 구체적으로 설명한다. 본 명세서의 실시예를 설명함에 있어, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 명세서의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명은 생략한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In the following description of the embodiments of the present invention, a detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present disclosure rather unclear.

어떤 구성 요소가 다른 구성 요소에 “연결되어” 있다거나 “접속되어” 있다고 언급된 때에는, 그 다른 구성 요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있으나, 중간에 다른 구성 요소가 존재할 수도 있다고 이해되어야 할 것이다. 아울러, 본 발명에서 특정 구성을 “포함”한다고 기술하는 내용은 해당 구성 이외의 구성을 배제하는 것이 아니며, 추가적인 구성이 본 발명의 실시 또는 본 발명의 기술적 사상의 범위에 포함될 수 있음을 의미한다. It is to be understood that when an element is referred to as being "connected" or "connected" to another element, it may be directly connected or connected to the other element, . In addition, the description of "including" a specific configuration in the present invention does not exclude a configuration other than the configuration, and means that additional configurations can be included in the practice of the present invention or the technical scope of the present invention.

제1, 제2 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다.The terms first, second, etc. 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. For example, without departing from the scope of the present invention, the first component may be referred to as a second component, and similarly, the second component may also be referred to as a first component.

또한 본 발명의 실시예에 나타나는 구성부들은 서로 다른 특징적인 기능들을 나타내기 위해 독립적으로 도시되는 것으로, 각 구성부들이 분리된 하드웨어나 하나의 소프트웨어 구성단위로 이루어짐을 의미하지 않는다. 즉, 각 구성부는 설명의 편의상 각각의 구성부로 나열하여 포함한 것으로 각 구성부 중 적어도 두 개의 구성부가 합쳐져 하나의 구성부로 이루어지거나, 하나의 구성부가 복수 개의 구성부로 나뉘어져 기능을 수행할 수 있고 이러한 각 구성부의 통합된 실시예 및 분리된 실시예도 본 발명의 본질에서 벗어나지 않는 한 본 발명의 권리범위에 포함된다.In addition, the components shown in the embodiments of the present invention are shown independently to represent different characteristic functions, which does not mean that each component is composed of separate hardware or software constituent units. That is, each constituent unit is included in each constituent unit for convenience of explanation, and at least two constituent units of the constituent units may be combined to form one constituent unit, or one constituent unit may be divided into a plurality of constituent units to perform a function. The integrated embodiments and separate embodiments of the components are also included within the scope of the present invention, unless they depart from the essence of the present invention.

또한, 일부의 구성 요소는 본 발명에서 본질적인 기능을 수행하는 필수적인 구성 요소는 아니고 단지 성능을 향상시키기 위한 선택적 구성 요소일 수 있다. 본 발명은 단지 성능 향상을 위해 사용되는 구성 요소를 제외한 본 발명의 본질을 구현하는데 필수적인 구성부만을 포함하여 구현될 수 있고, 단지 성능 향상을 위해 사용되는 선택적 구성 요소를 제외한 필수 구성 요소만을 포함한 구조도 본 발명의 권리범위에 포함된다.In addition, some of the components are not essential components to perform essential functions in the present invention, but may be optional components only to improve performance. The present invention can be implemented only with components essential for realizing the essence of the present invention, except for the components used for the performance improvement, and can be implemented by only including the essential components except the optional components used for performance improvement Are also included in the scope of the present invention.

도 1은 영상 부호화 장치의 일 실시예에 따른 구성을 나타내는 블록도이다. 도 1을 참조하면, 상기 영상 부호화 장치(100)는 움직임 예측부(111), 움직임 보상부(112), 인트라 예측부(120), 스위치(115), 감산기(125), 변환부(130), 양자화부(140), 엔트로피 부호화부(150), 역양자화부(160), 역변환부(170), 가산기(175), 필터부(180) 및 참조영상 버퍼(190)를 포함한다. 1 is a block diagram showing a configuration of an image encoding apparatus according to an embodiment of the present invention. 1, the image encoding apparatus 100 includes a motion prediction unit 111, a motion compensation unit 112, an intra prediction unit 120, a switch 115, a subtractor 125, a transform unit 130, A quantization unit 140, an entropy encoding unit 150, an inverse quantization unit 160, an inverse transformation unit 170, an adder 175, a filter unit 180, and a reference image buffer 190.

영상 부호화 장치(100)는 입력 영상에 대해 인트라(intra) 모드 또는 인터(inter) 모드로 부호화를 수행하고 비트스트림(bit stream)을 출력할 수 있다. 인트라 예측은 화면 내 예측, 인터 예측은 화면 간 예측을 의미한다. 인트라 모드인 경우 스위치(115)가 인트라로 전환되고, 인터 모드인 경우 스위치(115)가 인터로 전환된다. 영상 부호화 장치(100)는 입력 영상의 입력 블록에 대한 예측 블록을 생성한 후, 입력 블록과 예측 블록의 차분을 부호화할 수 있다.The image encoding apparatus 100 may encode an input image in an intra mode or an inter mode and output a bit stream. Intra prediction is intra prediction, and inter prediction is inter prediction. In the intra mode, the switch 115 is switched to the intra mode, and in the inter mode, the switch 115 is switched to the inter mode. The image encoding apparatus 100 may generate a prediction block for an input block of the input image, and may then code the difference between the input block and the prediction block.

인트라 모드인 경우, 인트라 예측부(120)는 현재 블록 주변의 이미 부호화된 블록의 화소값을 이용하여 공간적 예측을 수행하여 예측 블록을 생성할 수 있다.In the intra mode, the intraprediction unit 120 may generate a prediction block by performing spatial prediction using the pixel value of the already coded block around the current block.

인터 모드인 경우, 움직임 예측부(111)는, 움직임 예측 과정에서 참조 영상 버퍼(190)에 저장되어 있는 참조 영상에서 입력 블록과 가장 매치가 잘 되는 영역을 찾아 움직임 벡터를 구할 수 있다. 움직임 보상부(112)는 움직임 벡터와 참조 영상 버퍼(190)에 저장되어 있는 참조 영상을 이용하여 움직임 보상을 수행함으로써 예측 블록을 생성할 수 있다. In the inter mode, the motion predicting unit 111 may obtain a motion vector by searching an area of the reference image stored in the reference image buffer 190, which is best matched with the input block, in the motion estimation process. The motion compensation unit 112 may generate a prediction block by performing motion compensation using a motion vector and a reference image stored in the reference image buffer 190.

감산기(125)는 입력 블록과 생성된 예측 블록의 차분에 의해 잔여 블록(residual block)을 생성할 수 있다. 변환부(130)는 잔여 블록에 대해 변환(transform)을 수행하여 변환 계수(transform coefficient)를 출력할 수 있다. 변환 방법에는 고정 변환 방법, 최적 변환 방법, 화면 내 예측 모드별 변환 방법(MDDT: Mode Dependent Directional Transform) 등이 있을 수 있다. 각각의 상세는 후술한다. The subtractor 125 may generate a residual block by a difference between the input block and the generated prediction block. The transforming unit 130 may perform a transform on the residual block to output a transform coefficient. The conversion method may include a fixed conversion method, an optimal conversion method, and a mode dependent directional transform (MDDT). The details of each will be described later.

양자화부(140)는 입력된 변환 계수를 양자화 파라미터에 따라 양자화하여 양자화된 계수(quantized coefficient)를 출력할 수 있다. The quantization unit 140 may quantize the input transform coefficient according to the quantization parameter to output a quantized coefficient.

엔트로피 부호화부(150)는, 양자화부(140)에서 산출된 값들 또는 부호화 과정에서 산출된 부호화 파라미터 값 등을 기초로 엔트로피 부호화를 수행하여 비트스트림(bit stream)을 출력할 수 있다. The entropy encoding unit 150 may output a bit stream by performing entropy encoding based on the values calculated by the quantization unit 140 or the encoding parameter values calculated in the encoding process.

엔트로피 부호화가 적용되는 경우, 높은 발생 확률을 갖는 심볼(symbol)에 적은 수의 비트가 할당되고 낮은 발생 확률을 갖는 심볼에 많은 수의 비트가 할당되어 심볼이 표현됨으로써, 부호화 대상 심볼들에 대한 비트열의 크기가 감소될 수 있다. 따라서 엔트로피 부호화를 통해서 영상 부호화의 압축 성능이 높아질 수 있다. When entropy encoding is applied, a small number of bits are allocated to a symbol having a high probability of occurrence, and a large number of bits are allocated to a symbol having a low probability of occurrence, thereby expressing symbols, The size of the column can be reduced. Therefore, the compression performance of the image encoding can be enhanced through the entropy encoding.

엔트로피 부호화를 위해 지수 골룸(exponential golomb), CAVLC(Context-Adaptive Variable Length Coding), CABAC(Context-Adaptive Binary Arithmetic Coding)과 같은 부호화 방법이 사용될 수 있다. 예를 들어, 엔트로피 부호화부(150)에는 가변 길이 부호화(VLC: Variable Lenghth Coding/Code) 테이블과 같은 엔트로피 부호화를 수행하기 위한 테이블이 저장될 수 있고, 엔트로피 부호화부(150)는 저장된 가변 길이 부호화(VLC) 테이블을 사용하여 엔트로피 부호화를 수행할 수 있다. 또한 다른 예를 들면 엔트로피 부호화부(150)는, 심볼을 이진화하여 빈(bin)으로 변환하고 문맥 모델(context model)에 따라 빈의 발생 확률을 예측하여 빈의 산술 부호화(arithmetic encoding)를 수행하여 비트스트림을 생성하는 CABAC 엔트로피 부호화 방법을 사용할 수도 있다. 여기서, 빈(bin)은 심볼이 이진화를 통해 2진수의 열로 표현될 때, 각각의 2진수의 값(0 또는 1)을 의미한다.For entropy encoding, an encoding method such as exponential golomb, context-adaptive variable length coding (CAVLC), and context-adaptive binary arithmetic coding (CABAC) may be used. For example, a table for performing entropy encoding such as a variable length coding / code (VLC) table may be stored in the entropy encoding unit 150, and the entropy encoding unit 150 may store the stored variable length encoding (VLC) table for performing entropy encoding. In another example, the entropy encoding unit 150 binarizes the symbols to convert them into bins, predicts the occurrence probability of bins according to a context model, and performs arithmetic encoding of bins A CABAC entropy encoding method for generating a bitstream may be used. Herein, a bin means a value (0 or 1) of each binary number when a symbol is represented as a binary column through binarization.

엔트로피 부호화부(150)는 엔트로피 부호화 모델에 따라 엔트로피 부호화를 수행할 수 있다. 엔트로피 부호화 모델은 예를 들어 심볼의 발생 빈도수, 발생 확률값 또는 확률 천이(transition) 모델을 포함할 수 있다. 또한 다른 실시예로 엔트로피 부호화 모델은 이진 부호화 방법에 관한 정보를 포함할 수 있다. 여기서 이진 부호화 방법에는 가변 길이 부호화, 산술 부호화 등이 있을 수 있다.The entropy encoding unit 150 may perform entropy encoding according to an entropy encoding model. The entropy encoding model may, for example, include a frequency of occurrence of a symbol, an occurrence probability value, or a probability transition model. In another embodiment, the entropy encoding model may include information about the binary encoding method. The binary coding method may include variable length coding, arithmetic coding, and the like.

양자화된 계수는 역양자화부(160)에서 역양자화되고 역변환부(170)에서 역변환될 수 있다. 역양자화, 역변환된 계수는 가산기(175)를 통해 예측 블록과 더해지고 복원 블록이 생성될 수 있다. The quantized coefficients can be inversely quantized in the inverse quantization unit 160 and inversely transformed in the inverse transformation unit 170. The inverse quantized and inverse transformed coefficients can be added to the prediction block through the adder 175 and a reconstruction block can be generated.

복원 블록은 필터부(180)를 거치고, 필터부(180)는 디블록킹 필터(deblocking filter), SAO(Sample Adaptive Offset), ALF(Adaptive Loop Filter) 중 적어도 하나 이상을 복원 블록 또는 복원 픽쳐에 적용할 수 있다. 필터부(180)를 거친 복원 블록은 참조 영상 버퍼(190)에 저장될 수 있다.The restoration block passes through the filter unit 180 and the filter unit 180 applies at least one of a deblocking filter, a sample adaptive offset (SAO), and an adaptive loop filter (ALF) can do. The restoration block having passed through the filter unit 180 may be stored in the reference image buffer 190.

도 2는 영상 복호화 장치의 일 실시예에 따른 구성을 나타내는 블록도이다. 도 2를 참조하면, 상기 영상 복호화 장치(200)는 엔트로피 복호화부(210), 역양자화부(220), 역변환부(230), 인트라 예측부(240), 움직임 보상부(250), 필터부(260) 및 참조 영상 버퍼(270)를 포함한다.2 is a block diagram illustrating a configuration of an image decoding apparatus according to an embodiment of the present invention. 2, the image decoding apparatus 200 includes an entropy decoding unit 210, an inverse quantization unit 220, an inverse transform unit 230, an intra prediction unit 240, a motion compensation unit 250, (260) and a reference image buffer (270).

영상 복호화 장치(200)는 부호화기에서 출력된 비트스트림을 입력 받아 인트라 모드 또는 인터 모드로 복호화를 수행하고 재구성된 영상, 즉 복원 영상을 출력할 수 있다. 인트라 모드인 경우 스위치가 인트라로 전환되고, 인터 모드인 경우 스위치가 인터로 전환될 수 있다. 영상 복호화 장치(200)는 입력 받은 비트스트림으로부터 복원된 잔여 블록(residual block)을 얻고 예측 블록을 생성한 후 복원된 잔여 블록과 예측 블록을 더하여 재구성된 블록, 즉 복원 블록을 생성할 수 있다.The video decoding apparatus 200 receives the bit stream output from the encoder and decodes the video stream into the intra mode or the inter mode, and outputs the reconstructed video, that is, the reconstructed video. In the intra mode, the switch is switched to the intra mode, and in the inter mode, the switch can be switched to the inter mode. The video decoding apparatus 200 may generate a reconstructed block, i.e., a reconstructed block, by obtaining a reconstructed residual block from the input bitstream, generating a predicted block, and adding the reconstructed residual block to the predicted block.

엔트로피 복호화부(210)는, 입력된 비트스트림을 확률 분포에 따라 엔트로피 복호화하여, 양자화된 계수(quantized coefficient) 형태의 심볼을 포함한 심볼들을 생성할 수 있다. 엔트로피 복호화 방법은 상술한 엔트로피 부호화 방법과 유사하다.The entropy decoding unit 210 may entropy-decode the input bitstream according to a probability distribution to generate symbols including a symbol of a quantized coefficient type. The entropy decoding method is similar to the entropy encoding method described above.

엔트로피 복호화 방법이 적용되는 경우, 높은 발생 확률을 갖는 심볼에 적은 수의 비트가 할당되고 낮은 발생 확률을 갖는 심볼에 많은 수의 비트가 할당되어 심볼이 표현됨으로써, 각 심볼들에 대한 비트열의 크기가 감소될 수 있다. 따라서 엔트로피 복호화 방법을 통해서 영상 복호화의 압축 성능이 높아질 수 있다. When the entropy decoding method is applied, a small number of bits are assigned to a symbol having a high probability of occurrence, and a large number of bits are assigned to a symbol having a low probability of occurrence, so that the size of a bit string for each symbol is Can be reduced. Therefore, the compression performance of the image decoding can be enhanced through the entropy decoding method.

엔트로피 복호화부(210)는, 엔트로피 부호화부(150)와 같이, 엔트로피 복호화 모델에 따라 엔트로피 복호화를 수행할 수 있다. 엔트로피 복호화 모델은 예를 들어 심볼의 발생 빈도수, 발생 확률값 또는 확률 천이(transition) 모델을 포함할 수 있다. 또한 다른 실시예로 엔트로피 복호화 모델은 이진 부호화 방법에 관한 정보를 포함할 수 있다. 여기서 이진 부호화 방법에는 가변 길이 부호화, 산술 부호화 등이 있을 수 있다.The entropy decoding unit 210, like the entropy encoding unit 150, can perform entropy decoding according to an entropy decoding model. The entropy decoding model may include, for example, the occurrence frequency, occurrence probability value, or probability transition model of a symbol. In another embodiment, the entropy decoding model may include information on the binary encoding method. The binary coding method may include variable length coding, arithmetic coding, and the like.

양자화된 계수는 역양자화부(220)에서 역양자화되고 역변환부(230)에서 역변환되며, 양자화된 계수가 역양자화/역변환 된 결과, 복원된 잔여 블록(residual block)이 생성될 수 있다. 역변환이 수행되는 경우, 도 1의 실시예에서 상술한 고정 변환 방법, 최적 변환 방법, 화면 내 예측 모드별 변환 방법(MDDT: Mode Dependent Directional Transform) 등이 역으로 적용될 수 있다. 각각의 상세는 후술한다. The quantized coefficients are inversely quantized in the inverse quantization unit 220 and inversely transformed in the inverse transformation unit 230. As a result that the quantized coefficients are inversely quantized / inverse transformed, reconstructed residual blocks can be generated. In the case where the inverse transformation is performed, the fixed transformation method, the optimal transformation method, the mode dependent directional transform (MDDT), and the like described above in the embodiment of FIG. 1 can be applied. The details of each will be described later.

인트라 모드인 경우, 인트라 예측부(240)는 현재 블록 주변의 이미 부호화된 블록의 화소값을 이용하여 공간적 예측을 수행하여 예측 블록을 생성할 수 있다. 인터 모드인 경우, 움직임 보상부(250)는 움직임 벡터 및 참조 영상 버퍼(270)에 저장되어 있는 참조 영상을 이용하여 움직임 보상을 수행함으로써 예측 블록을 생성할 수 있다. In the intra mode, the intraprediction unit 240 can generate a prediction block by performing spatial prediction using the pixel value of the already coded block around the current block. In the inter mode, the motion compensation unit 250 can generate a prediction block by performing motion compensation using a motion vector and a reference image stored in the reference image buffer 270. [

복원된 잔여 블록과 예측 블록은 가산기(255)를 통해 더해지고, 더해진 블록은 필터부(260)를 거친다. 필터부(260)는 디블록킹 필터, SAO, ALF 중 적어도 하나 이상을 복원 블록 또는 복원 픽쳐에 적용할 수 있다. 필터부(260)는 재구성된 영상, 즉 복원 영상을 출력한다. 복원 영상은 참조 영상 버퍼(270)에 저장되어 화면 간 예측에 사용될 수 있다.The restored residual block and the prediction block are added through the adder 255, and the added block is passed through the filter unit 260. The filter unit 260 may apply at least one of a deblocking filter, SAO, and ALF to a restoration block or a restored picture. The filter unit 260 outputs a reconstructed image, that is, a reconstructed image. The restored image is stored in the reference image buffer 270 and can be used for inter-view prediction.

도 1 및 도 2의 실시예에서 상술한 바와 같이, 변환 방법에는 고정 변환 방법, 최적 변환 방법, 화면 내 예측 모드별 변환 방법 등이 있을 수 있다.As described in the embodiments of FIGS. 1 and 2, the conversion method may be a fixed conversion method, an optimum conversion method, a conversion method according to an intra prediction mode, or the like.

고정 변환 방법은 DCT(이산 코사인 변환: Discrete Cosine Transform) 등과 같은 고정된 변환식을 사용하여 변환 또는 역변환을 수행하는 방법이다. 고정 변환 방법은, 부호화 대상 신호 특성의 변화를 반영할 수 없어, 압축 성능에 한계를 가진다.The fixed conversion method is a method of performing conversion or inverse conversion using a fixed conversion formula such as DCT (Discrete Cosine Transform) or the like. The fixed conversion method can not reflect a change in the characteristic of a signal to be encoded, and thus has a limitation in compression performance.

최적 변환 방법은, 부호화 대상 신호의 자기 상관도(auto-correlation)나 공분산(covariance) 같은 통계치를 구한 후 통계치에 따라 변환식을 결정하여 변환을 수행하는 방법이다. 최적 변환 방법의 실시예로 KLT(Karhunen-Loeve Transform) 등이 있을 수 있다. 최적 변환 방법은 신호 적응적으로 변환을 수행할 수 있다. 그러나 최적 변환 방법에서는, 복호화기가 통계치나 변환식에 관한 정보를 스스로 알 수 없으므로, 통계치에 관한 정보 또는 변환식 자체를 복호화기에 전달하기 위한 부호화 비트량이 추가적으로 소요된다는 단점이 존재한다.The optimal conversion method is a method of obtaining statistical values such as auto-correlation and covariance of a signal to be encoded and then determining a conversion formula according to the statistics to perform conversion. As an embodiment of the optimum conversion method, there may be a Karhunen-Loeve Transform (KLT) or the like. The optimal conversion method can perform the conversion in a signal adaptive manner. However, in the optimum conversion method, there is a disadvantage that the decoder needs additional information on the statistical value or the encoding bit amount for transferring the conversion formula itself to the decoder since it can not know the information about the statistical value or the conversion formula.

화면 내 예측 모드별 변환(MDDT: Mode Dependent Directional Transform) 방법은, 화면 내 예측 모드별 다수의 트레이닝 데이터(training data)에 대해 최적 변환식을 미리 결정해 놓은 후, 미리 결정된 최적 변환식을 고정적으로 사용하여 변환을 수행하는 방법이다. 상기 최적 변환식은 KLT, DCT, DST(Discrete Sine Transform) 등을 이용한 변환식일 수 있다.The MDDT (Modified Dependent Directional Transform) method is a method in which an optimal conversion formula is determined in advance for a plurality of training data for each intra prediction mode, and then a predetermined optimal conversion formula is fixedly used It is a method of performing conversion. The optimal conversion formula may be a conversion formula using KLT, DCT, Discrete Sine Transform (DST), or the like.

화면 내 예측 모드별 변환 방법에서는, 예측 모드에 따른 신호 특성이 반영될 수 있고, 부호화기에서 복호화기로 전송되는 추가적인 부호화 비트가 필요하지 않으므로 압축 성능이 향상될 수 있다. 그러나, 부호화 대상 신호의 특성이 트레이닝 데이터와 다른 경우, 압축 성능에 한계가 있을 수 있다.In the intra-picture prediction mode conversion method, the signal characteristics according to the prediction mode can be reflected, and the coding performance can be improved since the encoder does not need additional coding bits to be transmitted to the decoder. However, when the characteristics of the signal to be encoded differ from the training data, compression performance may be limited.

따라서 부호화기에서 복호화기로 전송되는 추가적인 부호화 비트 발생을 최소화하고 영상 압축 성능을 향상시키기 위해, 부호화/복호화 대상 블록, 이미 부호화/복호화된 블록 또는 이미 복원된 화소값 등으로부터 얻어진 문맥 정보를 이용하여 변환/역변환을 수행하는 방법이 제공될 수 있다.Therefore, in order to minimize the generation of additional encoding bits transmitted from the encoder to the decoder and to improve the image compression performance, the encoder / decoder uses the context information obtained from the encoding / decoding block, the already encoded / decoded block, A method of performing an inverse transform can be provided.

도 3은 본 발명의 일 실시예에 따른 변환 방법을 개략적으로 나타내는 흐름도이다. 도 3의 실시예에 따른 변환은 부호화기에서 수행될 수 있으며, 일 실시예로 부호화기의 변환부에서 수행될 수도 있다.3 is a flow chart schematically illustrating a conversion method according to an embodiment of the present invention. The transform according to the embodiment of FIG. 3 may be performed in the encoder, and may be performed in the transform unit of the encoder in one embodiment.

도 3을 참조하면, 부호화기는 부호화 대상 블록의 변환 방법 도출에 사용될 문맥 정보를 획득한다(S310). 변환 방법 도출에 사용될 문맥 정보(context information)에는 다양한 유형이 있을 수 있다.Referring to FIG. 3, the encoder obtains context information to be used for deriving a conversion method of a current block (S310). There are various types of context information to be used in deriving the conversion method.

일 실시예로 문맥 정보에는 부호화 대상 블록의 부호화 파라미터 또는 이미 부호화된 블록의 부호화 파라미터가 포함될 수 있다. 부호화 파라미터에는 예측 모드 정보, 움직임 또는 이동 정보, 양자화 정보, 블록 크기 정보 또는 필터 정보 등이 있을 수 있다. In one embodiment, the context information may include a coding parameter of a current block to be coded or a coding parameter of a previously coded block. The encoding parameters may include prediction mode information, motion or movement information, quantization information, block size information, or filter information.

예측 모드 정보는 예를 들어, 화면 간 예측인지 화면 내 예측인지를 지시하는 정보 및/또는 세부적으로 어떤 예측 방향 및/또는 예측 방법이 사용되는지를 지시하는 정보 등을 포함할 수 있다. 움직임 또는 이동 정보는 예를 들어, 움직임 벡터(motion vector)나 이동(변이) 벡터의 부호화 여부를 지시하는 정보, 벡터의 크기 정보, 참조 영상의 인덱스 및/또는 참조 영상의 개수에 관한 정보 등을 포함할 수 있다. 양자화 정보는 양자화 파라미터(quantization parameter), 양자화 스텝(quantization step) 크기, 양자화 가중치 행렬의 종류 및/또는 양자화 가중치 행렬의 값 등에 관한 정보를 포함할 수 있다. 블록 크기 정보는 블록의 크기, 블록의 분할 여부, 블록의 분할 유형, 블록의 분할 경계 위치 및/또는 블록의 분할 경계 방향 등에 관한 정보를 포함할 수 있다. 필터 정보는 보간 필터(interpolation filter), 디노이징 필터(denoising filter), 디밴딩 필터(debanding filter), 디블록킹 필터(deblocking filter) 등의 적용 여부를 지시하는 정보, 필터 계수 정보 및/또는 필터 강도에 관한 정보 등을 포함할 수 있다.The prediction mode information may include information indicating, for example, inter-picture prediction or intra-picture prediction, and / or information indicating which prediction direction and / or prediction method is used in detail. The motion or movement information includes, for example, information indicating whether a motion vector or a motion vector is encoded, size information of a vector, index of a reference image, and / or information on the number of reference images . The quantization information may include information on a quantization parameter, a quantization step size, a kind of a quantization weight matrix, and / or a value of a quantization weight matrix. The block size information may include information on the size of the block, whether or not the block is divided, the partition type of the block, the partition boundary position of the block, and / or the partition boundary direction of the block. The filter information includes information indicating whether to apply an interpolation filter, a denoising filter, a debanding filter, a deblocking filter, etc., filter coefficient information, and / or a filter strength And the like.

상기와 같은 부호화 파라미터의 값들은 직접 문맥 정보로 활용될 수 있다. 또한 부호화 파라미터 값들의 조합이나 발생 빈도가 구해진 후, 그 조합이나 발생 빈도 정보가 문맥 정보로 활용될 수도 있다.The values of the above encoding parameters can be directly used as context information. Also, after the combination of the encoding parameter values or the occurrence frequency is obtained, the combination or occurrence frequency information may be used as the context information.

다른 실시예로 문맥 정보는 이미 부호화된 블록의 변환 계수 정보를 포함할 수 있다. In another embodiment, the context information may include transform coefficient information of a block that has already been encoded.

예를 들어, 변환 계수 정보는 변환 계수의 존재 여부를 나타내는 정보를 포함할 수 있다. 변환 계수의 존재 여부를 나타내는 정보에는 코디드 블록 패턴(Coded Block Pattern), 코디드 블록 플래그(Coded Block Flags), 스플릿 플래그(Split Flags) 등이 있을 수 있다. 또한 예를 들어, 변환 계수 정보는 변환 계수의 분포 및/또는 변환 계수의 분포 유형에 관한 정보도 포함할 수 있다. 변환 계수의 분포 및/또는 변환 계수의 분포 유형에 관한 정보에는 변환 계수가 주로 저주파 영역에 분포함을 지시하는 정보, 변환 계수가 특정 방향에 주로 존재함을 지시하는 정보, 변환 계수가 고르게 분포함을 지시하는 정보 등이 있을 수 있다. 변환 계수 정보는 변환 계수에 대한 스캔 방식 및/또는 스캔 순서에 관한 정보도 포함할 수 있다.For example, the transform coefficient information may include information indicating whether or not a transform coefficient exists. Information indicating the presence or absence of the transform coefficient may include a coded block pattern, coded block flags, split flags, and the like. Also for example, the transform coefficient information may also include information about the distribution of the transform coefficients and / or the distribution type of the transform coefficients. The information on the distribution of the transform coefficients and / or the distribution type of the transform coefficients includes information indicating that the transform coefficients are mainly distributed in the low frequency region, information indicating that the transform coefficients are mainly present in a specific direction, And the like. The transform coefficient information may also include information about the scan scheme and / or scan order for the transform coefficients.

또 다른 실시예로 문맥 정보는 이미 복원된 화소값들을 포함할 수 있다. 상기 화소값들이 구해지는 영역은 다양하게 정해질 수 있다. 예를 들어 상기 화소값들은 부호화 대상 블록과 공간적으로 가까이 위치한 화소들 중 이미 복원된 화소들의 화소값들일 수 있다. 다른 예로, 상기 화소값들은 부호화 대상 블록의 화소값 예측에 사용된 화소들 중 이미 복원된 화소들의 화소값들일 수 있다.In yet another embodiment, the context information may include already reconstructed pixel values. The area where the pixel values are obtained can be variously determined. For example, the pixel values may be pixel values of already reconstructed pixels among pixels located spatially close to the current block. In another example, the pixel values may be pixel values of already reconstructed pixels among the pixels used for predicting the pixel value of the current block.

부호화기는 상기 화소값들 전체 또는 일부를 이용하여 상기 화소값들을 대표할 수 있는 특징값을 도출한 후, 그 특징값을 문맥 정보로 이용할 수도 있다. 상기 특징값은 예를 들어, 평균 변이(variance, deviation) 값, 상관도(correlation) 등의 통계값일 수 있다. 또한 상기 특징값은 예를 들어, 화소값들로부터 산출된 경사도(gradient), 에지니스(edgeness) 등 영상의 특징(feature)을 나타내는 값일 수도 있다. 여기서, 에지니스는 소벨 연산자(Sobel operator) 또는 라플라시안 연산자(Laplacian operator) 등이 적용되어 얻어진 결과일 수 있다.The encoder may derive a feature value that can represent the pixel values using all or a part of the pixel values, and then use the feature value as context information. The feature value may be, for example, a statistical value such as a variance (deviation) value, a correlation, and the like. In addition, the feature value may be a value indicating features of an image such as a gradient, an edge, and the like calculated from pixel values. Here, the edgeness may be a result obtained by applying a Sobel operator or a Laplacian operator.

부호화기는 상술한 부호화 대상 블록의 부호화 파라미터, 이미 부호화된 블록의 부호화 파라미터, 이미 부호화된 블록의 변환 계수 정보, 이미 복원된 화소값 정보들 중 적어도 하나를 이용하여 부호화 대상 블록의 변환 방법 도출에 사용될 문맥 정보를 획득할 수 있다. The encoder uses at least one of the coding parameters of the current block to be coded, the coding parameters of the already coded block, the transform coefficient information of the already coded block, and the already reconstructed pixel value information to be used for deriving the conversion method of the current block to be coded Context information can be obtained.

다시 도 3을 참조하면, 부호화기는, 획득한 문맥 정보를 이용하여, 부호화 대상 블록에 적용되는 변환 방법을 도출한다(S320). Referring back to FIG. 3, the encoder derives a conversion method applied to a current block using the obtained context information (S320).

문맥 정보를 이용하여 변환 방법을 결정할 때 부호화기는 다양한 방법 또는 수단을 사용할 수 있다. 예를 들어, 문맥 정보 자체가 특정 범위에 포함되는지 여부를 판단하는 수단이 사용될 수 있다. 다른 예로서, 문맥 정보 자체가 특정 조건을 만족하는지 여부를 판단하는 수단이 사용될 수도 있다. 또 다른 예로서, 같은 종류의 문맥 정보들 간의 차이가, 특정 범위에 포함되는지 여부를 판단하는 수단이 사용될 수도 있다. When determining the conversion method using the context information, the encoder may use various methods or means. For example, means for determining whether or not the context information itself is included in a specific range can be used. As another example, a means for determining whether or not the context information itself satisfies a specific condition may be used. As another example, a means for determining whether a difference between the same kind of context information is included in a specific range may be used.

부호화기는 상기 판단된 결과를 그대로 이용하여 변환 방법을 도출할 수 있다. 또한 부호화기는 상기 판단 수단을 여러 차례 적용하여 특정 범위에 포함되는 문맥 정보 및/또는 특정 조건을 만족하는 문맥 정보의 발생 빈도를 측정하여 빈도값을 구할 수도 있다. 이 때, 부호화기는 그 빈도값을 이용하여 변환 방법을 도출할 수도 있다.The encoder can derive the conversion method using the determined result as it is. Also, the encoder may calculate frequency of occurrence of context information included in a specific range and / or context information satisfying a specific condition by applying the determination means to the frequency. At this time, the encoder may derive a conversion method using the frequency value.

부호화기는, 변환 방법을 도출함에 있어, 미리 정해진 복수의 변환 방법 중 하나를 선택할 수 있다. In deriving the conversion method, the encoder can select one of a plurality of predetermined conversion methods.

이 때, 부호화기는 방법 자체를 달리하는 복수의 변환 방법 중 하나를 선택할 수 있다. 복수의 변환 방법에는 KLT, DCT, DST, 하다마드(Hadamard) 변환, 웨이블릿(Wavelet) 변환, 방향성(Directional) 변환 등이 있을 수 있다. At this time, the encoder can select one of a plurality of conversion methods that differ in the method itself. The plurality of conversion methods may include KLT, DCT, DST, Hadamard conversion, wavelet conversion, and directional conversion.

부호화기는 동일한 변환 방법 내에서 복수의 변환식 중 하나를 선택할 수도 있다. 예를 들어, 상기 복수의 변환식은 KLT 변환 방법에서 서로 다른 트레이닝 데이터에 최적화된 복수 개의 변환식일 수 있다.The encoder may select one of a plurality of conversion equations within the same conversion method. For example, the plurality of conversion types may be a plurality of conversion types optimized for different training data in the KLT conversion method.

부호화기는, 변환 방법을 도출함에 있어, 미리 정해진 초기 변환식을 문맥 정보에 따라 갱신할 수도 있다. 여기서, 미리 정해진 초기 변환식은, 예를 들어 KLT, DCT 등의 변환 방법에 대한 초기 변환식을 의미한다. In deriving the conversion method, the encoder may update the predetermined initial conversion formula according to the context information. Here, the predetermined initial conversion formula refers to an initial conversion formula for a conversion method such as KLT or DCT.

상기 초기 변환식은 다양한 단계에서 미리 정해질 수 있다. 예를 들어 초기 변환식은 시퀀스(sequence) 단계에서 미리 정해질 수 있고, GOP(Group of Picture) 단계에서 미리 정해질 수도 있다. GOP는 픽쳐군, 즉 픽쳐의 그룹을 의미한다. 또한 다른 예로 초기 변환식은 픽쳐, 슬라이스(slice), 부호화 유닛 또는 변환 유닛 등의 단계에서도 미리 정해질 수 있다.The initial conversion formula may be predetermined in various steps. For example, the initial transformation may be predetermined at the sequence step, and may be predetermined at the GOP (Group of Picture) step. A GOP means a picture group, that is, a group of pictures. As another example, the initial conversion may be predetermined in steps of a picture, a slice, an encoding unit, a conversion unit, or the like.

초기 변환식에 대한 갱신 여부 결정 및/또는 초기 변환식에 대한 실제 갱신 과정은 부호화 대상 블록에 대한 변환 이전에 이루어질 수 있다. 또한 초기 변환식에 대한 갱신 여부 결정 및/또는 초기 변환식에 대한 실제 갱신 과정은 부호화 대상 블록에 대한 변환 이후에 이루어질 수도 있다.The determination as to whether or not to update the initial conversion formula and / or the actual update process for the initial conversion formula may be performed before the conversion to the current block to be coded. Also, the determination of whether to update the initial conversion formula and / or the actual update process of the initial conversion formula may be performed after the conversion to the current block to be coded.

부호화기는 획득한 문맥 정보를 이용하여 변환 방법을 도출함에 있어, 상술한 미리 정해진 복수의 변환 방법 중 하나를 선택하는 방법들 및 미리 정해진 초기 변환식을 문맥 정보에 따라 갱신하는 방법들 중 적어도 하나를 이용할 수 있다. In deriving the conversion method using the obtained context information, the encoder uses at least one of methods for selecting one of the predetermined conversion methods and methods for updating a predetermined initial conversion formula according to the context information .

다시 도 3을 참조하면, 부호화기는, 도출된 변환 방법을 이용하여 입력 영상의 부호화 대상 블록에 대한 변환을 수행한다(S330). 변환은 변환 블록 단위로 수행될 수 있다.Referring back to FIG. 3, the encoder performs conversion on the current block of the input image using the derived conversion method (S330). The conversion can be performed in units of conversion blocks.

부호화기는 부호화 대상 블록에 대한 문맥 정보를 이용하여 블록 단위로 최적의 변환 방법 및/또는 변환식을 도출할 수 있다. 또한 부호화기는 상기 변환 방법 및/또는 변환식을 이용하여 변환을 수행함으로써, 문맥 적응적(context-adaptvie) 또는 신호 적응적으로 변환을 수행할 수 있다. 따라서 부호화기는 부호화 대상 신호 특성의 변화에 따라 최대한 적응적으로 변환을 수행할 수 있다.The encoder can derive an optimal conversion method and / or a conversion formula on a block-by-block basis using context information on the current block. Also, the encoder can perform the context-adaptive or signal-adaptive conversion by performing the conversion using the conversion method and / or the conversion formula. Therefore, the encoder can adaptively perform the conversion as much as possible in accordance with the change of the characteristic of the signal to be encoded.

또한 도 3의 실시예에서, 변환 방법 및/또는 변환식을 도출하거나 문맥 정보를 획득하기 위해 사용되는 정보들은, 부호화기로부터 전송되는 별도의 추가적인 정보 없이도 복호화기가 얻을 수 있는 정보들이다. 따라서 본 발명의 실시예에 따른 변환 방법에서는, 부호화기에서 복호화기로 전송되는 추가적인 비트량이 최소화되거나 발생되지 않을 수 있다. Also, in the embodiment of FIG. 3, the information used to derive the conversion method and / or conversion formula or to obtain the context information are information that the decoder can obtain without additional additional information transmitted from the encoder. Therefore, in the conversion method according to the embodiment of the present invention, the additional bit amount transmitted from the encoder to the decoder may be minimized or not generated.

변환 결과 생성된 변환 계수들은 양자화 파라미터에 따라 양자화되어 엔트로피 부호화부에 제공될 수 있다. 도 1의 실시예에서 상술한 바와 같이 엔트로피 부호화부는 엔트로피 부호화 모델에 따라 엔트로피 부호화를 수행할 수 있다. 도 3의 실시예에서와 같이 변환 방법이 문맥 적응적으로 도출되는 경우에는 엔트로피 부호화시 문맥 정보에 따라 심볼의 발생 확률이나 빈도 또는 이진 부호화 방법 등이 달라질 수 있다. 따라서 일 실시예로 변환 방법이 문맥 적응적으로 도출되는 경우, 엔트로피 부호화 모델도 문맥 적응적으로 도출될 수 있다.The transform coefficients generated as a result of the transformation may be quantized according to the quantization parameter and provided to the entropy encoding unit. In the embodiment of FIG. 1, the entropy encoding unit may perform entropy encoding according to an entropy encoding model. In the context-adaptive derivation of the transform method as in the embodiment of FIG. 3, the occurrence probability or frequency of the symbol or the binary encoding method may be changed according to the context information in the entropy encoding. Therefore, in a case where the transform method is contextually derived in one embodiment, the entropy encoding model can be derived contextually.

도 4는 본 발명의 일 실시예에 따른 엔트로피 부호화 방법을 개략적으로 나타내는 흐름도이다. 도 4의 실시예에 따른 엔트로피 부호화는 부호화기에서 수행될 수 있으며, 일 실시예로 부호화기의 엔트로피 부호화부에서 수행될 수도 있다.4 is a flowchart schematically illustrating an entropy encoding method according to an embodiment of the present invention. The entropy encoding according to the embodiment of FIG. 4 may be performed by an encoder, and may be performed by an entropy encoding unit of the encoder.

도 4를 참조하면, 부호화기는 엔트로피 부호화 모델 도출에 사용되는 문맥 정보를 획득한다(S410). Referring to FIG. 4, the encoder obtains context information used to derive an entropy encoding model (S410).

상기 문맥 정보는 엔트로피 부호화 과정에서 별개로 획득되는 문맥 정보가 아닐 수 있으며, 변환 과정에서 얻어진 문맥 정보가 그대로 엔트로피 부호화 과정에서 사용될 수도 있다.The context information may not be context information obtained separately in the entropy encoding process, and the context information obtained in the conversion process may be directly used in the entropy encoding process.

부호화기는 획득한 문맥 정보를 이용하여 엔트로피 부호화 모델을 도출한다(S420). The encoder derives an entropy encoding model using the obtained context information (S420).

도 3의 실시예에서 상술한 바와 같이, 부호화기는 변환 방법을 도출함에 있어, 미리 정해진 복수의 변환 방법 중 하나를 선택할 수 있다. 이 때, 부호화기는 미리 정해진 복수의 변환 방법 중 어느 방법을 선택하였는지를 나타내는 지시자를 전송 또는 시그널링할 수 있다. 부호화기는 상기 지시자의 엔트로피 부호화 모델을 도출하기 위해, 획득한 문맥 정보를 이용할 수 있다. 일 실시예로, 부호화기는 부호화 대상 블록의 주변 블록(들)의 화면 내 예측 모드 값에 따라, 미리 정해진 복수의 변환 방법에 대해 엔트로피 부호화 모델을 갱신할 수 있다. 엔트로피 부호화 모델을 도출하는 방법은 상기 실시예에 한하지 않으며, 획득한 문맥 정보의 유형, 변환 방법 도출 방식 등에 따라 달리 정해질 수 있다. As described above in the embodiment of Fig. 3, in deriving the conversion method, the encoder can select one of a plurality of predetermined conversion methods. At this time, the encoder can transmit or signal an indicator indicating which of a plurality of predetermined conversion methods has been selected. The encoder may use the acquired context information to derive an entropy encoding model of the indicator. In one embodiment, the encoder can update the entropy encoding model for a plurality of predetermined conversion methods in accordance with the intra-picture prediction mode value of the neighboring block (s) of the current block. The method of deriving the entropy encoding model is not limited to the above embodiment, and can be determined according to the type of the acquired context information, the derivation method of the conversion method, and the like.

상기 도출된 엔트로피 부호화 모델은 예를 들어 심볼의 발생 빈도수, 발생 확률값 또는 확률 천이(transition) 모델을 포함할 수 있다. 또한 다른 예로서, 엔트로피 부호화 모델은 이진 부호화 방법에 관한 정보를 포함할 수 있다. 여기서 이진 부호화 방법에는 가변 길이 부호화, 산술 부호화 등이 있을 수 있다.The derived entropy encoding model may include, for example, the occurrence frequency, occurrence probability value, or probability transition model of a symbol. As another example, the entropy encoding model may include information on the binary encoding method. The binary coding method may include variable length coding, arithmetic coding, and the like.

다시 도 4를 참조하면, 부호화기는 도출된 엔트로피 부호화 모델을 이용하여 엔트로피 부호화를 수행한다(S430).Referring again to FIG. 4, the encoder performs entropy encoding using the derived entropy encoding model (S430).

도 4의 실시예에서, 엔트로피 부호화 모델을 도출하기 위해 사용되는 정보들은 부호화기로부터 전송되는 별도의 추가적인 정보 없이도 복호화기가 얻을 수 있는 정보들이다. 따라서 본 발명의 실시예에 따른 엔트로피 부호화 방법이 사용되는 경우, 부호화기에서 복호화기로 전송되는 추가적인 비트량이 최소화될 수 있다. 또한 부호화기는 획득한 문맥 정보를 이용하여 엔트로피 부호화를 수행함으로써, 부호화 대상 신호 특성의 변화에 따라 최대한 적응적으로 부호화를 수행할 수 있다.In the embodiment of FIG. 4, the information used to derive the entropy coding model is the information that the decoder can obtain without additional information being transmitted from the encoder. Therefore, when the entropy encoding method according to the embodiment of the present invention is used, the amount of additional bits transmitted from the encoder to the decoder can be minimized. Further, the encoder performs entropy encoding using the acquired context information, thereby performing encoding adaptively as much as possible in accordance with a change in the characteristics of a signal to be encoded.

도 3 및 도 4에서 상술한 본 발명의 실시예에 따르면, 부호화기에서 복호화기로 전송되는 추가적인 부호화 비트 발생 없이, 부호화 대상 신호 특성의 변화에 따라 최대한 적응적으로 변환 및/또는 엔트로피 부호화가 수행될 수 있다. 따라서 영상 부호화의 압축 성능이 향상된다.According to the embodiment of the present invention described above with reference to FIG. 3 and FIG. 4, it is possible to perform adaptive conversion and / or entropy encoding as much as possible according to a change in a characteristic of a signal to be coded without generating additional coding bits transmitted from the encoder to the decoder have. Therefore, the compression performance of the image encoding is improved.

상술한 변환 부호화 방법과 유사하게, 복호화기에서도 역변환 방법이 문맥 정보에 따라 적응적으로 도출될 수 있다. 복호화기에서 문맥 적응적 역변환 방법이 사용되는 경우, 엔트로피 복호화시 사용되는 심볼의 발생 확률 등에 관한 정보가 문맥 정보에 따라 달라질 수 있다. 따라서, 엔트로피 복호화에 있어서도 문맥 정보에 따라 적응적으로 도출된 엔트로피 복호화 모델이 사용될 수 있다.Similar to the above-described transcoding method, the inverse transform method can also be adaptively derived in accordance with the context information in the decoder. When the context adaptive inverse transform method is used in the decoder, information on the probability of occurrence of symbols used in entropy decoding may be changed according to the context information. Therefore, in the entropy decoding, an entropy decoding model derived adaptively according to the context information can also be used.

도 5는 본 발명의 일 실시예에 따른 엔트로피 복호화 방법을 개략적으로 나타내는 흐름도이다. 도 5의 실시예에 따른 엔트로피 복호화는 복호화기에서 수행될 수 있으며, 일 실시예로 복호화기의 엔트로피 복호화부에서 수행될 수도 있다.5 is a flowchart schematically illustrating an entropy decoding method according to an embodiment of the present invention. The entropy decoding according to the embodiment of FIG. 5 may be performed in the decoder, and in one embodiment, the entropy decoding unit of the decoder may be performed.

도 5를 참조하면, 복호화기는 엔트로피 복호화 모델 도출에 사용되는 문맥 정보를 획득한다(S510). 엔트로피 복호화 모델 도출에 사용되는 문맥 정보에는 다양한 유형이 있을 수 있다.Referring to FIG. 5, the decoder obtains context information used to derive an entropy decoding model (S510). There are various types of context information used to derive the entropy decoding model.

일 실시예로 문맥 정보에는 복호화 대상 블록의 부호화 파라미터 및/또는 이미 복호화된 블록의 부호화 파라미터가 포함될 수 있다. 부호화 파라미터에는 예측 모드 정보, 움직임 또는 이동 정보, 양자화 정보, 블록 크기 정보 또는 필터 정보 등이 있을 수 있다. In one embodiment, the context information may include a coding parameter of a block to be decoded and / or a coding parameter of an already decoded block. The encoding parameters may include prediction mode information, motion or movement information, quantization information, block size information, or filter information.

예측 모드 정보는 예를 들어, 화면 간 예측인지 화면 내 예측인지를 지시하는 정보 및/또는 세부적으로 어떤 예측 방향 및/또는 예측 방법이 사용되는지를 지시하는 정보 등을 포함할 수 있다. 움직임 또는 이동 정보는 예를 들어, 움직임 벡터(motion vector)나 이동(변이) 벡터의 부호화 여부를 지시하는 정보, 벡터의 크기 정보, 참조 영상의 인덱스 및/또는 참조 영상의 개수에 관한 정보 등을 포함할 수 있다. 양자화 정보는 양자화 파라미터(quantization parameter), 양자화 스텝(quantization step) 크기, 양자화 가중치 행렬의 종류 및/또는 양자화 가중치 행렬의 값 등에 관한 정보를 포함할 수 있다. 블록 크기 정보는 블록의 크기, 블록의 분할 여부, 블록의 분할 유형, 블록의 분할 경계 위치 및/또는 블록의 분할 경계 방향 등에 관한 정보를 포함할 수 있다. 필터 정보는 보간 필터(interpolation filter), 디노이징 필터(denoising filter), 디밴딩 필터(debanding filter), 디블록킹 필터(deblocking filter) 등의 적용 여부를 지시하는 정보, 필터 계수 정보 및/또는 필터 강도에 관한 정보 등을 포함할 수 있다.The prediction mode information may include information indicating, for example, inter-picture prediction or intra-picture prediction, and / or information indicating which prediction direction and / or prediction method is used in detail. The motion or movement information includes, for example, information indicating whether a motion vector or a motion vector is encoded, size information of a vector, index of a reference image, and / or information on the number of reference images . The quantization information may include information on a quantization parameter, a quantization step size, a kind of a quantization weight matrix, and / or a value of a quantization weight matrix. The block size information may include information on the size of the block, whether or not the block is divided, the partition type of the block, the partition boundary position of the block, and / or the partition boundary direction of the block. The filter information includes information indicating whether to apply an interpolation filter, a denoising filter, a debanding filter, a deblocking filter, etc., filter coefficient information, and / or a filter strength And the like.

상기와 같은 부호화 파라미터의 값들은 직접 문맥 정보로 활용될 수 있다. 또한 부호화 파라미터 값들의 조합이나 발생 빈도가 구해진 후, 그 조합이나 발생 빈도 정보가 문맥 정보로 활용될 수도 있다.The values of the above encoding parameters can be directly used as context information. Also, after the combination of the encoding parameter values or the occurrence frequency is obtained, the combination or occurrence frequency information may be used as the context information.

다른 실시예로 문맥 정보는 이미 복호화된 블록의 변환 계수 정보를 포함할 수 있다. In another embodiment, the context information may include transform coefficient information of a block that has already been decoded.

예를 들어, 변환 계수 정보는 변환 계수의 존재 여부를 나타내는 정보를 포함할 수 있다. 변환 계수의 존재 여부를 나타내는 정보에는 코디드 블록 패턴(Coded Block Pattern), 코디드 블록 플래그(Coded Block Flags), 스플릿 플래그(Split Flags) 등이 있을 수 있다. 또한 예를 들어, 변환 계수 정보는 변환 계수의 분포 및/또는 변환 계수의 분포 유형에 관한 정보도 포함할 수 있다. 변환 계수의 분포 및/또는 변환 계수의 분포 유형에 관한 정보에는 변환 계수가 주로 저주파 영역에 분포함을 지시하는 정보, 변환 계수가 특정 방향에 주로 존재함을 지시하는 정보, 변환 계수가 고르게 분포함을 지시하는 정보 등이 있을 수 있다. 변환 계수 정보는 변환 계수에 대한 스캔 방식 및/또는 스캔 순서에 관한 정보도 포함할 수 있다.For example, the transform coefficient information may include information indicating whether or not a transform coefficient exists. Information indicating the presence or absence of the transform coefficient may include a coded block pattern, coded block flags, split flags, and the like. Also for example, the transform coefficient information may also include information about the distribution of the transform coefficients and / or the distribution type of the transform coefficients. The information on the distribution of the transform coefficients and / or the distribution type of the transform coefficients includes information indicating that the transform coefficients are mainly distributed in the low frequency region, information indicating that the transform coefficients are mainly present in a specific direction, And the like. The transform coefficient information may also include information about the scan scheme and / or scan order for the transform coefficients.

또 다른 실시예로 문맥 정보는 이미 복원된 화소값들을 포함할 수 있다. 상기 화소값들이 구해지는 영역은 다양하게 정해질 수 있다. 예를 들어 상기 화소값들은 복호화 대상 블록과 공간적으로 가까이 위치한 화소들 중 이미 복원된 화소들의 화소값들일 수 있다. 다른 예로, 상기 화소값들은 복호화 대상 블록의 화소값 예측에 사용된 화소들 중 이미 복원된 화소들의 화소값들일 수 있다.In yet another embodiment, the context information may include already reconstructed pixel values. The area where the pixel values are obtained can be variously determined. For example, the pixel values may be pixel values of already reconstructed pixels among pixels located spatially close to a block to be decoded. As another example, the pixel values may be pixel values of already reconstructed pixels among the pixels used for predicting the pixel value of the block to be decoded.

복호화기는 상기 화소값들 전체 또는 일부를 이용하여 상기 화소값들을 대표할 수 있는 특징값을 도출한 후, 그 특징값을 문맥 정보로 이용할 수도 있다. 상기 특징값은 예를 들어, 평균 변이(variance, deviation) 값, 상관도(correlation) 등의 통계값일 수 있다. 또한 상기 특징값은 예를 들어, 화소값들로부터 산출된 경사도(gradient), 에지니스(edgeness) 등 영상의 특징(feature)을 나타내는 값일 수도 있다. The decoder may derive a feature value that can represent the pixel values using all or a part of the pixel values, and then use the feature value as context information. The feature value may be, for example, a statistical value such as a variance (deviation) value, a correlation, and the like. In addition, the feature value may be a value indicating features of an image such as a gradient, an edge, and the like calculated from pixel values.

복호화기는 상술한 복호화 대상 블록의 부호화 파라미터, 이미 복호화된 블록의 부호화 파라미터, 이미 복호화된 블록의 변환 계수 정보, 이미 복원된 화소값 정보들 중 적어도 하나를 이용하여 엔트로피 복호화 모델 도출에 사용될 문맥 정보를 획득할 수 있다. The decoder uses context information to be used for deriving an entropy decoding model by using at least one of the encoding parameters of the above-described block to be decoded, the encoding parameters of already decoded blocks, the transform coefficient information of already decoded blocks, and the already reconstructed pixel value information Can be obtained.

복호화기는 획득한 문맥 정보를 이용하여 엔트로피 복호화 모델을 도출한다(S520). The decoder uses the obtained context information to derive an entropy decoding model (S520).

도 6의 실시예에서 후술되는 바와 같이, 본 발명의 실시예에 따른 복호화기는 역변환 방법을 도출함에 있어, 미리 정해진 복수의 역변환 방법 중 하나를 선택할 수 있다. 이 때, 복호화기는 비트스트림(bitstream)을 파싱(parsing)하여 변환 방법 선택을 위한 지시자를 구한 후 지시자 값에 따라 미리 정해진 복수의 역변환 방법 중 하나를 선택할 수 있다. 복호화기는 상기 지시자의 파싱에 필요한 엔트로피 복호화 모델 도출을 위해 앞서 획득한 문맥 정보를 이용할 수 있다. 일 실시예로, 복호화기는 복호화 대상 블록 주변 블록(들)의 화면 내 예측 모드 값에 따라, 미리 정해진 복수의 역변환 방법에 대해 엔트로피 복호화 모델을 갱신할 수 있다. 엔트로피 복호화 모델을 도출하는 방법은 상기 실시예에 한하지 않으며, 획득한 문맥 정보의 유형, 역변환 방법 도출 방식 등에 따라 달리 정해질 수 있다. As described later in the embodiment of FIG. 6, the decoder according to the embodiment of the present invention can select one of a plurality of predetermined inverse transformation methods in deriving the inverse transformation method. At this time, the decoder may obtain an indicator for selecting a conversion method by parsing a bitstream, and then select one of a plurality of predetermined inverse conversion methods according to an indicator value. The decoder may use the previously obtained context information to derive an entropy decoding model necessary for parsing the indicator. In one embodiment, the decoder may update the entropy decoding model for a plurality of predetermined inverse transformation methods in accordance with the intra-picture prediction mode value of the block (s) to be decoded. The method of deriving the entropy decoding model is not limited to the above-described embodiment, and can be determined according to the type of the obtained context information, the derivation method of the inverse conversion method, and the like.

상기 도출된 엔트로피 복호화 모델은 예를 들어 심볼의 발생 빈도수, 발생 확률값 또는 확률 천이(transition) 모델을 포함할 수 있다. 또한 다른 예로서, 엔트로피 복호화 모델은 이진 부호화 방법에 관한 정보를 포함할 수 있다. 여기서 이진 부호화 방법에는 가변 길이 부호화, 산술 부호화 등이 있을 수 있다.The derived entropy decoding model may include, for example, a frequency of occurrence of symbols, an occurrence probability value, or a probability transition model. As another example, the entropy decoding model may include information on a binary coding method. The binary coding method may include variable length coding, arithmetic coding, and the like.

다시 도 5를 참조하면, 복호화기는 도출된 엔트로피 복호화 모델을 이용하여 엔트로피 복호화를 수행한다(S530).Referring again to FIG. 5, the decoder performs entropy decoding using the derived entropy decoding model (S530).

도 5의 실시예에서, 엔트로피 복호화 모델을 도출하기 위해 사용되는 정보들은 부호화기로부터 전송되는 별도의 추가적인 정보 없이도 복호화기가 얻을 수 있는 정보들이다. 따라서 본 발명의 실시예에 따른 엔트로피 복호화 방법이 사용되는 경우, 부호화기에서 복호화기로 전송되는 추가적인 비트량이 최소화될 수 있다. 또한 복호화기는 획득한 문맥 정보를 이용하여 엔트로피 복호화를 수행함으로써, 복호화 대상 신호 특성의 변화에 따라 최대한 적응적으로 복호화를 수행할 수 있다.In the embodiment of FIG. 5, the information used to derive the entropy decoding model is the information that the decoder can obtain without additional information being transmitted from the encoder. Therefore, when the entropy decoding method according to the embodiment of the present invention is used, the amount of additional bits transmitted from the encoder to the decoder can be minimized. In addition, the decoder may perform the entropy decoding using the acquired context information, thereby performing the adaptive decoding as much as possible in accordance with the change of the signal characteristics of the decoding target.

엔트로피 복호화 결과 생성된 값들은 복호화기의 양자화부에 제공될 수 있으며, 양자화부는 양자화 파라미터에 따라 역양자화를 수행할 수 있다. 역양자화 결과 생성된 변환 계수들은 복호화기의 역변환부에 제공될 수 있다.The values generated as a result of the entropy decoding may be provided to the quantization unit of the decoder, and the quantization unit may perform the inverse quantization according to the quantization parameter. The transform coefficients generated as a result of the inverse quantization can be provided to the inverse transform unit of the decoder.

도 6은 본 발명의 일 실시예에 따른 역변환 방법을 개략적으로 나타내는 흐름도이다. 도 6의 실시예에 따른 역변환은 복호화기에서 수행될 수 있으며, 일 실시예로 복호화기의 역변환부에서 수행될 수도 있다.6 is a flowchart schematically showing an inverse transformation method according to an embodiment of the present invention. The inverse transform according to the embodiment of FIG. 6 may be performed in the decoder, and may be performed in the inverse transform unit of the decoder in one embodiment.

도 6을 참조하면, 복호화기는 복호화 대상 블록의 역변환 방법 도출에 사용될 문맥 정보를 획득한다(S610). Referring to FIG. 6, the decoder obtains context information to be used for deriving an inverse transformation method of a block to be decoded (S610).

상기 문맥 정보는 역변환 과정에서 별개로 획득되는 문맥 정보가 아닐 수 있으며, 엔트로피 복호화 과정에서 얻어진 문맥 정보가 그대로 역변환 과정에서 사용될 수도 있다. 엔트로피 복호화 과정에서 문맥 정보가 사용되지 않는 경우, 복호화기는 역변환 과정에서 별개로 문맥 정보를 획득할 수도 있다. 이 때, 역변환 방법 도출에 사용될 문맥 정보에는 다양한 유형이 있을 수 있으며, 예를 들어 문맥 정보는 도 5의 실시예에서 상술한 유형의 정보들일 수 있다.The context information may not be context information obtained separately in the inverse transformation process, and the context information obtained in the entropy decoding process may be directly used in the inverse transformation process. If the context information is not used in the entropy decoding process, the decoder may obtain the context information separately in the inverse conversion process. At this time, there may be various types of context information to be used for deriving the inverse conversion method. For example, the context information may be the types of information described in the embodiment of FIG.

다시 도 6을 참조하면, 복호화기는, 획득한 문맥 정보를 이용하여, 복호화 대상 블록에 적용되는 역변환 방법을 도출한다(S620). Referring back to FIG. 6, the decoder derives an inverse transformation method applied to a current block to be decoded using the obtained context information (S620).

문맥 정보를 이용하여 역변환 방법을 결정할 때 복호화기는 다양한 방법 또는 수단을 사용할 수 있다. 예를 들어, 문맥 정보 자체가 특정 범위에 포함되는지 여부를 판단하는 수단이 사용될 수 있다. 다른 예로서, 문맥 정보 자체가 특정 조건을 만족하는지 여부를 판단하는 수단이 사용될 수도 있다. 또 다른 예로서, 같은 종류의 문맥 정보들 간의 차이가, 특정 범위에 포함되는지 여부를 판단하는 수단이 사용될 수도 있다. When determining the inverse transformation method using the context information, the decoder may use various methods or means. For example, means for determining whether or not the context information itself is included in a specific range can be used. As another example, a means for determining whether or not the context information itself satisfies a specific condition may be used. As another example, a means for determining whether a difference between the same kind of context information is included in a specific range may be used.

복호화기는 상기 판단된 결과를 그대로 이용하여 역변환 방법을 도출할 수 있다. 또한 복호화기는 상기 판단 수단을 여러 차례 적용하여 특정 범위에 포함되는 문맥 정보 및/또는 특정 조건을 만족하는 문맥 정보의 발생 빈도를 측정하여 빈도값을 구할 수도 있다. 이 때, 복호화기는 그 빈도값을 이용하여 역변환 방법을 도출할 수도 있다.The decoder can derive an inverse transform method using the determined result as it is. Further, the decoder may calculate frequency of occurrence of context information included in a specific range and / or context information that satisfies a specific condition by applying the determination means to the frequency. At this time, the decoder may derive an inverse conversion method using the frequency value.

복호화기는, 역변환 방법을 도출함에 있어, 미리 정해진 복수의 역변환 방법 중 하나를 선택할 수 있다. In deriving the inverse transform method, the decoder may select one of a plurality of predetermined inverse transform methods.

이 때, 복호화기는 방법 자체를 달리하는 복수의 역변환 방법 중 하나를 선택할 수 있다. 복수의 역변환 방법에는 KLT, DCT, DST, 하다마드(Hadamard) 변환, 웨이블릿(Wavelet) 변환, 방향성(Directional) 변환 등이 있을 수 있다. At this time, the decoder may select one of a plurality of inverse conversion methods that differ in the method itself. The plurality of inverse transform methods may include KLT, DCT, DST, Hadamard transform, wavelet transform, and directional transform.

복호화기는 동일한 역변환 방법 내에서 복수의 역변환식 중 하나를 선택할 수도 있다. 예를 들어, 상기 복수의 역변환식은 KLT 변환 방법에서 서로 다른 트레이닝 데이터에 최적화된 복수 개의 역변환식일 수 있다.The decoder may select one of a plurality of inverse transform equations in the same inverse transform method. For example, the plurality of inverse transform equations may be a plurality of inverse transform equations optimized for different training data in the KLT transform method.

복호화기는, 역변환 방법을 도출함에 있어, 미리 정해진 초기 역변환식을 문맥 정보에 따라 갱신할 수도 있다. 여기서, 미리 정해진 초기 역변환식은, 예를 들어 KLT, DCT 등의 역변환 방법에 대한 초기 역변환식을 의미한다. In deriving the inverse transform method, the decoder may update a predetermined initial inverse transform equation according to the context information. Here, the predetermined initial inverse transform equation refers to an initial inverse transform equation for the inverse transform method such as KLT, DCT, and the like.

상기 초기 역변환식은 다양한 단계에서 미리 정해질 수 있다. 예를 들어 초기 역변환식은 시퀀스(sequence) 단계에서 미리 정해질 수 있고, GOP(Group of Picture) 단계에서 미리 정해질 수도 있다. 또한 다른 예로 초기 역변환식은 픽쳐, 슬라이스(slice), 부호화 유닛 또는 변환 유닛 등의 단계에서도 미리 정해질 수 있다.The initial inverse transform equation may be predetermined at various stages. For example, the initial inverse transform equation may be predetermined at a sequence step, and may be predetermined at a GOP (Group of Pictures) step. As another example, the initial inverse transform equation may be predetermined in steps of a picture, a slice, an encoding unit, a transform unit, or the like.

초기 역변환식에 대한 갱신 여부 결정 및/또는 초기 역변환식에 대한 실제 갱신 과정은 복호화 대상 블록에 대한 역변환 이전에 이루어질 수 있다. 또한 초기 역변환식에 대한 갱신 여부 결정 및/또는 초기 역변환식에 대한 실제 갱신 과정은 복호화 대상 블록에 대한 역변환 이후에 이루어질 수도 있다.The determination of whether to update the initial inverse transform equation and / or the actual update process of the initial inverse transform equation may be performed before the inverse transformation of the current block to be decoded. Also, the determination of whether to update the initial inverse transform equation and / or the actual update process of the initial inverse transform equation may be performed after the inverse transformation of the current block to be decoded.

복호화기는 획득한 문맥 정보를 이용하여 역변환 방법을 도출함에 있어, 상술한 미리 정해진 복수의 역변환 방법 중 하나를 선택하는 방법들 및 미리 정해진 초기 역변환식을 문맥 정보에 따라 갱신하는 방법들 중 적어도 하나를 이용할 수 있다. In deriving the inverse transformation method using the acquired context information, the decoder may include at least one of methods for selecting one of the predetermined inverse transformation methods and methods for updating a predetermined initial inverse transformation expression according to the context information Can be used.

다시 도 6을 참조하면, 복호화기는, 도출된 역변환 방법을 이용하여 복호화 대상 블록에 대한 역변환을 수행한다(S630). 역변환은 변환 계수들에 대해 변환 블록 단위로 수행될 수 있다.Referring back to FIG. 6, the decoder performs an inverse transform on the current block to be decoded using the derived inverse transform method (S630). The inverse transform may be performed on a transform block basis for transform coefficients.

도 6의 실시예에서 복호화기는 복호화 대상 블록에 대한 문맥 정보를 이용하여 블록 단위로 최적의 역변환 방법 및/또는 역변환식을 도출할 수 있다. 또한 복호화기는 상기 역변환 방법 및/또는 역변환식을 이용하여 역변환을 수행함으로써, 문맥 적응적 또는 신호 적응적으로 역변환을 수행할 수 있다. 따라서 복호화기는 복호화 대상 신호 특성의 변화에 따라 최대한 적응적으로 역변환을 수행할 수 있다.In the embodiment of FIG. 6, the decoder may derive an optimal inverse transform method and / or an inverse transform method on a block-by-block basis using context information on a block to be decoded. Further, the decoder may perform inverse transform by using the inverse transform method and / or the inverse transform method to perform context-adaptive or signal-adaptive inverse transform. Therefore, the decoder can adaptively perform the inverse conversion as much as possible according to the change of the characteristics of the signal to be decoded.

또한 도 6의 실시예에서, 역변환 방법 및/또는 역변환식을 도출하거나 문맥 정보를 획득하기 위해 사용되는 정보들은, 부호화기로부터 전송되는 별도의 추가적인 정보 없이도 복호화기가 얻을 수 있는 정보들이다. 따라서 본 발명의 실시예에 따른 역변환 방법에서는, 부호화기에서 복호화기로 전송되는 추가적인 비트량이 최소화되거나 발생되지 않을 수 있다. Also, in the embodiment of FIG. 6, the information used to derive the inverse transform method and / or the inverse transform equation or to obtain the context information are the information that the decoder can obtain without any additional information transmitted from the encoder. Therefore, in the inverse conversion method according to the embodiment of the present invention, the additional bit amount transmitted from the encoder to the decoder may be minimized or not generated.

도 5 및 도 6에서 상술한 본 발명의 실시예에 따르면, 부호화기에서 복호화기로 전송되는 추가적인 부호화 비트 발생 없이, 복호화 대상 신호 특성의 변화에 따라 최대한 적응적으로 역변환 및/또는 엔트로피 복호화가 수행될 수 있다. 따라서 영상 부호화 및 복호화의 압축 성능이 향상된다.According to the embodiments of the present invention described above with reference to FIGS. 5 and 6, inverse encoding and / or entropy decoding can be performed as adaptively as possible in accordance with a change in the characteristics of a decoding target signal without generating additional coding bits transmitted from the encoder to the decoder have. Therefore, the compression performance of image encoding and decoding is improved.

상술한 실시예에서, 방법들은 일련의 단계 또는 블록으로서 순서도를 기초로 설명되고 있으나, 본 발명은 단계들의 순서에 한정되는 것은 아니며, 어떤 단계는 상술한 바와 다른 단계와 다른 순서로 또는 동시에 발생할 수 있다. 또한, 당해 기술 분야에서 통상의 지식을 가진 자라면 순서도에 나타난 단계들이 배타적이지 않고, 다른 단계가 포함되거나, 순서도의 하나 또는 그 이상의 단계가 본 발명의 범위에 영향을 미치지 않고 삭제될 수 있음을 이해할 수 있을 것이다.In the above-described embodiments, the methods are described on the basis of a flowchart as a series of steps or blocks, but the present invention is not limited to the order of steps, and some steps may occur in different orders or in a different order than the steps described above have. It will also be understood by those skilled in the art that the steps depicted in the flowchart illustrations are not exclusive and that other steps may be included or that one or more steps in the flowchart may be deleted without affecting the scope of the invention You will understand.

상술한 실시예는 다양한 양태의 예시들을 포함한다. 다양한 양태들을 나타내기 위한 모든 가능한 조합을 기술할 수는 없지만, 해당 기술 분야의 통상의 지식을 가진 자는 다른 조합이 가능함을 인식할 수 있을 것이다. 따라서, 본 발명은 이하의 특허청구범위 내에 속하는 모든 다른 교체, 수정 및 변경을 포함한다고 할 것이다.The above-described embodiments include examples of various aspects. While it is not possible to describe every possible combination for expressing various aspects, one of ordinary skill in the art will recognize that other combinations are possible. Accordingly, it is intended that the invention include all alternatives, modifications and variations that fall within the scope of the following claims.

Claims (14)

영상 정보에 관한 비트스트림을 수신하는 단계;
상기 비트스트림을 파싱하여 현재 블록에 대한 정보를 유도하는 단계;
상기 현재 블록에 대한 정보를 기반으로 복수의 변환 방법들 중에서 상기 현재 블록에 대한 변환 방법을 결정하는 단계;
상기 변환 방법에 따라서 상기 현재 블록에 대한 변환을 수행하여 잔차 신호를 유도하는 단계; 및
상기 잔차 신호를 이용하여 상기 현재 블록에 대한 복원된 블록을 생성하는 단계를 포함하고,
상기 변환 방법을 결정하는 단계에서는, 상기 현재 블록의 크기에 관한 정보를 이용하여 상기 복수의 변환 방법들 중 제1 변환 방법을 적용할 것인지를 결정하고,
상기 현재 블록에 대한 변환을 수행하여 잔차 신호를 유도하는 단계에서는 상기 현재 블록에 대하여 상기 제1 변환 방법을 적용할 것으로 결정되지 않은 경우에 상기 복수의 변환 방법들 중 제2 변환 방법을 적용하는 것을 특징으로 하는 영상 복호화 방법.
Receiving a bitstream related to image information;
Parsing the bitstream to derive information about a current block;
Determining a conversion method for the current block among a plurality of conversion methods based on the information on the current block;
Performing a transform on the current block according to the transform method to derive a residual signal; And
And generating a reconstructed block for the current block using the residual signal,
Wherein the determining of the conversion method determines whether to apply the first conversion method among the plurality of conversion methods by using information on the size of the current block,
Wherein the step of deriving the residual signal by performing the transform on the current block includes applying the second transform method among the plurality of transform methods when the first transform method is not determined to be applied to the current block Wherein the video decoding method comprises the steps of:
제1항에 있어서,
상기 변환 방법을 결정하는 단계에서는, 상기 현재 블록의 크기에 관한 정보 및 상기 현재 블록에 적용되는 예측 방법이 인트라 예측인지 인터 예측인지를 지시하는 정보를 함께 이용하여 상기 현재 블록에 상기 제1 변환 방법을 적용할 것인지를 결정하는 것을 특징으로 하는 영상 복호화 방법.
The method according to claim 1,
In the determining the transform method, the information about the size of the current block and the information indicating whether the prediction method applied to the current block is intraprediction or inter prediction is used together with the first transform method And deciding whether or not to apply the decoded image.
제1항에 있어서,
상기 변환 방법을 결정하는 단계에서는, 상기 현재 블록의 크기에 관한 정보 및 상기 현재 블록에 상응하는 양자화 행렬의 종류를 결정하는 정보를 함께 이용하여 상기 현재 블록에 상기 제1 변환 방법을 적용할 것인지를 결정하는 것을 특징으로 하는 영상 복호화 방법.
The method according to claim 1,
In the determining of the transform method, whether to apply the first transform method to the current block by using the information on the size of the current block and the information for determining the kind of the quantization matrix corresponding to the current block And deciding whether to decode the decoded image.
현재 블록에 대한 정보를 기반으로 복수의 변환 방법들 중에서 상기 현재 블록에 대한 변환 방법을 결정하는 단계;
상기 변환 방법에 따라서 상기 현재 블록에 대한 변환을 수행하여 잔차 신호를 유도하는 단계; 및
상기 잔차 신호를 이용하여 상기 현재 블록에 대한 복원된 블록을 생성하는 단계를 포함하고,
상기 변환 방법을 결정하는 단계에서는, 상기 현재 블록의 크기에 관한 정보를 이용하여 상기 복수의 변환 방법들 중 제1 변환 방법을 적용할 것인지를 결정하고,
상기 현재 블록에 대한 변환을 수행하여 잔차 신호를 유도하는 단계에서는 상기 현재 블록에 대하여 상기 제1 변환 방법을 적용할 것으로 결정되지 않은 경우에 상기 복수의 변환 방법들 중 제2 변환 방법을 적용하는 것을 특징으로 하는 영상 부호화 방법.
Determining a conversion method for the current block from a plurality of conversion methods based on information on a current block;
Performing a transform on the current block according to the transform method to derive a residual signal; And
And generating a reconstructed block for the current block using the residual signal,
Wherein the determining of the conversion method determines whether to apply the first conversion method among the plurality of conversion methods by using information on the size of the current block,
Wherein the step of deriving the residual signal by performing the transform on the current block includes applying the second transform method among the plurality of transform methods when the first transform method is not determined to be applied to the current block A video encoding method characterized by:
제4항에 있어서,
상기 변환 방법을 결정하는 단계에서는, 상기 현재 블록의 크기에 관한 정보 및 상기 현재 블록에 적용되는 예측 방법이 인트라 예측인지 인터 예측인지를 지시하는 정보를 함께 이용하여 상기 현재 블록에 상기 제1 변환 방법을 적용할 것인지를 결정하는 것을 특징으로 하는 영상 부호화 방법.
5. The method of claim 4,
In the determining the transform method, the information about the size of the current block and the information indicating whether the prediction method applied to the current block is intraprediction or inter prediction is used together with the first transform method Is to be applied to the image.
제4항에 있어서,
상기 변환 방법을 결정하는 단계에서는, 상기 현재 블록의 크기에 관한 정보 및 상기 현재 블록에 상응하는 양자화 행렬의 종류를 결정하는 정보를 함께 이용하여 상기 현재 블록에 상기 제1 변환 방법을 적용할 것인지를 결정하는 것을 특징으로 하는 영상 부호화 방법.
5. The method of claim 4,
In the determining of the transform method, whether to apply the first transform method to the current block by using the information on the size of the current block and the information for determining the kind of the quantization matrix corresponding to the current block And determining the number of pixels to be coded.
제4항에 기재된 방법에 의하여 생성된 비트스트림을 기록하는 컴퓨터 판독 가능한 기록 매체.A computer-readable recording medium for recording a bit stream generated by the method according to claim 4. 현재 블록에 대한 잔차 블록을 생성하는 단계; 및
상기 잔차 블록에 대한 변환 및 양자화를 수행함으로써 부호화된 현재 블록의 정보를 생성하는 단계
를 포함하고,
상기 부호화된 현재 블록의 정보를 사용하는 상기 현재 블록의 복호화에 있어서, 상기 현재 블록에 대한 정보를 기반으로 복수의 변환 방법들 중에서 상기 현재 블록에 대한 변환 방법이 결정되고, 상기 변환 방법에 따라서 상기 현재 블록에 대한 변환을 수행하여 잔차 신호가 유도되고, 상기 잔차 신호를 이용하여 상기 현재 블록에 대한 복원된 블록이 생성되고,
상기 변환 방법을 결정함에 있어서, 상기 현재 블록의 크기에 관한 정보를 이용하여 상기 현재 블록에 상기 복수의 변환 방법들 중 제1 변환 방법을 적용할 것인지가 결정되고,
상기 현재 블록에 대한 변환을 수행하여 상기 잔차 신호를 유도함에 있어서, 상기 현재 블록에 대하여 상기 제1 변환 방법을 적용할 것으로 결정되지 않은 경우에 상기 복수의 변환 방법들 중 제2 변환 방법이 적용되는 것을 특징으로 하는 영상 부호화 방법.
Generating a residual block for a current block; And
Generating information on a current block encoded by performing transformation and quantization on the residual block
Lt; / RTI >
The method of claim 1, wherein in the decoding of the current block using the encoded current block information, a conversion method for the current block is determined from among a plurality of conversion methods based on information on the current block, A residual signal is derived by performing a transform on the current block, a reconstructed block for the current block is generated using the residual signal,
In determining the conversion method, it is determined whether to apply the first conversion method among the plurality of conversion methods to the current block by using information on the size of the current block,
When the first conversion method is not determined to be applied to the current block by performing the conversion on the current block to derive the residual signal, the second conversion method of the plurality of conversion methods is applied Wherein the image encoding method comprises the steps of:
제8항에 있어서,
상기 변환 방법을 결정함에 있어서, 상기 현재 블록의 크기에 관한 정보 및 상기 현재 블록에 적용되는 예측 방법이 인트라 예측인지 인터 예측인지를 지시하는 정보를 함께 이용하여 상기 현재 블록에 상기 제1 변환 방법을 적용할 것인지가 결정되는 것을 특징으로 하는 영상 부호화 방법.
9. The method of claim 8,
In the determination of the transform method, information on the size of the current block and information indicating whether the prediction method applied to the current block is intraprediction or inter prediction is used together with the first transform method Wherein the determination step determines whether or not to apply the image.
제8항에 있어서,
상기 변환 방법을 결정함에 있어서, 상기 현재 블록의 크기에 관한 정보 및 상기 현재 블록에 상응하는 양자화 행렬의 종류를 결정하는 정보를 함께 이용하여 상기 현재 블록에 상기 제1 변환 방법을 적용할 것인지가 결정되는 것을 특징으로 하는 영상 부호화 방법.
9. The method of claim 8,
In determining the transform method, it is determined whether to apply the first transform method to the current block by using information on the size of the current block and information for determining the kind of the quantization matrix corresponding to the current block Wherein the image coding method comprises the steps of:
제8항에 기재된 방법에 의하여 생성된 비트스트림을 기록하는 컴퓨터 판독 가능한 기록 매체.A computer-readable recording medium for recording a bit stream generated by the method according to claim 8. 영상의 복호화를 위한 비트스트림을 저장하는 컴퓨터 판독 가능한 기록매체에 있어서, 상기 비트스트림은,
부호화된 현재 블록의 정보
를 포함하고,
상기 부호화된 현재 블록의 정보를 사용하는 현재 블록의 복호화에 있어서, 상기 현재 블록에 대한 정보를 기반으로 복수의 변환 방법들 중에서 상기 현재 블록에 대한 변환 방법이 결정되고, 상기 변환 방법에 따라서 상기 현재 블록에 대한 변환을 수행하여 잔차 신호가 유도되고, 상기 잔차 신호를 이용하여 상기 현재 블록에 대한 복원된 블록이 생성되고,
상기 변환 방법을 결정함에 있어서, 상기 현재 블록의 크기에 관한 정보를 이용하여 상기 복수의 변환 방법들 중 제1 변환 방법을 적용할 것인지가 결정되고,
상기 현재 블록에 대한 변환을 수행하여 상기 잔차 신호를 유도함에 있어서, 상기 현재 블록에 대하여 상기 제1 변환 방법을 적용할 것으로 결정되지 않은 경우에 상기 복수의 변환 방법들 중 제2 변환 방법이 적용되는 것을 특징으로 하는 컴퓨터 판독 가능한 기록매체.
A computer-readable recording medium storing a bitstream for decoding an image,
The information of the encoded current block
Lt; / RTI >
Wherein the decoding method of the current block using the encoded information of the current block determines a method of converting the current block among the plurality of conversion methods based on the information of the current block, A residual signal is derived by performing a transform on the block, a reconstructed block for the current block is generated using the residual signal,
In determining the conversion method, it is determined whether to apply the first conversion method among the plurality of conversion methods using information about the size of the current block,
When the first conversion method is not determined to be applied to the current block by performing the conversion on the current block to derive the residual signal, the second conversion method of the plurality of conversion methods is applied And a computer readable recording medium.
제12항에 있어서,
상기 변환 방법을 결정함에 있어서, 상기 현재 블록의 크기에 관한 정보 및 상기 현재 블록에 적용되는 예측 방법이 인트라 예측인지 인터 예측인지를 지시하는 정보를 함께 이용하여 상기 현재 블록에 상기 제1 변환 방법을 적용할 것인지가 결정되는 것을 특징으로 하는 컴퓨터 판독 가능한 기록매체.
13. The method of claim 12,
In the determination of the transform method, information on the size of the current block and information indicating whether the prediction method applied to the current block is intraprediction or inter prediction is used together with the first transform method Wherein the determination is made as to whether or not the application is to be applied.
제12항에 있어서,
상기 변환 방법을 결정함에 있어서, 상기 현재 블록의 크기에 관한 정보 및 상기 현재 블록에 상응하는 양자화 행렬의 종류를 결정하는 정보를 함께 이용하여 상기 현재 블록에 상기 제1 변환 방법을 적용할 것인지가 결정되는 것을 특징으로 하는 컴퓨터 판독 가능한 기록매체.
13. The method of claim 12,
In determining the transform method, it is determined whether to apply the first transform method to the current block by using information on the size of the current block and information for determining the kind of the quantization matrix corresponding to the current block Readable recording medium.
KR1020180074040A 2010-09-30 2018-06-27 Methods and apparatus for video transform encoding/decoding KR101973568B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020100095111 2010-09-30
KR20100095111 2010-09-30

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020170067642A Division KR101874015B1 (en) 2010-09-30 2017-05-31 Methods and apparatus for video transform encoding/decoding

Publications (2)

Publication Number Publication Date
KR20180075464A true KR20180075464A (en) 2018-07-04
KR101973568B1 KR101973568B1 (en) 2019-04-30

Family

ID=46136624

Family Applications (11)

Application Number Title Priority Date Filing Date
KR1020110099710A KR20120034044A (en) 2010-09-30 2011-09-30 Methods and apparatus for video transform encoding/decoding
KR1020150015606A KR101854640B1 (en) 2010-09-30 2015-01-30 Methods and apparatus for video transform encoding/decoding
KR1020170067642A KR101874015B1 (en) 2010-09-30 2017-05-31 Methods and apparatus for video transform encoding/decoding
KR1020180074054A KR101995915B1 (en) 2010-09-30 2018-06-27 Methods and apparatus for video transform encoding/decoding
KR1020180074051A KR101973571B1 (en) 2010-09-30 2018-06-27 Methods and apparatus for video transform encoding/decoding
KR1020180074040A KR101973568B1 (en) 2010-09-30 2018-06-27 Methods and apparatus for video transform encoding/decoding
KR1020180074046A KR101973563B1 (en) 2010-09-30 2018-06-27 Methods and apparatus for video transform encoding/decoding
KR1020180074074A KR101995908B1 (en) 2010-09-30 2018-06-27 Methods and apparatus for video transform encoding/decoding
KR1020190077001A KR102218696B1 (en) 2010-09-30 2019-06-27 Methods and apparatus for video transform encoding/decoding
KR1020210020624A KR102439871B1 (en) 2010-09-30 2021-02-16 Methods and apparatus for video transform encoding/decoding
KR1020220109399A KR102548881B1 (en) 2010-09-30 2022-08-30 Methods and apparatus for video transform encoding/decoding

Family Applications Before (5)

Application Number Title Priority Date Filing Date
KR1020110099710A KR20120034044A (en) 2010-09-30 2011-09-30 Methods and apparatus for video transform encoding/decoding
KR1020150015606A KR101854640B1 (en) 2010-09-30 2015-01-30 Methods and apparatus for video transform encoding/decoding
KR1020170067642A KR101874015B1 (en) 2010-09-30 2017-05-31 Methods and apparatus for video transform encoding/decoding
KR1020180074054A KR101995915B1 (en) 2010-09-30 2018-06-27 Methods and apparatus for video transform encoding/decoding
KR1020180074051A KR101973571B1 (en) 2010-09-30 2018-06-27 Methods and apparatus for video transform encoding/decoding

Family Applications After (5)

Application Number Title Priority Date Filing Date
KR1020180074046A KR101973563B1 (en) 2010-09-30 2018-06-27 Methods and apparatus for video transform encoding/decoding
KR1020180074074A KR101995908B1 (en) 2010-09-30 2018-06-27 Methods and apparatus for video transform encoding/decoding
KR1020190077001A KR102218696B1 (en) 2010-09-30 2019-06-27 Methods and apparatus for video transform encoding/decoding
KR1020210020624A KR102439871B1 (en) 2010-09-30 2021-02-16 Methods and apparatus for video transform encoding/decoding
KR1020220109399A KR102548881B1 (en) 2010-09-30 2022-08-30 Methods and apparatus for video transform encoding/decoding

Country Status (1)

Country Link
KR (11) KR20120034044A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11570438B2 (en) 2019-06-19 2023-01-31 Lg Electronics Inc. Coding of information about transform kernel set
RU2792223C1 (en) * 2019-06-19 2023-03-21 ЭлДжи ЭЛЕКТРОНИКС ИНК. Information coding regarding a set of transformation kernels

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120034044A (en) * 2010-09-30 2012-04-09 한국전자통신연구원 Methods and apparatus for video transform encoding/decoding
EP3723376A4 (en) * 2018-09-02 2021-01-27 LG Electronics Inc. Method for encoding/decoding video signals, and device therefor
CN111742555B (en) * 2018-09-05 2022-08-30 Lg电子株式会社 Method of encoding/decoding video signal and apparatus therefor
BR112021025530A2 (en) 2019-06-19 2022-02-01 Lg Electronics Inc Context encoding for transform core set information in image encoding system
KR20210158400A (en) * 2019-06-19 2021-12-30 엘지전자 주식회사 Signaling of information indicating a transform kernel set in image coding
KR20230063307A (en) 2021-11-01 2023-05-09 한국전자통신연구원 Apparatus for switching main screen based on distributed telepresence and method using the same

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4447197B2 (en) * 2002-01-07 2010-04-07 三菱電機株式会社 Moving picture encoding apparatus and moving picture decoding apparatus
KR20120034044A (en) * 2010-09-30 2012-04-09 한국전자통신연구원 Methods and apparatus for video transform encoding/decoding

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
A. Ichigaya, et al. Description of video coding technology proposal by NHK and Mitsubishi, JCT-VC of ITU-T and ISO/IEC. JCTVC-A122. Apr. 2010, pp.1-43 *
A. Saxena, et al. Jointly optimal intra prediction and adaptive primary transform, JCT-VC of ITU-T and ISO/IEC. JCTVC-C108. Oct. 2010, pp.1-22 *
J. Han, et al. Towards jointly optimal spatial prediction and adaptive transform in video/image coding. IEEE Int'l Conf. on Acoustics Speech and Signal Processing 2010, Mar. 14-19, 2010, pp.726-729* *
JCT-VC, Test Model under Consideraton. JCT-VC of ITU-T SG16 WP3 and ISO/IEC JTC1/SC29/WG11. 2nd Meeting, JCTVC-B205 (draft005), Sep. 24, 2010, pp.1-180* *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11570438B2 (en) 2019-06-19 2023-01-31 Lg Electronics Inc. Coding of information about transform kernel set
RU2792223C1 (en) * 2019-06-19 2023-03-21 ЭлДжи ЭЛЕКТРОНИКС ИНК. Information coding regarding a set of transformation kernels
US11909972B2 (en) 2019-06-19 2024-02-20 Lg Electronics Inc. Coding of information about transform kernel set
RU2815810C2 (en) * 2019-06-19 2024-03-21 ЭлДжи ЭЛЕКТРОНИКС ИНК. Encoding information on set of transformation kernels

Also Published As

Publication number Publication date
KR101995915B1 (en) 2019-07-04
KR101973568B1 (en) 2019-04-30
KR20180075465A (en) 2018-07-04
KR20230098527A (en) 2023-07-04
KR20120034044A (en) 2012-04-09
KR20190080842A (en) 2019-07-08
KR20170063500A (en) 2017-06-08
KR102439871B1 (en) 2022-09-05
KR20180075466A (en) 2018-07-04
KR20150027776A (en) 2015-03-12
KR102218696B1 (en) 2021-02-22
KR20210020971A (en) 2021-02-24
KR20220123624A (en) 2022-09-08
KR20180075467A (en) 2018-07-04
KR101995908B1 (en) 2019-07-04
KR20180075468A (en) 2018-07-04
KR101973571B1 (en) 2019-04-30
KR101874015B1 (en) 2018-07-04
KR101973563B1 (en) 2019-04-30
KR101854640B1 (en) 2018-05-08
KR102548881B1 (en) 2023-06-30

Similar Documents

Publication Publication Date Title
US11438601B2 (en) Method for encoding/decoding image and device using same
KR101937213B1 (en) Method for coding/decoding of intra prediction mode and computer readable redording meduim thereof
KR101973568B1 (en) Methods and apparatus for video transform encoding/decoding
KR20200054934A (en) Method for transform coefficient scan and apparatus thereof
KR20150141177A (en) Method for encoding/decoding an intra prediction mode and apparatus for the same
US20240114151A1 (en) Method for encoding/decoding image and device using same
KR20190084009A (en) Method for intra prediction and apparatus thereof
KR20200116884A (en) Entrpy decoding method and apparatus for transform skip information
KR102669273B1 (en) Methods and apparatus for video transform encoding/decoding
KR20240074743A (en) Methods and apparatus for video transform encoding/decoding

Legal Events

Date Code Title Description
A107 Divisional application of patent
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant