KR20080004012A - An video encoding/decoding method and apparatus - Google Patents

An video encoding/decoding method and apparatus Download PDF

Info

Publication number
KR20080004012A
KR20080004012A KR1020060062440A KR20060062440A KR20080004012A KR 20080004012 A KR20080004012 A KR 20080004012A KR 1020060062440 A KR1020060062440 A KR 1020060062440A KR 20060062440 A KR20060062440 A KR 20060062440A KR 20080004012 A KR20080004012 A KR 20080004012A
Authority
KR
South Korea
Prior art keywords
color component
pixel block
prediction
pixel
block
Prior art date
Application number
KR1020060062440A
Other languages
Korean (ko)
Other versions
KR101311403B1 (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 삼성전자주식회사
Priority to KR1020060062440A priority Critical patent/KR101311403B1/en
Priority to US11/785,832 priority patent/US8553768B2/en
Priority to JP2008544268A priority patent/JP2009518940A/en
Priority to EP07807929A priority patent/EP2036358A4/en
Priority to PCT/KR2007/002713 priority patent/WO2008004768A1/en
Priority to CN200780000995XA priority patent/CN101352046B/en
Publication of KR20080004012A publication Critical patent/KR20080004012A/en
Application granted granted Critical
Publication of KR101311403B1 publication Critical patent/KR101311403B1/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/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/186Methods 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 a colour or a chrominance component
    • 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
    • H04N19/105Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
    • 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/146Data rate or code amount at the encoder output
    • H04N19/147Data rate or code amount at the encoder output according to rate distortion criteria
    • 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/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • 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)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Color Television Systems (AREA)

Abstract

A video encoding method and apparatus, and a video decoding method and apparatus are provided to perform prediction encoding by using correlation between plural color components composing a video, thereby improving the encoding efficiency of a video. A video encoding method comprises the following steps of: performing prediction encoding of a pixel block of a predetermined size of a first color component video out of two color components in an input video(1010); performing motion prediction of a remaining color component pixel block corresponding to the first color component video to generate a first prediction pixel block candidate of the remaining color component pixel block(1020); restoring the first prediction-encoded color component pixel block(1030); predicting the remaining color component pixel block by using the restored remaining color component pixel block and generating a second prediction pixel block candidate; and determining one of the first prediction pixel block candidate and the second prediction pixel block candidate as the prediction pixel block of the remaining color component pixel block.

Description

영상의 부호화 방법 및 장치, 복호화 방법 및 장치{An video encoding/decoding method and apparatus}An video encoding / decoding method and apparatus

도 1a 내지 1c는 각각 하나의 컬러 영상을 구성하는 R(Red) 색 성분 영상, G(Green) 색 성분 영상 및 B(Blue) 색 성분 영상의 일 예를 나타낸 도면이다.1A to 1C are diagrams illustrating an example of an R (Red) color component image, a G (Green) color component image, and a B (Blue) color component image constituting one color image.

도 2a는 도 1b 및 도 1c의 G 색 성분 영상과 B 색 성분 영상 사이의 상관 관계를 나타낸 그래프이다.FIG. 2A is a graph illustrating a correlation between the G color component image and the B color component image of FIGS. 1B and 1C.

도 3은 본 발명의 바람직한 실시예에 따른 영상 부호화 장치의 구성을 나타낸 블록도이다.3 is a block diagram showing the configuration of a video encoding apparatus according to a preferred embodiment of the present invention.

도 4는 도 3의 예측 화소 블록 생성부(314)의 구성을 구체적으로 나타낸 블록도이다.4 is a block diagram illustrating in detail the configuration of the prediction pixel block generator 314 of FIG. 3.

도 5는 본 발명의 바람직한 일 실시예에 따른 영상 부호화 방법을 나타낸 플로우 차트이다.5 is a flowchart illustrating an image encoding method according to an exemplary embodiment of the present invention.

도 6a 및 도 6b는 도 4의 제 1 예측 화소 블록 후보 생성부(314a)에서 나머지 색 성분 화소 블록의 제 1 예측 화소 블록 후보 생성 과정을 설명하기 위한 도면이다.6A and 6B are diagrams for describing a process of generating a first prediction pixel block candidate of the remaining color component pixel blocks by the first prediction pixel block candidate generator 314a of FIG. 4.

도 7a는 입력 영상에 구비된 G 색 성분 영상의 16×16 화소 블록, 도 7b는 입력 영상에 구비된 B 색 성분 영상의 16×16 화소 블록, 도 7c는 입력 영상에 구 비된 R 색 성분 영상의 16×16 화소 블록을 나타낸 도면이다.FIG. 7A shows a 16 × 16 pixel block of a G color component image included in an input image, FIG. 7B shows a 16 × 16 pixel block of a B color component image included in the input image, and FIG. 7C shows an R color component image provided in the input image. Shows a 16 by 16 pixel block.

도 8a는 본 발명에 따른 영상 부호화 방법 및 장치에서 8×8 화소 블록의 처리 순서를 나타낸 도면이고, 도 8b는 본 발명에 따른 영상 부호화 방법 및 장치에서 4×4 화소 블록의 처리 순서를 나타낸 도면이다.8A is a diagram illustrating a processing sequence of 8 × 8 pixel blocks in the image encoding method and apparatus according to the present invention, and FIG. 8B is a diagram illustrating a processing sequence of 4 × 4 pixel blocks in the video encoding method and apparatus according to the present invention. to be.

도 9는 본 발명의 바람직한 실시예에 따른 영상 복호화 장치의 구성을 나타낸 도면이다.9 is a diagram illustrating a configuration of an image decoding apparatus according to a preferred embodiment of the present invention.

도 10은 본 발명의 바람직한 실시예에 따른 영상 복호화 방법을 나타낸 플로우 차트이다.10 is a flowchart illustrating an image decoding method according to a preferred embodiment of the present invention.

본 발명은 영상의 부호화 및 복호화에 관한 것으로, 보다 상세하게는 영상을 구성하는 복수 개의 색 성분들 사이의 상관 관계(correlation)를 이용하여 어느 하나의 색 성분 영상의 움직임 예측 정보 또는 복원된 하나의 색 성분 영상으로부터 다른 색 성분 영상을 예측함으로써 부호화 효율을 향상시키는 영상의 부호화 방법 및 장치, 복호화 방법 및 장치에 관한 것이다.The present invention relates to encoding and decoding of an image. More particularly, the present invention relates to motion prediction information of one color component image or a reconstructed one by using correlation between a plurality of color components constituting the image. An image encoding method and apparatus, and a decoding method and apparatus for improving encoding efficiency by predicting another color component image from a color component image.

일반적으로 영상을 취득할 때 최초 영상은 RGB 컬러 포맷 형태로 취득된다. RGB 컬러 포맷 영상을 부호화할 때에는 일반적으로 YUV(혹은 YCbCr) 등의 컬러 포맷으로 변환한다. 이 때 Y는 흑백 영상으로 휘도 성분을 갖고 U(혹은 Cb) 및 V(혹은 Cr)는 색 성분을 갖는다. RGB 영상에서는 정보가 R, G 및 B에 골고루 분포되어 있으나, YUV(혹은 YCbCr) 영상에서는 정보가 Y 성분에 몰리게 되고 U(혹은 Cb) 및 V(혹은 Cr)에는 정보의 양이 줄어든다. 따라서 압축을 할 경우 압축 효율이 높아진다는 장점이 있다. 압축 효율을 추가적으로 개선하기 위하여, 일반적으로 YUV(혹은 YCbCr) 영상의 색도성분 U(혹은 Cb) 및 V(혹은 Cr)을 1/4 크기로 샘플링(sampling)하여 구성한 YUV(혹은 YCbCr) 4:2:0 영상을 사용한다.In general, when acquiring an image, the first image is acquired in the form of an RGB color format. When encoding an RGB color format image, it is generally converted to a color format such as YUV (or YCbCr). In this case, Y is a black-and-white image and luminance component, and U (or Cb) and V (or Cr) have color components. In the RGB image, the information is distributed evenly in R, G, and B. In the YUV (or YCbCr) image, the information is concentrated in the Y component, and the amount of information is reduced in the U (or Cb) and V (or Cr). Therefore, the compression has the advantage that the compression efficiency is increased. In order to further improve the compression efficiency, a YUV (or YCbCr) 4: 2 sampled by sampling the chromatic components U (or Cb) and V (or Cr) of the YUV (or YCbCr) image in 1/4 size is generally used. : 0 Use video.

그러나, YUV(혹은 YCbCr) 4:2:0 영상에서 U(혹은 Cb) 및 V(혹은 Cr)을 1/4 크기로 샘플링하는 것은 색상 왜곡이 발생하여 고화질의 응용에는 적합하지 않다. 따라서 U(혹은 Cb) 및 V(혹은 Cr)의 샘플링 과정이 없는 YUV(혹은 YCbCr) 4:4:4 영상을 효과적으로 부호화하는 방법이 필요하다. 최근에는 RGB 영상을 YUV(혹은 YCbCr)로 변환할 때 발생하는 색상 왜곡을 제거하기 위하여 RGB 4:4:4 영상을 직접 부호화하는 레지듀얼 색 변환(Residual Color Transform:RCT)이라는 기술이 제안된 바 있다.However, sampling U (or Cb) and V (or Cr) in 1/4 sizes in a YUV (or YCbCr) 4: 2: 0 image produces color distortion and is not suitable for high quality applications. Therefore, there is a need for a method of effectively encoding a YUV (or YCbCr) 4: 4: 4 image without U (or Cb) and V (or Cr) sampling. Recently, a technique called residual color transform (RCT), which directly encodes an RGB 4: 4: 4 image, has been proposed to remove color distortion generated when converting an RGB image into YUV (or YCbCr). have.

이와 같이 YUV(혹은 YCbCr) 4:4:4 및 RGB 4:4:4 영상과 같이 색 성분 간에 같은 해상도를 갖는 영상을 바로 부호화할 경우 종래의 부호화 방법을 적용하면 부호화 효율이 떨어진다. 따라서 YUV(혹은 YCbCr) 4:4:4 영상을 부호화하거나 RGB 입력 영상을 YUV(혹은 YCbCr)로 변환하지 않고 그대로 RGB 도메인에서 부호화할 때, 영상의 통계적 특성에 맞추어 예측을 수행하여 고화질을 유지하면서도 부호화 효율을 높일 수 있는 방안이 필요하다.As described above, in case of directly encoding an image having the same resolution between color components such as YUV (or YCbCr) 4: 4: 4 and RGB 4: 4: 4 image, the coding efficiency is lowered when the conventional encoding method is applied. Therefore, when encoding YUV (or YCbCr) 4: 4: 4 image or encoding RGB input image without conversion into YUV (or YCbCr) as it is in the RGB domain, the prediction is performed according to the statistical characteristics of the image to maintain high image quality. There is a need for a method for improving coding efficiency.

본 발명이 이루고자 하는 기술적 과제는 RGB 컬러 포맷 입력 영상을 다른 컬 러 포맷으로 변환하지 않고 RGB 각 색 성분 사이의 상관 관계를 고려하여 RGB 중 어느 하나의 색 성분의 움직임 예측 정보 또는 복원된 하나의 색 성분 영상으로부터 다른 색 성분의 영상을 예측함으로써 부호화 효율을 향상시키는 영상의 부호화 방법 및 장치, 복호화 방법 및 장치를 제공하는 데에 목적이 있다.SUMMARY OF THE INVENTION The present invention has been made in view of the correlation between each color component of RGB without converting an RGB color format input image to another color format, and the motion prediction information of one of the color components of RGB or the restored one color An object of the present invention is to provide an encoding method and apparatus for decoding an image, and a decoding method and apparatus for improving encoding efficiency by predicting an image of another color component from the component image.

상기와 같은 기술적 과제를 해결하기 위한 본 발명에 따른 영상의 부호화 방법은 (a) 입력 영상에 구비된 적어도 두 가지 색 성분들의 영상들 중 제 1 색 성분 영상의 소정 크기의 화소 블록에 대한 예측 부호화를 수행하는 단계; (b) 상기 제 1 색 성분 화소 블록에 대응되는 나머지 색 성분 화소 블록에 대한 움직임 예측을 수행하여 상기 나머지 색 성분 화소 블록의 제 1 예측 화소 블록 후보를 생성하는 단계; (c) 상기 예측 부호화된 제 1 색 성분 화소 블록을 복원하는 단계; (d) 상기 복원된 제 1 색 성분 화소 블록을 이용하여 상기 나머지 색 성분 화소 블록을 예측하여 제 2 예측 화소 블록 후보를 생성하는 단계; 및 (e) 상기 제 1 예측 화소 블록 후보와 제 2 예측 화소 블록 후보 중 하나를 상기 나머지 색 성분 화소 블록의 예측 화소 블록으로 결정하는 단계를 포함하는 것을 특징으로 한다.In order to solve the above technical problem, an image encoding method according to the present invention includes (a) prediction encoding of a pixel block having a predetermined size of a first color component image among images of at least two color components included in an input image. Performing; (b) generating a first prediction pixel block candidate of the remaining color component pixel blocks by performing motion prediction on the remaining color component pixel blocks corresponding to the first color component pixel block; (c) reconstructing the predictively coded first color component pixel block; (d) generating a second prediction pixel block candidate by predicting the remaining color component pixel blocks using the reconstructed first color component pixel blocks; And (e) determining one of the first prediction pixel block candidate and the second prediction pixel block candidate as a prediction pixel block of the remaining color component pixel blocks.

본 발명에 따른 영상 부호화 장치는 입력 영상에 구비된 적어도 두 가지 색 성분들의 영상들 중 이전에 예측 부호화된 제 1 색 성분 영상의 소정 크기의 화소 블록에 대응되는 나머지 색 성분 화소 블록에 대한 움직임 예측을 수행하여 상기 나머지 색 성분 화소 블록의 제 1 예측 화소 블록 후보를 생성하는 제 1 예측 화소 블록 후보 생성부; 상기 예측 부호화된 제 1 색 성분 화소 블록을 복원하는 복원 부; 상기 복원된 제 1 색 성분 화소 블록을 이용하여 상기 나머지 색 성분 화소 블록을 예측하여 상기 나머지 색 성분 화소 블록의 제 2 예측 화소 블록 후보를 생성하는 제 2 예측 화소 블록 후보 생성부; 상기 제 1 예측 화소 블록 후보와 상기 제 2 예측 화소 블록 후보 중 하나를 상기 나머지 색 성분 화소 블록의 예측 화소 블록 후보로 결정하는 결정부를 포함하는 것을 특징으로 한다.According to an embodiment of the present invention, an image encoding apparatus predicts a motion of a pixel block of a remaining color component corresponding to a pixel block of a predetermined size of a first color component image previously predicted and encoded among images of at least two color components included in an input image. A first prediction pixel block candidate generator configured to generate a first prediction pixel block candidate of the remaining color component pixel blocks by performing a? A reconstruction unit for reconstructing the predictively coded first color component pixel block; A second prediction pixel block candidate generator configured to predict the remaining color component pixel blocks using the reconstructed first color component pixel blocks to generate a second prediction pixel block candidate of the remaining color component pixel blocks; And a determination unit configured to determine one of the first prediction pixel block candidate and the second prediction pixel block candidate as a prediction pixel block candidate of the remaining color component pixel blocks.

본 발명에 따른 영상의 복호화 방법은 (a) 입력 비트스트림에 구비된 적어도 두 가지 색 성분들의 부호화된 영상들 중 제 1 색 성분 영상의 소정 크기의 화소 블록을 복호화하는 단계; (b) 상기 비트스트림에 구비된 예측 모드 정보에 따라서 상기 제 1 색 성분 화소 블록에 대응되는 나머지 색 성분 화소 블록에 대한 움직임 예측 또는 상기 복호화된 제 1 색 성분 화소 블록을 이용한 예측을 통해 상기 나머지 색 성분 화소 블록의 예측 화소 블록을 생성하는 단계; 및 (c) 상기 생성된 나머지 색 성분 화소 블록의 예측 화소 블록을 이용하여 상기 나머지 색 성분 화소 블록을 복호화하는 단계를 포함하는 것을 특징으로 한다.An image decoding method according to the present invention includes: (a) decoding a pixel block having a predetermined size of a first color component image among encoded images of at least two color components included in an input bitstream; (b) the remainder through motion prediction for the remaining color component pixel blocks corresponding to the first color component pixel block or prediction using the decoded first color component pixel block according to the prediction mode information included in the bitstream. Generating a prediction pixel block of the color component pixel block; And (c) decoding the remaining color component pixel blocks using the generated prediction pixel blocks of the remaining color component pixel blocks.

본 발명에 따른 영상의 복호화 장치는 입력 비트스트림에 구비된 적어도 두 가지 색 성분들의 부호화된 영상들 중 제 1 색 성분 영상의 소정 크기의 화소 블록을 복호화하는 제 1 복호화부; 상기 비트스트림에 구비된 예측 모드 정보에 따라서 상기 제 1 색 성분 화소 블록에 대응되는 나머지 색 성분 화소 블록에 대한 움직임 예측 또는 상기 복호화된 제 1 색 성분 화소 블록을 이용한 예측을 통해 상기 나머지 색 성분 화소 블록의 예측 화소 블록을 생성하는 예측 화소 블록 생성부; 및 상기 생성된 나머지 색 성분 화소 블록의 예측 화소 블록을 이용하여 나머지 색 성분 영상의 화소 블록을 복호화하는 제 2 복호화부를 포함하는 것을 특징으로 한다.An apparatus for decoding an image according to the present invention includes: a first decoder configured to decode a pixel block having a predetermined size of a first color component image among encoded images of at least two color components included in an input bitstream; The remaining color component pixels through motion prediction or prediction using the decoded first color component pixel block corresponding to the first color component pixel block according to the prediction mode information included in the bitstream. A prediction pixel block generation unit generating a prediction pixel block of the block; And a second decoder which decodes the pixel blocks of the remaining color component images by using the generated prediction pixel blocks of the remaining color component pixel blocks.

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예에 대하여 상세히 설명한다. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1a 내지 1c는 각각 하나의 컬러 영상을 구성하는 R(Red) 색 성분 영상, G(Green) 색 성분 영상 및 B(Blue) 색 성분 영상의 일 예를 나타낸 도면이고, 도 2a는 도 1b 및 도 1c의 G 색 성분 영상과 B 색 성분 영상 사이의 상관 관계를 나타낸 그래프이며, 도 2b는 도 1a 및 도 1b의 R 색 성분 영상과 G 색 성분 영상 사이의 상관 관계를 나타낸 그래프이다.1A to 1C are diagrams illustrating examples of an R (Red) color component image, a G (Green) color component image, and a B (Blue) color component image constituting one color image, respectively, and FIGS. 2A are FIGS. 1C is a graph illustrating a correlation between a G color component image and a B color component image, and FIG. 2B is a graph showing a correlation between the R color component image and the G color component image of FIGS. 1A and 1B.

일반적으로 컬러 영상을 부호화할 때에 각각의 색 성분 영상별로 예측 부호화를 수행하여 각각의 색 성분 내에서 중복되는 정보를 제거한다. 도 1a 내지 도 1c를 참조하면, 하나의 컬러 영상을 구성하는 동일 위치의 RGB 색 성분 영상들의 화소값은 유사한 화소값을 갖으며, 이는 도 2a 및 2b에 도시된 상관 관계 그래프를 통해 재확인할 수 있다. 또한, 움직임 예측 및 보상을 수행한 후의 RGB 색 성분 영상의 각 화소 블록 사이에도 강한 상관 관계가 존재한다.In general, when encoding a color image, prediction encoding is performed for each color component image to remove overlapping information in each color component. Referring to FIGS. 1A to 1C, pixel values of RGB color component images of the same position constituting one color image have similar pixel values, which can be reconfirmed through the correlation graphs illustrated in FIGS. 2A and 2B. have. In addition, a strong correlation exists between each pixel block of the RGB color component image after performing motion prediction and compensation.

따라서, 본 발명은 영상을 구성하는 복수 개의 색 성분 영상들 중 소정의 제 1 색 성분 영상은 일반적인 영상 부호화 방식, 예를 들어 H.264 규격에 따라서 예측 부호화를 수행한 다음, 각각의 색 성분 영상 사이의 상관 관계를 고려하여 제 1 색 성분 영상의 움직임 예측 결과 생성된 움직임 벡터를 이용하여 다른 나머지 색 성분 영상의 움직임 예측 및 보상을 수행하거나, 복원된 제 1 색 성분 영상으로부터 다른 나머지 색 성분 영상을 예측하는 부호화 방법 및 장치를 제공한다. 일 예 로, 영상이 RGB의 세 가지 색 성분을 포함하고 있다면, 본 발명에 따른 영상 부호화 방법 및 장치는 먼저 G 색 성분 영상을 예측 부호화하고, G 색 성분 영상의 움직임 예측시에 결정된 움직임 벡터와 동일한 움직임 벡터를 이용하여 대응되는 R 색 성분 영상 및 B 색 성분 영상의 움직임 예측 및 보상을 수행하거나, 복원된 G 색 성분 영상을 이용하여 R 색 성분 영상 및 B 색 성분 영상을 예측하거나, 복원된 G 색 성분 영상을 이용하여 R 색 성분 영상을 예측하고 복원된 R 색 성분 영상을 이용하여 B 색 성분 영상을 예측한다. 전술한 예에서 색 성분 영상의 부호화 순서는 상기 예에 한정되지 않고 얼마든지 변경될 수 있다. Therefore, according to the present invention, a predetermined first color component image of a plurality of color component images constituting the image is subjected to predictive encoding according to a general image encoding scheme, for example, the H.264 standard, and then each color component image. The motion vector generated from the motion prediction result of the first color component image is considered in consideration of the correlation therebetween to perform motion prediction and compensation of the other remaining color component images, or the other remaining color component images from the reconstructed first color component image. Provided are an encoding method and an apparatus for predicting. As an example, if an image includes three color components of RGB, the image encoding method and apparatus according to the present invention first predictively encode a G color component image, and then determine a motion vector determined at the time of motion estimation of the G color component image. Motion estimation and compensation of the corresponding R color component image and B color component image are performed using the same motion vector, or the R color component image and B color component image are predicted or reconstructed using the reconstructed G color component image. The R color component image is predicted using the G color component image, and the B color component image is predicted using the reconstructed R color component image. In the above-described example, the coding order of the color component image is not limited to the above example and may be changed as much as possible.

또 다른 실시 예로, 본 발명에 따른 영상 부호화 방법 및 장치는 먼저 G 색 성분 영상을 예측 부호화한 후, R 색 성분 영상 및 B 색 성분 영상에 대해 움직임 예측 및 보상을 수행하거나, 복원된 G 색 성분 영상을 이용하여 R 색 성분 영상 및 B 색 성분 영상을 예측한다. 혹은, 먼저 G 색 성분 영상을 예측 부호화한 후, R 색 성분 영상 및 B 색 성분 영상에 대해 움직임 예측 및 보상을 수행하거나, 복원된 G 색 성분 영상을 이용하여 R 색 성분 영상을 예측하고 복원된 R 색 성분 영상을 이용하여 B 색 성분 영상을 예측한다. 전술한 예에서 색 성분 영상의 부호화 순서는 상기 예에 한정되지 않고 얼마든지 변경될 수 있다.According to another embodiment, the image encoding method and apparatus according to the present invention first predictively encode a G color component image, and then perform motion prediction and compensation on the R color component image and the B color component image, or reconstruct the G color component. The R color component image and the B color component image are predicted using the image. Alternatively, first, the G color component image is predictively encoded, and then motion prediction and compensation are performed on the R color component image and the B color component image, or the R color component image is predicted and reconstructed using the reconstructed G color component image. The B color component image is predicted using the R color component image. In the above-described example, the coding order of the color component image is not limited to the above example and may be changed as much as possible.

도 3은 본 발명의 바람직한 실시예에 따른 영상 부호화 장치의 구성을 나타낸 블록도이다. 이하에서는 설명의 편의를 위하여 H.264 규격에 따른 영상 부호화 장치를 중심으로 설명하지만, 본 발명에 따른 영상 부호화 장치는 레지듀(residue) 코딩을 수행하는 다른 영상 부호화 장치에도 적용가능하다.3 is a block diagram showing the configuration of a video encoding apparatus according to a preferred embodiment of the present invention. Hereinafter, for the convenience of description, a description will be given of an image encoding apparatus based on the H.264 standard. However, the image encoding apparatus according to the present invention may be applied to other image encoding apparatuses that perform residue coding.

도 3을 참조하면, 영상 부호화 장치(300)는 움직임 추정부(302), 움직임 보상부(304), 인트라 예측부(306), 감산부(307), 변환부(308), 양자화부(309), 재정렬부(310), 엔트로피 코딩부(311), 역양자화부(312), 역변환부(313), 예측 화소 블록 생성부(314), 가산부(315), 필터(316), 프레임 메모리(317) 및 제어부(318)를 구비한다. Referring to FIG. 3, the image encoding apparatus 300 may include a motion estimator 302, a motion compensator 304, an intra predictor 306, a subtractor 307, a transformer 308, and a quantizer 309. ), Reordering unit 310, entropy coding unit 311, inverse quantization unit 312, inverse transform unit 313, prediction pixel block generation unit 314, adder 315, filter 316, frame memory 317 and the control unit 318 are provided.

움직임 추정부(302) 및 움직임 보상부(304)는 현재 화소 블록의 예측 화소 블록을 이전 또는 이후의 참조 프레임에서 탐색하는 인터 예측을 수행한다. 움직임 추정부(302)는 제 1 색 성분 영상의 소정 크기의 화소 블록에 대한 움직임 예측 결과 결정된 움직임 벡터를 움직임 보상부(304)와 예측 화소 블록 생성부(314)에 전달한다. 후술되는 바와 같이, 제 1 색 성분 화소 블록의 움직임 벡터는 제 1 색 성분 화소 블록에 대응되는 나머지 색 성분 화소 블록의 움직임 예측 및 보상을 위한 움직임 벡터로 이용된다. 전술한 바와 같이, 제 1 색 성분 화소 블록의 움직임 벡터를 사용하지 않고, 나머지 색 성분 화소 블록의 움직임 예측을 통해 움직임 벡터를 생성하는 것도 가능하다.The motion estimator 302 and the motion compensator 304 perform inter prediction for searching the prediction pixel block of the current pixel block in a previous or subsequent reference frame. The motion estimator 302 transmits the motion vector determined as a result of the motion prediction for the pixel block of the first color component image to the motion compensator 304 and the prediction pixel block generator 314. As described later, the motion vector of the first color component pixel block is used as a motion vector for motion prediction and compensation of the remaining color component pixel blocks corresponding to the first color component pixel block. As described above, it is also possible to generate the motion vector through the motion prediction of the remaining color component pixel blocks without using the motion vector of the first color component pixel block.

인트라 예측부(306)는 현재 화소 블록의 예측 화소 블록을 현재 프레임으로부터 예측하는 인트라 예측을 수행한다. 구체적으로, 인트라 예측부(306)는 제 1 색 성분 영상을 소정 크기의 화소 블록으로 분할한다. 그리고, 인트라 예측부(306)는 분할된 제 1 색 성분 화소 블록에 대해서 그 크기에 따라 이용가능한 인트라 예측 모드, 예를 들어 인트라 16×16 예측 모드, 인트라 4×4 예측 모드, 인트라 8×8 예측 모드에 따라서 인트라 예측을 수행한다.The intra predictor 306 performs intra prediction to predict the predicted pixel block of the current pixel block from the current frame. In detail, the intra predictor 306 divides the first color component image into pixel blocks having a predetermined size. The intra prediction unit 306 may use the intra prediction modes available for the divided first color component pixel blocks according to their sizes, for example, the intra 16 × 16 prediction mode, the intra 4 × 4 prediction mode, and the intra 8 × 8. Intra prediction is performed according to the prediction mode.

감산부(307)는 입력된 제 1 색 성분 원 영상의 해당 화소 블록으로부터 인터 예측 또는 인트라 예측을 통해 생성된 예측 화소 블록을 빼서 제 1 레지듀(residue)를 생성한다. 생성된 제 1 레지듀는 변환부(308)에 의하여 주파수 영역으로 변환되고, 양자화부(309)에서 양자화된다. 양자화된 제 1 레지듀 성분의 변환 계수들은 재정렬부(310)에서 재정렬된 다음, 엔트로피 코딩부(314)에 의하여 부호화되어 비트스트림 형태로 출력된다.The subtractor 307 generates a first residue by subtracting the prediction pixel block generated through inter prediction or intra prediction from the corresponding pixel block of the input first color component original image. The generated first residue is converted into a frequency domain by the converter 308 and quantized by the quantizer 309. The transform coefficients of the quantized first residue component are rearranged by the reordering unit 310, and then encoded by the entropy coding unit 314 and output in a bitstream form.

변환 및 양자화된 제 1 레지듀는 역양자화부(312)와 역변환부(313)를 통해 다시 역양자화 및 역변환된다. 가산부(315)는 역양자화 및 역변환된 제 1 레지듀와 제 1 색 성분 예측 화소 블록을 더하여 제 1 색 성분 화소 블록을 복원한다. 이렇게 복원된 제 1 색 성분 영상은 디블록킹 필터링을 수행하는 필터(316)를 거친 후, 프레임 메모리(317)에 저장되었다가 다음 프레임에 대한 인터 예측을 수행하는데 사용된다. 또한, 복원된 제 1 색 성분 화소 블록은 다음 화소 블록의 인트라 예측을 위하여 인트라 예측부(306)로 입력되어 참조값으로 이용된다. 또한, 복원된 제 1 색 성분 화소 블록은 나머지 색 성분 화소 블록의 예측을 위하여 예측 화소 블록 생성부(314)로 입력된다.The transformed and quantized first residue is inversely quantized and inversely transformed by the inverse quantizer 312 and the inverse transformer 313. The adder 315 reconstructs the first color component pixel block by adding the first quantized and inverse transformed first residue and the first color component prediction pixel block. The reconstructed first color component image is passed through a filter 316 to perform deblocking filtering, and then stored in the frame memory 317 and used to perform inter prediction on the next frame. In addition, the reconstructed first color component pixel block is input to the intra predictor 306 and used as a reference value for intra prediction of the next pixel block. Also, the reconstructed first color component pixel block is input to the prediction pixel block generator 314 to predict the remaining color component pixel blocks.

도 4는 도 3의 예측 화소 블록 생성부(314)의 구성을 구체적으로 나타낸 블록도이다.4 is a block diagram illustrating in detail the configuration of the prediction pixel block generator 314 of FIG. 3.

예측 화소 블록 생성부(314)는 컬러 영상을 구성하는 색 성분 영상들의 상관 관계를 이용하여 제 1 색 성분 영상의 움직임 예측 결과 생성된 움직임 벡터를 이용하여 다른 나머지 색 성분 영상의 움직임 예측 및 보상을 수행함으로써 나머지 색 성분 화소 블록의 제 1 예측 화소 블록 후보를 생성하고, 복원된 제 1 색 성분 영상으로부터 나머지 색 성분 화소 블록의 제 2 예측 화소 블록 후보를 생성하며, 생성된 제 1 예측 화소 블록 후보 및 제 2 예측 화소 블록 후보의 코스트를 비교하여 나머지 색 성분 화소 블록의 최종 예측 화소 블록을 결정하여 출력한다.The prediction pixel block generator 314 uses the motion vector generated as a result of the motion prediction of the first color component image by using the correlation between the color component images constituting the color image to perform motion prediction and compensation of other remaining color component images. By generating a first prediction pixel block candidate of the remaining color component pixel blocks, generating a second prediction pixel block candidate of the remaining color component pixel blocks from the reconstructed first color component image, and generating the generated first prediction pixel block candidate. And compares the costs of the second prediction pixel block candidates to determine and output a final prediction pixel block of the remaining color component pixel blocks.

도 4를 참조하면, 예측 화소 블록 생성부(314)는 제 1 예측 화소 블록 후보 생성부(314a), 제 2 예측 화소 블록 후보 생성부(314b) 및 결정부(314c)를 포함한다.Referring to FIG. 4, the prediction pixel block generator 314 includes a first prediction pixel block candidate generator 314a, a second prediction pixel block candidate generator 314b, and a determiner 314c.

제 1 예측 화소 블록 후보 생성부(314a)는 움직임 추정부(302)로부터 입력되는 제 1 색 성분 화소 블록의 움직임 벡터를 이용하여 제 1 색 성분 화소 블록에 대응하는 나머지 색 성분 화소 블록의 움직임 예측 및 보상을 수행하여 나머지 색 성분 화소 블록의 제 1 예측 화소 블록 후보를 생성한다. 전술한 바와 같이, 나머지 색 성분 화소 블록 자신의 움직임 예측 및 보상을 수행하여 나머지 색 성분 화소 블록의 제 1 예측 화소 블록 후보를 생성할 수도 있다.The first prediction pixel block candidate generator 314a predicts the motion of the remaining color component pixel blocks corresponding to the first color component pixel block by using the motion vector of the first color component pixel block input from the motion estimation unit 302. And performing compensation to generate a first prediction pixel block candidate of the remaining color component pixel blocks. As described above, the first prediction pixel block candidate of the remaining color component pixel blocks may be generated by performing motion prediction and compensation of the remaining color component pixel blocks.

제 2 예측 화소 블록 후보 생성부(314b)는 복원된 제 1 색 성분 영상의 소정 크기의 화소 블록으로부터 대응되는 나머지 색 성분 화소 블록을 예측한다. 전술한 도 2a 및 2b를 참조하면, 컬러 영상을 구성하는 색 성분 영상들의 화소값은 서로 상관 관계를 갖으며, 이를 1차 함수로 선형 모델링할 수 있다. 제 2 예측 화소 블록 후보 생성부(314b)는 선형적인 모델링 과정을 통해 생성된 예측자(pedictor)를 이용하여 제 1 색 성분 화소 블록의 복원된 화소값을 매개 변수로 하여 복원된 제 1 색 성분 화소 블록에 대응되는 나머지 색 성분 화소 블록의 제 2 예측 화소 블록 후보를 생성한다. 복원된 제 1 색 성분 영상의 화소 블록으로부터 나머지 색 성분 화소 블록의 예측을 위한 선형 모델링 과정의 구체적인 내용은 후술하기로 한다.The second prediction pixel block candidate generator 314b predicts a corresponding color component pixel block from the pixel block of a predetermined size of the reconstructed first color component image. 2A and 2B, the pixel values of the color component images constituting the color image have a correlation with each other and can be linearly modeled as a linear function. The second prediction pixel block candidate generator 314b uses a predictor generated through a linear modeling process to restore the first color component by using the restored pixel value of the first color component pixel block as a parameter. A second prediction pixel block candidate of the remaining color component pixel blocks corresponding to the pixel block is generated. Details of the linear modeling process for predicting the remaining color component pixel blocks from the pixel blocks of the reconstructed first color component image will be described later.

제 2 예측 화소 블록 후보 생성부(314b)는 RGB 컬러 입력 영상과 같이 3개 이상의 색 성분을 포함하고 있는 입력 영상을 예측 부호화할 때, 나머지 제 2 및 제 3 색 성분 화소 블록 모두를 복원된 제 1 색 성분 영상의 화소 블록을 이용하여 예측함으로써 제 2 및 제 3 색 성분 화소 블록 각각의 제 2 예측 화소 블록 후보를 생성할 수도 있고, 또는 제 2 색 성분 화소 블록의 제 2 예측 화소 블록 후보는 복원된 제 1 색 성분 화소 블록으로부터 예측하고 제 3 색 성분 화소 블록의 제 2 예측 화소 블록 후보는 복원된 제 2 색 성분 화소 블록으로부터 생성할 수도 있다. 즉, 제 2 예측 화소 블록 후보 생성부(314b)는 복원된 제 1 색 성분 화소 블록으로부터 나머지 색 성분 화소 블록의 제 2 예측 화소 블록 후보를 생성하거나, 이전에 처리되어 복원된 나머지 색 성분 화소 블록으로부터 다른 나머지 색 성분 화소 블록의 제 2 예측 화소 블록 후보를 생성할 수도 있다.When the second prediction pixel block candidate generator 314b predictively encodes an input image including three or more color components, such as an RGB color input image, the second prediction pixel block candidate generator 314b reconstructs all remaining second and third color component pixel blocks. A second prediction pixel block candidate of each of the second and third color component pixel blocks may be generated by predicting using the pixel block of the one color component image, or the second prediction pixel block candidate of the second color component pixel block is A prediction may be generated from the reconstructed first color component pixel block and a second prediction pixel block candidate of the third color component pixel block may be generated from the reconstructed second color component pixel block. That is, the second prediction pixel block candidate generator 314b generates a second prediction pixel block candidate of the remaining color component pixel blocks from the reconstructed first color component pixel block, or the remaining color component pixel blocks previously processed and reconstructed. May generate second prediction pixel block candidates of the other remaining color component pixel blocks from.

결정부(314c)는 나머지 색 성분 화소 블록의 제 1 예측 화소 블록 후보 및 제 2 예측 화소 블록 후보의 코스트를 비교하여 나머지 색 성분 화소 블록의 최종 예측 화소 블록을 결정한다. 일 예로, 결정부(314c)는 널리 알려진 비트율-왜곡 코스트(Rate-Distortion cost)를 적용하여, 제 1 및 제 2 예측 화소 블록 후보 각각에 대해서, 비트량과 화질의 왜곡을 계산하여 이 두 값을 더한 값이 가장 작은 예측 화소 블록 후보를 최종 예측 화소 블록으로 결정한다. 이 때 비트량은 변환 및 양자화를 거친 후 엔트로피 부호화를 하여 비트량을 계산할 수 있고, 화질의 왜곡은 영상을 복원하여 원본 영상과의 차이 값을 제곱하여 합산한 값의 평균을 사용할 수 있다. 또 다른 실시예로서, 연산량을 줄이기 위해 왜곡 코스트만을 비교하여 최종 예측 화소 블록을 선정할 수 있다.The determiner 314c determines the final prediction pixel block of the remaining color component pixel blocks by comparing the costs of the first prediction pixel block candidate and the second prediction pixel block candidate of the remaining color component pixel blocks. For example, the determiner 314c may apply a well-known rate-distortion cost to calculate the distortion of the bit amount and the image quality for each of the first and second prediction pixel block candidates, and then calculate the two values. The prediction pixel block candidate having the smallest value is added as the final prediction pixel block. In this case, the bit amount may be calculated by performing entropy encoding after converting and quantizing the bit amount. The distortion of the image quality may be the average of the sum of squared difference values from the original image by reconstructing the image. As another embodiment, the final prediction pixel block may be selected by comparing only the distortion cost in order to reduce the amount of computation.

다시 도 3을 참조하면, 감산부(307)는 제 2 및 제 3 색 성분 원 영상의 화소 블록으로부터 예측 화소 블록 생성부(314)에서 생성된 제 2 및 제 3 색 성분 예측 화소 블록을 빼서 제 2 및 제 3 레지듀를 생성한다. 제 2 및 제 3 레지듀는 전술한 제 1 레지듀와 마찬가지로 변환, 양자화 및 엔트로피 부호화 과정을 거쳐서 부호화되어 비트스트림 형태로 출력된다. Referring to FIG. 3 again, the subtractor 307 subtracts the second and third color component prediction pixel blocks generated by the prediction pixel block generator 314 from the pixel blocks of the second and third color component original images. Generate a second and third residue. Like the first residue described above, the second and third residues are encoded through a transform, quantization, and entropy encoding process, and are output in a bitstream form.

또한, 변환 및 양자화된 제 2 및 제 3 레지듀는 역양자화부(312)와 역변환부(313)를 통해 다시 역양자화 및 역변환되고, 가산부(315)는 역양자화 및 역변환된 제 2 및 제 3 레지듀와 예측 화소 블록 생성부(314)에서 생성된 제 2 및 제 3 색 성분 예측 화소 블록을 더하여 제 2 및 제 3 색 성분 화소 블록을 복원한다. 이렇게 복원된 제 2 및 제 3 색 성분 영상은 디블록킹 필터링을 수행하는 필터(316)를 거친 후, 프레임 메모리(317)에 저장되었다가 다음 프레임에 대한 인터 예측을 수행하는데 사용된다. 복원된 제 2 색 성분 영상의 화소 블록으로부터 제 3 색 성분 화소 블록을 예측하는 경우에는, 가산부(315)에서 복원된 제 2 색 성분 화소 블록은 다시 예측 화소 블록 생성부(314)로 입력된다.In addition, the transformed and quantized second and third residues are inversely quantized and inversely transformed by the inverse quantizer 312 and the inverse transformer 313, and the adder 315 is inversely quantized and inversely transformed. The third residue and the second and third color component prediction pixel blocks generated by the prediction pixel block generation unit 314 are added to reconstruct the second and third color component pixel blocks. The reconstructed second and third color component images are passed through a filter 316 that performs deblocking filtering, and are then stored in the frame memory 317 and used to perform inter prediction on the next frame. When the third color component pixel block is predicted from the pixel block of the reconstructed second color component image, the second color component pixel block reconstructed by the adder 315 is input to the prediction pixel block generator 314 again. .

제어부(318)는 영상 부호화 장치(300)의 각 구성 요소를 제어하는 한편, 현재 화소 블록의 예측 모드를 결정한다. 구체적으로 제어부(318)는 인터 예측된 영 상, 인트라 예측된 영상 및 본 발명에 따라 색 성분 영상 사이의 상관 관계를 이용하여 예측된 영상의 코스트를 계산하고, 예측된 영상 중에서 가장 작은 코스트를 갖는 예측 모드를 최종적인 예측 모드로 결정한다. 제어부(318)는 본 발명에 따라 예측된 영상의 코스트가 소정의 임계값보다 큰 경우에는 본 발명에 따른 예측 부호화 방법 대신에 종래 기술에 따른 인터 예측 또는 인트라 예측을 통해 각 색 성분 영상을 부호화하도록 선택할 수 있다.The controller 318 controls each component of the image encoding apparatus 300 and determines a prediction mode of the current pixel block. In detail, the control unit 318 calculates the cost of the predicted image using the correlation between the inter predicted image, the intra predicted image, and the color component image according to the present invention, and has the smallest cost among the predicted images. The prediction mode is determined as the final prediction mode. When the cost of the predicted image is greater than a predetermined threshold, the controller 318 encodes each color component image through inter prediction or intra prediction according to the prior art instead of the predictive encoding method according to the present invention. You can choose.

또한, 제어부(318)는 도 2a 및 도 2b에 도시된 바와 같은 각 색 성분 영상 사이의 상관 관계를 나타내는 기준값을 계산하고, 각 색 성분 영상 사이의 기준값이 소정 임계치 이하인 경우에는 본 발명에 따른 예측 부호화 방법 대신에 종래 기술에 따른 인터 예측 또는 인트라 예측을 통해 각 색 성분 영상을 부호화하도록 선택할 수 있다. 여기서, 기준값으로는 각 색 성분 사이의 산포도를 나타내는 분산이나 표준 편차 등이 이용될 수 있다. In addition, the controller 318 calculates a reference value indicating a correlation between each color component image as shown in FIGS. 2A and 2B, and when the reference value between each color component image is equal to or less than a predetermined threshold, prediction according to the present invention. Instead of the encoding method, each color component image may be selected to be encoded through inter prediction or intra prediction according to the prior art. Here, as a reference value, dispersion or standard deviation indicating a scatter diagram between each color component may be used.

도 5는 본 발명의 바람직한 일 실시예에 따른 영상 부호화 방법을 나타낸 플로우 차트이다. 이하 도 3 내지 도 5를 참조하여 본 발명에 따른 영상 부호화 장치의 동작 및 영상 부호화 방법에 대하여 설명한다.5 is a flowchart illustrating an image encoding method according to an exemplary embodiment of the present invention. Hereinafter, an operation and an image encoding method of an image encoding apparatus according to the present invention will be described with reference to FIGS. 3 to 5.

단계 510에서, 인트라 예측부(306)는 입력된 복수 개의 색 성분을 갖는 입력 영상들 중에서 선택된 제 1 색 성분 영상의 소정 크기의 화소 블록에 대한 예측 부호화를 수행한다. 전술한 바와 같이, 움직임 추정부(302) 및 움직임 보상부(304)는 제 1 색 성분 화소 블록에 대한 움직임 예측 및 보상을 수행하여 제 1 색 성분 화소 블록의 시간적 예측 화소 블록을 생성하며, 인트라 예측부(306)는 제 1 색 성 분 화소 블록에 대한 인트라 예측을 수행하여 공간적 예측 화소 블록을 생성한다. 제어부(318)는 제 1 색 성분 화소 블록의 시간적 예측 화소 블록 및 공간적 예측 화소 블록에 대해서 비트량과 화질의 왜곡을 계산하여 가장 작은 코스트를 갖는 예측 화소 블록을 제 1 색 성분 화소 블록의 최종 예측 화소 블록으로 결정한다. 결정된 최종 예측 화소 블록과 제 1 색 성분 원 화소 블록의 차이인 제 1 레지듀는 변환, 양자화 및 엔트로피 부호화를 거쳐서 비트스트림 형태로 출력된다.In operation 510, the intra predictor 306 performs prediction encoding on a pixel block of a predetermined size of a first color component image selected from among input images having a plurality of input color components. As described above, the motion estimator 302 and the motion compensator 304 perform motion prediction and compensation on the first color component pixel block to generate a temporally predicted pixel block of the first color component pixel block. The predictor 306 generates a spatial predicted pixel block by performing intra prediction on the first color component pixel block. The control unit 318 calculates the distortion of the bit amount and the image quality of the temporal prediction pixel block and the spatial prediction pixel block of the first color component pixel block, and finally predicts the prediction pixel block having the smallest cost of the first color component pixel block. Determined by the pixel block. The first residue, which is the difference between the determined final prediction pixel block and the first color component original pixel block, is output in a bitstream form through transformation, quantization, and entropy encoding.

단계 520에서, 예측 화소 블록 생성부(314)의 제 1 예측 화소 블록 후보 생성부(314a)는 움직임 추정부(302)로부터 입력된 제 1 색 성분 화소 블록의 움직임 벡터를 제 1 색 성분 화소 블록에 대응되는 나머지 색 성분 화소 블록의 움직임 벡터로 결정하고, 결정된 나머지 색 성분 화소 블록의 움직임 벡터가 가리키는 참조 프레임의 화소 블록을 나머지 색 성분 화소 블록의 제 1 예측 화소 블록 후보로 결정한다.In operation 520, the first prediction pixel block candidate generator 314a of the prediction pixel block generator 314 may convert the motion vector of the first color component pixel block input from the motion estimation unit 302 into the first color component pixel block. The pixel block of the reference frame indicated by the determined motion vector of the remaining color component pixel block is determined as the first prediction pixel block candidate of the remaining color component pixel block.

도 6a 및 도 6b는 도 4의 제 1 예측 화소 블록 후보 생성부(314a)에서 나머지 색 성분 화소 블록의 제 1 예측 화소 블록 후보 생성 과정을 설명하기 위한 도면이다. 도 6a에서 도면 부호 610은 G 색 성분 현재 프레임(Gt)에서 부호화되는 G 색 성분 화소 블록을 나타내며, 도면부호 611은 G 색 성분 화소 블록(610)의 움직임 예측시에 참조되는 G 색 성분 참조 프레임(Gt -1)에서 현재 프레임의 G 색 성분 화소 블록(610)과 동일한 위치의 G 색 성분 화소 블록을 나타내며, 도면 부호 612는 움직임 예측 결과 결정된 G 색 성분 참조 화소 블록을 나타낸다. 도 6b에서 도 면 부호 620은 R 색 성분 현재 프레임(Rt)에서 부호화되는 R 색 성분 화소 블록을 나타내며, 도면부호 621은 R 색 성분 화소 블록(610)의 움직임 예측시에 참조되는 R 색 성분 참조 프레임(Rt -1)에서 현재 프레임의 R 색 성분 화소 블록(620)과 동일한 위치의 R 색 성분 화소 블록을 나타내며, 도면 부호 622는 움직임 예측 결과 결정된 R 색 성분 참조 화소 블록을 나타낸다.6A and 6B are diagrams for describing a process of generating a first prediction pixel block candidate of the remaining color component pixel blocks by the first prediction pixel block candidate generator 314a of FIG. 4. In FIG. 6A, reference numeral 610 denotes a G color component pixel block coded in a G color component current frame G t , and reference numeral 611 refers to a G color component referred to when a motion of the G color component pixel block 610 is predicted. A G color component pixel block at the same position as the G color component pixel block 610 of the current frame in the frame G t -1 is indicated by reference numeral 612 to denote a G color component reference pixel block determined as a result of the motion prediction. In FIG. 6B, reference numeral 620 denotes an R color component pixel block coded in an R color component current frame R t , and reference numeral 621 denotes an R color component referred to when a motion of the R color component pixel block 610 is predicted. An R color component pixel block at the same position as the R color component pixel block 620 of the current frame in the reference frame R t −1 is indicated by reference numeral 622 to denote an R color component reference pixel block determined as a result of motion prediction.

만약 제 1 색 성분을 G 색이라고 하면, 제 1 예측 화소 블록 후보 생성부(314a)는 움직임 추정부(302)에서 생성된 G 색 성분 화소 블록(610)의 움직임 벡터(MVG)와 동일한 움직임 벡터를 대응되는 R 색 성분 화소 블록(620)의 움직임 벡터(MVR)로 결정한다. 그리고, 제 1 예측 화소 블록 후보 생성부(314a)는 G 색 성분 화소 블록(610)의 움직임 벡터(MVG)가 참조하는 G 색 성분 참조 프레임(Gt -1)과 시간상으로 동일한 R 색 성분 참조 프레임(Rt -1) 내에서 G 색 성분 화소 블록(610)의 움직임 벡터(MVG)와 동일한 R 색 성분 화소 블록의 움직임 벡터(MVR)가 가리키는 참조 화소 블록(622)을 현재 R 색 성분 화소 블록의 제 1 예측 화소 블록후보로 결정한다. 유사하게, 제 1 예측 화소 블록 후보 생성부(314a)는 G 색 성분 화소 블록(610)의 움직임 벡터(MVG)가 참조하는 G 색 성분 참조 프레임(Gt -1)과 시간상으로 동일한 B 색 성분 참조 프레임 내에서 G 색 성분 화소 블록(610)의 움직임 벡터(MVG)와 동일한 B 색 성분 화소 블록의 움직임 벡터(MVB)가 가리키는 참조 화소 블록을 현재 B 색 성분 화소 블록의 제 1 예측 화소 블록 후보로 결정한다. 이 경우 B와 R 색 성분 화소 블록에 대응하는 움직임 벡터들은 복호화단으로 전송하지 않아도 된다. 한편, 전술한 바와 같이, 움직임 추정부(302)는 B 및 R 색 성분 화소 블록의 움직임 예측을 수행하여 해당 움직임 벡터에 대응하는 제 1 예측 화소 블록의 화소 블록 후보를 결정할 수도 있으며, 이 경우에는 B 및 R 색 성분 화소 블록에 대응하는 움직임 벡터 정보를 복호화단으로 전송하여야 한다.If the first color component is called G color, the first prediction pixel block candidate generator 314a may have the same motion as the motion vector MV G of the G color component pixel block 610 generated by the motion estimation unit 302. The vector is determined as the motion vector MV R of the corresponding R color component pixel block 620. In addition, the first prediction pixel block candidate generator 314a may have an R color component that is equal in time to the G color component reference frame G t −1 referred to by the motion vector MV G of the G color component pixel block 610. In the reference frame R t -1 , the current R blocks the reference pixel block 622 pointed to by the motion vector MV R of the same R color component pixel block as the motion vector MV G of the G color component pixel block 610. The first prediction pixel block candidate of the color component pixel block is determined. Similarly, the first prediction pixel block candidate generator 314a may have the same B color in time as the G color component reference frame G t −1 referred to by the motion vector MV G of the G color component pixel block 610. The first prediction of the current B color component pixel block indicates a reference pixel block indicated by the motion vector MV B of the B color component pixel block that is the same as the motion vector MV G of the G color component pixel block 610 in the component reference frame. Determined as a pixel block candidate. In this case, motion vectors corresponding to the B and R color component pixel blocks need not be transmitted to the decoding end. Meanwhile, as described above, the motion estimation unit 302 may determine the pixel block candidate of the first prediction pixel block corresponding to the motion vector by performing motion prediction of the B and R color component pixel blocks. Motion vector information corresponding to the B and R color component pixel blocks should be transmitted to the decoding end.

단계 530에서, 제 1 색 성분 화소 블록에 대한 예측 부호화시에 생성된 제 1 레지듀를 역양자화 및 역변환하고, 제 1 색 성분 예측 화소 블록과 역양자화 및 역변환된 제 1 레지듀를 더함으로서 제 1 색 성분 화소 블록을 복원한다.In operation 530, the first residue generated during the prediction encoding on the first color component pixel block is inversely quantized and inversely transformed, and the first color component predicted pixel block is inversely quantized and inversely transformed to add the first residue. Restore the one color component pixel block.

단계 540에서, 제 2 예측 화소 블록 후보 생성부(314b)는 복원된 제 1 색 성분 화소 블록을 이용하여 나머지 색 성분 화소 블록의 제 2 예측 화소 블록을 생성한다.In operation 540, the second prediction pixel block candidate generator 314b generates a second prediction pixel block of the remaining color component pixel blocks by using the reconstructed first color component pixel block.

도 7a는 입력 영상에 구비된 G 색 성분 영상의 16×16 화소 블록, 도 7b는 입력 영상에 구비된 B 색 성분 영상의 16×16 화소 블록, 도 7c는 입력 영상에 구비된 R 색 성분 영상의 16×16 화소 블록을 나타낸 도면이다. 여기서, gi,j, bi,j, ri,j는 각각 G, B, R 색 성분 영상의 16×16 화소 블록에서 i번째 행 및 j번째 열에 위치한 화소값을 나타낸다. 또한, 도 7a 내지 도 7c 각각에서 해칭으로 표시된 화소들은 현재 화소 블록 이전에 처리된 주변 화소 블록의 복원된 화소들을 나타낸다.FIG. 7A shows a 16 × 16 pixel block of a G color component image included in an input image, FIG. 7B shows a 16 × 16 pixel block of a B color component image included in an input image, and FIG. 7C shows an R color component image provided in an input image. Shows a 16 by 16 pixel block. Here, g i, j , b i, j , r i, j denote pixel values located in the i th row and the j th column of the 16 × 16 pixel block of the G, B, and R color component images, respectively. In addition, the pixels hatched in each of FIGS. 7A to 7C represent reconstructed pixels of the neighboring pixel block processed before the current pixel block.

복원된 G 색 성분 16×16 화소 블록의 i번째 행, j번째 열에 위치한 화소값을

Figure 112006047944312-PAT00001
, 상기
Figure 112006047944312-PAT00002
에 대응되는 B 색 성분 화소 블록의 i번째 행, j번째 열에 위치한 화소의 예측값을
Figure 112006047944312-PAT00003
, a는 소정의 가중치, b는 소정의 오프셋 값이라 할 때, 제 2 예측 화소 블록 후보 생성부(314b)는 복원된 G 색 성분 화소 블록의 화소값과 대응되는 B 색 화소 블록의 화소값의 상관 관계를 다음의 수학식 1과 같이 1차 함수로 모델링하고, G 색 성분 화소 블록의 복원된 화소값을 매개 변수로 하여 대응되는 B 색 성분 화소 블록의 화소값을 예측한다.The pixel values located in the i th row and j th column of the restored G color component 16 × 16 pixel block.
Figure 112006047944312-PAT00001
, remind
Figure 112006047944312-PAT00002
Predicted values of pixels located in the i th row and the j th column of the B-color component pixel block corresponding to
Figure 112006047944312-PAT00003
When a is a predetermined weight and b is a predetermined offset value, the second prediction pixel block candidate generator 314b determines the pixel value of the B color pixel block corresponding to the pixel value of the reconstructed G color component pixel block. The correlation is modeled using a linear function as shown in Equation 1 below, and the pixel value of the corresponding B color component pixel block is predicted using the restored pixel value of the G color component pixel block as a parameter.

Figure 112006047944312-PAT00004
Figure 112006047944312-PAT00004

수학식 1을 통해 얻어진 예측 화소값들은 영상의 각 화소값을 8비트로 표현하는 경우 0과 255 사이의 정수값으로 클리핑(clipping)된다. 상기 a 및 b의 값은 화소의 위치 (i,j)에 따라서 변경될 수 있지만, 본 발명의 실시예에서는 소정의 블록 내에서 상수값을 갖는 경우를 고려한다. The prediction pixel values obtained through Equation 1 are clipped to an integer value between 0 and 255 when each pixel value of the image is represented by 8 bits. Although the values of a and b may be changed according to the position (i, j) of the pixel, in the embodiment of the present invention, the case of having a constant value within a predetermined block is considered.

일 실시예로서, 상기 a 및 b의 값은 다음의 수학식 2 및 3과 같이 G 색 성분 주변 화소 블록의 복원된 화소값들 및 B 색 성분 주변 화소 블록의 복원된 화소값들을 이용한 소정의 함수값으로 결정된다.According to an embodiment, the values of a and b are predetermined functions using the restored pixel values of the pixel block around the G color component and the restored pixel values of the pixel block around the B color component as shown in Equations 2 and 3 below. It is determined by the value.

Figure 112006047944312-PAT00005
Figure 112006047944312-PAT00005

Figure 112006047944312-PAT00006
Figure 112006047944312-PAT00006

상기 a 및 b는 다양한 형태로 정의될 수 있다. 일 예로서 a 및 b는 G 색 성분 주변 화소 블록의 복원된 화소값들을 이용하여 수학식 1을 통해 예측된 B 색 성분 주변 화소 블록의 예측 화소값들과 B 색 성분 주변 화소 블록의 복원된 화소값들과의 차이가 최소가 되도록 하는 값으로 결정된다. 다른 예로서 a는 1, b는 다음의 수학식 4와 같이 B 색 성분 주변 화소 블록의 복원된 화소값들과 G 색 성분 주변 화소 블록의 복원된 화소값들 사이의 차이의 평균으로 정의할 수 있다.A and b may be defined in various forms. As an example, a and b are prediction pixel values of the B color component peripheral pixel block predicted through Equation 1 using the reconstructed pixel values of the pixel block surrounding the G color component, and the restored pixels of the pixel block surrounding the B color component. Is determined so that the difference with the values is minimal. As another example, a may be defined as 1 and b may be defined as an average of the difference between the restored pixel values of the pixel block around the B color component and the restored pixel values of the pixel block around the G color component as shown in Equation 4 below. have.

Figure 112006047944312-PAT00007
Figure 112006047944312-PAT00007

전술한 a 및 b의 값의 결정 과정에서는 현재 화소 블록에 인접한 주변 화소 블록의 화소값을 이용하였다. a 및 b의 값의 결정시 이용되는 주변 화소 블록의 화소들은 현재 화소 블록의 상측 또는 좌측에 인접한 화소 이외에 더 많이 또는 더 적게 채용될 수 있다. 이 때, a 및 b의 값은 복호화단으로 전송할 필요가 없다. 왜나하면 복호화단에서도 동일한 부호화단과 동일한 방식으로 같은 a 및 b를 생성할 수 있기 때문이다.In the above-described determination of the values of a and b, pixel values of neighboring pixel blocks adjacent to the current pixel block are used. The pixels of the neighboring pixel block used in the determination of the values of a and b may be employed more or less than pixels adjacent to the upper or left side of the current pixel block. At this time, the values of a and b need not be transmitted to the decoding end. This is because the decoding end can generate the same a and b in the same manner as the same coding end.

한편, 다른 실시예로서 주변 화소 블록을 이용하지 않고 현재 화소 블록 내의 화소값을 이용하여 a 및 b의 값을 결정할 수 있다. 일 예로, 다음의 수학식 5 와 같이, 상기 a 및 b의 값은 B 색 성분 영상의 16×16 크기의 화소 블록 내의 원 화소값들(bi,j)과 상기 수학식 1을 통해 예측된 대응되는 B 색 성분 영상의 예측값들의 차이의 합(Sum of diff(rB))이 최소화되는 값으로 결정될 수 있다.Meanwhile, as another embodiment, the values of a and b may be determined using pixel values in the current pixel block without using neighboring pixel blocks. For example, as shown in Equation 5, the values of a and b are predicted through the original pixel values b i, j and 16 in the pixel block of 16 × 16 size of the B color component image. A sum of diff (r B ) of a difference between prediction values of a corresponding B color component image may be determined to be a value that is minimized.

Figure 112006047944312-PAT00008
Figure 112006047944312-PAT00008

여기서, p는 1 이상의 정수이다. Here, p is an integer of 1 or more.

다른 예로서, a의 값을 1로 결정하고, b는 다음의 수학식 6과 같이 B 색 성분 16×16 화소 블록 내의 원 화소값들(bi,j)과 복원된 G 색 성분 16×16 화소 블록의 화소값들(G'i,j)의 차이의 평균으로 결정할 수 있다.As another example, the value of a is determined to be 1, and b is the original pixel values b i, j and the reconstructed G color component 16 × 16 in the B color component 16 × 16 pixel block, as shown in Equation 6 below. The average of the difference between the pixel values G ′ i, j of the pixel block may be determined.

Figure 112006047944312-PAT00009
Figure 112006047944312-PAT00009

이와 같은 실시예들에서는 a 및 b의 값을 복호화단에 전송해 줄 필요가 있다.In such embodiments, it is necessary to transmit the values of a and b to the decoder.

전술한 바와 같이 수학식 1의 상수 a 및 b의 값이 결정되면, 제 2 예측 화소 블록 후보 생성부(314b)는 복원된 G 색 성분 화소 블록의 각 화소값들(g'i,j)을 수 학식 1에 대입하여 대응되는 B 색 성분 화소 블록의 화소값들을 예측함으로써 제 2 예측 화소 블록 후보를 생성한다.As described above, when the values of the constants a and b of Equation 1 are determined, the second prediction pixel block candidate generator 314b determines each pixel value g'i, j of the reconstructed G color component pixel block. By substituting Equation 1, a second prediction pixel block candidate is generated by predicting pixel values of a corresponding B-color component pixel block.

또 다른 a와 b의 값의 결정 방법으로는 통계 분야에서 많이 사용하는 선형 회귀(linear regression) 모델에 기반한 방법이 이용될 수 있다.Another method for determining the values of a and b may be a method based on a linear regression model, which is widely used in statistics.

도 8a는 본 발명에 따른 영상 부호화 방법 및 장치에서 8×8 화소 블록의 처리 순서를 나타낸 도면이고, 도 8b는 본 발명에 따른 영상 부호화 방법 및 장치에서 4×4 화소 블록의 처리 순서를 나타낸 도면이다.8A is a diagram illustrating a processing sequence of 8 × 8 pixel blocks in the image encoding method and apparatus according to the present invention, and FIG. 8B is a diagram illustrating a processing sequence of 4 × 4 pixel blocks in the video encoding method and apparatus according to the present invention. to be.

제 2 예측 화소 블록 후보 생성부(314b)는 전술한 16×16 블록 모드 이외에, 8×8 블록 모드 및 4×4 블록 모드로 나머지 색 성분 화소 블록의 제 2 예측 화소 블록 후보를 생성할 수 있다. The second prediction pixel block candidate generator 314b may generate the second prediction pixel block candidate of the remaining color component pixel blocks in 8 × 8 block mode and 4 × 4 block mode in addition to the 16 × 16 block mode described above. .

도 8a를 참조하면, B 색 성분 영상의 화소 블록을 8×8 모드로 처리하는 경우, 4개의 B 색 성분 영상의 8×8 화소 블록들은 좌에서 우, 위에서 아래 방향의 순서로 순차적으로 예측된다. B 색 성분 영상의 8×8 화소 블록의 처리는 블록 크기만 달라졌을 뿐, 전술한 B 색 성분 영상의 16×16 화소 블록의 화소값을 예측하는 과정과 유사하게 수학식 1을 통해 B 색 성분 영상의 8×8 화소 블록 내의 각 화소값들을 예측할 수 있다. Referring to FIG. 8A, when a pixel block of a B color component image is processed in an 8 × 8 mode, 8 × 8 pixel blocks of four B color component images are sequentially predicted from left to right and top to bottom. . The processing of the 8 × 8 pixel block of the B color component image has only changed the block size, and similarly to the process of estimating the pixel value of the 16 × 16 pixel block of the B color component image, the B color component is represented by Equation 1. Each pixel value in an 8x8 pixel block of an image may be predicted.

즉, 8×8 모드로 처리할 때, a 및 b는 G 색 성분 주변 화소 블록의 복원된 화소값들을 이용하여 수학식 1을 통해 예측된 B 색 성분 주변 화소 블록의 예측 화소값들과 B 색 성분 주변 화소 블록의 복원된 화소값들과의 차이가 최소가 되도록 하는 값으로 결정되거나, a는 1, b는 다음의 수학식 7과 같이 B 색 성분 주변 화소 블록의 복원된 화소값들과 G 색 성분 주변 화소 블록의 복원된 화소값들 사이의 차이의 평균으로 정의할 수 있다.That is, when processing in the 8x8 mode, a and b are the predicted pixel values and the B color of the pixel block around the B color component predicted through Equation 1 using the reconstructed pixel values of the pixel block around the G color component. It is determined as a value that minimizes the difference between the reconstructed pixel values of the component peripheral pixel block, or a is 1, b is the reconstructed pixel values of the pixel block of the color component B and G as shown in Equation 7 below. It may be defined as an average of the differences between the restored pixel values of the pixel block around the color component.

Figure 112006047944312-PAT00010
Figure 112006047944312-PAT00010

또한 상기 a 및 b는 B 색 성분 영상의 8×8 크기의 화소 블록 내의 원 화소값들(bi,j)과 대응되는 B 색 성분 영상의 예측값들의 차이의 합(Sum of diff(rB))이 최소화되는 값으로 결정되거나, a는 1, b는 다음의 수학식 8과 같이 B 색 성분 영상의 8×8 화소 블록 내의 원 화소값들(bi,j)과 복원된 G 색 성분 8×8 화소 블록의 화소값들(G'i,j)의 차이의 평균으로 결정할 수 있다.Also, a and b are sums of differences between prediction values of the B color component image corresponding to the original pixel values b i, j in the 8 × 8 pixel block of the B color component image (Sum of diff (r B )). ) Is determined to be minimized, or a is 1, and b is the original pixel values b i, j and 8 reconstructed G color components in the 8 × 8 pixel block of the B color component image as shown in Equation 8 below. It may be determined as an average of the differences between the pixel values G ′ i, j of the × 8 pixel block.

Figure 112006047944312-PAT00011
Figure 112006047944312-PAT00011

도 8b를 참조하면, B 색 성분 영상의 화소 블록을 4×4 모드로 처리하는 경우, 16개의 B 색 성분 4×4 화소 블록들은 좌에서 우, 위에서 아래 방향의 순서로 순차적으로 예측된다. B 색 성분 영상의 각 4×4 화소 블록의 화소값들은 블록 크기만 달라졌을 뿐, 전술한 B 색 성분 영상의 16×16 화소 블록 또는 8×8 화소 블 록의 화소값을 예측하는 과정과 유사하게 수학식 1을 통해 예측될 수 있다. Referring to FIG. 8B, when a pixel block of a B color component image is processed in a 4 × 4 mode, 16 B color component 4 × 4 pixel blocks are sequentially predicted from left to right and top to bottom. The pixel values of each 4x4 pixel block of the B color component image differ only in block size, and are similar to the process of predicting pixel values of the 16x16 pixel block or 8x8 pixel block of the B color component image described above. Can be predicted through Equation 1.

즉. a 및 b는 G 색 성분 주변 화소 블록의 복원된 화소값들을 이용하여 수학식 1을 통해 예측된 B 색 성분 주변 화소 블록의 예측 화소값들과 B 색 성분 주변 화소 블록의 복원된 화소값들과의 차이가 최소가 되도록 하는 값으로 결정되거나, a는 1, b는 다음의 수학식 9와 같이 B 색 성분 주변 화소 블록의 복원된 화소값들과 G 색 성분 주변 화소 블록의 복원된 화소값들 사이의 차이의 평균으로 정의할 수 있다.In other words. a and b are the predicted pixel values of the pixel block around the B color component predicted by Equation 1 using the restored pixel values of the pixel block around the G color component, and the restored pixel values of the pixel block around the B color component. Is determined to be the minimum value, or a is 1 and b is the restored pixel values of the pixel block around the B color component and the restored pixel values of the pixel block around the G color component as shown in Equation 9 below. It can be defined as the average of the differences between.

Figure 112006047944312-PAT00012
Figure 112006047944312-PAT00012

또한, 수학식 1의 a 및 b는 B 색 성분 영상의 4×4 화소 블록 내의 원 화소값들(bi,j)과 대응되는 B 색 성분 영상의 예측값들의 차이의 합(Sum of diff(rB))이 최소화되는 값으로 결정되거나, a는 1로 고정되고 b는 다음의 수학식 10과 같이 B 색 성분 영상의 4×4 화소 블록 내의 원 화소값들(bi,j)과 복원된 G 색 성분 영상의 4×4 화소 블록의 화소값들(G'i,j)의 차이의 평균으로 결정할 수 있다.In addition, a and b of Equation 1 are sums of differences of prediction values of the B color component image corresponding to the original pixel values b i, j in the 4 × 4 pixel block of the B color component image. B )) is determined as a value to be minimized, or a is fixed to 1 and b is reconstructed from the original pixel values b i, j in the 4x4 pixel block of the B color component image as shown in Equation 10 below. The average value of the difference between the pixel values G ′ i, j of the 4 × 4 pixel block of the G color component image may be determined.

Figure 112006047944312-PAT00013
Figure 112006047944312-PAT00013

전술한 바와 같이, B 색 성분 화소 블록의 제 2 예측 화소 블록은 16×16, 8×8, 4×4 블록 단위로 이루어질 수 있다. 한 적응적인 실시예로서, 상기 세 가지 블록 모드들 중 적합한 하나의 블록 단위로 각 매크로블록의 상관 예측이 이루어질 수 있다.As described above, the second prediction pixel block of the B color component pixel block may be configured in units of 16 × 16, 8 × 8, and 4 × 4 blocks. As an adaptive embodiment, correlation prediction of each macroblock may be performed in units of one suitable block among the three block modes.

감산부(307)는 B 색 성분 원영상의 화소 블록으로부터 제 2 예측 화소 블록 생성부(314b)에서 예측된 예측 화소 블록의 차이를 계산하여 제 2 레지듀를 생성하고, 생성된 제 2 레지듀는 변환, 양자화 및 엔트로피 부호화 과정을 거쳐 비트스트림 형태로 출력된다.The subtractor 307 generates a second residue by calculating a difference between the predicted pixel blocks predicted by the second predicted pixel block generator 314b from the pixel blocks of the B color component original image, and generates the generated second residue. Is output in the form of a bitstream through transform, quantization, and entropy encoding.

다음, R 색 성분 영상의 화소 블록의 화소값들은 전술한 B 색 성분 영상의 화소 블록의 화소값과 유사하게 복원된 G 색 성분 영상의 화소 블록의 화소값을 이용하여 예측될 수 있다.Next, the pixel values of the pixel block of the R color component image may be predicted using the pixel values of the pixel block of the G color component image reconstructed similarly to the pixel values of the pixel block of the B color component image.

한편, 제 2 예측 화소 블록 후보 생성부(314b)는 R 색 성분 영상의 화소 블록의 화소값을 예측할 때, 복원된 G 색 성분 영상의 화소 블록 대신에 이전에 처리된 B 색 성분 영상의 화소 블록의 복원된 화소값을 이용하여 R 색 성분 화소 블록의 제 2 예측 화소 블록을 생성할 수 있다. 즉, B 색 성분 원영상의 화소 블록으로부터 B 색 성분 영상의 예측 화소 블록의 차이인 제 2 레지듀를 변환 및 양자화 한 값을 다시 역변환 및 역양자화하고, 역변환 및 역양자화된 제 2 레지듀와 B 색 성분 영상의 예측 화소 블록을 더함으로써 복원된 B 색 성분의 화소 블록을 R 색 성분 영상의 화소 블록의 예측에 이용할 수 있다. On the other hand, when the second prediction pixel block candidate generator 314b predicts the pixel value of the pixel block of the R color component image, the pixel block of the B color component image previously processed instead of the pixel block of the reconstructed G color component image. The second prediction pixel block of the R color component pixel block may be generated using the reconstructed pixel value of. That is, the inverse transform and inverse quantization of the value obtained by transforming and quantizing the second residue, which is the difference between the predicted pixel blocks of the B color component image, from the pixel block of the B color component original image, By adding the prediction pixel blocks of the B color component image, the reconstructed pixel blocks of the B color component can be used to predict the pixel blocks of the R color component image.

구체적으로, 복원된 B 색 성분 영상의 화소 블록의 i번째 행, j번째 열에 위치한 화소값을

Figure 112006047944312-PAT00014
, 상기
Figure 112006047944312-PAT00015
에 대응되는 R 색 성분 영상의 화소 블록의 i번째 행, j번째 열에 위치한 화소의 예측값을
Figure 112006047944312-PAT00016
, c는 B 색 성분 영상과 R 색 성분 사이의 상관 관계를 나타내는 소정의 가중치, d는 소정의 오프셋 값이라 할 때, 제 2 예측 화소 블록 후보 생성부(314b)는 복원된 B 색 성분 화소 블록의 화소값과 R 색 성분 화소 블록 사이의 상관 관계를 다음의 수학식 11과 같이 1차 함수로 모델링하여, B 색 성분 영상의 화소값에 대응되는 R 색 성분 영상의 화소값을 예측한다.Specifically, the pixel values located in the i th row and the j th column of the pixel block of the restored B color component image are determined.
Figure 112006047944312-PAT00014
, remind
Figure 112006047944312-PAT00015
Predicted values of pixels located in the i th row and the j th column of the pixel block of the R color component image corresponding to
Figure 112006047944312-PAT00016
, c is a predetermined weight indicating a correlation between a B color component image and an R color component, and d is a predetermined offset value, so that the second prediction pixel block candidate generator 314b reconstructs the restored B color component pixel block. The correlation between the pixel value and the R color component pixel block is modeled using a linear function as shown in Equation 11 to predict the pixel value of the R color component image corresponding to the pixel value of the B color component image.

Figure 112006047944312-PAT00017
Figure 112006047944312-PAT00017

수학식 11을 통해 얻어진 예측 화소값들은 영상의 각 화소값을 8비트로 표현하는 경우 0과 255 사이의 정수값으로 클리핑(clipping)된다. 상기 c 및 d의 값은 상기 a 및 b의 값과 유사하게 결정될 수 있다.The prediction pixel values obtained through Equation 11 are clipped to an integer value between 0 and 255 when each pixel value of the image is represented by 8 bits. The values of c and d may be determined similarly to the values of a and b.

수학식 11의 상수 c 및 d의 값이 결정되면, 제 2 예측 화소 블록 후보 생성부(314b)는 복원된 B 색 성분 화소 블록의 각 화소값들(b'i,j)을 수학식 11에 대입 하여 대응되는 R 색 성분 화소 블록의 화소값들을 예측함으로써 R 색 성분 화소의 제 2 예측 화소 블록 후보를 생성한다.When the values of the constants c and d of Equation 11 are determined, the second prediction pixel block candidate generator 314b converts each pixel value b ′ i, j of the reconstructed B color component pixel block to Equation 11; By substituting and predicting pixel values of the corresponding R color component pixel block, a second prediction pixel block candidate of the R color component pixel is generated.

도 9는 본 발명의 바람직한 실시예에 따른 영상 복호화 장치의 구성을 나타낸 도면이다.9 is a diagram illustrating a configuration of an image decoding apparatus according to a preferred embodiment of the present invention.

도 9를 참조하면, 본 발명에 따른 영상 복호화 장치(900)는 엔트로피 디코더(910), 재정렬부(920), 역양자화부(930), 역변환부(940), 가산부(950), 인트라 예측부(960), 움직임 보상부(970), 예측 화소 블록 생성부(980) 및 필터(990)를 구비한다. 9, the image decoding apparatus 900 according to the present invention includes an entropy decoder 910, a reordering unit 920, an inverse quantization unit 930, an inverse transform unit 940, an adder 950, and intra prediction. A unit 960, a motion compensator 970, a predicted pixel block generator 980, and a filter 990 are provided.

엔트로피 디코더(910) 및 재정렬부(920)는 압축된 비트스트림을 수신하여 엔트로피 복호화를 수행하여 양자화된 계수를 생성한다. 역양자화부(930) 및 역변환부(940)는 양자화된 계수에 대한 역양자화 및 역변환을 수행하여 각 색 성분 영상의 레지듀 정보, 움직임 벡터 정보 및 예측 모드 정보 등을 추출한다. 여기서, 예측 모드 정보에는 본 발명에 따른 인트라 예측 방법에 따라 부호화된 비트스트림인지 여부를 나타내는 소정의 신택스 정보가 포함될 수 있다. 또한, 본 발명에 따른 영상 부호화 방법에 따라 부호화된 비트스트림인 경우 상기 예측 모드 정보에는 나머지 색 성분 영상의 화소 블록의 화소값을 예측하는 데 이용되는 예측자 정보가 포함될 수 있다. The entropy decoder 910 and the reordering unit 920 receive the compressed bitstream and perform entropy decoding to generate quantized coefficients. The inverse quantization unit 930 and the inverse transformer 940 perform inverse quantization and inverse transformation on the quantized coefficients to extract residue information, motion vector information, and prediction mode information of each color component image. Here, the prediction mode information may include predetermined syntax information indicating whether the bit stream is encoded according to the intra prediction method according to the present invention. In the case of a bitstream encoded according to the image encoding method according to the present invention, the prediction mode information may include predictor information used to predict pixel values of pixel blocks of the remaining color component images.

인트라 예측부(960)는 현재 화소 블록이 인트라 예측된 화소 블록인 경우 이전에 복호화된 주변 화소 블록을 이용하여 예측 블록을 생성한다. 움직임 보상부(970)는 현재 화소 블록이 인터 예측된 화소 블록인 경우 움직임 보상을 통해 예 측 블록을 생성한다. When the current pixel block is an intra predicted pixel block, the intra predictor 960 generates a prediction block by using the previously decoded neighboring pixel block. The motion compensator 970 generates a prediction block through motion compensation when the current pixel block is an inter predicted pixel block.

예측 화소 블록 생성부(980)는 전술한 본 발명의 영상 부호화 방법에 따라 부호화된 비트스트림인 경우, 복호화된 제 1 색 성분 화소 블록의 움직임 벡터를 이용하여 대응되는 나머지 색 성분 화소 블록에 대한 움직임 예측을 수행하거나 또는 복호화된 제 1 색 성분 화소 블록을 이용한 예측을 수행함으로써 나머지 색 성분 화소 블록의 예측 화소 블록을 생성한다.When the prediction pixel block generator 980 is a bitstream encoded according to the above-described image encoding method of the present invention, the prediction pixel block generation unit 980 uses the motion vector of the decoded first color component pixel block to move the corresponding color component pixel block. Prediction pixel blocks of the remaining color component pixel blocks are generated by performing prediction or prediction using the decoded first color component pixel blocks.

구체적으로, 도 3의 예측 화소 블록 생성부(314)와 동일하게 도 9의 예측 화소 블록 생성부(980)는 비트스트림에 구비된 예측 모드 정보에 따라서 제 1 색 성분 화소 블록의 움직임 벡터와 동일한 벡터를 나머지 색 성분 화소 블록의 움직임 벡터로 결정하고, 결정된 나머지 색 성분 화소 블록의 움직임 벡터가 가리키는 참조 프레임의 화소 블록을 예측 화소 블록으로 결정한다. 또한, 예측 화소 블록 생성부(980)는 비트스트림에 구비된 예측 모드 정보에 따라서 복원된 제 1 색 성분 화소 블록의 화소값을 수학식 1에 대입하여 나머지 색 성분 화소 블록의 화소값을 예측함으로써 나머지 색 성분 화소 블록의 예측 화소 블록을 생성할 수 있다. 이 때, 주변 화소 블록을 이용하여 a 및 b를 예측하는 경우에는 a 및 b가 비트스트림에 포함될 필요가 없다. 즉, 이 경우에는 예측 모드 정보에 a와 b가 포함되지 않는다. 만약 제 3 색 성분 영상이 복원된 제 2 색 성분 영상을 이용하여 예측된 경우에는 복원된 제 2 색 성분 영상의 화소 블록의 화소값들을 수학식 11에 대입하여 제 3 색 성분 화소 블록의 예측 화소 블록을 생성할 수 있다.Specifically, similarly to the prediction pixel block generator 314 of FIG. 3, the prediction pixel block generator 980 of FIG. 9 is the same as the motion vector of the first color component pixel block according to the prediction mode information included in the bitstream. A vector is determined as a motion vector of the remaining color component pixel blocks, and a pixel block of a reference frame indicated by the determined motion vector of the remaining color component pixel blocks is determined as a prediction pixel block. In addition, the prediction pixel block generation unit 980 estimates pixel values of the remaining color component pixel blocks by substituting the pixel values of the first color component pixel blocks reconstructed according to the prediction mode information included in the bitstream into Equation 1. A prediction pixel block of the remaining color component pixel blocks may be generated. In this case, when a and b are predicted using neighboring pixel blocks, a and b do not need to be included in the bitstream. That is, in this case, a and b are not included in the prediction mode information. If the third color component image is predicted using the reconstructed second color component image, the pixel values of the pixel block of the reconstructed second color component image are substituted into Equation 11 to predict the pixel of the third color component pixel block. You can create a block.

가산부(950)는 현재 화소 블록의 예측 모드에 따라서 인트라 예측부(960), 움직임 보상부(970) 및 예측 화소 블록 생성부(980) 중 어느 하나에서 생성된 예측 화소 블록과 역변환부(940)에서 출력되는 각 색 성분 화소 블록의 레지듀를 합산하여 각 색 성분 화소 블록을 복호화한다.The adder 950 generates the prediction pixel block and the inverse transformer 940 generated by any one of the intra predictor 960, the motion compensator 970, and the predictive pixel block generator 980 according to the prediction mode of the current pixel block. Each of the color component pixel blocks is decoded by summing the residues of the respective color component pixel blocks.

도 10은 본 발명의 바람직한 실시예에 따른 영상 복호화 방법을 나타낸 플로우 차트이다.10 is a flowchart illustrating an image decoding method according to a preferred embodiment of the present invention.

도 10을 참조하면, 단계 1010에서 적어도 두 가지 색 성분들의 부호화된 영상들을 구비하는 비트스트림을 수신하고, 비트스트림에 구비된 복수 개의 색 성분들의 영상들 중에서 제 1 색 성분 화소 블록에 대한 복호화를 수행한다. 구체적으로, 인터 또는 인트라 예측된 제 1 색 성분 화소 블록의 예측 화소 블록과 복호화된 제 1 레지듀를 더하여 제 1 색 성분 영상의 화소 블록을 복호화한다.Referring to FIG. 10, in operation 1010, a bitstream including encoded images of at least two color components is received, and decoding of a first color component pixel block is performed among images of a plurality of color components included in the bitstream. Perform. Specifically, the pixel block of the first color component image is decoded by adding the predicted pixel block of the inter or intra predicted first color component pixel block and the decoded first residue.

단계 1020에서, 복호화된 제 1 색 성분 화소 블록 및 비트스트림의 헤더에 구비된 예측 모드 정보를 이용하여 나머지 색 성분 화소 블록의 화소값을 예측함으로써 나머지 색 성분 화소 블록의 예측 화소 블록을 생성한다. 전술한 바와 같이, 예측 화소 블록 생성부(980)는 예측 모드 정보를 통해 수학식 1과 같은 예측자를 생성하고, 복호화된 제 1 색 성분 화소 블록의 화소값을 대입하여 나머지 제 2 및 제 3 색 성분 영상의 화소 블록의 화소값들을 예측하거나, 수학식 11과 같은 예측자를 생성하고 복호화된 제 2 색 성분 화소 블록의 화소값을 대입하여 제 3 색 성분 화소 블록의 화소값들을 예측한다. 또한, 예측 모드에 따라, 제 2 및 제 3 색 성분 화소 블록의 움직임 보상에 의한 예측 화소 블록을 생성하는 것도 가능하다.In operation 1020, the pixel values of the remaining color component pixel blocks are predicted using the decoded first color component pixel blocks and the prediction mode information included in the header of the bitstream to generate the prediction pixel blocks of the remaining color component pixel blocks. As described above, the prediction pixel block generation unit 980 generates a predictor as shown in Equation 1 through the prediction mode information, substitutes pixel values of the decoded first color component pixel block, and displays the remaining second and third colors. The pixel values of the pixel block of the component image are predicted, or a predictor such as Equation 11 is generated and the pixel values of the decoded second color component pixel block are substituted to predict the pixel values of the third color component pixel block. In addition, according to the prediction mode, it is also possible to generate a prediction pixel block by motion compensation of the second and third color component pixel blocks.

단계 1030에서, 제 2 및 제 3 색 성분 화소 블록의 예측 화소 블록 각각을 역변환된 제 2 레지듀 및 제 3 레지듀 성분 각각에 더하여 제 2 및 제 3 색 성분 화소 블록을 복호화한다.In operation 1030, the second and third color component pixel blocks are decoded by adding each of the prediction pixel blocks of the second and third color component pixel blocks to each of the inversely transformed second and third residue components.

본 발명은 또한 컴퓨터로 읽을 수 있는 기록매체에 컴퓨터가 읽을 수 있는 코드로서 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록장치를 포함한다. 컴퓨터가 읽을 수 있는 기록매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피디스크, 광 데이터 저장장치 등이 있으며, 또한 캐리어 웨이브(예를 들어 인터넷을 통한 전송)의 형태로 구현되는 것도 포함한다. 또한 컴퓨터가 읽을 수 있는 기록매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다.The invention can also be embodied as computer readable code on a computer readable recording medium. The computer-readable recording medium includes all kinds of recording devices in which data that can be read by a computer system is stored. Examples of computer-readable recording media include ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage, and the like, and may also be implemented in the form of a carrier wave (for example, transmission over the Internet). Include. The computer readable recording medium can also be distributed over network coupled computer systems so that the computer readable code is stored and executed in a distributed fashion.

이제까지 본 발명에 대하여 그 바람직한 실시예들을 중심으로 살펴보았다. 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 구현될 수 있음을 이해할 수 있을 것이다. 그러므로 개시된 실시예들은 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 한다. 본 발명의 범위는 전술한 설명이 아니라 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 할 것이다.So far I looked at the center of the preferred embodiment for the present invention. Those skilled in the art will understand that the present invention may be implemented in a modified form without departing from the essential characteristics of the present invention. Therefore, the disclosed embodiments should be considered in descriptive sense only and not for purposes of limitation. The scope of the present invention is shown in the claims rather than the foregoing description, and all differences within the scope will be construed as being included in the present invention.

전술한 본 발명에 따르면, 하나의 영상을 구성하는 복수 개의 색 성분 영상들 사이의 상관 관계를 이용하여 예측 부호화를 수행함으로써 영상의 부호화 효율 을 향상시킬 수 있다.According to the present invention described above, the encoding efficiency of an image can be improved by performing predictive encoding by using a correlation between a plurality of color component images forming one image.

또한, 본 발명에 따르면, RGB 입력 영상을 YUV 도메인으로 변환하지 않고 입력 영상 그대로 RGB 도메인에서 부호화를 수행함으로써, RGB 입력 영상을 다른 컬러 포맷으로 변환하는 과정 중에 발생하는 색상의 왜곡 등을 방지하여 영상의 품질을 향상시킬 수 있다.In addition, according to the present invention, by encoding in the RGB domain as it is without converting the RGB input image to the YUV domain, by preventing the distortion of the color generated during the process of converting the RGB input image to another color format, the image Can improve the quality.

Claims (52)

영상의 부호화 방법에 있어서,In the video encoding method, (a) 입력 영상에 구비된 적어도 두 가지 색 성분들의 영상들 중 제 1 색 성분 영상의 소정 크기의 화소 블록에 대한 예측 부호화를 수행하는 단계;(a) performing predictive encoding on a pixel block of a predetermined size of a first color component image among images of at least two color components included in the input image; (b) 상기 제 1 색 성분 화소 블록에 대응되는 나머지 색 성분 화소 블록에 대한 움직임 예측을 수행하여 상기 나머지 색 성분 화소 블록의 제 1 예측 화소 블록 후보를 생성하는 단계;(b) generating a first prediction pixel block candidate of the remaining color component pixel blocks by performing motion prediction on the remaining color component pixel blocks corresponding to the first color component pixel block; (c) 상기 예측 부호화된 제 1 색 성분 화소 블록을 복원하는 단계;(c) reconstructing the predictively coded first color component pixel block; (d) 상기 복원된 제 1 색 성분 화소 블록을 이용하여 상기 나머지 색 성분 화소 블록을 예측하여 제 2 예측 화소 블록 후보를 생성하는 단계; 및(d) generating a second prediction pixel block candidate by predicting the remaining color component pixel blocks using the reconstructed first color component pixel blocks; And (e) 상기 제 1 예측 화소 블록 후보와 제 2 예측 화소 블록 후보 중 하나를 상기 나머지 색 성분 화소 블록의 예측 화소 블록으로 결정하는 단계를 포함하는 것을 특징으로 하는 부호화 방법.(e) determining one of the first prediction pixel block candidate and the second prediction pixel block candidate as a prediction pixel block of the remaining color component pixel blocks. 제 1항에 있어서, 상기 색 성분들은The method of claim 1 wherein the color components are R(Red) 색 성분, G(Green) 색 성분 및 B(Blue) 색 성분인 것을 특징으로 하는 부호화 방법.An encoding method characterized by being an R (Red) color component, a G (Green) color component, and a B (Blue) color component. 제 1항에 있어서, 상기 (a) 단계는The method of claim 1, wherein step (a) (a1) 상기 제 1 색 성분 화소 블록에 대한 움직임 예측 및/또는 인트라 예측을 수행하여 제 1 색 성분 예측 화소 블록을 생성하는 단계;(a1) generating a first color component prediction pixel block by performing motion prediction and / or intra prediction on the first color component pixel block; (a2) 상기 생성된 제 1 색 성분 예측 화소 블록과 제 1 색 성분 원 화소 블록의 차이인 제 1 레지듀를 생성하는 단계; 및(a2) generating a first residue which is a difference between the generated first color component prediction pixel block and a first color component original pixel block; And (a2) 상기 제 1 레지듀를 변환, 양자화 및 엔트로피 부호화하는 단계를 더 포함하는 것을 특징으로 하는 부호화 방법.(a2) further comprising transforming, quantizing and entropy encoding the first residue. 제 1항에 있어서, 상기 (b) 단계는The method of claim 1, wherein step (b) (b1) 상기 제 1 색 성분 화소 블록의 예측 부호화시 수행된 움직임 예측 결과 생성된 상기 제 1 색 성분 화소 블록의 움직임 벡터와 동일한 움직임 벡터를 상기 나머지 색 성분 화소 블록의 움직임 벡터로 결정하는 단계; 및(b1) determining a motion vector identical to a motion vector of the first color component pixel block generated as a result of the motion prediction performed during the prediction encoding of the first color component pixel block, as the motion vector of the remaining color component pixel blocks; And (b2) 상기 결정된 움직임 벡터가 가리키는 참조 프레임의 화소 블록을 상기 나머지 색 성분 화소 블록의 제 1 예측 화소 블록 후보로 결정하는 단계를 더 포함하는 것을 특징으로 하는 부호화 방법.and (b2) determining the pixel block of the reference frame indicated by the determined motion vector as the first prediction pixel block candidate of the remaining color component pixel blocks. 제 1항에 있어서, 상기 (c) 단계는The method of claim 1, wherein step (c) (c1) 변환 및 양자화된 상기 제 1 색 성분 예측 화소 블록과 상기 제 1 색 성분 원 화소 블록의 차이인 제 1 레지듀를 역양자화 및 역변환하는 단계; 및(c1) inverse quantization and inverse transformation of a first residue, which is a difference between the transformed and quantized first color component prediction pixel block and the first color component original pixel block; And (c2) 상기 역양자화 및 역변환된 제 1 레지듀와 상기 제 1 색 성분 예측 화소 블록을 더하여 상기 제 1 색 성분 화소 블록을 복원하는 단계를 더 포함하는 것 을 특징으로 하는 부호화 방법.and (c2) reconstructing the first color component pixel block by adding the first quantized and inverse transformed first residue and the first color component prediction pixel block. 제 1항에 있어서, 상기 (d) 단계는The method of claim 1, wherein step (d) 상기 복원된 제 1 색 성분 화소 블록의 크기를 i×j(i,j는 정수), 상기 복원된 제 1 색 성분 화소 블록의 i번째 행, j번째 열에 위치한 복원된 화소값을
Figure 112006047944312-PAT00018
, 상기
Figure 112006047944312-PAT00019
에 대응되는 제 2 색 성분 화소 블록의 제 2 예측 화소 블록 후보의 예측 화소값을
Figure 112006047944312-PAT00020
, a는 소정의 가중치, b는 소정의 오프셋 값이라 할 때, 다음의 수학식;
The size of the restored first color component pixel block is i × j (i, j is an integer), and the restored pixel value located in the i th row and the j th column of the restored first color component pixel block.
Figure 112006047944312-PAT00018
, remind
Figure 112006047944312-PAT00019
The prediction pixel value of the second prediction pixel block candidate of the second color component pixel block corresponding to
Figure 112006047944312-PAT00020
When a is a predetermined weight and b is a predetermined offset value, the following equation;
Figure 112006047944312-PAT00021
Figure 112006047944312-PAT00021
을 이용하여 상기 제 2 색 성분 화소 블록의 제 2 예측 화소 블록 후보를 생성하는 것을 특징으로 하는 부호화 방법.And a second prediction pixel block candidate of the second color component pixel block is generated by using a method.
제 6항에 있어서, 상기 a 및 b는The method of claim 6, wherein a and b are 제 1 색 성분 주변 화소 블록의 복원된 화소값들을 이용하여 예측된 제 2 색 성분 주변 화소 블록의 예측 화소값들과 상기 제 2 색 성분 주변 화소 블록의 복원된 화소값들과의 차이가 최소가 되도록 하는 값인 것을 특징으로 하는 부호화 방법.The difference between the predicted pixel values of the second color component peripheral pixel block predicted using the restored pixel values of the first color component peripheral pixel block and the restored pixel values of the second color component peripheral pixel block is minimal. The encoding method characterized in that the value to be. 제 6항에 있어서, The method of claim 6, 상기 a는 1이며, 상기 b는 상기 제 2 색 성분 주변 화소 블록의 복원된 화소값들과 상기 제 1 색 성분 주변 화소 블록의 복원된 화소값들 사이의 차이의 평균인 것을 특징으로 하는 부호화 방법.A is 1, and b is an average of a difference between the reconstructed pixel values of the pixel block around the second color component and the reconstructed pixel values of the pixel block around the first color component. . 제 6항에 있어서, 상기 a 및 b는 The method of claim 6, wherein a and b are 상기 제 2 색 성분 화소 블록의 원 화소값들(
Figure 112006047944312-PAT00022
)과 상기 제 2 색 성분 화소 블록의 제 2 예측 화소 블록 후보의 예측 화소값들(
Figure 112006047944312-PAT00023
) 사이의 절대값 차이의 합이 최소가 되도록 하는 값인 것을 특징으로 하는 부호화 방법.
Original pixel values of the second color component pixel block (
Figure 112006047944312-PAT00022
) And prediction pixel values of the second prediction pixel block candidate of the second color component pixel block
Figure 112006047944312-PAT00023
And a value that minimizes the sum of the absolute difference between the values.
제 6항에 있어서, The method of claim 6, 상기 a는 1이며, 상기 b는 제 2 색 성분 화소 블록의 원 화소값들(
Figure 112006047944312-PAT00024
)과 상기 제 1 색 성분 화소 블록의 복원된 화소값들(
Figure 112006047944312-PAT00025
) 사이의 차이의 평균인 것을 특징으로 하는 부호화 방법.
A is 1, and b is the original pixel values of the second color component pixel block (
Figure 112006047944312-PAT00024
) And the reconstructed pixel values of the first color component pixel block (
Figure 112006047944312-PAT00025
Coding method characterized in that the average of the difference between the ().
제 6항에 있어서, 상기 a 및 b는The method of claim 6, wherein a and b are 선형 회귀(linear regression) 모델에 기반하여 결정되는 것을 특징으로 하 는 부호화 방법.A coding method, characterized in that it is determined based on a linear regression model. 제 6항에 있어서, 상기 (d) 단계는The method of claim 6, wherein step (d) 상기 복원된 제 1 색 성분 화소 블록을 이용하여 상기 제 2 색 성분 화소 블록의 제 2 예측 화소 블록 후보를 생성하며, 복원된 제 2 색 성분 화소 블록을 이용하여 제 3 색 성분 화소 블록의 제 2 예측 화소 블록 후보를 생성하는 것을 특징으로 하는 부호화 방법.Generate a second prediction pixel block candidate of the second color component pixel block using the reconstructed first color component pixel block, and generate a second prediction pixel block candidate of the third color component pixel block using the reconstructed second color component pixel block. A coding method characterized by generating a prediction pixel block candidate. 제 12항에 있어서, 상기 (d) 단계는The method of claim 12, wherein step (d) 상기 복원된 제 2 색 성분 화소 블록의 크기를 i×j(i,j는 정수), 상기 복원된 제 2 색 성분 화소 블록의 i번째 행, j번째 열에 위치한 화소값을
Figure 112006047944312-PAT00026
, 상기
Figure 112006047944312-PAT00027
에 대응되는 제 3 색 성분 화소 블록의 제 2 예측 화소 블록 후보의 예측 화소값을
Figure 112006047944312-PAT00028
, c는 소정의 가중치, d는 소정의 오프셋 값이라 할 때, 다음의 수학식;
The size of the restored second color component pixel block is i × j (i, j is an integer), and the pixel values located in the i th row and the j th column of the restored second color component pixel block.
Figure 112006047944312-PAT00026
, remind
Figure 112006047944312-PAT00027
The prediction pixel value of the second prediction pixel block candidate of the third color component pixel block corresponding to
Figure 112006047944312-PAT00028
When c is a predetermined weight and d is a predetermined offset value, the following equation;
Figure 112006047944312-PAT00029
Figure 112006047944312-PAT00029
을 이용하여 상기 제 3 색 성분 화소 블록의 제 2 예측 화소 블록 후보를 생성하는 것을 특징으로 하는 부호화 방법.And a second prediction pixel block candidate of the third color component pixel block is generated by using a method.
제 13항에 있어서, 상기 c 및 d는The method of claim 13, wherein c and d are 상기 제 2 색 성분 주변 화소 블록의 복원된 화소값들을 이용하여 예측된 상기 제 3 색 성분 주변 화소 블록의 예측 화소값들과 상기 제 3 색 성분 주변 화소 블록의 복원된 화소값들과의 차이가 최소가 되도록 하는 값인 것을 특징으로 하는 부호화 방법.The difference between the predicted pixel values of the third color component peripheral pixel block predicted using the restored pixel values of the second color component peripheral pixel block and the restored pixel values of the third color component peripheral pixel block is different. A coding method, characterized in that the minimum value. 제 13항에 있어서, The method of claim 13, 상기 c는 1이며, 상기 d는 상기 제 3 색 성분 주변 화소 블록의 복원된 화소값들과 상기 제 2 색 성분 주변 화소 블록의 복원된 화소값들 사이의 차이의 평균인 것을 특징으로 하는 부호화 방법.C is 1, and d is an average of a difference between the restored pixel values of the pixel block surrounding the third color component and the restored pixel values of the pixel block surrounding the second color component. . 제 13항에 있어서, 상기 c 및 d는 The method of claim 13, wherein c and d are 상기 제 3 색 성분 화소 블록의 원 화소값(
Figure 112006047944312-PAT00030
)들과 상기 제 3 색 성분 화소 블록의 제 2 예측 화소 블록 후보의 예측 화소값들(
Figure 112006047944312-PAT00031
) 사이의 절대값 차이의 합이 최소가 되도록 하는 값인 것을 특징으로 하는 부호화 방법.
The original pixel value of the third color component pixel block
Figure 112006047944312-PAT00030
) And prediction pixel values of the second prediction pixel block candidate of the third color component pixel block
Figure 112006047944312-PAT00031
And a value that minimizes the sum of the absolute difference between the values.
제 13항에 있어서, The method of claim 13, 상기 c는 1이며, 상기 d는 제 3 색 성분 화소 블록의 원 화소값(
Figure 112006047944312-PAT00032
)들과 상기 제 2 색 성분 화소 블록의 복원된 화소값(
Figure 112006047944312-PAT00033
)들 사이의 차이의 평균인 것을 특징으로 하는 부호화 방법.
C is 1, and d is the original pixel value of the third color component pixel block (
Figure 112006047944312-PAT00032
) And the reconstructed pixel value of the second color component pixel block
Figure 112006047944312-PAT00033
Coding method characterized in that the average of the difference between the).
영상 부호화 장치에 있어서,In the video encoding apparatus, 입력 영상에 구비된 적어도 두 가지 색 성분들의 영상들 중 이전에 예측 부호화된 제 1 색 성분 영상의 소정 크기의 화소 블록에 대응되는 나머지 색 성분 화소 블록에 대한 움직임 예측을 수행하여 상기 나머지 색 성분 화소 블록의 제 1 예측 화소 블록 후보를 생성하는 제 1 예측 화소 블록 후보 생성부;The remaining color component pixels are performed by performing motion prediction on the remaining color component pixel blocks corresponding to pixel blocks having a predetermined size among the images of at least two color components included in the input image. A first prediction pixel block candidate generator generating a first prediction pixel block candidate of the block; 상기 예측 부호화된 제 1 색 성분 화소 블록을 복원하는 복원부;A reconstruction unit for reconstructing the predictively coded first color component pixel block; 상기 복원된 제 1 색 성분 화소 블록을 이용하여 상기 나머지 색 성분 화소 블록을 예측하여 상기 나머지 색 성분 화소 블록의 제 2 예측 화소 블록 후보를 생성하는 제 2 예측 화소 블록 후보 생성부;A second prediction pixel block candidate generator configured to predict the remaining color component pixel blocks using the reconstructed first color component pixel blocks to generate a second prediction pixel block candidate of the remaining color component pixel blocks; 상기 제 1 예측 화소 블록 후보와 상기 제 2 예측 화소 블록 후보 중 하나를 상기 나머지 색 성분 화소 블록의 예측 화소 블록 후보로 결정하는 결정부를 포함하는 것을 특징으로 하는 부호화 장치.And a determining unit configured to determine one of the first prediction pixel block candidate and the second prediction pixel block candidate as a prediction pixel block candidate of the remaining color component pixel blocks. 제 18항에 있어서, 상기 색 성분들은19. The method of claim 18, wherein the color components are R(Red) 색 성분, G(Green) 색 성분 및 B(Blue) 색 성분인 것을 특징으로 하는 부호화 장치.An encoding device characterized by being an R (Red) color component, a G (Green) color component, and a B (Blue) color component. 제 18항에 있어서, 상기 제 1 예측 화소 블록 후보 생성부는19. The method of claim 18, wherein the first prediction pixel block candidate generator is 상기 제 1 색 성분 화소 블록의 예측 부호화시 수행된 움직임 예측 결과 생성된 상기 제 1 색 성분 화소 블록의 움직임 벡터와 동일한 움직임 벡터를 상기 나머지 색 성분 화소 블록의 움직임 벡터로 결정하고, 상기 결정된 움직임 벡터가 가리키는 참조 프레임의 화소 블록을 상기 나머지 색 성분 화소 블록의 제 1 예측 화소 블록 후보로 결정하는 것을 특징으로 하는 부호화 장치.The same motion vector as the motion vector of the first color component pixel block generated as a result of the motion prediction performed during the prediction encoding of the first color component pixel block is determined as the motion vector of the remaining color component pixel blocks, and the determined motion vector is determined. And determine a pixel block of a reference frame indicated by the first prediction pixel block candidate of the remaining color component pixel blocks. 제 18항에 있어서, 상기 제 2 예측 화소 블록 후보 생성부는19. The method of claim 18, wherein the second prediction pixel block candidate generator 상기 복원된 제 1 색 성분 화소 블록의 크기를 i×j(i,j는 정수), 상기 복원된 제 1 색 성분 화소 블록의 i번째 행, j번째 열에 위치한 복원된 화소값을
Figure 112006047944312-PAT00034
, 상기
Figure 112006047944312-PAT00035
에 대응되는 제 2 색 성분 화소 블록의 제 2 예측 화소 블록 후보의 예측 화소값을
Figure 112006047944312-PAT00036
, a는 소정의 가중치, b는 소정의 오프셋 값이라 할 때, 다음의 수학식;
The size of the restored first color component pixel block is i × j (i, j is an integer), and the restored pixel value located in the i th row and the j th column of the restored first color component pixel block.
Figure 112006047944312-PAT00034
, remind
Figure 112006047944312-PAT00035
The prediction pixel value of the second prediction pixel block candidate of the second color component pixel block corresponding to
Figure 112006047944312-PAT00036
When a is a predetermined weight and b is a predetermined offset value, the following equation;
Figure 112006047944312-PAT00037
Figure 112006047944312-PAT00037
을 이용하여 상기 제 2 색 성분 화소 블록의 제 2 예측 화소 블록 후보를 생 성하는 것을 특징으로 하는 부호화 장치.And a second prediction pixel block candidate of the second color component pixel block is generated by using a quantum symbol.
제 21항에 있어서, 상기 a 및 b는The method of claim 21, wherein a and b are 제 1 색 성분 주변 화소 블록의 복원된 화소값들을 이용하여 예측된 제 2 색 성분 주변 화소 블록의 예측 화소값들과 상기 제 2 색 성분 주변 화소 블록의 복원된 화소값들과의 차이가 최소가 되도록 하는 값인 것을 특징으로 하는 부호화 장치.The difference between the predicted pixel values of the second color component peripheral pixel block predicted using the restored pixel values of the first color component peripheral pixel block and the restored pixel values of the second color component peripheral pixel block is minimal. The encoding device characterized in that the value to be. 제 21항에 있어서, The method of claim 21, 상기 a는 1이며, 상기 b는 상기 제 2 색 성분 주변 화소 블록의 복원된 화소값들과 상기 제 1 색 성분 주변 화소 블록의 복원된 화소값들 사이의 차이의 평균인 것을 특징으로 하는 부호화 장치.A is 1, and b is an average of a difference between the reconstructed pixel values of the pixel block around the second color component and the reconstructed pixel values of the pixel block around the first color component. . 제 21항에 있어서, 상기 a 및 b는 The method of claim 21, wherein a and b are 상기 제 2 색 성분 화소 블록의 원 화소값들(
Figure 112006047944312-PAT00038
)과 상기 제 2 색 성분 화소 블록의 제 2 예측 화소 블록 후보의 예측 화소값들(
Figure 112006047944312-PAT00039
) 사이의 절대값 차이의 합이 최소가 되도록 하는 값인 것을 특징으로 하는 부호화 장치.
Original pixel values of the second color component pixel block (
Figure 112006047944312-PAT00038
) And prediction pixel values of the second prediction pixel block candidate of the second color component pixel block
Figure 112006047944312-PAT00039
And a value that minimizes the sum of the absolute difference between the values.
제 21항에 있어서, The method of claim 21, 상기 a는 1이며, 상기 b는 제 2 색 성분 화소 블록의 원 화소값들(
Figure 112006047944312-PAT00040
)과 상기 제 1 색 성분 화소 블록의 복원된 화소값들(
Figure 112006047944312-PAT00041
) 사이의 차이의 평균인 것을 특징으로 하는 부호화 장치.
A is 1, and b is the original pixel values of the second color component pixel block (
Figure 112006047944312-PAT00040
) And the reconstructed pixel values of the first color component pixel block (
Figure 112006047944312-PAT00041
Encoding device, characterized in that the average of the difference between the ().
제 21항에 있어서, 상기 a 및 b는The method of claim 21, wherein a and b are 선형 회귀(linear regression) 모델에 기반하여 결정되는 것을 특징으로 하는 부호화 장치.A coding apparatus, characterized in that determined based on a linear regression model. 제 21항에 있어서, 상기 제 2 예측 화소 블록 후보 생성부는The method of claim 21, wherein the second prediction pixel block candidate generator 상기 복원된 제 1 색 성분 화소 블록을 이용하여 제 2 색 성분 화소 블록의 제 2 예측 화소 블록 후보를 생성하며, 복원된 제 2 색 성분 화소 블록을 이용하여 제 3 색 성분 화소 블록의 제 2 예측 화소 블록 후보를 생성하는 것을 특징으로 하는 부호화 장치.The second prediction pixel block candidate of the second color component pixel block is generated using the reconstructed first color component pixel block, and the second prediction of the third color component pixel block is generated using the reconstructed second color component pixel block. An encoding device characterized by generating a pixel block candidate. 제 27항에 있어서, 상기 제 2 예측 화소 블록 후보 생성부는28. The method of claim 27, wherein the second prediction pixel block candidate generator is 상기 복원된 제 2 색 성분 화소 블록의 크기를 i×j(i,j는 정수), 상기 복원된 제 2 색 성분 화소 블록의 i번째 행, j번째 열에 위치한 화소값을
Figure 112006047944312-PAT00042
, 상기
Figure 112006047944312-PAT00043
에 대응되는 제 3 색 성분 화소 블록의 제 2 예측 화소 블록 후보의 예측 화소값을
Figure 112006047944312-PAT00044
, c는 소정의 가중치, d는 소정의 오프셋 값이라 할 때, 다음의 수학식;
The size of the restored second color component pixel block is i × j (i, j is an integer), and the pixel values located in the i th row and the j th column of the restored second color component pixel block.
Figure 112006047944312-PAT00042
, remind
Figure 112006047944312-PAT00043
The prediction pixel value of the second prediction pixel block candidate of the third color component pixel block corresponding to
Figure 112006047944312-PAT00044
When c is a predetermined weight and d is a predetermined offset value, the following equation;
Figure 112006047944312-PAT00045
Figure 112006047944312-PAT00045
을 이용하여 상기 제 3 색 성분 화소 블록의 제 2 예측 화소 블록 후보를 생성하는 것을 특징으로 하는 부호화 장치.And a second prediction pixel block candidate of the third color component pixel block is generated.
제 28항에 있어서, 상기 c 및 d는29. The method of claim 28, wherein c and d are 상기 제 2 색 성분 주변 화소 블록의 복원된 화소값들을 이용하여 예측된 상기 제 3 색 성분 주변 화소 블록의 예측 화소값들과 상기 제 3 색 성분 주변 화소 블록의 복원된 화소값들과의 차이가 최소가 되도록 하는 값인 것을 특징으로 하는 부호화 장치.The difference between the predicted pixel values of the third color component peripheral pixel block predicted using the restored pixel values of the second color component peripheral pixel block and the restored pixel values of the third color component peripheral pixel block is different. The encoding device characterized in that the minimum value. 제 28항에 있어서, The method of claim 28, 상기 c는 1이며, 상기 d는 상기 제 3 색 성분 주변 화소 블록의 복원된 화소값들과 상기 제 2 색 성분 주변 화소 블록의 복원된 화소값들 사이의 차이의 평균인 것을 특징으로 하는 부호화 장치.C is 1, and d is an average of a difference between the restored pixel values of the pixel block surrounding the third color component and the restored pixel values of the pixel block surrounding the second color component. . 제 28항에 있어서, 상기 c 및 d는 29. The method of claim 28, wherein c and d are 상기 제 3 색 성분 화소 블록의 원 화소값(
Figure 112006047944312-PAT00046
)들과 상기 제 3 색 성분 화소 블록의 제 2 예측 화소 블록 후보의 예측 화소값들(
Figure 112006047944312-PAT00047
) 사이의 절대값 차이의 합이 최소가 되도록 하는 값인 것을 특징으로 하는 부호화 장치.
The original pixel value of the third color component pixel block
Figure 112006047944312-PAT00046
) And prediction pixel values of the second prediction pixel block candidate of the third color component pixel block
Figure 112006047944312-PAT00047
And a value that minimizes the sum of the absolute difference between the values.
제 28항에 있어서, The method of claim 28, 상기 c는 1이며, 상기 d는 제 3 색 성분 화소 블록의 원 화소값(
Figure 112006047944312-PAT00048
)들과 상기 제 2 색 성분 화소 블록의 복원된 화소값(
Figure 112006047944312-PAT00049
)들 사이의 차이의 평균인 것을 특징으로 하는 부호화 장치.
C is 1, and d is the original pixel value of the third color component pixel block (
Figure 112006047944312-PAT00048
) And the reconstructed pixel value of the second color component pixel block
Figure 112006047944312-PAT00049
Encoding device, characterized in that the average of the difference between the).
영상의 복호화 방법에 있어서, In the video decoding method, (a) 입력 비트스트림에 구비된 적어도 두 가지 색 성분들의 부호화된 영상들 중 제 1 색 성분 영상의 소정 크기의 화소 블록을 복호화하는 단계;(a) decoding a pixel block having a predetermined size of a first color component image among encoded images of at least two color components included in the input bitstream; (b) 상기 비트스트림에 구비된 예측 모드 정보에 따라서 상기 제 1 색 성분 화소 블록에 대응되는 나머지 색 성분 화소 블록에 대한 움직임 보상 또는 상기 복호화된 제 1 색 성분 화소 블록을 이용한 예측을 통해 상기 나머지 색 성분 화소 블록의 예측 화소 블록을 생성하는 단계; 및(b) the remainder through motion compensation or prediction using the decoded first color component pixel block corresponding to the first color component pixel block according to the prediction mode information included in the bitstream. Generating a prediction pixel block of the color component pixel block; And (c) 상기 생성된 나머지 색 성분 화소 블록의 예측 화소 블록을 이용하여 상기 나머지 색 성분 화소 블록을 복호화하는 단계를 포함하는 것을 특징으로 하는 복호화 방법.(c) decoding the remaining color component pixel blocks by using the predicted pixel blocks of the generated remaining color component pixel blocks. 제 33항에 있어서, 상기 색 성분들은34. The method of claim 33, wherein the color components are R(Red) 색 성분, G(Green) 색 성분 및 B(Blue) 색 성분인 것을 특징으로 하는 복호화 방법.A decoding method comprising R (Red) color component, G (Green) color component, and B (Blue) color component. 제 33항에 있어서, 상기 (a) 단계는The method of claim 33, wherein step (a) (a1) 상기 비트스트림에 구비된 상기 제 1 색 성분 화소 블록의 제 1 레지듀를 복호화하는 단계;(a1) decoding a first residue of the first color component pixel block included in the bitstream; (a2) 상기 제 1 색 성분 화소 블록의 예측 모드에 따라서 인트라 예측 또는 움직임 보상을 수행하여 상기 제 1 색 성분 화소 블록의 예측 화소 블록을 생성하는 단계; 및(a2) generating a prediction pixel block of the first color component pixel block by performing intra prediction or motion compensation according to the prediction mode of the first color component pixel block; And (a3) 상기 복호화된 제 1 레지듀와 상기 제 1 색 성분 화소 블록의 예측 화소 블록을 더하여 상기 제 1 색 성분 화소 블록을 복호화하는 단계를 더 포함하는 것을 특징으로 하는 복호화 방법.and (a3) decoding the first color component pixel block by adding the decoded first residue and a prediction pixel block of the first color component pixel block. 제 33항에 있어서, 상기 (b) 단계는The method of claim 33, wherein step (b) 상기 나머지 색 성분 화소 블록에 대한 움직임 보상시에 상기 제 1 색 성분 화소 블록의 움직임 벡터와 동일한 벡터를 상기 나머지 색 성분 화소 블록의 움직임 벡터로 결정하고, 상기 결정된 움직임 벡터가 가리키는 참조 프레임의 화소 블록을 상기 예측 화소 블록으로 결정하는 것을 특징으로 하는 복호화 방법.When the motion compensation for the remaining color component pixel blocks is performed, the same vector as the motion vector of the first color component pixel block is determined as the motion vector of the remaining color component pixel blocks, and the pixel block of the reference frame indicated by the determined motion vector is determined. The decoding method, characterized in that for determining the prediction pixel block. 제 33항에 있어서, 상기 (b) 단계는The method of claim 33, wherein step (b) 상기 복호화된 제 1 색 성분 화소 블록의 크기를 i×j(i,j는 정수), 상기 복호화된 제 1 색 성분 화소 블록의 i번째 행, j번째 열에 위치한 복호화된 화소값을
Figure 112006047944312-PAT00050
, 상기
Figure 112006047944312-PAT00051
에 대응되는 제 2 색 성분 화소 블록의 예측 화소 블록의 예측 화소값을
Figure 112006047944312-PAT00052
, a는 소정의 가중치, b는 소정의 오프셋 값이라 할 때, 다음의 수학식;
The size of the decoded first color component pixel block is i × j (i, j is an integer), and the value of the decoded pixel located at the i th row and the j th column of the decoded first color component pixel block.
Figure 112006047944312-PAT00050
, remind
Figure 112006047944312-PAT00051
The prediction pixel value of the prediction pixel block of the second color component pixel block corresponding to
Figure 112006047944312-PAT00052
When a is a predetermined weight and b is a predetermined offset value, the following equation;
Figure 112006047944312-PAT00053
Figure 112006047944312-PAT00053
을 이용하여 상기 제 2 색 성분 화소 블록의 예측 화소 블록을 생성하는 것을 특징으로 하는 복호화 방법.And generating a predicted pixel block of the second color component pixel block by using a quantum symbol.
제 37항에 있어서, 상기 a 및 b는38. The method of claim 37, wherein a and b are 상기 영상의 부호화시에 상기 비트스트림에 삽입되어 전송되는 것을 특징으로 하는 복호화 방법.And inserting the bitstream into the bitstream when the video is encoded. 제 33항에 있어서, 상기 (b) 단계는The method of claim 33, wherein step (b) 상기 나머지 색 성분 화소 블록 중 상기 제 2 색 성분 화소 블록에 대해서 상기 복호화된 제 1 색 성분 화소 블록을 이용하여 제 2 색 성분 화소 블록의 예측 화소 블록을 생성하며, 상기 나머지 색 성분 화소 블록 중 제 3 색 성분 화소 블록에 대해서는 복호화된 제 2 색 성분 화소 블록을 이용하여 상기 제 3 색 성분 화소 블록의 예측 화소 블록을 생성하는 것을 특징으로 하는 복호화 방법.A prediction pixel block of a second color component pixel block is generated using the decoded first color component pixel block with respect to the second color component pixel block among the remaining color component pixel blocks, and a first one of the remaining color component pixel blocks is generated. For the three color component pixel block, a decoding pixel block of the third color component pixel block is generated using the decoded second color component pixel block. 제 39항에 있어서, 상기 (b) 단계는The method of claim 39, wherein step (b) 상기 복호화된 제 2 색 성분 화소 블록의 크기를 i×j(i,j는 정수), 상기 복호화된 제 2 색 성분 화소 블록의 i번째 행, j번째 열에 위치한 화소값을
Figure 112006047944312-PAT00054
, 상기
Figure 112006047944312-PAT00055
에 대응되는 제 3 색 성분 화소 블록의 예측 화소 블록의 예측 화소값을
Figure 112006047944312-PAT00056
, c는 소정의 가중치, d는 소정의 오프셋 값이라 할 때, 다음의 수학식;
I × j (i, j is an integer) of the size of the decoded second color component pixel block, and pixel values located in an i th row and a j th column of the decoded second color component pixel block.
Figure 112006047944312-PAT00054
, remind
Figure 112006047944312-PAT00055
The prediction pixel value of the prediction pixel block of the third color component pixel block corresponding to
Figure 112006047944312-PAT00056
When c is a predetermined weight and d is a predetermined offset value, the following equation;
Figure 112006047944312-PAT00057
Figure 112006047944312-PAT00057
을 이용하여 상기 제 3 색 성분 화소 블록의 예측 화소 블록을 생성하는 것을 특징으로 하는 복호화 방법.And generating a predicted pixel block of the third color component pixel block by using a spectral method.
제 40항에 있어서, 상기 c 및 d는41. The method of claim 40, wherein c and d are 상기 영상의 부호화시에 상기 비트스트림에 삽입되어 전송되는 것을 특징으로 하는 복호화 방법.And inserting the bitstream into the bitstream when the video is encoded. 제 33항에 있어서, 상기 (c) 단계는The method of claim 33, wherein step (c) 상기 비트스트림에 구비된 나머지 색 성분 화소 블록의 레지듀와 상기 나머지 색 성분 화소 블록의 예측 화소 블록을 더하여 상기 나머지 색 성분 화소 블록을 복호화하는 것을 특징으로 하는 복호화 방법.And decoding the remaining color component pixel blocks by adding residues of the remaining color component pixel blocks and the prediction pixel blocks of the remaining color component pixel blocks included in the bitstream. 영상의 복호화 장치에 있어서,In the video decoding apparatus, 입력 비트스트림에 구비된 적어도 두 가지 색 성분들의 부호화된 영상들 중 제 1 색 성분 영상의 소정 크기의 화소 블록을 복호화하는 제 1 복호화부;A first decoder configured to decode a pixel block having a predetermined size of a first color component image among encoded images of at least two color components included in the input bitstream; 상기 비트스트림에 구비된 예측 모드 정보에 따라서 상기 제 1 색 성분 화소 블록에 대응되는 나머지 색 성분 화소 블록에 대한 움직임 보상 또는 상기 복호화된 제 1 색 성분 화소 블록을 이용한 예측을 통해 상기 나머지 색 성분 화소 블록의 예측 화소 블록을 생성하는 예측 화소 블록 생성부; 및The remaining color component pixels through motion compensation for the remaining color component pixel blocks corresponding to the first color component pixel block or prediction using the decoded first color component pixel blocks according to the prediction mode information included in the bitstream. A prediction pixel block generation unit generating a prediction pixel block of the block; And 상기 생성된 나머지 색 성분 화소 블록의 예측 화소 블록을 이용하여 나머지 색 성분 영상의 화소 블록을 복호화하는 제 2 복호화부를 포함하는 것을 특징으로 하는 복호화 장치.And a second decoder configured to decode the pixel block of the remaining color component image by using the generated prediction pixel block of the remaining color component pixel block. 제 43항에 있어서, 상기 색 성분들은44. The method of claim 43, wherein the color components are R(Red) 색 성분, G(Green) 색 성분 및 B(Blue) 색 성분인 것을 특징으로 하는 복호화 장치.And an R (Red) color component, a G (Green) color component, and a B (Blue) color component. 제 43항에 있어서, 상기 제 1 복호화부는44. The apparatus of claim 43, wherein the first decoder 상기 비트스트림에 구비된 상기 제 1 색 성분 화소 블록의 제 1 레지듀를 복호화하고, 상기 제 1 색 성분 화소 블록의 예측 모드에 따라서 인트라 예측 또는 움직임 보상을 수행하여 상기 제 1 색 성분 화소 블록의 예측 화소 블록을 생성하며, 상기 복호화된 제 1 레지듀와 상기 제 1 색 성분 화소 블록의 예측 화소 블록을 더하여 상기 제 1 색 성분 화소 블록을 복호화하는 것을 특징으로 하는 복호화 장치.Decoding a first residue of the first color component pixel block included in the bitstream and performing intra prediction or motion compensation according to a prediction mode of the first color component pixel block And generating a prediction pixel block, and decoding the first color component pixel block by adding the decoded first residue and the prediction pixel block of the first color component pixel block. 제 43항에 있어서, 상기 예측 화소 블록 생성부는45. The method of claim 43, wherein the prediction pixel block generator 상기 나머지 색 성분 화소 블록에 대한 움직임 보상시에 상기 제 1 색 성분 화소 블록의 움직임 벡터와 동일한 벡터를 상기 나머지 색 성분 화소 블록의 움직임 벡터로 결정하고, 상기 결정된 움직임 벡터가 가리키는 참조 프레임의 화소 블록을 상기 예측 화소 블록으로 결정하는 것을 특징으로 하는 복호화 장치.When the motion compensation for the remaining color component pixel blocks is performed, the same vector as the motion vector of the first color component pixel block is determined as the motion vector of the remaining color component pixel blocks, and the pixel block of the reference frame indicated by the determined motion vector is determined. And determine the predicted pixel block as the prediction pixel block. 제 43항에 있어서, 상기 예측 화소 블록 생성부는45. The method of claim 43, wherein the prediction pixel block generator 상기 복호화된 제 1 색 성분 화소 블록의 크기를 i×j(i,j는 정수), 상기 복호화된 제 1 색 성분 화소 블록의 i번째 행, j번째 열에 위치한 복호화된 화소값을
Figure 112006047944312-PAT00058
, 상기
Figure 112006047944312-PAT00059
에 대응되는 제 2 색 성분 화소 블록의 예측 화소 블록의 예측 화소값을
Figure 112006047944312-PAT00060
, a는 소정의 가중치, b는 소정의 오프셋 값이라 할 때, 다음의 수학식;
The size of the decoded first color component pixel block is i × j (i, j is an integer), and the value of the decoded pixel located at the i th row and the j th column of the decoded first color component pixel block.
Figure 112006047944312-PAT00058
, remind
Figure 112006047944312-PAT00059
The prediction pixel value of the prediction pixel block of the second color component pixel block corresponding to
Figure 112006047944312-PAT00060
When a is a predetermined weight and b is a predetermined offset value, the following equation;
Figure 112006047944312-PAT00061
Figure 112006047944312-PAT00061
을 이용하여 상기 제 2 색 성분 화소 블록의 예측 화소 블록을 생성하는 것을 특징으로 하는 복호화 장치.And a predictive pixel block of the second color component pixel block is generated by using a quantum symbol.
제 47항에 있어서, 상기 a 및 b는48. The method of claim 47, wherein a and b are 상기 영상의 부호화시에 상기 비트스트림에 삽입되어 전송되는 것을 특징으로 하는 복호화 장치.And inserting the bitstream into the bitstream at the time of encoding the video. 제 43항에 있어서, 상기 예측 화소 블록 생성부는45. The method of claim 43, wherein the prediction pixel block generator 상기 나머지 색 성분 화소 블록 중 상기 제 2 색 성분 화소 블록에 대해서 상기 복호화된 제 1 색 성분 화소 블록을 이용하여 제 2 색 성분 화소 블록의 예측 화소 블록을 생성하며, 상기 나머지 색 성분 화소 블록 중 제 3 색 성분 화소 블록에 대해서는 복호화된 제 2 색 성분 화소 블록을 이용하여 상기 제 3 색 성분 화소 블록의 예측 화소 블록을 생성하는 것을 특징으로 하는 복호화 장치.A prediction pixel block of a second color component pixel block is generated using the decoded first color component pixel block with respect to the second color component pixel block among the remaining color component pixel blocks, and a first one of the remaining color component pixel blocks is generated. A decoding device according to claim 3, wherein a prediction pixel block of the third color component pixel block is generated using the decoded second color component pixel block. 제 49항에 있어서, 상기 예측 화소 블록 생성부는50. The apparatus of claim 49, wherein the prediction pixel block generation unit 상기 복호화된 제 2 색 성분 화소 블록의 크기를 i×j(i,j는 정수), 상기 복호화된 제 2 색 성분 화소 블록의 i번째 행, j번째 열에 위치한 화소값을
Figure 112006047944312-PAT00062
, 상기
Figure 112006047944312-PAT00063
에 대응되는 제 3 색 성분 화소 블록의 예측 화소 블록의 예측 화소값을
Figure 112006047944312-PAT00064
, c는 소정의 가중치, d는 소정의 오프셋 값이라 할 때, 다음의 수학식;
I × j (i, j is an integer) of the size of the decoded second color component pixel block, and pixel values located in an i th row and a j th column of the decoded second color component pixel block.
Figure 112006047944312-PAT00062
, remind
Figure 112006047944312-PAT00063
The prediction pixel value of the prediction pixel block of the third color component pixel block corresponding to
Figure 112006047944312-PAT00064
When c is a predetermined weight and d is a predetermined offset value, the following equation;
Figure 112006047944312-PAT00065
Figure 112006047944312-PAT00065
을 이용하여 상기 제 3 색 성분 화소 블록의 예측 화소 블록을 생성하는 것을 특징으로 하는 복호화 장치.And a predictive pixel block of the third color component pixel block is generated by using a quantum symbol.
제 50항에 있어서, 상기 c 및 d는51. The method of claim 50, wherein c and d are 상기 영상의 부호화시에 상기 비트스트림에 삽입되어 전송되는 것을 특징으로 하는 복호화 장치.And inserting the bitstream into the bitstream at the time of encoding the video. 제 33항에 있어서, 상기 제 2 복호화부는The method of claim 33, wherein the second decoding unit 상기 비트스트림에 구비된 나머지 색 성분 화소 블록의 레지듀와 상기 나머지 색 성분 화소 블록의 예측 화소 블록을 더하여 상기 나머지 색 성분 화소 블록을 복호화하는 것을 특징으로 하는 복호화 장치.And decoding the remaining color component pixel blocks by adding residues of the remaining color component pixel blocks and the prediction pixel blocks of the remaining color component pixel blocks included in the bitstream.
KR1020060062440A 2006-07-04 2006-07-04 An video encoding/decoding method and apparatus KR101311403B1 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
KR1020060062440A KR101311403B1 (en) 2006-07-04 2006-07-04 An video encoding/decoding method and apparatus
US11/785,832 US8553768B2 (en) 2006-07-04 2007-04-20 Image encoding/decoding method and apparatus
JP2008544268A JP2009518940A (en) 2006-07-04 2007-06-05 Image encoding method and apparatus, decoding method and apparatus
EP07807929A EP2036358A4 (en) 2006-07-04 2007-06-05 Image encoding/decoding method and apparatus
PCT/KR2007/002713 WO2008004768A1 (en) 2006-07-04 2007-06-05 Image encoding/decoding method and apparatus
CN200780000995XA CN101352046B (en) 2006-07-04 2007-06-05 Image encoding/decoding method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060062440A KR101311403B1 (en) 2006-07-04 2006-07-04 An video encoding/decoding method and apparatus

Publications (2)

Publication Number Publication Date
KR20080004012A true KR20080004012A (en) 2008-01-09
KR101311403B1 KR101311403B1 (en) 2013-09-25

Family

ID=38894705

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060062440A KR101311403B1 (en) 2006-07-04 2006-07-04 An video encoding/decoding method and apparatus

Country Status (6)

Country Link
US (1) US8553768B2 (en)
EP (1) EP2036358A4 (en)
JP (1) JP2009518940A (en)
KR (1) KR101311403B1 (en)
CN (1) CN101352046B (en)
WO (1) WO2008004768A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9277232B2 (en) 2009-08-10 2016-03-01 Samsung Electronics Co., Ltd. Apparatus and method of encoding and decoding image data using color correlation

Families Citing this family (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101261526B1 (en) * 2006-07-04 2013-05-06 삼성전자주식회사 An video encoding/decoding method and apparatus
FR2907989B1 (en) 2006-10-27 2009-01-16 Actimagine Sarl METHOD AND DEVICE FOR OPTIMIZING THE COMPRESSION OF A VIDEO STREAM
KR101362757B1 (en) * 2007-06-11 2014-02-14 삼성전자주식회사 Method and apparatus for image encoding and decoding using inter color compensation
KR101291196B1 (en) * 2008-01-25 2013-07-31 삼성전자주식회사 Video encoding method and apparatus, and video decoding method and apparatus
KR100939917B1 (en) 2008-03-07 2010-02-03 에스케이 텔레콤주식회사 Encoding system using motion estimation and encoding method using motion estimation
JP5289440B2 (en) * 2008-07-10 2013-09-11 三菱電機株式会社 Image encoding device, image decoding device, image encoding method, and image decoding method
EP2200326A1 (en) * 2008-12-18 2010-06-23 Thomson Licensing Method and device for encoding a block of an image using a reference block of a further image, data carrier carrying an encoded block of an image and method for decoding a block of an image
US20100226568A1 (en) * 2009-03-09 2010-09-09 Smith Micro Software, Inc. Effective color modeling method for predictive image compression
FR2959376A1 (en) * 2010-04-22 2011-10-28 France Telecom METHOD FOR PROCESSING MOTION INFORMATION, CORRESPONDING ENCODING AND DECODING METHODS, DEVICES, SIGNAL AND COMPUTER PROGRAM
US20130039412A1 (en) 2010-04-26 2013-02-14 Panasonic Corporation Predictive coding with block shapes derived from a prediction error
JP5346884B2 (en) * 2010-06-23 2013-11-20 日本放送協会 Motion compensation device
JP5742049B2 (en) * 2011-01-05 2015-07-01 学校法人成蹊学園 Color moving picture coding method and color moving picture coding apparatus
MX2014005114A (en) * 2011-10-28 2014-08-27 Samsung Electronics Co Ltd Method and device for intra prediction of video.
US9503750B2 (en) * 2011-11-04 2016-11-22 Futurewei Technologies, Inc. Binarization of prediction residuals for lossless video coding
JP5753062B2 (en) * 2011-11-16 2015-07-22 Kddi株式会社 Color component prediction type image encoding apparatus and decoding apparatus
CN108650516A (en) * 2012-07-09 2018-10-12 株式会社尼康 Compression set, image compressing device and filming apparatus
JP6151909B2 (en) * 2012-12-12 2017-06-21 キヤノン株式会社 Moving picture coding apparatus, method and program
US20140205199A1 (en) * 2013-01-23 2014-07-24 Qamarul Islam Storage Area and Temporal Based Optimized Run Length Codec For Classic JPEG Image Compression (SAT-BORL CODEC)
PL2984837T3 (en) * 2013-04-08 2018-07-31 Ge Video Compression, Llc Inter-component prediction
JP2015076781A (en) * 2013-10-10 2015-04-20 三菱電機株式会社 Image encoding device, image decoding device, image encoding method, and image decoding method
JP5667269B2 (en) * 2013-10-18 2015-02-12 株式会社Kddi研究所 Image encoding device, image decoding device, image encoding / decoding device, image encoding / decoding method, and image encoding / decoding program
CN105723706B (en) 2013-10-18 2020-03-17 Ge视频压缩有限责任公司 Multi-component picture or video coding concept
JP2014222936A (en) * 2014-07-23 2014-11-27 株式会社Kddi研究所 Image decoding device, image decoding method, image encoding/decoding method and image decoding program
WO2016124158A1 (en) * 2015-02-05 2016-08-11 Mediatek Inc. Methods and apparatus of decoding process for palette syntax
EP3104610A1 (en) * 2015-06-10 2016-12-14 Thomson Licensing Method and device for encoding color differences for color picture data
US10827039B1 (en) 2015-10-19 2020-11-03 Quest Software Inc. Systems and methods for dynamic compression of time-series data
US20170310969A1 (en) * 2016-04-20 2017-10-26 Mediatek Inc. Image encoding method and apparatus with color space transform performed upon predictor and associated image decoding method and apparatus
US20170339423A1 (en) * 2016-05-23 2017-11-23 Mediatek Inc. Image encoder using shared mean value calculation circuit and/or shared clipping circuit and associated image encoding method
US20180014021A1 (en) * 2016-07-05 2018-01-11 Cisco Technology, Inc. Prediction in image and video compression
JP6875802B2 (en) * 2016-08-22 2021-05-26 キヤノン株式会社 Image coding device and its control method, imaging device and program
JP7147145B2 (en) * 2017-09-26 2022-10-05 富士通株式会社 Video encoding device, video encoding method, and video encoding program
CN107835426A (en) * 2017-11-15 2018-03-23 深圳市瑞云科技有限公司 A kind of compression of sequence chart and decompressing method
SG11202101310PA (en) 2018-08-09 2021-03-30 Guangdong Oppo Mobile Telecommunications Corp Ltd Video image component prediction method and apparatus, and computer storage medium
WO2021054437A1 (en) * 2019-09-19 2021-03-25 ソニー株式会社 Image processing device and image processing method
WO2024077520A1 (en) * 2022-10-12 2024-04-18 Oppo广东移动通信有限公司 Encoding method, decoding method, code stream, encoder, decoder, and storage medium

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3230263B2 (en) * 1992-01-31 2001-11-19 ソニー株式会社 Motion vector detection circuit
US5513128A (en) 1993-09-14 1996-04-30 Comsat Corporation Multispectral data compression using inter-band prediction
JP4034380B2 (en) * 1996-10-31 2008-01-16 株式会社東芝 Image encoding / decoding method and apparatus
US6829301B1 (en) * 1998-01-16 2004-12-07 Sarnoff Corporation Enhanced MPEG information distribution apparatus and method
IL129203A (en) 1999-03-28 2002-07-25 Univ Ramot Method and system for compression of images
US6831948B1 (en) * 1999-07-30 2004-12-14 Koninklijke Philips Electronics N.V. System and method for motion compensation of image planes in color sequential displays
JP2002335407A (en) 2001-05-08 2002-11-22 Fuji Xerox Co Ltd Image encoder and image encoding method
JP2003116141A (en) 2001-10-04 2003-04-18 Nippon Telegr & Teleph Corp <Ntt> Moving picture prediction encoding method and its decoding method, and apparatus for the same
US7023918B2 (en) * 2002-05-30 2006-04-04 Ess Technology, Inc. Color motion artifact detection and processing apparatus compatible with video coding standards
US7469069B2 (en) 2003-05-16 2008-12-23 Samsung Electronics Co., Ltd. Method and apparatus for encoding/decoding image using image residue prediction
US20040258162A1 (en) * 2003-06-20 2004-12-23 Stephen Gordon Systems and methods for encoding and decoding video data in parallel
US7362809B2 (en) * 2003-12-10 2008-04-22 Lsi Logic Corporation Computational reduction in motion estimation based on lower bound of cost function
JP2005184525A (en) 2003-12-19 2005-07-07 Akuseru:Kk Image processor
US20050259730A1 (en) 2004-05-18 2005-11-24 Sharp Laboratories Of America, Inc. Video coding with residual color conversion using reversible YCoCg
KR100657268B1 (en) * 2004-07-15 2006-12-14 학교법인 대양학원 Scalable encoding and decoding method of color video, and apparatus thereof
US7561620B2 (en) * 2004-08-03 2009-07-14 Microsoft Corporation System and process for compressing and decompressing multiple, layered, video streams employing spatial and temporal encoding
US8284837B2 (en) 2004-09-16 2012-10-09 Thomson Licensing Video codec with weighted prediction utilizing local brightness variation
CN100461867C (en) * 2004-12-02 2009-02-11 中国科学院计算技术研究所 Inage predicting encoding method in frame

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9277232B2 (en) 2009-08-10 2016-03-01 Samsung Electronics Co., Ltd. Apparatus and method of encoding and decoding image data using color correlation

Also Published As

Publication number Publication date
EP2036358A4 (en) 2011-10-05
WO2008004768A1 (en) 2008-01-10
KR101311403B1 (en) 2013-09-25
JP2009518940A (en) 2009-05-07
US8553768B2 (en) 2013-10-08
EP2036358A1 (en) 2009-03-18
CN101352046A (en) 2009-01-21
US20080008238A1 (en) 2008-01-10
CN101352046B (en) 2011-03-23

Similar Documents

Publication Publication Date Title
KR101311403B1 (en) An video encoding/decoding method and apparatus
KR101362757B1 (en) Method and apparatus for image encoding and decoding using inter color compensation
KR101311402B1 (en) An video encoding/decoding method and apparatus
KR101261526B1 (en) An video encoding/decoding method and apparatus
KR101266168B1 (en) Method and apparatus for encoding, decoding video
KR101200865B1 (en) An video encoding/decoding method and apparatus
JP5128443B2 (en) Video encoding and decoding method and apparatus
KR101246294B1 (en) Method of and apparatus for video intraprediction encoding/decoding
JP4617644B2 (en) Encoding apparatus and method
KR101138392B1 (en) Color image encoding and decoding method and apparatus using a correlation between chrominance components
KR101348365B1 (en) An video encoding/decoding method and apparatus
JP5143120B2 (en) Image encoding method and apparatus, decoding method and apparatus
KR20090097688A (en) Method and apparatus of encoding/decoding image based on intra prediction
KR20080088046A (en) Method and apparatus for video encoding and decoding using motion compensation filtering
KR101341993B1 (en) Method and Apparatus for Image Encoding/Decoding Using High Resolution Filter
KR20070009337A (en) Apparatus and method for encoding/decoding of color image and video using prediction of color components in frequency domain
KR20090087767A (en) Method for predictive intra coding for image data
KR100718122B1 (en) Lossless color image coding method and apparatus using inter-plane prediction
KR100738075B1 (en) Apparatus and method for encoding and decoding image
JPH1070738A (en) Visual error processing method and image encoding device using the same method
KR100647297B1 (en) Image coding method and apparatus using residue transform
JP4924708B2 (en) Decoding apparatus and method
KR101261525B1 (en) Method and apparatus for encoding and decoding image
JP7343702B2 (en) Deblocking filter device, decoding device, and program
KR20190091431A (en) Method and apparatus for image interpolation having quarter pixel accuracy using intra prediction modes

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20160830

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20170830

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee