KR101902933B1 - Apparatus for image coding/decoding and the method thereof - Google Patents

Apparatus for image coding/decoding and the method thereof Download PDF

Info

Publication number
KR101902933B1
KR101902933B1 KR1020100127547A KR20100127547A KR101902933B1 KR 101902933 B1 KR101902933 B1 KR 101902933B1 KR 1020100127547 A KR1020100127547 A KR 1020100127547A KR 20100127547 A KR20100127547 A KR 20100127547A KR 101902933 B1 KR101902933 B1 KR 101902933B1
Authority
KR
South Korea
Prior art keywords
quantization
deblocking
unit
current block
filter
Prior art date
Application number
KR1020100127547A
Other languages
Korean (ko)
Other versions
KR20110068900A (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 KR20110068900A publication Critical patent/KR20110068900A/en
Application granted granted Critical
Publication of KR101902933B1 publication Critical patent/KR101902933B1/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/117Filters, e.g. for pre-processing or post-processing
    • 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/124Quantisation
    • H04N19/126Details of normalisation or weighting functions, e.g. normalisation matrices or variable uniform quantisers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/129Scanning of coding units, e.g. zig-zag scan of transform coefficients or flexible macroblock ordering [FMO]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/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/154Measured or subjectively estimated visual quality after decoding, e.g. measurement of distortion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • H04N19/86Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving reduction of coding artifacts, e.g. of blockiness

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

영상 부호화/복호화 장치 및 방법이 개시된다. 영상 부호화 장치는, 다양한 양자화 종류에 따라 적응적으로 디블로킹 필터를 결정하고, 디블로킹 대상 블록에 대해 결정된 디블로킹 필터를 수행할 수 있다. 이에 따라, 영상 압축률을 향상시키고, 블로킹 현상을 감소시킬 수 있다. An image encoding / decoding apparatus and method are disclosed. The image encoding apparatus may adaptively determine a deblocking filter according to various quantization types and perform a deblocking filter determined for the deblocking target block. Thus, the image compression ratio can be improved and the blocking phenomenon can be reduced.

Description

영상 부호화/복호화 장치 및 방법{APPARATUS FOR IMAGE CODING/DECODING AND THE METHOD THEREOF}[0001] APPARATUS FOR IMAGE CODING / DECODING AND THE METHOD THEREOF [0002]

본 발명은 영상 부호화/복호화 장치 및 방법에 관한 것으로, 보다 상세하게는 변환 및 양자화로 인해 발생한 블로킹 현상을 감소시키는 영상 부호화 및 복호화 기술에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image encoding / decoding apparatus and method, and more particularly to image encoding and decoding techniques for reducing a blocking phenomenon caused by conversion and quantization.

본 발명은 정보통신부 및 정보통신연구진흥원의 IT원천기술개발 사업의 일환으로 수행한 연구로부터 도출된 것이다[과제관리번호: 2008-F-011-01, 과제명: 차세대 DTV 핵심기술 개발].The present invention is derived from the research conducted as part of the IT source technology development project of the Ministry of Information and Communication and the Korea IT Industry Promotion Agency. [Project Issue Number: 2008-F-011-01, Title: Development of Next Generation DTV Core Technology].

일반적으로, 부호화 장치는, 입력 영상을 복수의 매크로 블록들로 분할한다. 그리고, 부호화 장치는 분할된 매크로 블록들 각각에 대해 부호화를 수행하고, 복호화 장치는 분할된 매크로 블록들 각각에 대해 복호화를 수행하고, 복원 영상을 생성한다.Generally, an encoding apparatus divides an input image into a plurality of macro blocks. Then, the encoding apparatus performs encoding for each of the divided macroblocks, and the decoding apparatus decodes each of the divided macroblocks to generate a reconstructed image.

이때, 복호화된 매크로 블록들 경계에 위치하는 화소들에는 변환 및 양자화로 인해 잡음이 발생하게 된다. 이러한, 잡음은 부호화 및 복호화를 통해 복원된 블록에 대해 디블로킹 필터링을 수행함으로써 감소 또는 제거될 수 있다.At this time, noise is generated due to conversion and quantization in the pixels located at the boundary of the decoded macroblocks. This noise can be reduced or eliminated by performing deblocking filtering on the reconstructed block through encoding and decoding.

양자화에는 스칼라 양자화(Scalar Quantization) 및 벡터 양자화(Vector Quantization)가 있다. 여기서, 스칼라 양자화는 주파수 영역(Frequency Domain)에서의 스칼라 양자화와 공간 영역(Spatial Domain)에서의 스칼라 양자화를 포함한다. 마찬가지로, 벡터 양자화는 주파수 영역에서의 벡터 양자화와 공간 영역에서의 벡터 양자화를 포함한다. 이러한, 양자화 종류에 따라 양자화 에러 특성이 달라질 수 있다. 여기서, 양자화 에러 특성은 입력 영상에 대해 양자화 또는 역양자화를 수행한 경우에 발생된다.Quantization includes scalar quantization and vector quantization. Here, the scalar quantization includes scalar quantization in the frequency domain and scalar quantization in the spatial domain. Similarly, vector quantization includes vector quantization in the frequency domain and vector quantization in the spatial domain. The quantization error characteristic may vary depending on the kind of the quantization. Here, the quantization error characteristic is generated when quantization or inverse quantization is performed on the input image.

이때, 양자화 에러로 인해 매크로 블록들 경계에서는 블로킹 현상이 발생될 수 있다. 이에 따라, 양자화 에러로 인해 발생되는 블로킹 현상을 감소 또는 제거할 수 있는 방안이 필요하다. At this time, a blocking phenomenon may occur at macroblock boundaries due to a quantization error. Accordingly, there is a need for a method capable of reducing or eliminating blocking phenomena caused by quantization errors.

본 발명은 양자화 종류에 따라 입력 영상에 대해 적응적으로 디블로킹 필터링을 수행하여 영상 압축률을 향상시킬 수 있는 영상 부호화 기술을 제공한다.The present invention provides an image encoding technique capable of enhancing an image compression rate by performing deblocking filtering adaptively on an input image according to a kind of quantization.

본 영상 부호화 장치는, 입력 영상을 구성하는 복수의 블록들 각각에 대해 양자화를 수행하는 양자화부, 양자화된 복수의 블록들 중 디블로킹 대상 블록에 수행된 양자화의 종류를 판별하는 양자화 판별부, 판별된 양자화의 종류에 기초하여 디블로킹 대상 블록에 수행하고자 하는 디블로킹 필터를 결정하는 디블로킹 결정부, 및 결정된 디블로킹 필터를 이용하여 상기 디블로킹 대상 블록에 대해 디블로킹 필터링을 수행하는 디블로킹부를 포함할 수 있다.The present image encoding apparatus includes a quantization unit for performing quantization for each of a plurality of blocks constituting an input image, a quantization determination unit for determining a kind of quantization performed on a deblocking target block among a plurality of quantized blocks, A deblocking determination unit for determining a deblocking filter to be performed on the deblocking target block based on the kind of the quantized data, and a deblocking unit for performing deblocking filtering on the deblocking target block using the determined deblocking filter .

이때, 상기 양자화부는, 상기 복수의 블록들 각각에 대해 서로 다른 양자화를 수행할 수 있다.In this case, the quantization unit may perform different quantization for each of the plurality of blocks.

또한, 상기 양자화 판별부는, 상기 입력 영상의 비트스트림 또는 상기 디블록킹 대상 블록 혹은 상기 디블로킹 대상 블록에 인접한 주변 블록의 정보를 이용하여 상기 디블로킹 대상 블록에 수행된 양자화의 종류를 판별할 수 있다.The quantization determination unit may determine the type of quantization performed on the block to be deblocked using the bitstream of the input image or the information on neighboring blocks adjacent to the deblocking target block or the deblocking target block .

또한, 상기 비트스트림은, 상기 디블로킹 대상 블록에 수행된 양자화의 종류를 나타내는 플래그 비트 또는 인덱스를 포함할 수 있다.In addition, the bitstream may include a flag bit or an index indicating a kind of quantization performed on the deblocking target block.

또한, 상기 양자화 판별부는, 상기 디블록킹 대상 블록, 혹은 상기 디블로킹 대상 블록에 인접한 주변 블록의 정보를 이용하여 상기 디블로킹 대상 블록에 수행된 양자화의 종류를 판별할 수 있다. 그리고, 상기 디블록킹 대상 블록 혹은 상기 디블로킹 대상 블록에 인접한 주변 블록의 정보는, 양자화 매개변수, DC(Direct Current) 계수 크기, 상기 디블로킹 대상 블록과 상기 주변 블록들 간의 DC 계수 차이, 양자화 종류, 화면 내 예측 블록 크기 및 방향, 움직임 벡터 및 참조 영상 색인(Reference Picture Index) 중 적어도 하나를 포함할 수 있다.In addition, the quantization determination unit may determine the kind of quantization performed on the deblocking target block or information on neighboring blocks adjacent to the deblocking target block. The information of the neighboring blocks adjacent to the deblocking target block or the deblocking target block includes at least one of a quantization parameter, a direct current (DC) coefficient magnitude, a DC coefficient difference between the deblocking target block and the neighboring blocks, An intra prediction block size and direction, a motion vector, and a reference picture index.

또한, 상기 디블로킹 결정부는, 상기 판별된 양자화의 종류에 해당하는 디블로킹 필터 정보를 이용하여 상기 디블로킹 필터를 결정할 수 있다. 여기서, 상기 디블로킹 필터 정보는, 필터 계수, 필터 탭, 및 필터 모양 중 적어도 하나를 포함할 수 있다. 그리고, 상기 비트스트림은, 상기 디블로킹 필터 정보를 포함할 수 있다.The deblocking determination unit may determine the deblocking filter using the deblocking filter information corresponding to the type of the quantization determined. Here, the deblocking filter information may include at least one of a filter coefficient, a filter tap, and a filter shape. The bitstream may include the deblocking filter information.

또한, 상기 디블로킹 결정부는, 상기 복수의 블록들에 수행된 양자화의 종류에 따라 디블록킹 필터를 결정할 수 있다.The deblocking determination unit may determine a deblocking filter according to a kind of quantization performed on the plurality of blocks.

또한, 상기 디블로킹 결정부는, 상기 복수의 블록들에 수행된 양자화의 종류에 따른 양자화 에러 및 상기 디블로킹 대상 블록의 블록 경계를 이용하여 상기 디블로킹 필터를 결정할 수 있다.The deblocking determination unit may determine the deblocking filter using a quantization error according to a kind of quantization performed on the plurality of blocks and a block boundary of the deblocking target block.

또한, 상기 디블로킹 결정부는, 상기 디블로킹 대상 블록에 인접한 주변 블록들과 상기 디블로킹 대상 블록 간의 DC 계수의 차이를 이용하여 상기 디블로킹 필터를 결정할 수 있다.In addition, the deblocking determination unit may determine the deblocking filter using a difference between DC coefficients between neighboring blocks adjacent to the deblocking target block and the deblocking target block.

또한, 상기 디블로킹부는, 상기 결정된 디블로킹 필터에 해당하는 필터 계수, 필터 모양 및 필터 탭을 변경하고, 상기 변경된 필터 계수, 필터 모양 및 필터 탭을 이용하여 상기 디블로킹 대상 블록에 대해 디블로킹 필터링을 수행할 수 있다.The deblocking unit may change the filter coefficient, the filter shape, and the filter tap corresponding to the determined deblocking filter, and perform de-blocking filtering on the deblocking target block using the changed filter coefficient, filter shape, Can be performed.

또한, 상기 디블로킹부는, 상기 디블로킹 대상 블록과 주변 블록 사이 경계 화소 단위 또는 상기 디블로킹 대상 블록에 포함된 화소 단위로 상기 디블로킹 필터링을 수행할 수 있다.The deblocking unit may perform the deblocking filtering on a boundary pixel basis between the deblocking target block and a neighboring block or on a pixel basis included in the deblocking target block.

본 발명의 일실시예에 따른 영상 부호화 방법은, 입력 영상을 구성하는 복수의 블록들 각각에 대해 양자화를 수행하는 단계, 상기 양자화된 복수의 블록들 중 디블로킹 대상 블록에 수행된 양자화의 종류를 판별하는 단계, 상기 판별된 양자화의 종류에 기초하여 상기 디블로킹 대상 블록에 수행하고자 하는 디블로킹 필터링을 결정하는 단계, 및 상기 디블로킹 대상 블록에 대해 상기 결정된 디블로킹 필터링을 수행하는 단계를 포함할 수 있다.According to an aspect of the present invention, there is provided a method for encoding an image, the method comprising: performing quantization on each of a plurality of blocks constituting an input image; determining a type of a quantization performed on a block to be deblocked among the plurality of quantized blocks, Determining a deblocking filtering to be performed on the deblocking target block based on the determined kind of the quantization, and performing the determined deblocking filtering on the deblocking target block .

또한, 입력 영상을 구성하는 복수의 블록들 각각에 대해 역양자화를 수행하는 역양자화부, 상기 역양자화된 복수의 블록들 중 디블로킹 대상 블록에 수행된 역양자화의 종류를 판별하는 역양자화 판별부, 상기 판별된 역양자화의 종류에 기초하여 상기 디블로킹 대상 블록에 수행하고자 하는 디블로킹 필터를 결정하는 디블로킹 결정부, 및 상기 결정된 디블로킹 필터를 이용하여 상기 디블로킹 대상 블록에 대해 디블로킹 필터링을 수행하는 디블로킹부를 포함할 수 있다And an inverse quantization unit for performing inverse quantization on each of a plurality of blocks constituting the input image, an inverse quantization unit for inversely quantizing the inverse quantization performed on the block to be deblocked among the plurality of inversely quantized blocks, A deblocking determination unit for determining a deblocking filter to be performed on the deblocking target block based on the determined kind of the inverse quantization; and a deblocking determining unit for performing deblocking filtering on the deblocking target block using the determined deblocking filter, Lt; RTI ID = 0.0 > a < / RTI > deblocking portion

또한, 상기 역양자화 판별부는, 상기 입력 영상의 비트스트림 또는 상기 디블록킹 대상 블록 혹은 상기 디블로킹 대상 블록에 인접한 주변 블록의 정보를 이용하여 상기 디블로킹 대상 블록에 수행된 역양자화의 종류를 판별할 수 있다.In addition, the inverse quantization determining unit may determine the type of the inverse quantization performed on the block to be deblocked, using the bitstream of the input image or the information of the neighboring blocks adjacent to the deblocking target block or the deblocking target block .

또한, 상기 디블로킹 대상 블록 혹은 상기 디블로킹 대상 블록에 인접한 주변 블록의 정보는, 상기 주변 블록들 각각의 양자화 매개변수, 상기 주변 블록들의 DC(Direct Current) 계수 크기, 상기 디블로킹 대상 블록과 상기 주변 블록들 간의 DC 계수 차이, 상기 주변 블록들에 수행된 양자화 종류, 화면 내 예측 블록 크기 및 방향, 화면 간 예측을 통해 획득된 움직임 벡터 및 참조 영상 색인(Reference Picture Index) 중 적어도 하나를 포함할 수 있다.The information on the de-blocking target block or neighboring blocks adjacent to the de-blocking target block may include a quantization parameter of each of the neighboring blocks, a direct current (DC) coefficient size of the neighboring blocks, A DC coefficient difference between neighboring blocks, a quantization kind performed on the neighboring blocks, an intra prediction block size and direction, a motion vector obtained through inter-picture prediction, and a reference picture index (Reference Picture Index) .

또한, 상기 디블로킹 결정부는, 상기 판별된 역양자화의 종류에 기초하여 산출된 필터 탭, 필터 모양 및 필터 계수를 상기 디블로킹 필터로 결정할 수 있다. 그리고, 상기 비트스트림은, 상기 디블로킹 대상 블록에 수행된 역양자화의 종류를 나타내는 플래그 비트 또는 인덱스를 포함할 수 있다.In addition, the deblocking determination unit may determine the filter tap, the filter shape, and the filter coefficient calculated based on the determined kind of the inverse quantization by the deblocking filter. The bitstream may include a flag bit or an index indicating a kind of dequantization performed on the deblocking target block.

또한, 상기 디블로킹 결정부는, 상기 디블로킹 대상 블록에 인접한 주변 블록들과 상기 디블로킹 대상 블록 간의 DC 계수의 차이를 이용하여 상기 디블로킹 필터를 결정할 수 있다.In addition, the deblocking determination unit may determine the deblocking filter using a difference between DC coefficients between neighboring blocks adjacent to the deblocking target block and the deblocking target block.

또한, 상기 디블로킹부는, 상기 결정된 디블로킹 필터에 해당하는 필터 계수, 필터 모양 및 필터 탭을 변경하고, 상기 변경된 필터 계수, 필터 모양 및 필터 탭을 이용하여 상기 디블로킹 대상 블록에 대해 디블로킹 필터링을 수행할 수 있다.The deblocking unit may change the filter coefficient, the filter shape, and the filter tap corresponding to the determined deblocking filter, and perform de-blocking filtering on the deblocking target block using the changed filter coefficient, filter shape, Can be performed.

또한, 상기 디블로킹부는, 상기 디블로킹 대상 블록과 주변 블록 사이 경계 화소 단위, 또는 상기 디블로킹 대상 블록에 포함된 화소 단위로 상기 디블로킹 필터링을 수행할 수 있다.Also, the deblocking unit may perform the deblocking filtering on a boundary pixel basis between the deblocking target block and a neighboring block, or on a pixel basis included in the deblocking target block.

본 발명의 일실시예에 따른 영상 복호화 방법은, 입력 영상을 구성하는 복수의 블록들 각각에 대해 역양자화를 수행하는 단계, 상기 역양자화된 복수의 블록들 중 디블로킹 대상 블록에 수행된 역양자화의 종류를 판별하는 단계, 상기 판별된 역양자화의 종류에 기초하여 상기 디블로킹 대상 블록에 수행하고자 하는 디블로킹 필터링을 결정하는 단계, 및 상기 디블로킹 대상 블록에 대해 상기 결정된 디블로킹 필터링을 수행하는 단계를 포함할 수 있다.According to an aspect of the present invention, there is provided a method of decoding an image, the method comprising: performing inverse quantization on each of a plurality of blocks constituting an input image; performing an inverse quantization performed on a deblocking target block among the plurality of inversely quantized blocks Determining a kind of the dequantization filtering to be performed on the deblocking target block based on the determined kind of the dequantization, and performing the deblocking filtering on the deblocking target block Step < / RTI >

본 발명에 따르면, 양자화 종류에 따라 입력 영상에 대해 적응적으로 디블로킹 필터링을 수행함으로써 영상 압축률을 향상시킬 수 있을 뿐만 아니라, 블로킹 현상을 감소시킬 수 있다.According to the present invention, deblocking filtering is adaptively performed on an input image according to a kind of quantization, thereby not only improving the image compression rate but also reducing the blocking phenomenon.

도 1은 영상 부호화 장치의 구성을 도시한 블록도이다.
도 2는 영상 부호화 장치의 동작을 설명하기 위해 제공되는 흐름도이다.
도 3은 영상 복호화 장치의 구성을 도시한 블록도이다.
도 4는 영상 복호화 장치의 동작을 설명하기 위해 제공되는 흐름도이다.
1 is a block diagram showing a configuration of a video encoding apparatus.
2 is a flow chart for explaining the operation of the image encoding apparatus.
3 is a block diagram showing a configuration of an image decoding apparatus.
4 is a flowchart provided to explain the operation of the image decoding apparatus.

이하, 본 발명에 따른 실시예를 첨부된 도면을 참조하여 상세하게 설명한다.Hereinafter, embodiments according to the present invention will be described in detail with reference to the accompanying drawings.

도 1은 영상 부호화 장치의 구성을 도시한 블록도이다.1 is a block diagram showing a configuration of a video encoding apparatus.

도 1을 참조하면, 영상 부호화 장치(100)는 예측부(110), 움직임 추정부(120), 움직임 보상부(130), 제1 차분부(135), 변환 및 양자화부(140), 엔트로피 부호화부(150), 역양자화 및 역변환부(160), 제2 차분부(170), 양자화 판별부(175), 디블로킹 결정부(180), 디블로킹부(185), 적응적 필터(190)를 포함할 수 있다.1, the image encoding apparatus 100 includes a predictor 110, a motion estimator 120, a motion compensator 130, a first differential unit 135, a transform and quantization unit 140, A second demarcation section 170, a quantization discrimination section 175, a deblocking decision section 180, a deblocking section 185, an adaptive filter 190 ).

예측부(110)는 현재 입력 영상의 블록을 부호화하기 위해서 공간적으로 인접한 픽셀 값을 이용하여 부호화하고자 하는 매크로 블록을 예측하여 부호화한다. 일례로, 예측부(110)는 화면 내 예측을 수행할 수 있다.The prediction unit 110 predicts and encodes macroblocks to be encoded using spatially adjacent pixel values to encode a block of the current input image. For example, the prediction unit 110 may perform in-picture prediction.

여기서, 입력 영상은 복수의 매크로 블록들을 포함할 수 있다. 또한, 복수의 매크로 블록들은 각각 복수의 서브 블록들을 포함할 수 있다.Here, the input image may include a plurality of macroblocks. In addition, the plurality of macro blocks may include a plurality of sub-blocks, respectively.

움직임 추정부(120)는 부호화하려는 입력 영상에 포함된 부호화 대상 블록의 움직임 벡터를 버퍼(미도시) 혹은 저장부(미도시)에 저장된 참조 프레임을 이용하여 생성한다. 일례로, 움직임 추정부(120)는 화면간 예측을 수행할 수 있다. 여기서, 참조 프레임은 현재 프레임 이전에 연속하여 입력된 이전 프레임, 혹은 현재 프레임 이후에 연속하여 입력되는 이후 프레임일 수 있다. 즉, 복호화기 입장에서의 이전 프레임은 현재 프레임 이전에 디스플레이로 출력되는 프레임, 이후 프레임은 현재 프레임 이후에 디스플레이로 출력되는 프레임이다.The motion estimation unit 120 generates a motion vector of a current block included in an input image to be encoded using a reference frame stored in a buffer (not shown) or a storage unit (not shown). For example, the motion estimation unit 120 may perform inter-picture prediction. Here, the reference frame may be a previous frame continuously input before the current frame, or a frame that is continuously inputted after the current frame. That is, the previous frame in the decoder is a frame output to the display before the current frame, and the subsequent frame is a frame output to the display after the current frame.

일례로, 움직임 추정부(120)는 BMA(Block Matching Algorithm), 위상 상관(Phase Correlation), HSBMA 등의 다양한 움직임 추정 알고리즘을 이용하여 움직임을 추정할 수 있다.For example, the motion estimation unit 120 may estimate motion using various motion estimation algorithms such as BMA (Block Matching Algorithm), Phase Correlation, and HSBMA.

움직임 보상부(130)는 움직임 추정부(120)에서 생성된 움직임 벡터에 기초하여 부호화 대상 블록의 예측값인 예측 블록을 생성할 수 있다. The motion compensation unit 130 may generate a prediction block, which is a predicted value of the current block, based on the motion vector generated by the motion estimation unit 120. [

제1 차분부(135)는 부호화 대상 블록에서 예측 블록을 감산하여 차분 블록을 생성할 수 있다. The first difference section 135 can generate a difference block by subtracting the prediction block from the current block.

변환 및 양자화부(140)는 제1 차분부(135)에서 생성된 차분 블록을 변환 혹은 양자화하여 양자화된 변환계수 혹은 양자화 레벨을 생성할 수 있다. 이때, 변환 및 양자화부(140)는 차분 블록에 수행된 양자화의 종류를 나타내는 양자화 정보를 양자화된 비트스트림에 포함시켜 출력할 수 있다. The transform and quantization unit 140 may transform or quantize the difference block generated by the first difference unit 135 to generate a quantized transform coefficient or a quantization level. At this time, the transform and quantization unit 140 may output the quantization information indicating the type of quantization performed in the difference block, in the quantized bitstream.

여기서, 양자화의 종류는 주파수 영역 스칼라 양자화, 공간 영역 스칼라 양자화, 주파수 영역 벡터 양자화, 및 공간 영역 벡터 양자화를 포함할 수 있다. 또한, 양자화 정보는 플래그 비트 또는 인덱스 형식으로 비트스트림에 포함될 수 있다. Here, the kind of quantization may include frequency domain scalar quantization, spatial domain scalar quantization, frequency domain vector quantization, and spatial domain vector quantization. Also, The quantization information may be included in the bitstream in the form of a flag bit or an index.

일례로, 양자화의 종류가 주파수 영역 스칼라 양자화인 경우, 변환 및 양자화부(140)는 플래그 비트를 00로 설정하거나, 또는 인덱스를 0로 설정하여 비트스트림에 포함시켜 출력할 수 있다.For example, when the kind of the quantization is frequency-domain scalar quantization, the transforming and quantizing unit 140 can output the bitstream by setting the flag bit to 00 or by setting the index to 0.

또한, 양자화의 종류가 공간 영역 스칼라 양자화인 경우, 변환 및 양자화부(140)는 플래그 비트를 01로 설정하거나, 또는 인덱스를 1로 설정하여 비트스트림에 포함시켜 출력할 수 있다.If the type of the quantization is the spatial domain scalar quantization, the conversion and quantization unit 140 can output the bitstream by including it in the bitstream by setting the flag bit to 01 or setting the index to 1.

또한, 양자화의 종류가 주파수 영역 벡터 양자화인 경우, 변환 및 양자화부(140)는 플래그 비트를 10로 설정하거나, 또는 인덱스를 2로 설정하여 비트스트림에 포함시켜 출력할 수 있다.If the type of the quantization is frequency-domain vector quantization, the conversion and quantization unit 140 may output the flag bit by setting the flag bit to 10, or setting the index to 2, in the bitstream.

또한, 양자화의 종류가 주파수 영역 스칼라 양자화인 경우, 변환 및 양자화부(140)는 플래그 비트를 11로 설정하거나, 또는 인덱스를 3로 설정하여 비트스트림에 포함시켜 출력할 수 있다.If the kind of quantization is frequency-domain scalar quantization, the conversion and quantization unit 140 can output the bitstream by including it in the bitstream by setting the flag bit to 11 or setting the index to 3.

또한, 변환 및 양자화부(140)는 입력 영상을 구성하는 복수의 매크로 블록 또는 서브 블록들 각각에 해당하는 차분 블록들을 각각 변환하거나, 혹은 양자화할 수 있다. 이때, 변환 및 양자화부(140)는 복수의 매크로 블록 또는 서브 블록들 각각에 서로 다른 종류의 양자화를 수행할 수 있다. Also, The transform and quantization unit 140 may transform or quantize the difference blocks corresponding to the plurality of macroblocks or subblocks constituting the input image, respectively. At this time, the transform and quantization unit 140 may perform quantization of different kinds of macroblocks or sub-blocks, respectively.

엔트로피 부호화부(150)는 양자화된 변환계수 혹은 양자화 레벨, 움직임 벡터 등의 부호화 정보를 엔트로피 부호화할 수 있다. 이때, 부호화 정보는 비트스트림에 삽입되어 복호화 장치(300)로 전송될 수 있다.The entropy encoding unit 150 can entropy-encode quantization transform coefficients, encoding information such as a quantization level and a motion vector. At this time, the encoding information may be inserted into the bit stream and transmitted to the decoding apparatus 300. [

역양자화 및 역변환부(160)는 변환 및 양자화(140)에서 양자화된 변환계수 혹은 양자화 레벨을 역양자화 혹은 역변환하여 차분 블록을 복원할 수 있다. The inverse quantization and inverse transformation unit 160 may restore the difference block by inverse-quantizing or inverse transforming the quantized transform coefficient or the quantization level in the transform and quantization unit 140. [

제2 차분부(170)는 복원된 차분 블록과 예측 블록을 가산하여 부호화 대상 블록을 복원할 수 있다. The second difference section 170 can restore the current block by adding the reconstructed difference block and the prediction block.

일례로, 제2 차분부(170)는 차분 블록과 움직임 보상부(130)에서 생성된 예측 블록을 가산하여 부호화 대상 블록을 복원할 수 있다. 또한, 제2 차분부(170)는 예측부(110)에서 예측된 블록에 복원된 차분 블록을 가산하여 부호화 대상 블록을 복원할 수도 있다. 이하에서는, 복원된 부호화 대상 블록을 디블로킹 대상 블록으로 칭하여 설명하기로 한다. For example, the second difference section 170 may restore the current block by adding the difference block and the prediction block generated in the motion compensation section 130. [ The second difference section 170 may also restore the current block by adding the reconstructed difference block to the block predicted by the predicting section 110. [ Hereinafter, the reconstructed block to be coded will be referred to as a deblocking target block.

양자화 판별부(175)는 비트스트림에 포함된 양자화 정보를 이용하여 디블로킹 대상 블록에 수행된 양자화의 종류를 판별할 수 있다. 여기서, 디블로킹 대상 블록은 매크로 블록 또는 서브 블록들 간의 경계에 위치하는 화소들을 포함할 수 있다.The quantization determination unit 175 may determine the type of quantization performed on the target block to be deblocked using the quantization information included in the bitstream. Here, the deblocking target block may include macroblocks or pixels located at boundaries between the subblocks.

일례로, 비트스트림에 포함된 플래그 비트가 00인 경우, 양자화 판별부(175)는 디블로킹 대상 블록에 수행된 양자화의 종류를 주파수 영역 스칼라 양자화로 판별할 수 있다.For example, when the flag bit included in the bitstream is 00, the quantization determination unit 175 can determine the kind of quantization performed on the deblocking target block by frequency domain scalar quantization.

마찬가지로, 플래그 비트가 01, 10, 또는 11인 경우, 양자화 판별부(175)는 디블로킹 대상 블록에 수행된 양자화의 종류를 공간 영역 스칼라 양자화, 주파수 영역 벡터 양자화, 또는 공간 영역 벡터 양자화로 판별할 수 있다. 이때, 비트스트림에 인덱스가 포함된 경우, 양자화 판별부(175)는 인덱스가 0,1,2 또는 3에 해당하는 양자화의 종류를 판별할 수 있다.Similarly, when the flag bit is 01, 10, or 11, the quantization determination unit 175 determines the kind of quantization performed on the deblocking target block by using the space region scalar quantization, the frequency domain vector quantization, or the space region vector quantization . In this case, if the bitstream includes an index, the quantization determination unit 175 can determine the kind of quantization having an index of 0, 1, 2, or 3.

또한, 양자화 판별부(175)는 디블록킹 대상 블록 혹은 디블로킹 대상 블록에 인접한 주변 블록들의 정보를 이용하여 디블로킹 대상 블록에 수행된 양자화의 종류를 판별할 수 있다. 여기서, 디블로킹 대상 블록 혹은 디블로킹 대상 블록에 인접한 주변 블록들의 정보는, 주변 블록들 각각의 양자화 매개변수, 주변 블록들의 DC(Direct Current) 계수 크기, 디블로킹 대상 블록과 주변 블록들 간의 DC 계수 차이, 양자화 종류, 화면 내 예측 블록 크기 및 방향, 움직임 벡터 및 참조 영상 색인(Reference Picture Index) 등을 포함할 수 있다. 이때, 주변 블록들은 디블로킹 대상 블록에 인접하여 위치하는 적어도 하나 이상의 블록이 될 수 있다.In addition, the quantization determination unit 175 can determine the type of quantization performed on the deblocking target block using the information of neighboring blocks adjacent to the deblocking target block or the deblocking target block. Herein, information of neighboring blocks adjacent to the deblocking target block or the deblocking target block includes quantization parameters of respective neighboring blocks, a DC (direct current) coefficient size of neighboring blocks, a DC coefficient between the deblocking target block and neighboring blocks A prediction type, a quantization type, an intra prediction block size and direction, a motion vector, and a reference picture index. At this time, the neighboring blocks may be at least one block located adjacent to the deblocking block.

디블로킹 결정부(180)는 양자화 판별부(175)에서 판별된 양자화의 종류에 해당하는 디블로킹 정보를 이용하여 디블로킹 필터를 결정할 수 있다.The deblocking determination unit 180 can determine the deblocking filter using the deblocking information corresponding to the kind of the quantization determined by the quantization determination unit 175. [

일례로, 디블로킹 결정부(180)는 판별된 양자화의 종류에 해당하는 필터 계수, 필터 모양 및 필터 탭을 계산할 수 있다. 여기서, 디블로킹 정보는 계산된 필터 계수, 필터 탭, 및 필터 모양을 포함할 수 있다. 그러면, 디블로킹 결정부(180)는 계산된 필터 계수, 필터 모양 및 필터 탭을 디블로킹 필터로 결정할 수 있다.For example, the deblocking determination unit 180 may calculate a filter coefficient, a filter shape, and a filter tap corresponding to the kind of the determined quantization. Here, the deblocking information may include calculated filter coefficients, filter taps, and filter shapes. Then, the deblocking determination unit 180 can determine the calculated filter coefficient, the filter shape, and the filter tap as a deblocking filter.

이때, 디블로킹 결정부(180)는 양자화 종류에 따라 판별된 양자화의 종류에 해당하는 필터 계수, 필터 모양 및 필터 탭을 계산할 수 있다. 이에 따라, 디블로킹 결정부(180)는 양자화의 종류에 따라 필터 계수, 필터 모양 및 필터 탭을 다르게 계산할 수 있다. At this time, the deblocking determination unit 180 may calculate a filter coefficient, a filter shape, and a filter tap corresponding to the kind of the quantization determined according to the quantization type. Accordingly, the deblocking determination unit 180 can calculate filter coefficients, filter shapes, and filter taps differently depending on the kind of quantization.

또한, 디블로킹 결정부(180)는 양자화 에러, 또는 디블로킹 대상 블록의 경계를 이용하여 필터 계수, 필터 모양 및 필터 탭을 계산할 수 있다. 여기서, 양자화 에러는 양자화의 종류에 따라 달라질 수 있다.Further, the deblocking determination unit 180 can calculate the filter coefficient, the filter shape, and the filter tap using the quantization error or the boundary of the deblocking target block. Here, the quantization error may vary depending on the kind of the quantization.

일례로, 양자화부(140)에서 변환을 통해 생성된 각 변환 계수(Transformed Coefficient)에 대해 양자화가 수행되는 경우, 변환 방법에 따른 커널(Kernel) 특성으로 인해 주파수 영역 스칼라 양자화 에러가 발생할 수 있다. 이때, DC 계수의 양자화 에러는 변환 크기와 동일한 블록 내 전체 화소에 대해 일정한 크기의 양자화 에러가 발생될 수 있다. 그리고, AC 계수의 양자화 에러는 커널의 형태 및 크기에 따라 양자화 에러가 발생될 수 있다. For example, when quantization is performed on each transformed coefficient generated through the transform in the quantization unit 140, a frequency domain scalar quantization error may occur due to a kernel characteristic according to the transform method. At this time, the quantization error of the DC coefficient may be a quantization error of a certain size for all the pixels in the block equal to the transform size. The quantization error of the AC coefficient may be quantized depending on the type and size of the kernel.

또한, 양자화의 종류가 공간 영역 스칼라 양자화인 경우, 양자화 에러는 각 화소에 수행된 양자화 전과 역양자화 후의 화소값 차이가 될 수 있다.When the kind of quantization is the spatial domain scalar quantization, the quantization error may be the pixel value difference before and after the inverse quantization performed on each pixel.

또한, 양자화의 종류가 주파수 영역 벡터 양자화인 경우, 변환 계수의 집합 형태 및 크기, 변환 커널의 형태 및 크기에 따라 다른 양자화 에러가 발생될 수 있다.Also, when the kind of quantization is frequency domain vector quantization, a different quantization error may be generated depending on the type and size of the set of transform coefficients, and the type and size of the transform kernel.

또한, 양자화의 종류가 공간 영역 벡터 양자화인 경우, 양자화 에러는 화소 집합에 수행된 양자화 전과 역양자화 후의 화소값 차이가 될 수 있다.When the kind of quantization is the spatial domain vector quantization, the quantization error may be the pixel value difference before and after the inverse quantization performed on the pixel set.

또한, 디블로킹 결정부(180)는 디블로킹 대상 블록에 인접한 주변 블록들과 디블로킹 대상 블록 간의 DC 계수의 차이, 디블로킹 대상 블록 혹은 대상 블록에 인접한 주변 블록의 역양자화 매개변수, DC 계수 크기, 역양자화 종류, 화면 내 예측 블록 크기 및 방향, 움직임 벡터, 참조 영상 색인, 참조 영상 리스트, 화면 간 예측 방향을 이용하여 필터 계수, 필터 모양 및 필터 탭을 계산할 수 있다. In addition, the deblocking determination unit 180 may determine the difference between the DC coefficients between the neighboring blocks adjacent to the deblocking target block and the deblocking target block, the dequantization parameters of the neighboring blocks adjacent to the deblocking target block or the target block, The filter coefficient, the filter shape, and the filter tap can be calculated using the inverse quantization type, the intra-picture prediction block size and direction, the motion vector, the reference picture index, the reference picture list, and the inter-

또한, 디블로킹 결정부(180)는 기설정된 디블로킹 정보를 비트스트림으로부터 추출하여 디블로킹 대상 블록에 해당하는 필터 계수, 필터 모양 및 필터 탭을 획득할 수 있다. 여기서, 디블로킹 정보는 필터 계수, 필터 탭, 및 필터 모양을 포함하며 기설정될 수 있다.In addition, the deblocking determination unit 180 may extract predetermined deblocking information from the bitstream to obtain a filter coefficient, a filter shape, and a filter tap corresponding to the deblocking target block. Here, the deblocking information includes a filter coefficient, a filter tap, and a filter shape and can be set in advance.

일례로, 필터 모양은 화소 영역의 1D(Dimension) 및 2D 형태뿐만 아니라, 시간 축 상의 1D와 화소 영역의 2D를 포함한 3D, 가로 형태의 1D, 세로 형태의 1D, 대각선 형태의 1D, 정사각형 형태의 2D, 직사각형 형태의 2D, 다각형 형태의 2D 및 3D, 원형 형태의 2D 및 3D 등을 포함할 수 있다.For example, the filter shape may include not only the 1D (Dimension) and 2D shapes of the pixel region, but also 3D, including 1D on the time axis and 2D of the pixel region, 1D of the transverse shape, 1D of the longitudinal shape, 1D of the diagonal shape, 2D, rectangle-shaped 2D, polygonal-shaped 2D and 3D, circular-shaped 2D and 3D, and the like.

또한, 디블로킹 결정부(180)는 비트스트림에 양자화 정보가 포함되지 않은 경우, 주변 블록의 정보를 이용하여 디블로킹 대상 블록의 디블로킹 필터를 결정할 수 있다.In addition, when the quantization information is not included in the bitstream, the deblocking determination unit 180 can determine the deblocking filter of the target block using the information of the neighboring blocks.

일례로, 디블로킹 결정부(180)는 주변 블록에 수행된 양자화의 종류를 이용하여 디블로킹 대상 블록에 해당하는 필터 탭, 필터 모양 및 필터 계수를 산출할 수 있다. 그리고, 디블로킹 결정부(180)는 산출된 필터 탭, 필터 모양 및 필터 계수를 디블로킹 필터로 결정할 수 있다.For example, the deblocking determination unit 180 may calculate a filter tap, a filter shape, and a filter coefficient corresponding to a deblocking target block using the type of quantization performed on a neighboring block. The deblocking determination unit 180 can determine the calculated filter tap, the filter shape, and the filter coefficient by using the deblocking filter.

디블로킹부(185)는 결정된 디블로킹 필터를 이용하여 디블로킹 대상 블록에 대해 디블로킹 필터링을 수행할 수 있다. 여기서, 디블로킹 대상 블록은, 제2 차분부(150)에서 복원된 부호화 대상 블록이 될 수 있다. 이를 통해, 복원 영상 내의 블록록 간 경계오차가 감소되어 복원 영상의 블록 경계가 부드러워진다.The deblocking unit 185 may perform deblocking filtering on the deblocking target block using the determined deblocking filter. Here, the deblocking target block may be the current block to be decoded restored by the second differential section 150. This reduces the boundary error between the block blocks in the reconstructed image, so that the block boundary of the reconstructed image is softened.

보다 상세하게는, 디블로킹부(185)는 산출된 필터 계수, 필터 모양 및 필터 탭을 이용하여 디블로킹 대상 블록에 대해 디블로킹 필터링을 수행할 수 있다. 이때, 디블로킹부(185)는 경계 근처 화소 단위로 디블로킹 필터링을 수행할 수 있다.More specifically, the deblocking unit 185 can perform deblocking filtering on the deblocking target block using the calculated filter coefficient, the filter shape, and the filter taps. At this time, the deblocking unit 185 may perform deblocking filtering on a pixel-by-pixel basis.

일례로, 디블로킹부(185)는 디블로킹 대상 블록에 포함된 화소 단위로 디블로킹 필터링을 수행할 수 있다. 또한, 디블로킹부(185)는 매크로 블록 간 경계에 위치하는 화소 단위로 디블로킹 필터링을 수행할 수 있다. 또한, 디블로킹부(185)는 서브 블록 간 경계에 위치하는 화소 단위로 디블로킹 필터링을 수행할 수 있다. 이때, 매크로 블록 또는 서브 블록 경계에 위치하는 화소에 대해 저역 통과 필터링이 수행될 수 있다.For example, the deblocking unit 185 may perform deblocking filtering on a pixel-by-pixel basis included in the deblocking target block. In addition, the deblocking unit 185 can perform deblocking filtering on a pixel-by-pixel basis at the boundary between macroblocks. In addition, the deblocking unit 185 can perform deblocking filtering on a pixel-by-pixel basis at the boundary between subblocks. At this time, low-pass filtering can be performed on a pixel located at a macro block or a sub-block boundary.

또한, 디블로킹부(185)는 결정된 필터 계수, 필터 모양 및 필터 탭을 적응적으로 변경할 수 있다. 그리고, 디블로킹부(185)는 변경된 필터 계수, 필터 모양 및 필터 탭을 이용하여 디블로킹 대상 블록에 대해 디블로킹 필터링을 수행할 수 있다.The deblocking unit 185 may also adaptively change the determined filter coefficients, filter shape, and filter taps. The deblocking unit 185 may perform deblocking filtering on the deblocking target block using the changed filter coefficient, filter shape, and filter tap.

일례로, 디블로킹 대상 블록과 주변 블록 간의 양자화 매개변수 차이가 기설정된 기준 차이 이상인 경우, 디블로킹 결정부(180)는 결정된 필터 계수 및 필터 탭을 변경할 수 있다. For example, when the quantization parameter difference between the deblocking target block and the neighboring block is equal to or greater than a predetermined reference difference, the deblocking determination unit 180 may change the determined filter coefficient and the filter tap.

또한, 디블로킹 대상 블록과 주변 블록 간의 DC 계수 차이가 기설정된 기준 계수 이상인 경우, 디블로킹 결정부(180)는 결정된 필터 계수 및 필터 탭을 변경할 수 있다. When the DC coefficient difference between the deblocking target block and the neighboring block is equal to or greater than a predetermined reference coefficient, the deblocking determination unit 180 can change the determined filter coefficient and the filter tap.

또한, 디블로킹 대상 블록 및 주변 블록에 수행된 양자화의 종류가 각각 주파수 영역 스칼라 양자화 및 공간 영역 스칼라 양자화인 경우, 디블로킹 결정부(180)는 결정된 필터 계수 및 필터 탭을 변경할 수 있다. In addition, when the kinds of quantization performed on the deblocking target block and the neighboring blocks are the frequency domain scalar quantization and the space domain scalar quantization, the deblocking determination unit 180 can change the determined filter coefficient and the filter tap.

또한, 디블로킹부(185)는 디블로킹 대상 블록에 대해 디블로킹 필터링 수행없이 출력할 수 있다.In addition, the deblocking unit 185 can output the deblocking target block without deblocking filtering.

일례로, 디블로킹 대상 블록의 경계에 위치하는 화소값의 크기가 기설정된 기준 화소값 이상인 경우, 디블로킹부(185)는 실제 영상의 에지(edge)로 판단하여 디블로킹 대상 블록에 대해 디블로킹 필터링을 수행하지 않고 출력할 수 있다.For example, when the size of the pixel value located at the boundary of the deblocking target block is equal to or greater than a preset reference pixel value, the deblocking unit 185 determines that the edge of the actual image is an edge of the deblocking target block, It is possible to output without performing filtering.

또한, 디블로킹 대상 블록과 주변 블록의 양자화 매개 변수가 기설정된 기준 이하인 경우, 디블로킹부(185)는 디블로킹 대상 블록에 대해 디블로킹 필터링을 수행하지 않고 출력할 수 있다.When the quantization parameter of the deblocking target block and the neighboring block is equal to or less than a preset reference, the deblocking unit 185 can output the deblocking target block without deblocking filtering.

적응적 필터(190)는 디블로킹부(160)에서 디블로킹된 영상에 대해 적응적 필터링을 수행할 수 있다. The adaptive filter 190 may perform adaptive filtering on the deblocked image in the deblocking unit 160.

일례로, 적응적 필터(190)는 디블로킹된 영상에 대해 위너(Wiener) 필터에 기반한 루프 필터링 또는 보간 필터링을 수행할 수 있다.In one example, the adaptive filter 190 may perform loop filtering or interpolation filtering based on a Wiener filter for the deblocked image.

도 2는 영상 부호화 장치의 동작을 설명하기 위해 제공되는 흐름도이다.2 is a flow chart for explaining the operation of the image encoding apparatus.

도 2를 참조하면, 변환 및 양자화부(140)는 입력 영상에 포함된 복수의 블록들 각각에 대해 양자화를 수행할 수 있다(S210). 이때, 입력 영상은 복수의 매크로 블록들을 포함하고, 복수의 매크로 블록들은 각각 복수의 서브 블록들을 포함할 수 있다.Referring to FIG. 2, the transforming and quantizing unit 140 may quantize each of a plurality of blocks included in the input image (S210). At this time, the input image includes a plurality of macro blocks, and each of the plurality of macro blocks may include a plurality of sub-blocks.

이어, 양자화 판별부(175)는 비트스트림에 양자화 정보가 포함되었는지 여부를 판별할 수 있다(S220). 여기서, 양자화 정보는, 양자화의 종류를 나타내며, 플래그 비트 또는 인덱스 형태로 비트스트림에 포함될 수 있다.Next, the quantization determination unit 175 can determine whether or not quantization information is included in the bitstream (S220). Here, the quantization information indicates the kind of quantization, and may be included in the bitstream in the form of a flag bit or an index.

이때, 비트스트림에 양자화 정보가 포함된 경우(S220:YES), 양자화 판별부(175)는 비트스트림을 분석하여 양자화 정보를 획득할 수 있다. 그리고, 양자화 판별부(175)는 획득된 양자화 정보를 기초로 디블로킹 대상 블록에 수행된 양자화 종류를 판별할 수 있다(S230). At this time, if the bitstream includes quantization information (S220: YES), the quantization / determination section 175 can obtain the quantization information by analyzing the bitstream. Then, the quantization determination unit 175 can determine the type of quantization performed on the deblocking target block based on the obtained quantization information (S230).

일례로, 플래그 비트가 00인 경우, 양자화 판별부(175)는 양자화 종류를 주파수 영역 스칼라 양자화로 판별할 수 있다. 또한, 플래그 비트가 01, 10, 11인 경우, 양자화 판별부(175)는 양자화 종류를 공간 영역 스칼라 양자화, 주파수 영역 벡터 양자화, 및 공간 영역 벡터 양자화로 각각 판별할 수 있다.For example, when the flag bit is 00, the quantization determination unit 175 can determine the kind of quantization by frequency domain scalar quantization. When the flag bits are 01, 10, and 11, the quantization determination unit 175 can determine the quantization type by using the space-area scalar quantization, the frequency-domain vector quantization, and the space-area vector quantization, respectively.

그리고, 비트스트림에 양자화 정보가 포함되지 않은 경우(S220:NO), 양자화 판별부(175)는 디블로킹 대상 블록 혹은 디블로킹 대상 블록에 인접한 주변 블록의 정보를 이용하여 디블로킹 대상 블록에 수행된 양자화 종류를 판별할 수 있다. If the quantization information is not included in the bitstream (S220: NO), the quantization / determination unit 175 performs a quantization process on the target block to be deblocked using the information of neighboring blocks adjacent to the target block or the target block to be deblocked The kind of quantization can be determined.

여기서, 디블로킹 대상 블록 혹은 디블로킹 대상 블록에 인접한 주변 블록의 정보는, 양자화 매개변수, DC(Direct Current) 계수 크기, 디블로킹 대상 블록과 주변 블록들 간의 DC 계수 차이, 양자화 종류, 화면 내 예측 블록 크기 및 방향, 움직임 벡터 및 참조 영상 색인(Reference Picture Index) 등을 포함할 수 있다.Herein, the information of the neighboring blocks adjacent to the deblocking target block or the deblocking target block includes at least one of a quantization parameter, a DC (direct current) coefficient size, a DC coefficient difference between a deblocking target block and neighboring blocks, a kind of quantization, A block size and direction, a motion vector, and a reference picture index.

이어, 디블로킹 결정부(180)는 판별된 양자화 종류를 기초로 디블로킹 대상 블록에 해당하는 디블로킹 필터링을 결정할 수 있다(S250).Next, the deblocking determination unit 180 may determine deblocking filtering corresponding to the deblocking target block based on the determined quantization type (S250).

일례로, 디블로킹 결정부(180)는 판별된 양자화 종류를 기초로 디블로킹 대상 블록에 해당하는 필터 계수, 필터 모양 및 필터 탭을 산출할 수 있다. 그러면, 디블로킹 결정부(180)는 산출된 필터 계수, 필터 모양 및 필터 탭을 디블로킹 필터로 결정할 수 있다.For example, the deblocking determination unit 180 may calculate a filter coefficient, a filter shape, and a filter tap corresponding to a deblocking block based on the determined quantization type. Then, deblocking determination unit 180 may determine the calculated filter coefficient, filter shape, and filter tap as a deblocking filter.

그리고, 디블로킹부(185)는 디블로킹 대상 블록에 대해 결정된 디블로킹 필터링을 수행할 수 있다(S260). 즉, 디블로킹부(185)는 산출된 필터 계수, 필터 모양 및 필터 탭을 이용하여 디블로킹 대상 블록에 대해 디블로킹 필터링을 수행할 수 있다. 그러면, 디블로킹 필터링된 디블로킹 대상 블록에는 적응적 필터링이 수행될 수 있다.Then, the deblocking unit 185 can perform deblocking filtering determined for the deblocking target block (S260). That is, the deblocking unit 185 can perform deblocking filtering on the deblocking target block using the calculated filter coefficient, the filter shape, and the filter taps. Then, the deblocking filtered deblocking target block may be subjected to adaptive filtering.

도 3은 영상 복호화 장치의 구성을 도시한 블록도이다.3 is a block diagram showing a configuration of an image decoding apparatus.

도 3을 참조하면, 복호화 장치(300)는 엔트로피 복호화부(310), 역양자화 및 역변환부(320), 예측부(325), 움직임 보상부(330), 가산부(340), 역양자화 판별부(350), 디블로킹 결정부(360), 디블로킹부(370), 및 적응적 필터(380)를 포함할 수 있다.3, the decoding apparatus 300 includes an entropy decoding unit 310, an inverse quantization and inverse transformation unit 320, a prediction unit 325, a motion compensation unit 330, an addition unit 340, A deblocking determination unit 360, a deblocking unit 370, and an adaptive filter 380. The deblocking unit 360 may include a deblocking unit 360, a deblocking determination unit 360, a deblocking unit 370,

도 3의 복호화 장치(300)에서, 역양자화 판별부(350), 디블로킹 결정부(360), 및 디블로킹부(370)의 동작은 부호화 장치(100)와 실질적으로 동일하므로 중복되는 내용은 생략하기로 한다.In the decoding apparatus 300 of FIG. 3, the operations of the inverse quantization determining unit 350, the deblocking determining unit 360, and the deblocking unit 370 are substantially the same as those of the encoding apparatus 100, It will be omitted.

엔트로피 복호화부(310)는 비트스트림을 엔트로피 복호화하여 양자화된 변환계수 혹은 양자화된 레벨 및 움직임 벡터를 포함하는 부호화 정보를 추출할 수 있다.The entropy decoding unit 310 may entropy-decode the bitstream to extract encoding information including quantized transform coefficients or quantized levels and motion vectors.

역양자화 및 역변환부(320)는 추출된 양자화된 변환계수를 역양자화하고 역변환하거나, 양자화된 레벨을 역양자화하여 복원된 차분 블록을 획득할 수 있다. 이때, 역양자화 및 역변환부(320)는 입력 영상에 포함된 매크로 블록들 또는 서브 블록들 각각에 대해 서로 다른 역양자화를 수행할 수 있다.The inverse quantization and inverse transform unit 320 can inverse-quantize and inverse transform the extracted quantized transform coefficients, or inverse-quantize the quantized levels to obtain a reconstructed difference block. At this time, the inverse quantization and inverse transform unit 320 may perform different inverse quantization on the macroblocks or subblocks included in the input image.

이때, 역양자화 및 역변환부(320)는 차분 블록에 수행된 역양자화의 종류를 나타내는 역양자화 정보를 비트스트림에서 추출할 수 있다.At this time, the inverse quantization and inverse transform unit 320 can extract the inverse quantization information indicating the kind of inverse quantization performed in the difference block, from the bit stream.

여기서, 역양자화의 종류는 주파수 영역 스칼라 역양자화, 공간 영역 스칼라 역양자화, 주파수 영역 벡터 역양자화, 및 공간 영역 벡터 역양자화를 포함할 수 있다. 또한, 역양자화 정보는 플래그 비트 또는 인덱스 형식으로 비트스트림에 포함될 수 있다. 이때, 역양자화 정보에 따라 역양자화 종류를 판별하는 과정은 영상 부호화 장치(100)와 동일하므로 자세한 설명은 생략하기로 한다.Here, the kind of dequantization may include frequency domain scalar inverse quantization, spatial domain scalar inverse quantization, frequency domain vector dequantization, and space domain vector dequantization. Also, The inverse quantization information may be included in the bitstream in the form of a flag bit or an index. At this time, the process of determining the kind of dequantization according to the dequantization information is the same as that of the image encoding apparatus 100, and therefore, a detailed description thereof will be omitted.

예측부(325)는 엔트로피 복호화된 영상의 블록을 부호화하기 위해서 공간적으로 인접한 픽셀 값을 이용하여 복호화하고자 하는 매크로 블록을 예측하여 복호화할 수 있다. 일례로, 예측부(325)는 화면 내 예측을 수행하여 예측 블록을 생성할 수 있다.The prediction unit 325 can predict and decode a macroblock to be decoded using spatially adjacent pixel values in order to encode a block of the entropy-decoded image. In one example, the prediction unit 325 may perform intra-prediction to generate a prediction block.

움직임 보상부(330)는 엔트로피 복호화부(310)에서 추출된 움직임 벡터 등의 정보를 이용하여 복호화 대상 블록의 예측 블록을 생성할 수 있다. 일례로, 움직임 보상부(330)는 화면 간 예측을 수행하여 예측 블록을 생성할 수 있다.The motion compensation unit 330 can generate a prediction block of a current block to be decoded using information such as a motion vector extracted by the entropy decoding unit 310. [ For example, the motion compensation unit 330 may perform inter picture prediction to generate a prediction block.

가산부(340)는 역양자화 및 역변환부(320)에서 획득된 복원된 차분 블록과 예측 블록을 더하여 복호화 대상 블록을 복원할 수 있다. 이때, 예측 블록은 움직임 보상부(330) 또는 예측부(325)로부터 가산부(340)로 전달될 수 있다.The adder 340 may add the reconstructed difference block and the prediction block obtained by the inverse quantization and inverse transform unit 320 to reconstruct the current block to be decoded. At this time, the prediction block may be transferred from the motion compensation unit 330 or the prediction unit 325 to the adder 340.

역양자화 판별부(350)는 비트스트림 분석 또는 디블로킹 대상 블록 혹은 디블로킹 대상 블록에 인접한 주변 블록의 정보를 이용하여 디블로킹 대상 블록에 수행된 역양자화 종류를 판별할 수 있다. 여기서, 디블로킹 대상 블록은, 입력 영상에 포함된 복수의 블록들 중 디블로킹 필터링을 수행하고자 하는 블록을 포함할 수 있다.The inverse quantization determining unit 350 can determine the kind of the inverse quantization performed on the block to be deblocked using the bitstream analysis or the information of the neighboring block adjacent to the target block or the target block to be deblocked. Here, the deblocking target block may include a block to perform deblocking filtering among a plurality of blocks included in the input image.

일례로, 복원된 복호화 대상 블록에 대해 디블로킹 필터링을 수행하고자 하는 경우, 역양자화 판별부(350)는 복원된 복호화 대상 블록에 수행된 역양자화의 종류를 판별할 수 있다.For example, if deblocking filtering is to be performed on the reconstructed block to be decoded, the inverse quantization determining unit 350 may determine the type of inverse quantization performed on the reconstructed block to be decoded.

이때, 역양자화 판별부(350)는 역양자화된 디블로킹 블록에 해당하는 비트스트림을 분석하여 획득된 역양자화 정보를 이용하여 역양자화 종류를 판별할 수 있다. 여기서, 역양자화 정보를 이용하여 디블로킹 필터를 결정하는 과정은 부호화 장치에서 양자화 정보를 이용하여 디블로킹 필터를 결정하는 과정과 동일하므로 자세한 설명은 생략하기로 한다.At this time, the inverse quantization determining unit 350 can determine the kind of the inverse quantization using the inverse quantization information obtained by analyzing the bit stream corresponding to the dequantized deblocking block. Here, the process of determining the deblocking filter using the inverse quantization information is the same as the process of determining the deblocking filter using the quantization information in the encoding apparatus, and thus a detailed description thereof will be omitted.

또한, 역양자화 판별부(350)는 비트스트림에 역양자화 정보가 포함되지 않은 경우, 디블로킹 대상 블록 혹은 디블로킹 대상 블록에 인접한 주변 블록들의 정보를 이용하여 디블로킹 블록에 수행된 역양자화 종류를 판별할 수 있다. If the inverse quantization information is not included in the bitstream, the inverse quantization determination unit 350 determines the inverse quantization type performed in the deblocking block using the information of neighboring blocks adjacent to the deblocking target block or the target block Can be distinguished.

여기서, 디블로킹 대상 블록 혹은 디블로킹 대상 블록에 인접한 주변 블록들의 정보는, 역양자화 매개변수, DC(Direct Current) 계수 크기, 디블로킹 대상 블록과 주변 블록들 간의 DC 계수 차이, 역양자화 종류, 화면 내 예측 블록 크기 및 방향, 움직임 벡터 및 참조 영상 색인(Reference Picture Index) 등을 포함할 수 있다.Here, the information of the de-blocking target block or neighboring blocks adjacent to the de-blocking target block includes at least one of a dequantization parameter, a DC (direct current) coefficient size, a DC coefficient difference between a de- An inner prediction block size and direction, a motion vector, and a reference picture index.

디블로킹 결정부(360)는 판별된 역양자화 종류에 기초하여 디블로킹 필터를 결정할 수 있다.The deblocking determination unit 360 can determine the deblocking filter based on the determined inverse quantization type.

일례로, 디블로킹 결정부(360)는 역양자화 종류에 해당하는 필터 탭, 필터 모양 및 필터 계수를 계산하여 디블로킹 필터로 결정할 수 있다.For example, the deblocking determination unit 360 may determine a deblocking filter by calculating a filter tap, a filter shape, and a filter coefficient corresponding to the kind of the inverse quantization.

디블로킹부(370)는 결정된 디블로킹 필터로 디블로킹 대상 블록에 대해 디블로킹 필터링을 수행할 수 있다. 즉, 디블로킹부(370)는 계산된 필터 계수, 필터 모양 및 필터 탭을 이용하여 디블로킹 대상 블록에 대해 디블로킹 필터링을 수행할 수 있다.The deblocking unit 370 can perform deblocking filtering on the deblocking target block with the determined deblocking filter. That is, the deblocking unit 370 can perform deblocking filtering on the deblocking target block using the calculated filter coefficient, the filter shape, and the filter tap.

그러면, 적응적 필터(380)는 디블로킹된 영상에 대해 루프 필터링 또는 보간 필터링을 수행할 수 있다.The adaptive filter 380 may then perform loop filtering or interpolation filtering on the deblocked image.

도 4는 영상 복호화 장치의 동작을 설명하기 위해 제공되는 흐름도이다.4 is a flowchart provided to explain the operation of the image decoding apparatus.

도 4를 참조하면, 역양자화 및 역변환부(320)는 부호화되어 입력된 영상에 포함된 복수의 블록들 각각에 대해 역양자화를 수행할 수 있다(S410). 여기서, 입력 영상은 복수의 매크로 블록들을 포함하고, 복수의 매크로 블록들을 복수의 서브 블록들을 포함할 수 있다. 이에 따라, 매크로 블록 단위 또는 서브 블록 단위로 역양자화 및 역변환이 수행될 수 있다.Referring to FIG. 4, the inverse quantization and inverse transform unit 320 may perform inverse quantization on each of a plurality of blocks included in the encoded input image (S410). Here, the input image includes a plurality of macroblocks, and the plurality of macroblocks may include a plurality of subblocks. Accordingly, inverse quantization and inverse transform can be performed on a macroblock basis or on a subblock basis.

이어, 역양자화 판별부(350)는 디블로킹 대상 블록에 수행된 역양자화의 종류를 판별할 수 있다(S420). 여기서, 디블로킹 대상 블록은 매크로 블록들 또는 서브 블록들 간 경계에 위치하는 화소들을 포함할 수 있다.Next, the inverse quantization determination unit 350 may determine the kind of the inverse quantization performed on the deblocking target block (S420). Here, the deblocking target block may include macroblocks or pixels located at boundaries between the subblocks.

그리고, 디블로킹 결정부(360)는 판별된 역양자화의 종류를 기초로 디블로킹 필터링을 결정할 수 있다(S430).Then, the deblocking determination unit 360 can determine deblocking filtering based on the kind of the determined inverse quantization (S430).

이어, 디블로킹부(370)는 디블로킹 대상 블록에 대해 결정된 디블로킹 필터링을 수행할 수 있다(S440).Next, the deblocking unit 370 may perform deblocking filtering determined for the deblocking target block (S440).

상기 기술된 블록은 영상 부호화 및 복호화의 단위를 의미한다. 여기서, 영상 부호화 및 복호화 시 부호화 혹은 복호화 단위라 함은, 하나의 영상을 세분화 된 블록으로 분할하여 부호화 혹은 복호화 할 때 그 분할된 단위를 의미한다. 일례로, 분할된 단위는, 블록, 매크로 블록, 부호화 유닛(coding unit), 예측 유닛(prediction unit), 변환 유닛(transform unit) 등을 포함할 수 있다. 이때, 하나의 블록은 크기가 더 작은 하위 블록으로 더 분할될 수 있다.The above-described block means a unit of image encoding and decoding. Here, the encoding or decoding unit in the image encoding and decoding means a divided unit when one image is divided into subdivided blocks and is encoded or decoded. In one example, the segmented unit may include a block, a macroblock, a coding unit, a prediction unit, a transform unit, and the like. At this time, one block may be further divided into smaller sub-blocks.

본 명세서에서 사용되는 용어들은 본 발명의 바람직한 실시예를 적절히 표현하기 위해 사용된 용어들로서, 이는 사용자, 운용자의 의도 또는 본 발명이 속하는 분야의 관례 등에 따라 달라질 수 있다. 따라서, 본 용어들에 대한 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다.The terms used in this specification are used to appropriately express the preferred embodiments of the present invention, and this may vary depending on the user, the intention of the operator, or the practice of the field to which the present invention belongs. Therefore, the definitions of these terms should be based on the contents throughout this specification.

지금까지, 영상 부호화 장치에서 화면 내 예측 또는 화면 간 예측을 수행하는 것으로 설명하였으나, 이는 실시예에 해당되며, 영상 부호화 장치는 화면 내 예측 및 화면 간 예측을 모두 수행할 수 있다. In the above description, the intra-picture prediction or the inter-picture prediction is performed in the image coding apparatus, but this corresponds to the embodiment, and the image coding apparatus can perform both intra-picture prediction and inter-picture prediction.

또한, 영상 부호화 장치 및 복호화 장치에서는 매크로 블록 또는 서브 블록 단위로 양자화 및 역양자화를 수행하는 것으로 설명하였으나, 이는 실시예에 해당되며, 부호화 장치 및 복호화 장치는 슬라이스 또는 화소 단위로 양자화 및 역양자화를 수행할 수 있다.Also, in the image encoding apparatus and the decoding apparatus, quantization and inverse quantization are performed in units of a macro block or a sub-block. However, this is an embodiment, and the encoding apparatus and the decoding apparatus perform quantization and inverse quantization in units of slices or pixels Can be performed.

또한, 영상 부호화 장치에서는, 변환 및 양자화부(140)에서 양자화 정보를 비트스트림에 삽입시켜 출력하는 것으로 설명하였으나, 이는 실시예에 해당되며, 엔트로피 부호화부(150)에서 양자화 정보를 비트스트림에 삽입시켜 출력할 수 있다.Also, in the image encoding apparatus, the quantization information is inserted into the bitstream by the transform and quantization unit 140, and the quantization information is outputted. However, this is an example, and the entropy encoding unit 150 may insert the quantization information into the bitstream .

또한, 이상에서 설명한 영상 부호화 장치 및 복호화 장치에는 적응적 필터(190, 380) 및 디블로킹부(185, 370)이 별도로 구성되는 것으로 설명하였으나, 이는 실시예에 해당되며, 적응적 필터(190, 380)와 디블로킹부(185, 370)는 통합된 형태를 가질 수 있다. 즉, 영상 부호화 장치 및 복호화 장치의 적응적 필터(190, 380)에서 디블로킹 필터링 및 적응적 필터링을 수행할 수 있다.Although the adaptive filters 190 and 380 and the deblocking units 185 and 370 are separately configured in the image encoding apparatus and the decoding apparatus described above, 380 and deblocking units 185, 370 may have an integrated form. That is, deblocking filtering and adaptive filtering can be performed in the adaptive filters 190 and 380 of the image encoding apparatus and the decoding apparatus.

또한, 영상 부호화 장치 및 복호화 장치에서는 적응적 필터(190, 380)가 생략될 수 있다.In addition, adaptive filters 190 and 380 may be omitted in the image encoding apparatus and the image decoding apparatus.

이상과 같이 본 발명은 비록 한정된 실시예와 도면에 의해 설명되었으나, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상의 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다.While the invention has been shown and described with reference to certain preferred embodiments thereof, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. This is possible.

그러므로, 본 발명의 범위는 설명된 실시예에 국한되어 정해져서는 아니 되며, 후술하는 특허청구범위뿐 아니라 이 특허청구범위와 균등한 것들에 의해 정해져야 한다.Therefore, the scope of the present invention should not be limited to the described embodiments, but should be determined by the equivalents of the claims, as well as the claims.

110: 예측부
120: 움직임 추정부
130: 움직임 보상부
140: 변환 및 양자화부
150: 엔트로피 부호화부
160: 역양자화 및 역변환부
135, 170: 제1 차분부, 제2 차분부
175: 양자화 판별부
180: 디블로킹 결정부
185: 디블로킹부
190: 적응적 필터
110:
120: motion estimation unit
130: Motion compensation unit
140: Transform and quantization unit
150: Entropy coding unit
160: Inverse quantization and inverse transform unit
135, 170: a first differential section, a second differential section
175: Quantization discrimination unit
180: Deblocking decision unit
185: deblocking unit
190: adaptive filter

Claims (16)

입력 영상을 구성하는 현재 블록에 대해 화면 내 예측을 수행하는 화면 내 예측부;
상기 현재 블록에 대해 양자화를 수행하는 양자화부;
상기 현재 블록에 수행된 양자화의 종류를 판별하는 양자화 판별부; 및
상기 양자화의 종류를 부호화하는 부호화부를 포함하고,
상기 현재 블록에 대해 변환 없이 양자화를 수행한 경우, 상기 양자화의 종류는 제1값을 갖고, 상기 현재 블록에 대해 변환과 양자화를 모두 수행한 경우, 상기 양자화의 종류는 제2값을 갖고,
상기 양자화의 종류는 상기 현재 블록의 크기에 기초하여 판별되는 영상 부호화 장치.
An intra picture prediction unit for performing intra picture prediction on a current block constituting an input picture;
A quantizer for performing quantization on the current block;
A quantization discrimination unit for discriminating a kind of quantization performed on the current block; And
And an encoding unit for encoding the kind of the quantization,
Wherein when the current block is quantized without conversion, the type of the quantization has a first value, and when performing both the transformation and the quantization on the current block, the type of the quantization has a second value,
And the type of the quantization is determined based on the size of the current block.
삭제delete 제 1 항에 있어서,
상기 양자화의 종류는 플래그 값으로 나타내어지는 것을 특징으로 하는 영상 부호화 장치.
The method according to claim 1,
And the type of the quantization is represented by a flag value.
삭제delete 삭제delete 입력 영상을 구성하는 현재 블록에 대해 화면 내 예측을 수행하는 단계;
상기 현재 블록에 대해 양자화를 수행하는 단계;
상기 현재 블록에 수행된 양자화의 종류를 판별하는 단계; 및
상기 양자화의 종류를 부호화하는 단계를 포함하고,
상기 현재 블록에 대해 변환 없이 양자화를 수행한 경우, 상기 양자화의 종류는 제1값을 갖고, 상기 현재 블록에 대해 변환과 양자화를 모두 수행한 경우, 상기 양자화의 종류는 제2값을 갖고,
상기 양자화의 종류는 상기 현재 블록의 크기에 기초하여 판별되는 영상 부호화 방법.
Performing intra-frame prediction on a current block constituting an input image;
Performing quantization on the current block;
Determining a kind of quantization performed on the current block; And
And encoding the kind of the quantization,
Wherein when the current block is quantized without conversion, the type of the quantization has a first value, and when performing both the transformation and the quantization on the current block, the type of the quantization has a second value,
And the type of the quantization is determined based on the size of the current block.
삭제delete 제 6 항에 있어서,
상기 양자화의 종류는 플래그 값으로 나타내어지는 것을 특징으로 하는 영상 부호화 방법.
The method according to claim 6,
And the type of the quantization is represented by a flag value.
삭제delete 삭제delete 영상에 포함된 현재 블록에 대해 화면 내 예측을 수행하는 화면 내 예측부;
비트스트림을 복호하여, 상기 현재 블록에 적용되는 역양자화의 종류를 판별하는 역양자화 판별부; 및
상기 현재 블록을 역양자화하는 역양자화부를 포함하고,
상기 역양자화의 종류가 제1값을 가지면, 상기 현재 블록에 대해 역변환 없이 역양자화를 수행하고, 상기 역양자화의 종류가 제2값을 가지면, 상기 현재 블록에 대해 역변환과 역양자화를 모두 수행하고,
상기 역양자화의 종류는 상기 현재 블록의 크기에 기초하여 판별되는 영상 복호화 장치.
An intra picture prediction unit for performing intra picture prediction on a current block included in an image;
An inverse quantization / discrimination unit for decoding a bitstream and discriminating a kind of dequantization applied to the current block; And
And a dequantizer for dequantizing the current block,
If the type of the inverse quantization has a first value, inverse quantization is performed on the current block without inverse transformation, and if the type of the inverse quantization has a second value, both the inverse transform and the inverse quantization are performed on the current block ,
Wherein the type of the inverse quantization is determined based on the size of the current block.
제 11 항에 있어서,
상기 역양자화의 종류는 플래그 값으로 나타내어지는 것을 특징으로 하는 영상 복호화 장치.
12. The method of claim 11,
Wherein the kind of the inverse quantization is represented by a flag value.
삭제delete 영상에 포함된 현재 블록에 대해 화면 내 예측을 수행하는 단계;
비트스트림을 복호하여, 상기 현재 블록에 적용되는 역양자화의 종류를 판별하는 단계; 및
상기 현재 블록을 역양자화하는 단계를 포함하고,
상기 역양자화의 종류가 제1값을 가지면, 상기 현재 블록에 대해 역변환 없이 역양자화를 수행하고, 상기 역양자화의 종류가 제2값을 가지면, 상기 현재 블록에 대해 역변환과 역양자화를 모두 수행하고,
상기 역양자화의 종류는 상기 현재 블록의 크기에 기초하여 판별되는 영상 복호화 방법.
Performing intra prediction on a current block included in an image;
Decoding the bitstream to determine the kind of dequantization applied to the current block; And
And dequantizing the current block,
If the type of the inverse quantization has a first value, inverse quantization is performed on the current block without inverse transformation, and if the type of the inverse quantization has a second value, both the inverse transform and the inverse quantization are performed on the current block ,
Wherein the type of the inverse quantization is determined based on the size of the current block.
제 14 항에 있어서,
상기 역양자화의 종류는 플래그 값으로 나타내어지는 것을 특징으로 하는 영상 복호화 방법.
15. The method of claim 14,
Wherein the type of the inverse quantization is represented by a flag value.
삭제delete
KR1020100127547A 2009-12-16 2010-12-14 Apparatus for image coding/decoding and the method thereof KR101902933B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20090125576 2009-12-16
KR1020090125576 2009-12-16

Related Child Applications (1)

Application Number Title Priority Date Filing Date
KR1020180112829A Division KR102025576B1 (en) 2009-12-16 2018-09-20 Apparatus for image coding/decoding and the method thereof

Publications (2)

Publication Number Publication Date
KR20110068900A KR20110068900A (en) 2011-06-22
KR101902933B1 true KR101902933B1 (en) 2018-10-01

Family

ID=44401017

Family Applications (5)

Application Number Title Priority Date Filing Date
KR1020100127547A KR101902933B1 (en) 2009-12-16 2010-12-14 Apparatus for image coding/decoding and the method thereof
KR1020180112829A KR102025576B1 (en) 2009-12-16 2018-09-20 Apparatus for image coding/decoding and the method thereof
KR1020190115753A KR102115201B1 (en) 2009-12-16 2019-09-20 Apparatus for image coding/decoding and the method thereof
KR1020200060073A KR20200059204A (en) 2009-12-16 2020-05-20 Apparatus for image coding/decoding and the method thereof
KR1020210043124A KR20210038533A (en) 2009-12-16 2021-04-02 Apparatus for image coding/decoding and the method thereof

Family Applications After (4)

Application Number Title Priority Date Filing Date
KR1020180112829A KR102025576B1 (en) 2009-12-16 2018-09-20 Apparatus for image coding/decoding and the method thereof
KR1020190115753A KR102115201B1 (en) 2009-12-16 2019-09-20 Apparatus for image coding/decoding and the method thereof
KR1020200060073A KR20200059204A (en) 2009-12-16 2020-05-20 Apparatus for image coding/decoding and the method thereof
KR1020210043124A KR20210038533A (en) 2009-12-16 2021-04-02 Apparatus for image coding/decoding and the method thereof

Country Status (1)

Country Link
KR (5) KR101902933B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200143298A (en) * 2019-06-14 2020-12-23 한국전자통신연구원 Method and apparatus for quantization matrix encoding/decoding and recording medium for storing bitstream

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100204468B1 (en) 1995-08-31 1999-06-15 전주범 An image encoder and decoder

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9113147B2 (en) * 2005-09-27 2015-08-18 Qualcomm Incorporated Scalability techniques based on content information

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100204468B1 (en) 1995-08-31 1999-06-15 전주범 An image encoder and decoder

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
M Narroschke, "Extending H.264/AVC by an adaptive coding of the prediction error", Proc. of Picture Coding Symposium, Beijing, China. 24 April, 2006.

Also Published As

Publication number Publication date
KR20200059204A (en) 2020-05-28
KR20110068900A (en) 2011-06-22
KR20190109373A (en) 2019-09-25
KR20180107067A (en) 2018-10-01
KR20210038533A (en) 2021-04-07
KR102025576B1 (en) 2019-09-27
KR102115201B1 (en) 2020-05-26

Similar Documents

Publication Publication Date Title
KR101431545B1 (en) Method and apparatus for Video encoding and decoding
KR102287414B1 (en) Low Complexity Mixed Domain Cooperative In-Loop Filter for Lossy Video Coding
KR101365567B1 (en) Method and apparatus for prediction video encoding, and method and apparatus for prediction video decoding
CN104811715B (en) Use the enhancing intraframe predictive coding of plane expression
CN107396117B (en) Video encoding and decoding methods and non-transitory computer-readable storage medium
US8948243B2 (en) Image encoding device, image decoding device, image encoding method, and image decoding method
US20150016516A1 (en) Method for intra prediction improvements for oblique modes in video coding
US20140036994A1 (en) Motion picture encoding apparatus and method thereof
US20110032990A1 (en) Apparatus and method for deblocking filtering image data and video decoding apparatus and method using the same
KR101621854B1 (en) Tsm rate-distortion optimizing method, encoding method and device using the same, and apparatus for processing picture
KR20170093833A (en) Coding of intra modes
EP2491718A1 (en) Methods and apparatus for dc intra prediction mode for video encoding and decoding
JP5209572B2 (en) Image encoding apparatus and image decoding apparatus
KR102115201B1 (en) Apparatus for image coding/decoding and the method thereof
KR20230035300A (en) Method and apparatus for deciding boundary filtering strength of deblocking filtering
KR20140022122A (en) Video encoding apparatus and method using rate distortion optimization
KR101443865B1 (en) Method and apparatus for inter prediction
WO2014084674A2 (en) Intra prediction method and intra prediction apparatus using residual transform
KR20140043014A (en) Method and apparatus for image encoding
KR20180041576A (en) Image encoding method/apparatus, image decoding method/apparatus and and recording medium for storing bitstream
KR20110067648A (en) Method for encoding/decoding image and apparatus for performing the same
KR101802304B1 (en) Methods of encoding using hadamard transform and apparatuses using the same
KR20140129418A (en) Method for intra-prediction using residual transform, and apparatus thereof
KR20140129419A (en) Method for intra-prediction using residual transform, and apparatus thereof
KR20140129420A (en) Method for intra-prediction using residual transform, and apparatus thereof

Legal Events

Date Code Title Description
A201 Request for examination
AMND Amendment
E902 Notification of reason for refusal
AMND Amendment
E90F Notification of reason for final refusal
E601 Decision to refuse application
AMND Amendment
E90F Notification of reason for final refusal
AMND Amendment
X701 Decision to grant (after re-examination)
A107 Divisional application of patent
GRNT Written decision to grant