KR20100138735A - Video encoding and decoding apparatus and method using context information-based adaptive post filter - Google Patents

Video encoding and decoding apparatus and method using context information-based adaptive post filter Download PDF

Info

Publication number
KR20100138735A
KR20100138735A KR1020100033225A KR20100033225A KR20100138735A KR 20100138735 A KR20100138735 A KR 20100138735A KR 1020100033225 A KR1020100033225 A KR 1020100033225A KR 20100033225 A KR20100033225 A KR 20100033225A KR 20100138735 A KR20100138735 A KR 20100138735A
Authority
KR
South Korea
Prior art keywords
post filter
reconstructed image
filter
image
post
Prior art date
Application number
KR1020100033225A
Other languages
Korean (ko)
Inventor
정세윤
최해철
임성창
김종호
이하현
조숙희
최진수
홍진우
정광수
박시내
남정학
조현호
심동규
안창범
박광훈
오승준
Original Assignee
한국전자통신연구원
광운대학교 산학협력단
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 한국전자통신연구원, 광운대학교 산학협력단 filed Critical 한국전자통신연구원
Publication of KR20100138735A publication Critical patent/KR20100138735A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • H04N19/126Details of normalisation or weighting functions, e.g. normalisation matrices or variable uniform quantisers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/157Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
    • H04N19/159Prediction type, e.g. intra-frame, inter-frame or bidirectional frame 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/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/172Methods 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 picture, frame or field
    • 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

Abstract

PURPOSE: A video encoding and decoding apparatus and a method using context information based adaptive post filter are provided to improve the efficiency of video encoding. CONSTITUTION: A reconstitution video generator(120) creates the reconstructed image using the differential signal and the restored prediction frame. The reconstitution video generator applies the deblocking filter. A post filter unit(130) decides whether to apply the fixed post filter based on the contextual information of the reconstructed image to the reconstructed image. The post filter unit decides whether to apply the post filter adaptively based on the contextual information of the reconstructed image to the reconstructed image. The post filter unit applies the fixed post filter or the post filter which was adaptively generated to the reconstructed image.

Description

문맥정보 기반의 적응적인 포스트 필터를 이용한 동영상 부호화/복호화 장치 및 그 방법{Video Encoding and Decoding Apparatus and Method using Context Information-based Adaptive Post Filter}Video Encoding / Decoding Apparatus Using Context Information-Based Adaptive Post Filter and Its Method {Video Encoding and Decoding Apparatus and Method using Context Information-based Adaptive Post Filter}

본 발명의 실시 예들은 동영상 부호화/복호화 장치 및 그 방법에 관한 것으로, 더욱 상세하게는 포스트 필터의 성능 개선을 통하여 동영상 부호화의 효율을 향상시킬 수 있는, 문맥기반의 적응적인 포스트 필터를 이용한 동영상 부호화/복호화 장치 및 그 방법에 관한 것이다.Embodiments of the present invention relate to a video encoding / decoding apparatus and a method thereof, and more particularly, to video encoding using a context-based adaptive post filter, which can improve the efficiency of video encoding by improving the performance of a post filter. / Decryption apparatus and method thereof.

본 발명은 지식경제부 및 정보통신연구진흥원의 IT원천기술개발사업의 일환으로 수행한 연구로부터 도출된 것이다[과제관리번호: 2008-F-011, 과제명: 차세대DTV핵심원천기술개발].The present invention is derived from the research conducted as part of the IT source technology development project of the Ministry of Knowledge Economy and the Ministry of Information and Communication Research and Development. [Task management number: 2008-F-011, Project name: Next-generation DTV core source technology development].

동영상 압축을 위한 기존의 부호화 표준 기술들은 H.261, H.263, MPEG-1, MPEG-2, MPEG-4, 그리고 H.264 등이 있다. 기존의 부호화 표준 기술들은 조금씩 차이는 있으나, 일반적으로 움직임 추정과 보상, 변환 부호화, 그리고 엔트로피 인코딩을 포함하는 유사한 구조로 구성되어 있다. 특히, H.264는 복원된 영상 내에 존재하는 블록경계 왜곡을 최소화하여, 주관적인 화질 향상뿐만 아니라 움직임 추정과 보상과정에서 더 정밀한 예측을 가능하게 하여 전체적인 부호화 효율을 높이는 것으로 알려져 있다. 이러한 디블록킹 필터는 낮은 비트레이트 영상에서는 좋은 성능을 보이지만, 고화질 영상에서는 거의 성능이 없거나, 오히려 부호화 성능을 저하시키는 문제가 있다. Conventional coding standard techniques for video compression include H.261, H.263, MPEG-1, MPEG-2, MPEG-4, and H.264. Conventional coding standard techniques are slightly different, but generally consist of similar structures including motion estimation and compensation, transform coding, and entropy encoding. In particular, H.264 is known to minimize block boundary distortion in the reconstructed image, thereby improving the overall coding efficiency by enabling more accurate prediction in motion estimation and compensation as well as subjective picture quality improvement. Such a deblocking filter shows good performance in a low bitrate image, but has little performance in a high quality image, or rather has a problem of degrading encoding performance.

또한, 최근 표준화에서 이슈가 되고 있는 포스트 필터는 복원된 영상과 원본 영상 간의 에러를 최소화하는 필터로써, 고화질 영상에서 디블록킹 필터와 같이 적용하였을 때, 부호화 효율을 높이는 효과가 있다. In addition, the post filter, which is an issue in recent standardization, is a filter that minimizes an error between a reconstructed image and an original image, and when applied like a deblocking filter in a high quality image, it has an effect of increasing encoding efficiency.

하지만, 종래의 포스트 필터는 부호화 과정 중에 적응적으로 생성되기 때문에 생성된 필터에 대한 계수를 모두 전송해야 하는 문제점이 있다. 따라서, 종래의 포스트 필터는 압축 효율을 떨어뜨리는 문제가 있다.However, since the conventional post filter is adaptively generated during the encoding process, all of the coefficients of the generated filter have to be transmitted. Therefore, the conventional post filter has a problem of lowering the compression efficiency.

본 발명의 실시 예들은, 포스트 필터의 성능 개선을 통하여 동영상 부호화의 효율을 향상시킬 수 있는, 문맥정보 기반의 적응적인 포스트 필터를 이용한 동영상 부호화/복호화 장치 및 그 방법을 제공한다. Embodiments of the present invention provide a video encoding / decoding apparatus and method using an adaptive post filter based on context information, which can improve video encoding efficiency through performance improvement of a post filter.

또한, 본 발명의 실시 예들은, 동영상 부호화 시, 움직임 추정과 움직임 보상 과정에서 더 정밀한 예측을 가능하게 함으로써, 부호화 효율을 높일 수 있는 문맥정보 기반의 적응적인 포스트 필터를 이용한 동영상 부호화 장치 및 그 방법을 제공한다.In addition, embodiments of the present invention, a video encoding apparatus and method using an adaptive post filter based on context information that can increase the coding efficiency by enabling more accurate prediction in the motion estimation and motion compensation process during video encoding To provide.

본 발명의 일 실시 예에 따른 동영상 부호화 장치는, 현재 부호화 대상이 되는 원본 영상과 상기 원본 영상에 대한 예측 영상 간의 차분 신호를 부호화하는 부호화부와, 부호화된 차분 신호를 복원하고, 복원된 차분신호와 상기 예측 영상을 이용하여 복원영상을 생성하고 디블록킹 필터를 적용하는 복원영상 생성부 및 고정된 포스트 필터를 상기 복원 영상에 적용할 것인지 또는 적응적으로 생성된 포스트 필터를 상기 복원 영상에 적용할 것인지를 상기 복원영상의 문맥정보(Context)에 기초하여 결정하고, 상기 고정된 포스트 필터 또는 상기 적응적으로 생성된 포스트 필터를 상기 복원영상에 적용하는 포스트 필터부를 포함한다. An apparatus for encoding a video according to an embodiment of the present invention includes an encoder for encoding a difference signal between an original video to be currently encoded and a predicted video for the original video, a coded differential signal, and a reconstructed differential signal. And a reconstructed image generator to generate a reconstructed image using the predicted image and apply a deblocking filter, and apply a fixed post filter to the reconstructed image or to apply an adaptively generated post filter to the reconstructed image. It determines whether or not based on the context information (Context) of the reconstruction image, and includes a post filter unit for applying the fixed post filter or the adaptively generated post filter to the reconstruction image.

이때, 포스트 필터부는, 영상블록 단위로 상기 복원영상의 문맥정보를 분석하는 문맥정보 분석부와, 상기 문맥정보가 기 설정된 문맥정보 집합에 속하면 상기 고정된 포스트 필터를 영상블록 단위로 상기 복원영상에 적용하고, 상기 문맥정보가 기 설정된 문맥정보 집합에 속하지 않으면 상기 적응적으로 생성된 포스트 필터를 영상블록 단위로 상기 복원영상에 적용하는 포스트 필터링 수행부 및 상기 영상블록 단위로 상기 복원 영상에 적용되는 포스트 필터에 대한 식별정보를 상기 부호화부로 제공하는 필터 정보 생성부를 포함할 수 있다.In this case, the post filter unit may include a context information analyzer configured to analyze context information of the reconstructed image in image block units, and when the context information belongs to a preset context information set, the fixed post filter in the reconstructed image unit in image blocks. And a post filtering unit for applying the adaptively generated post filter to the reconstructed image in units of image blocks if the context information does not belong to a preset context information set, and to the reconstructed image in units of image blocks. It may include a filter information generator for providing the identification information for the post filter to the encoder.

이때, 포스트 필터링 수행부는, 상기 고정된 포스트 필터 또는 상기 적응적으로 생성된 포스트 필터를 영상블록 단위로 상기 복원영상에 적용함에 있어서, 영상 블록의 내부 및 영상블록의 경계에 겹쳐서 적용할 수 있다.In this case, the post-filtering unit may apply the fixed post filter or the adaptively generated post filter to the reconstructed image in units of image blocks, overlapping the inside of the image block and the boundary of the image block.

이때, 포스트 필터링 수행부는, 상기 문맥정보에 기초하여 영상 블록을 복수의 파티션으로 구분하고, 복수의 파티션 각각에 대하여 상기 고정된 포스트 필터 또는 상기 적응적으로 생성된 포스트 필터를 적용할 수 있다. In this case, the post-filtering unit may divide the image block into a plurality of partitions based on the context information, and apply the fixed post filter or the adaptively generated post filter to each of the plurality of partitions.

이때, 상기 포스트 필터에 대한 식별정보는, 상기 복원 영상에 적용되는 포스트 필터가 상기 고정된 포스트 필터인 경우에는 적용된 포스트 필터를 구분하는 필터 인덱스이고, 상기 복원 영상에 적용되는 포스트 필터가 상기 적응적으로 생성된 포스트 필터인 경우에는 적용된 포스트 필터의 필터 계수이다. In this case, when the post filter applied to the reconstructed image is the fixed post filter, the identification information of the post filter is a filter index for distinguishing the applied post filter, and the post filter applied to the reconstructed image is adaptive. In the case of the post filter generated by, it is the filter coefficient of the applied post filter.

본 발명의 일 실시 예에 따른 동영상 복호화 장치는, 입력 비트열을 복호화하여 차분 신호를 복원하는 복호화부와, 상기 차분신호 및 예측 영상을 이용하여 복원영상을 생성하고 디블록킹 필터를 적용하는 복원영상 생성부 및 고정된 포스트 필터를 상기 복원 영상에 적용할 것인지 또는 적응적으로 생성된 포스트 필터를 상기 복원 영상에 적용할 것인지를 상기 복원영상의 문맥정보(Context)에 기초하여 결정하고, 상기 고정된 포스트 필터 또는 상기 적응적으로 생성된 포스트 필터를 상기 복원영상에 적용하는 포스트 필터부를 포함한다. According to an embodiment of the present invention, a video decoding apparatus includes: a decoder configured to decode an input bit string to restore a differential signal, and a reconstructed image to generate a reconstructed image using the differential signal and the predicted image and apply a deblocking filter. Whether to apply a generator and a fixed post filter to the reconstructed image or to apply an adaptively generated post filter to the reconstructed image is determined based on the context information of the reconstructed image. And a post filter for applying the post filter or the adaptively generated post filter to the reconstructed image.

본 발명의 일 실시 예에 따른 동영상 부호화 방법은, 현재 부호화 대상이 되는 원본 영상과 상기 원본 영상에 대한 예측 영상 간의 차분 신호를 부호화하는 단계와, 부호화된 차분 신호를 복원하는 단계와, 복원된 차분신호와 상기 예측 영상을 이용하여 복원영상을 생성하고 디블록킹 필터를 적용하는 단계 및 고정된 포스트 필터를 상기 복원 영상에 적용할 것인지 또는 적응적으로 생성된 포스트 필터를 상기 복원 영상에 적용할 것인지를 상기 복원영상의 문맥정보(Context)에 기초하여 결정하고, 상기 고정된 포스트 필터 또는 상기 적응적으로 생성된 포스트 필터를 상기 복원영상에 적용하는 단계를 포함한다. According to an embodiment of the present invention, a video encoding method includes encoding a difference signal between a current video to be encoded and a prediction video of the original video, restoring the encoded difference signal, and restoring the restored difference. Generating a reconstructed image using a signal and the predicted image, applying a deblocking filter, and applying a fixed post filter to the reconstructed image or applying an adaptively generated post filter to the reconstructed image Determining based on the context information of the reconstructed image, and applying the fixed post filter or the adaptively generated post filter to the reconstructed image.

본 발명의 일 실시 예에 따른 동영상 복호화 방법은, 입력 비트열을 복호화하여 차분 신호를 복원하는 단계와, 상기 차분신호 및 예측 영상을 이용하여 복원영상을 생성하고 디블록킹 필터를 적용하는 단계 및 고정된 포스트 필터를 상기 복원 영상에 적용할 것인지 또는 적응적으로 생성된 포스트 필터를 상기 복원 영상에 적용할 것인지를 상기 복원영상의 문맥정보(Context)에 기초하여 결정하고, 상기 고정된 포스트 필터 또는 상기 적응적으로 생성된 포스트 필터를 상기 복원영상에 적용하는 단계를 포함한다.According to an embodiment of the present invention, a video decoding method includes: restoring a differential signal by decoding an input bit stream, generating a reconstructed image by using the difference signal and a predicted image, and applying a deblocking filter; It is determined whether the applied post filter is applied to the reconstructed image or an adaptively generated post filter is applied to the reconstructed image based on the context information of the reconstructed image, and the fixed post filter or the And applying an adaptively generated post filter to the reconstructed image.

본 발명의 실시 예들에 따르면, 포스트 필터의 성능 개선을 통하여 동영상 부호화의 효율을 향상시킬 수 있다. According to embodiments of the present invention, the efficiency of video encoding may be improved by improving the performance of the post filter.

또한, 본 발명의 실시 예들에 따르면, 동영상 부호화 시, 움직임 추정과 움직임 보상 과정에서 더 정밀한 예측을 가능하게 함으로써, 부호화 효율을 높일 수 있다.Further, according to embodiments of the present invention, encoding efficiency can be increased by enabling more accurate prediction in motion estimation and motion compensation during video encoding.

도 1은 본 발명의 일 실시 예에 따른 동영상 부호화 장치의 구성을 나타낸다.
도 2는 도 1에 도시된 포스트 필터부의 구성 예를 나타낸다.
도 3은 발명의 일 실시 예에 따른 문맥 정보 기반의 포스트 필터링 방법을 나타내는 흐름도이다.
도 4는 본 발명의 다른 일 실시 예에 따른 동영상 부호화 장치의 구성을 나타낸다.
도 5는 본 발명의 일 실시 예에 따른 포스트 필터의 적용 예를 나타낸다.
도 6은 본 발명의 일 실시 예에 따른 포스트 필터 적용의 다른 예를 나타낸다.
도 7은 본 발명의 일 실시 예에 따른 필터정보의 전송 예를 나타낸다.
도 8은 본 발명의 일 실시 예에 따른 복호화 장치의 구성 예를 나타낸다.
1 illustrates a configuration of a video encoding apparatus according to an embodiment of the present invention.
FIG. 2 shows a configuration example of the post filter unit shown in FIG. 1.
3 is a flowchart illustrating a post filtering method based on context information according to an exemplary embodiment.
4 illustrates a configuration of a video encoding apparatus according to another embodiment of the present invention.
5 shows an application example of a post filter according to an embodiment of the present invention.
6 shows another example of a post filter application according to an embodiment of the present invention.
7 shows an example of transmitting filter information according to an embodiment of the present invention.
8 shows an example of a configuration of a decoding apparatus according to an embodiment of the present invention.

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

도 1은 본 발명의 일 실시 예에 따른 동영상 부호화 장치의 구성을 나타낸다. 1 illustrates a configuration of a video encoding apparatus according to an embodiment of the present invention.

도 1을 참조하면, 동영상 부호화 장치(100)는 부호화부(110), 복원 영상 생성부(120) 및 포스트 필터부(130)를 포함한다. Referring to FIG. 1, the video encoding apparatus 100 includes an encoder 110, a reconstructed image generator 120, and a post filter 130.

부호화부(110)는 현재 부호화 대상이 되는 원본 영상과 상기 원본 영상에 대한 예측 영상 간의 차분 신호(residual signal)를 부호화한다. 이때, 부호화부(110)는 이산여현변환(Discrete Cosine Transform, DCT), 양자화, 엔트로피 인코딩 등을 통하여 차분신호를 부호화할 수 있다.The encoder 110 encodes a residual signal between the original image to be encoded currently and the prediction image for the original image. In this case, the encoder 110 may encode the differential signal through a discrete cosine transform (DCT), quantization, entropy encoding, or the like.

복원영상 생성부(120)는 부호화된 차분 신호를 복원하고, 복원된 차분신호와 예측 영상을 이용하여 복원영상을 생성한다. 이때, 복원영상 생성부(120)는 역양자화, 역이산여현변환, 디블록킹 필터를 통하여 복원영상을 생성할 수 있다. The reconstructed image generator 120 reconstructs the encoded differential signal and generates a reconstructed image using the reconstructed differential signal and the predicted image. In this case, the reconstructed image generator 120 may generate the reconstructed image through inverse quantization, inverse discrete cosine transform, and deblocking filter.

포스트 필터부(130)는 복원영상의 문맥정보에 따라서, 복원영상의 영상 블록 단위로 포스트 필터를 적용한다. 이때, 포스트 필터부(130)는 하나 또는 복수의 프로세서로 구성될 수 있다.The post filter unit 130 applies the post filter in units of image blocks of the reconstructed image according to the context information of the reconstructed image. In this case, the post filter unit 130 may be configured of one or a plurality of processors.

예를 들어, 포스트 필터부(130)는 고정된 포스트 필터를 상기 복원 영상에 적용할 것인지 또는 적응적으로 생성된 포스트 필터를 상기 복원 영상에 적용할 것인지를 결정하고, 고정된 포스트 필터 또는 적응적으로 생성된 포스트 필터를 상기 복원영상에 적용한다. 이때, 포스트 필터부(130)는 복원영상의 문맥정보(Context)에 기초하여 고정된 포스트 필터를 상기 복원 영상에 적용할 것인지 또는 적응적으로 생성된 포스트 필터를 상기 복원 영상에 적용할 것인지를 결정한다. For example, the post filter unit 130 determines whether to apply a fixed post filter to the reconstructed image or to apply an adaptively generated post filter to the reconstructed image. The generated post filter is applied to the reconstructed image. In this case, the post filter unit 130 determines whether to apply a fixed post filter to the reconstructed image or to apply an adaptively generated post filter to the reconstructed image based on the context information of the reconstructed image. do.

또한, 포스트 필터부(130)는 문맥정보에 따라서 다수의 고정된 포스트 필터를 사용할 것인지, 또는 적응적으로 포스트 필터를 생성해서 사용할 것인지를 결정할 수 있다. 여기서 고정된 포스트 필터는 수많은 영상을 기반으로 하여 통계적으로 구해놓은 필터가 되며, 다수의 필터가 있을 수 있기 때문에 문맥정보에 따라 적합한 필터가 선택될 수 있다. 그리고 일반적인 문맥정보와 상이한 문맥정보를 갖는 영상블록에 대해서는 적응적으로 필터를 생성해서 적용할 수 있다. 이때, 적응적으로 필터를 생성하는 방법은, 다양한 방식이 있을 수 있으며, 예를 들어 복원 영상과 원본 영상과의 에러를 최소화하는데 필요한 Cost가 가장 작은 필터를 생성하는 방식이 있을 수 있다. 또한, 포스트 필터의 크기는 하나로 고정되지 않고 NⅹN으로 결정될 수 있으며, 복원 영상의 문맥정보에 따라서 다양하게 결정될 수 있다.
In addition, the post filter unit 130 may determine whether to use a plurality of fixed post filters or adaptively generate and use post filters according to the context information. The fixed post filter is a filter obtained statistically based on a number of images, and since there may be a plurality of filters, an appropriate filter may be selected according to context information. In addition, a filter may be adaptively generated and applied to an image block having context information different from general context information. In this case, there may be various methods for adaptively generating a filter. For example, there may be a method of generating a filter having the smallest cost necessary to minimize an error between the reconstructed image and the original image. In addition, the size of the post filter may be determined as NⅹN without being fixed as one, and may be variously determined according to the context information of the reconstructed image.

도 2는 도 1에 도시된 포스트 필터부의 구성 예를 나타낸다. FIG. 2 shows a configuration example of the post filter unit shown in FIG. 1.

도 2를 참조하면, 포스트 필터부(130)는 문맥정보 분석부(210), 포스트 필터링 수행부(230) 및 필터정보 생성부(250)를 포함한다. 2, the post filter unit 130 may include a context information analyzer 210, a post filtering unit 230, and a filter information generator 250.

문맥정보 분석부(210)는 상기 복원영상의 문맥정보를 분석함에 있어서, 복원영상의 영상블록 단위로 문맥정보를 분석한다. 여기서, 문맥정보는 매크로블록 타입, SKIP, 양자화 계수, CBP(Coded Block Pattern)정보, DCT 계수, 주변블록에 대한 정보 등 영상블록마다 가질 수 있는 모든 특징이 될 수 있다. In analyzing the context information of the reconstructed image, the context information analyzer 210 analyzes the context information in units of image blocks of the reconstructed image. Here, the context information may be all features that may be provided for each image block, such as macroblock type, SKIP, quantization coefficient, coded block pattern (CBP) information, DCT coefficient, and information on neighboring blocks.

포스트 필터링 수행부(230)는 문맥정보가 기 설정된 문맥정보 집합에 속하면 상기 고정된 포스트 필터를 영상블록 단위로 상기 복원영상에 적용한다. 이때, 포스트 필터링 수행부(230)는 상기 문맥정보가 기 설정된 문맥정보 집합에 속하지 않으면 상기 적응적으로 생성된 포스트 필터를 영상블록 단위로 상기 복원영상에 적용한다. 이때, 기 설정된 문맥정보 집합이란, 예를 들어, n(n=1,2,3..)개의 고정된 포스트 필터 각각에 대응하는 n개의 문맥정보를 의미한다. 따라서, 포스트 필터링 수행부(230)는 영상블록의 문맥정보가 기 설정된 n개의 문맥정보 중 어느 하나인 경우에, 대응하는 고정된 포스트 필터를 사용하여 포스트 필터링을 수행할 수 있다. The post filtering unit 230 applies the fixed post filter to the reconstructed image in units of image blocks when the context information belongs to a preset context information set. In this case, the post filtering performing unit 230 applies the adaptively generated post filter to the reconstructed image in units of image blocks if the context information does not belong to a preset context information set. In this case, the preset context information set means, for example, n context information corresponding to each of n (n = 1, 2, 3.) fixed post filters. Accordingly, the post filtering performing unit 230 may perform post filtering using a corresponding fixed post filter when the context information of the image block is any one of n preset context information.

한편, 포스트 필터링 수행부(230)는, 고정된 포스트 필터 또는 적응적으로 생성된 포스트 필터를 영상블록 단위로 복원영상에 적용함에 있어서, 도 5에 도시된 바와 같이, 영상 블록의 내부 및 영상블록의 경계에 겹쳐서 적용할 수 있다.Meanwhile, the post-filtering unit 230 applies the fixed post filter or the adaptively generated post filter to the reconstructed image in units of image blocks. As shown in FIG. 5, the internal and image blocks of the image block are shown. It can be applied to the boundary of.

또한, 포스트 필터링 수행부(230)는, 도 6에 도시된 바와 같이, 문맥정보에 기초하여 영상 블록을 복수의 파티션으로 구분하고, 복수의 파티션 각각에 대하여 상기 고정된 포스트 필터 또는 상기 적응적으로 생성된 포스트 필터를 적용할 수 있다. Also, as illustrated in FIG. 6, the post filtering unit 230 divides the image block into a plurality of partitions based on the context information, and the fixed post filter or adaptively applies to each of the plurality of partitions. You can apply the created post filter.

필터정보 생성부(250)는, 복원영상에 적용된 포스트 필터에 대한 식별정보를 부호화부(110)로 제공한다. 여기서, 포스트 필터에 대한 식별정보는 복원 영상에 적용되는 포스트 필터가 고정된 포스트 필터인 경우에는 적용된 포스트 필터를 구분하는 필터 인덱스이다. 그리고, 포스트 필터에 대한 식별정보는 복원 영상에 적용되는 포스트 필터가 적응적으로 생성된 포스트 필터인 경우에는 적용된 포스트 필터의 필터 계수이다. 이때, 부호화부(110)는 포스트 필터에 대한 식별정보를 차분영상과 구분하여 부호화하고, 부호화된 포스트 필터에 대한 식별정보를 복호화 장치로 전송할 수 있다. 따라서, 본 발명의 일 실시 예에 따르면, 부호화장치(100)는 고정된 포스트 필터를 복원영상에 적용한 경우에, 필터 인덱스 만을 복호화 장치로 전송한다. 또한, 본 발명의 일 실시 예에 따르면, 부호화장치(100)는 적응적으로 생성된 포스트 필터를 복원영상에 적용한 경우에, 필터 계수를 복호화 장치로 전송할 수 있다. 이때, 부호화장치(100)는 필터 계수의 Symmetry한 특성을 이용하여 필터 계수 정보를 복호화 장치로 전송할 수 있다.
The filter information generation unit 250 provides the encoding unit 110 with identification information on the post filter applied to the reconstructed image. Here, the identification information on the post filter is a filter index for distinguishing the applied post filter when the post filter applied to the reconstructed image is a fixed post filter. The identification information of the post filter is a filter coefficient of the applied post filter when the post filter applied to the reconstructed image is an adaptively generated post filter. In this case, the encoder 110 may distinguish and encode the identification information of the post filter from the differential image, and transmit the identification information of the encoded post filter to the decoding apparatus. Therefore, according to an embodiment of the present invention, when the fixed post filter is applied to the reconstructed image, the encoding apparatus 100 transmits only the filter index to the decoding apparatus. In addition, according to an embodiment of the present invention, when the adaptively generated post filter is applied to the reconstructed image, the encoding apparatus 100 may transmit the filter coefficients to the decoding apparatus. In this case, the encoding apparatus 100 may transmit the filter coefficient information to the decoding apparatus by using the symmetric characteristic of the filter coefficients.

도 3은 본 발명의 일 실시 예에 따른 문맥 정보 기반의 포스트 필터링 방법을 나타내는 흐름도이다. 도 3에 도시된 방법은 도 1의 포스트 필터부(130)에 의하여 수행될 수 있다.3 is a flowchart illustrating a post filtering method based on context information according to an exemplary embodiment. The method shown in FIG. 3 may be performed by the post filter unit 130 of FIG. 1.

도 3을 참조하면, 310단계에서, 포스트 필터부(130)는 복원영상의 문맥정보를 분석한다. 이때, 필터부(130)는 영상블록 단위로 복원 영상의 문맥정보를 분석할 수 있다. Referring to FIG. 3, in step 310, the post filter unit 130 analyzes context information of a reconstructed image. In this case, the filter unit 130 may analyze the context information of the reconstructed image in units of image blocks.

320단계에서, 포스트 필터부(130)는 문맥정보가 기 설정된 문맥정보 집합에 속하는지를 판단한다. In operation 320, the post filter unit 130 determines whether the context information belongs to a preset context information set.

문맥정보가 기 설정된 문맥정보 집합에 속하면, 330단계에서 포스트 필터부(130)는 고정된 포스트 필터를 복원영상에 적용한다. 즉, 포스트 필터부(130)는 다수의 포스트 필터 중에서 문맥정보에 대응하는 어느 하나의 포스트 선택하고, 선택된 포스트 필터를 복원영상에 적용할 수 있다. If the context information belongs to the preset context information set, the post filter unit 130 applies the fixed post filter to the reconstructed image in step 330. That is, the post filter unit 130 may select one post corresponding to the context information among the plurality of post filters, and apply the selected post filter to the reconstructed image.

문맥정보가 기 설정된 문맥정보 집합에 속하지 않으면, 340단계에서 포스트 필터부(130)는 적응적으로 생성된 포스트 필터를 복원영상에 적용할 수 있다.If the context information does not belong to the preset context information set, the post filter unit 130 may apply the adaptively generated post filter to the reconstructed image (340).

이후, 350단계에서, 포스트 필터부(130)는 필터 정보를 생성한다. 이때, 생성된 필터 정보는 부호화부(110)로 제공될 수 있다.
In operation 350, the post filter unit 130 generates filter information. In this case, the generated filter information may be provided to the encoder 110.

도 4는 본 발명의 다른 일 실시 예에 따른 동영상 부호화 장치의 구성을 나타낸다. 4 illustrates a configuration of a video encoding apparatus according to another embodiment of the present invention.

도 4를 참조하면, 동영상 부호화 장치(400)는 영상 예측부(410), 차분신호 생성부(420), 부호화부(430), 복원영상 생성부(440) 및 포스트 필터부(450)를 포함한다. Referring to FIG. 4, the video encoding apparatus 400 includes an image predictor 410, a difference signal generator 420, an encoder 430, a reconstructed image generator 440, and a post filter 450. do.

영상 예측부(410)는, 참조 프레임(403) 또는 복원영상으로부터 현재 프레임(401)에 대한 예측 영상을 생성한다. 이때, 현재 프레임(401)은 현재 부호화 대상이 되는 원본 영상에 해당하고, 참조 프레임(403)은 포스트 필터링이 적용된 참조 영상에 해당한다. The image predictor 410 generates a predicted image of the current frame 401 from the reference frame 403 or the reconstructed image. In this case, the current frame 401 corresponds to the original image to be currently encoded, and the reference frame 403 corresponds to the reference image to which post filtering is applied.

영상 예측부(410)는, 도 4에 도시된 바와 같이, 움직임 예측부(411), 인트라 예측 선택부(413), 움직임 보상부(415), 인트라 예측부(417)를 포함하여 구성될 수 있다. 움직임 예측부(411)는 참조 프레임(403)으로부터 현재 프레임(401)의 움직임을 예측하고, 움직임 보상부(415)는 참조 프레임(403)의 움직임을 보상한다. 인트라 예측 선택부(413)는, 예측 영상을 인트라 모드로 생성하는 경우에, 인트라 예측을 선택하도록 영상 예측부(410)를 제어한다. 또한, 인트라 예측부(417)는 인트라 예측에 의하여 복원 영상으로부터 현재 프레임(401)에 대한 예측 영상을 생성한다. As illustrated in FIG. 4, the image predictor 410 may include a motion predictor 411, an intra prediction selector 413, a motion compensator 415, and an intra predictor 417. have. The motion predictor 411 predicts the motion of the current frame 401 from the reference frame 403, and the motion compensator 415 compensates for the motion of the reference frame 403. The intra prediction selecting unit 413 controls the image predicting unit 410 to select intra prediction when generating the prediction image in the intra mode. In addition, the intra predictor 417 generates a predicted image of the current frame 401 from the reconstructed image by intra prediction.

차분신호 생성부(420)는, 현재 프레임(401)에서 영상 예측부(410)에 의하여 생성된 예측 영상을 감산하여 차분신호 Dn를 생성한다. 즉, 현재 프레임(401)에서 하나의 영상 블록을 부호화 하는 경우, 영상 예측부(410)는 부호화 대상이 되는 현재 프레임(401)의 영상 블록에 대한 예측 영상 블록을 생성하고, 차분신호 생성부(420)는 현재 프레임(401)의 영상 블록에 대한 차분신호를 생성할 수 있다.The difference signal generator 420 subtracts the prediction image generated by the image predictor 410 from the current frame 401 to generate the difference signal Dn. That is, when one image block is encoded in the current frame 401, the image predictor 410 generates a predicted image block of the image block of the current frame 401 to be encoded, and generates a differential signal generator ( 420 may generate a difference signal for the image block of the current frame 401.

부호화부(430)는, 현재 부호화 대상이 되는 원본 영상과 상기 원본 영상에 대한 예측 영상 간의 차분 신호를 부호화한다. The encoder 430 encodes a difference signal between the original video to be currently encoded and the predicted video for the original video.

부호화부(430)는, 도 4에 도시된 바와 같이, 차분신호를 이산여현변환하는 이산여현변환부(431), 양자화를 수행하는 양자화부(433), 양자화된 데이터를 재정렬하는 재정렬부(435) 및 재정렬된 데이터를 엔트로피 인코딩하는 엔트로피 인코더(437)을 포함하여 구성될 수 있다. As illustrated in FIG. 4, the encoder 430 may include a discrete cosine transform unit 431 for discrete cosine transforming a differential signal, a quantization unit 433 for performing quantization, and a reordering unit 435 for rearranging quantized data. And an entropy encoder 437 for entropy encoding the reordered data.

복원영상 생성부(440)는, 부호화된 차분 신호를 복원하고, 복원된 차분신호D`n와 예측 영상 uFn`을 이용하여 복원영상을 생성하고 디블록킹 필터를 적용한다.The reconstructed image generator 440 reconstructs the encoded difference signal, generates a reconstructed image using the reconstructed differential signal D'n, and the predicted image uFn`, and applies a deblocking filter.

복원영상 생성부(440)는 도 4에 도시된 바와 같이, 역양자화를 수행하는 역양자화부(445), 역이산여현변환을 수행하는 역이산여현변환부(443), 가산기(441) 및 디블록킹 필터부(447)를 포함하여 구성될 수 있다. 즉, 복원영상 생성부(440)는 복원 영상을 생성하고, 복원 영상이 다음 영상블록 또는 다음 프레임에 대한 예측 영상을 생성하는데 이용될 수 있도록 한다. The reconstructed image generator 440 may include an inverse quantization unit 445 for performing inverse quantization, an inverse discrete cosine transform unit 443 for performing inverse discrete cosine transform, an adder 441, and a D. It may be configured to include a blocking filter 447. That is, the reconstructed image generating unit 440 generates a reconstructed image and allows the reconstructed image to be used to generate a predicted image for the next image block or the next frame.

포스트 필터부(450)는, 복원영상 생성부(440)에서 출력되는 복원영상에 대한 문맥정보를 기반으로 복원영상에 포스트 필터를 적용한다. 이때, 포스트 필터부(450)는 도 4에 도시된 바와 같이, 문맥정보 분석부(451), 포스트 필터링 수행부(453) 및 필터정보 생성부(455)를 포함하여 구성될 수 있다. 여기서, 문맥정보 분석부(451), 포스트 필터링 수행부(453) 및 필터정보 생성부(455)의 기능은, 각각 도 2에 도시된 문맥정보 분석부(210), 포스트 필터링 수행부(230) 및 필터정보 생성부(250)와 동일하다.
The post filter unit 450 applies the post filter to the reconstructed image based on the context information of the reconstructed image output from the reconstructed image generating unit 440. In this case, as shown in FIG. 4, the post filter unit 450 may include a context information analyzer 451, a post filtering unit 453, and a filter information generator 455. In this case, the functions of the context information analyzer 451, the post filtering unit 453, and the filter information generator 455 are respectively the context information analyzer 210 and the post filtering unit 230 shown in FIG. 2. And the filter information generator 250.

도 5는 본 발명의 일 실시 예에 따른 포스트 필터의 적용 예를 나타낸다. 5 shows an application example of a post filter according to an embodiment of the present invention.

도 5를 참조하면, 본 발명의 일 실시 예에 따른 포스트 필터부는, 고정된 포스트 필터 또는 적응적으로 생성된 포스트 필터를 영상블록 단위로 복원영상에 적용함에 있어서, 영상 블록(510, 520)의 내부(501, 505) 및 영상블록(510, 520)의 경계(503)에 겹쳐서 적용할 수 있다. 이때, 영상 블록(510, 520)의 내부(501, 505) 및 영상블록(510, 520)의 경계(503)에 적용되는 포스트 필터는 서로 동일할 수도 있고 다를 수도 있다. 또한, 영상 블록 단위는, 4ⅹ4 블록에 국한되는 것이 아니라, 8ⅹ8, 16ⅹ16 와 같이, NⅹN으로 정해질 수 있다. 그리고, 픽셀의 위치에 따라 더해지는 오프셋(offset) 값이 다르게 정해질 수 있으며, 더해지는 오프셋 값의 범위는 -1에서 1사이로 또는 더 큰 값으로 정해질 수 있다.
Referring to FIG. 5, the post filter unit according to an embodiment of the present disclosure applies a fixed post filter or an adaptively generated post filter to a reconstructed image in units of image blocks. It can be applied to the interior 501, 505 and the boundary 503 of the image blocks 510, 520. In this case, the post filters applied to the interiors 501 and 505 of the image blocks 510 and 520 and the boundary 503 of the image blocks 510 and 520 may be the same or different. In addition, the video block unit is not limited to 4 × 4 blocks, but may be determined as N × N, such as 8 × 8 and 16 × 16. In addition, an offset value to be added may be determined differently according to the position of the pixel, and a range of the offset value to be added may be determined to be -1 to 1 or a larger value.

도 6은 본 발명의 일 실시 예에 따른 포스트 필터 적용의 다른 예를 나타낸다. 6 shows another example of a post filter application according to an embodiment of the present invention.

도 6을 참조하면, 본 발명의 일 실시 예에 따른 포스트 필터부는, 문맥정보에 기초하여 영상 블록을 복수의 파티션으로 구분하고, 복수의 파티션 각각에 대하여 고정된 포스트 필터 또는 적응적으로 생성된 포스트 필터를 적용할 수 있다. 즉, 하나의 영상블록(610)에 대하여 하나의 포스트 필터가 적용될 수 도 있지만, 복수의 파티션(601, 603)에 대하여 각각 다른 포스트 필터가 적용될 수 있다. 이때, 파티션의 구분은 복원 영상 내의 Edge 또는 이와 유사한 블록 정보를 통하여 구분될 수 있다. 또한, 파티션의 수는 두 개로 제한되지 않으며, 여러 개의 파티션으로 구분될 수 있다. 또한, 파티션의 구분에 따라서, 각각의 파티션에 동일한 크기의 포스트 필터가 적용되거나, 각각의 파티션에 서로 다른 크기의 포스트 필터가 적용될 수 있다.
6, a post filter unit according to an embodiment of the present disclosure divides an image block into a plurality of partitions based on context information, and fixes a post filter or an adaptively generated post for each of the plurality of partitions. You can apply filters. That is, one post filter may be applied to one image block 610, but different post filters may be applied to the plurality of partitions 601 and 603, respectively. In this case, partitions may be divided through Edge or similar block information in the reconstructed image. In addition, the number of partitions is not limited to two, and may be divided into several partitions. In addition, according to the partition classification, a post filter of the same size may be applied to each partition, or a post filter of a different size may be applied to each partition.

도 7은 본 발명의 일 실시 예에 따른 필터정보의 전송 예를 나타낸다. 7 shows an example of transmitting filter information according to an embodiment of the present invention.

도 7을 참조하면, 본 발명의 일 실시 예에 따른 부호화 장치는, 710과 같이 슬라이스 마다 적응적인 필터 계수 또는 고정 필터에 대한 필터 인덱스 정보를 복호화 장치로 전송할 수 있고, 720과 같이 매크로블록 마다 적응적인 필터 계수 또는 고정 필터에 대한 필터 인덱스 정보를 복호화 장치로 전송할 수 있다. 이때, 포스트 필터의 크기는 하나로 고정되지 않고 NⅹN으로 결정되고, 또한, 복원 영상의 문맥정보에 따라서 다양하게 결정될 수 있다.
Referring to FIG. 7, the encoding apparatus according to an embodiment of the present invention may transmit adaptive filter coefficients or filter index information for a fixed filter to each decoding block, such as 710, for each macroblock, as shown in 710. Filter index information about the specific filter coefficient or the fixed filter may be transmitted to the decoding apparatus. In this case, the size of the post filter is not fixed to one, but is determined as NⅹN, and may be variously determined according to the context information of the reconstructed image.

도 8은 본 발명의 일 실시 예에 따른 복호화 장치의 구성 예를 나타낸다. 8 shows an example of a configuration of a decoding apparatus according to an embodiment of the present invention.

도 8을 참조하면, 복호화 장치(800)는 복호화부(810), 복원영상 생성부(820) 및 포스트 필터부(830)을 포함한다. 도 1 또는 도 4에 도시된 부호화 장치에 대응하는 구성을 갖는다. Referring to FIG. 8, the decoding apparatus 800 includes a decoder 810, a reconstructed image generator 820, and a post filter 830. It has a configuration corresponding to the encoding apparatus shown in FIG. 1 or 4.

복호화부(810)는, 입력 비트열을 복호화하여 차분 신호를 복원한다. 이때, 복호화부(810)는 엔트로피 디코딩을 수행하는 엔트로피 디코더(811), 엔트로피 디코딩된 데이터를 재정렬하는 재정렬부(813), 역양자화를 수행하는 역양자화부(815) 및 역이산여현변환을 수행하는 역이산여현변환부(817)를 포함하여 구성될 수 있다. The decoder 810 decodes the input bit string and restores the difference signal. In this case, the decoder 810 performs an entropy decoder 811 for performing entropy decoding, a reordering unit 813 for rearranging the entropy decoded data, an inverse quantization unit 815 for performing inverse quantization, and inverse discrete cosine transform. The inverse discrete cosine transform unit 817 may be configured to include.

복원영상 생성부(820)는, 차분신호 Dn`와 예측 영상 uFn`을 이용하여 복원영상을 생성한다. 도 8에 도시된 바와 같이, 복원영상 생성부(820)는, 참조 프레임(801)으로부터 움직임 보상을 수행하는 움직임 보상부(821), 복원영상으로부터 인트라 예측을 수행하는 인트라 예측부(823), 예측영상과 차분신호를 이용하여 복원영상을 생성하는 가산기(825) 및 복원영상내에 블록킹 에러를 제거하는 디블록킹 필터부(827)를 포함하여 구성될 수 있다. The reconstructed image generator 820 generates a reconstructed image by using the difference signal Dn` and the predicted image uFn`. As shown in FIG. 8, the reconstructed image generator 820 may include a motion compensator 821 performing motion compensation from a reference frame 801, an intra predictor 823 performing intra prediction from a reconstructed image, And an adder 825 for generating a reconstructed image using the predicted image and the difference signal, and a deblocking filter unit 827 for removing a blocking error in the reconstructed image.

포스트 필터부(830)는, 고정된 포스트 필터를 상기 복원 영상에 적용할 것인지 또는 적응적으로 생성된 포스트 필터를 상기 복원 영상에 적용할 것인지를 상기 복원영상의 문맥정보(Context)에 기초하여 결정하고, 상기 고정된 포스트 필터 또는 상기 적응적으로 생성된 포스트 필터를 상기 복원영상에 적용한다. The post filter unit 830 determines whether to apply a fixed post filter to the reconstructed image or to apply an adaptively generated post filter to the reconstructed image based on the context information of the reconstructed image. The fixed post filter or the adaptively generated post filter is applied to the reconstructed image.

포스트 필터부(830)는, 도 8에 도시된 바와 같이, 문맥정보 분석부(831), 필터정보 수신부(833) 및 포스트 필터링 수행부(835)를 포함하여 구성될 수 있다. As illustrated in FIG. 8, the post filter unit 830 may include a context information analyzer 831, a filter information receiver 833, and a post filtering unit 835.

문맥정보 분석부(831)는, 영상블록 단위로 복원영상의 문맥정보를 분석한다. 이때, 문맥정보 분석부(831)는 부호화 장치의 문맥정보 분석부(210, 451)와 동일한 기능을 수행할 수 있다. The context information analyzer 831 analyzes context information of the reconstructed image in units of image blocks. In this case, the context information analyzer 831 may perform the same function as the context information analyzers 210 and 451 of the encoding apparatus.

필터정보 수신부(833)는, 복호화부(810)로부터 입력 비트열에 포함된 필터정보를 수신한다.The filter information receiver 833 receives the filter information included in the input bit string from the decoder 810.

포스트 필터링 수행부(835)는, 복원영상의 문맥정보가 기 설정된 문맥정보 집합에 속하면 필터정보 수신부(833)에 수신된 필터 정보를 필터 인덱스로 판단하고, 필터 인덱스에 대응하는 포스트 필터를 영상블록 단위로 복원영상에 적용한다. 또한, 포스트 필터링 수행부(835)는, 문맥정보가 기 설정된 문맥정보 집합에 속하지 않으면 필터정보 수신부(833)에 수신된 필터정보를 필터 계수정보로 판단한다. 즉, 포스트 필터링 수행부(835)는, 필터 계수를 이용하여 적응적으로 포스트 필터를 생성하고, 적응적으로 생성된 포스트 필터를 영상블록 단위로 상기 복원영상에 적용한다.If the context information of the reconstructed image belongs to a preset context information set, the post filtering unit 835 determines the filter information received by the filter information receiver 833 as a filter index, and displays the post filter corresponding to the filter index. Applies to reconstructed image in block unit. In addition, the post filtering unit 835 determines the filter information received by the filter information receiving unit 833 as the filter coefficient information when the context information does not belong to the preset context information set. That is, the post filtering performer 835 adaptively generates a post filter using filter coefficients, and applies the adaptively generated post filter to the reconstructed image in units of image blocks.

한편, 포스트 필터링 수행부(835)는 부호화 장치의 포스트 필터링 수행부(230, 450)와 유사한 방식으로 포스트 필터링을 수행할 수 있다. 따라서, 포스트 필터링 수행부(835)는, 고정된 포스트 필터 또는 적응적으로 생성된 포스트 필터를 영상블록 단위로 복원영상에 적용함에 있어서, 도 5에 도시된 바와 같이, 영상 블록의 내부 및 영상블록의 경계에 겹쳐서 적용할 수 있다.On the other hand, the post filtering unit 835 may perform post filtering in a manner similar to the post filtering unit 230 or 450 of the encoding apparatus. Accordingly, in applying the fixed post filter or the adaptively generated post filter to the reconstructed image in units of image blocks, the post filtering unit 835 includes the inside and the image blocks of the image block as shown in FIG. 5. It can be applied to the boundary of.

또한, 포스트 필터링 수행부(835)는, 도 6에 도시된 바와 같이, 문맥정보에 기초하여 영상 블록을 복수의 파티션으로 구분하고, 복수의 파티션 각각에 대하여 상기 고정된 포스트 필터 또는 상기 적응적으로 생성된 포스트 필터를 적용할 수 있다.In addition, as illustrated in FIG. 6, the post filtering unit 835 divides the image block into a plurality of partitions based on the context information, and applies the fixed post filter or adaptively to each of the plurality of partitions. You can apply the created post filter.

본 발명의 실시 예에 따른 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. Method according to an embodiment of the present invention is implemented in the form of program instructions that can be executed by various computer means may be recorded on a computer readable medium. The computer readable medium may include program instructions, data files, data structures, etc. alone or in combination.

이상과 같이 본 발명은 비록 한정된 실시예와 도면에 의해 설명되었으나, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상의 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다.As described above, the present invention has been described by way of limited embodiments and drawings, but the present invention is not limited to the above embodiments, and those skilled in the art to which the present invention pertains various modifications and variations from such descriptions. This is possible.

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

Claims (1)

현재 부호화 대상이 되는 원본 영상과 상기 원본 영상에 대한 예측 영상 간의 차분 신호를 부호화하는 부호화부;
부호화된 차분 신호를 복원하고, 복원된 차분신호와 상기 예측 영상을 이용하여 복원영상을 생성하고 디블록킹 필터를 적용하는 복원영상 생성부; 및
고정된 포스트 필터를 상기 복원 영상에 적용할 것인지 또는 적응적으로 생성된 포스트 필터를 상기 복원 영상에 적용할 것인지를 상기 복원영상의 문맥정보(Context)에 기초하여 결정하고, 상기 고정된 포스트 필터 또는 상기 적응적으로 생성된 포스트 필터를 상기 복원영상에 적용하는 포스트 필터부를 포함하는 동영상 부호화 장치.
An encoder which encodes a difference signal between an original image to be currently encoded and a prediction image of the original image;
A reconstructed image generation unit reconstructing an encoded differential signal, generating a reconstructed image using the reconstructed differential signal and the prediction image, and applying a deblocking filter; And
Whether to apply a fixed post filter to the reconstructed image or to apply an adaptively generated post filter to the reconstructed image is determined based on the context information of the reconstructed image, and the fixed post filter or And a post filter unit applying the adaptively generated post filter to the reconstructed image.
KR1020100033225A 2009-06-24 2010-04-12 Video encoding and decoding apparatus and method using context information-based adaptive post filter KR20100138735A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020090056282 2009-06-24
KR20090056282 2009-06-24

Publications (1)

Publication Number Publication Date
KR20100138735A true KR20100138735A (en) 2010-12-31

Family

ID=43512155

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020100033225A KR20100138735A (en) 2009-06-24 2010-04-12 Video encoding and decoding apparatus and method using context information-based adaptive post filter

Country Status (1)

Country Link
KR (1) KR20100138735A (en)

Similar Documents

Publication Publication Date Title
EP2319241B1 (en) Skip modes for inter-layer residual video coding and decoding
CN114467304A (en) Temporal signaling for video coding techniques
JP5467141B2 (en) Scalable video coding with lower layer filtering
KR102287414B1 (en) Low Complexity Mixed Domain Cooperative In-Loop Filter for Lossy Video Coding
KR100772391B1 (en) Method for video encoding or decoding based on orthogonal transform and vector quantization, and apparatus thereof
JP2022520944A (en) Improved residual coding for conversion skip mode and block difference pulse code modulation
KR20100087600A (en) Method and apparatus for coding and decoding using adaptive interpolation filters
CA2608279A1 (en) System and method for scalable encoding and decoding of multimedia data using multiple layers
US9392280B1 (en) Apparatus and method for using an alternate reference frame to decode a video frame
JP7343669B2 (en) Method and apparatus for color conversion in VVC
KR20110015002A (en) Adaptive quantization for enhancement layer video coding
JP2009500981A (en) Macroblock adaptive inter-layer texture prediction method and apparatus
KR20090099234A (en) Method and apparatus for video encoding and decoding
EP2497271A2 (en) Hybrid video coding
MXPA06002496A (en) Bitplane coding and decoding for ac prediction status and macroblock field/frame coding type information.
US10432961B2 (en) Video encoding optimization of extended spaces including last stage processes
MX2008012863A (en) Video coding method and apparatus supporting independent parsing.
KR20110015356A (en) Video encoding and decoding apparatus and method using adaptive transform and quantization domain that based on a differential image signal characteristic
KR20130107861A (en) Method and apparatus for inter layer intra prediction
KR20090087767A (en) Method for predictive intra coding for image data
KR101375667B1 (en) Method and apparatus for Video encoding and decoding
KR20060070400A (en) Method for encoding and decoding video signal
KR20170114598A (en) Video coding and decoding methods using adaptive cross component prediction and apparatus
US20140044167A1 (en) Video encoding apparatus and method using rate distortion optimization
CN103581690A (en) Video decoding method, video decoder, video encoding method and video encoder

Legal Events

Date Code Title Description
N231 Notification of change of applicant
WITN Withdrawal due to no request for examination