KR100711725B1 - Method for filtering of deblocking in video telephony mobile phone - Google Patents

Method for filtering of deblocking in video telephony mobile phone Download PDF

Info

Publication number
KR100711725B1
KR100711725B1 KR1020050109498A KR20050109498A KR100711725B1 KR 100711725 B1 KR100711725 B1 KR 100711725B1 KR 1020050109498 A KR1020050109498 A KR 1020050109498A KR 20050109498 A KR20050109498 A KR 20050109498A KR 100711725 B1 KR100711725 B1 KR 100711725B1
Authority
KR
South Korea
Prior art keywords
filtering
pixels
value
difference
deblocking
Prior art date
Application number
KR1020050109498A
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 엘지전자 주식회사
Priority to KR1020050109498A priority Critical patent/KR100711725B1/en
Application granted granted Critical
Publication of KR100711725B1 publication Critical patent/KR100711725B1/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/80Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/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/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • H04N19/86Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving reduction of coding artifacts, e.g. of blockiness
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone

Abstract

본 발명은 영상전화기의 디블록킹 필터링(Deblocking Filtering) 방법에 관한 것으로, 연산 구조를 단순화하여 영상전화기와 같은 매우 제한된 시스템 상에서 적합한 효율적인 필터링을 수행할 수 있는 영상전화기의 디블록킹 필터링 방법을 제공한다. 이를 위한 본 발명은 블록 경계를 중심으로 각 블록의 인접한 3개의 픽셀을 추출하는 추출 단계와; 상기 블록 경계에 대한 상기 픽셀들의 분포에 따른 차이(δ)를 연산하는 연산 단계와; 상기 픽셀들의 인접 픽셀 사이의 변화정도(SF)에 따라 필터링을 수행하기 위한 모드를 결정하는 모드결정 단계와; 상기 차이(δ)와 미리 설정된 양자화 파라미터(QP)와의 관계에 따라 필터링을 수행할지의 여부를 판단하는 판단 단계와; 상기 모드결정 및 판단결과에 따라 필터링을 수행하고자 하는 대상 픽셀을 결정하고, 각각에 대하여 다른 수준의 필터링을 수행하는 필터링 단계를 포함하여 이루어진 것을 특징으로 한다. 상기와 같은 구성에 의해 본 발명은 디블록킹 필터링을 위한 연산 구조를 단순화시켜 연산상의 복잡도를 감소시키는 동시에 주관적인 화질의 개선을 제공할 수 있으므로, H.263나 MPEG-4와 같은 저 비트율에서 사용되는 비디오 부호화 방식에 적용할 수 있는 효과가 있다. The present invention relates to a deblocking filtering method of a video telephone, and provides a deblocking filtering method of a video telephone that can perform efficient filtering suitable for a very limited system such as a video telephone by simplifying an operation structure. The present invention for this purpose is an extraction step of extracting three adjacent pixels of each block around the block boundary; Calculating a difference δ according to the distribution of the pixels with respect to the block boundary; A mode determining step of determining a mode for performing filtering according to a degree of change (SF) between adjacent pixels of the pixels; A determination step of determining whether to perform filtering according to the relation between the difference δ and a preset quantization parameter QP; And a filtering step of determining a target pixel to be filtered according to the mode determination and the determination result, and performing a different level of filtering for each. With the above configuration, the present invention can simplify the computational structure for deblocking filtering to reduce computational complexity and provide subjective picture quality improvement. Therefore, the present invention can be used at low bit rates such as H.263 and MPEG-4. There is an effect that can be applied to the video encoding method.

영상전화기, 디블록킹, 최대왜곡한계 모델, delta, MPEG-4, H.263 Videophone, deblocking, maximum distortion limit model, delta, MPEG-4, H.263

Description

영상전화기의 디블록킹 필터링 방법{Method for filtering of deblocking in video telephony mobile phone} Method for filtering of deblocking in video telephony mobile phone}

도 1은 본 발명의 실시예에 따른 영상전화기의 디블록킹 필터링 방법을 나타낸 순서도.1 is a flowchart illustrating a deblocking filtering method of a video telephone according to an embodiment of the present invention.

도 2는 본 발명의 실시예에 따른 영상전화기의 디블록킹 필터링 방법의 적용하기 위한 블록 경계를 나타낸 모식도.Figure 2 is a schematic diagram showing a block boundary for applying the deblocking filtering method of a video telephone according to an embodiment of the present invention.

도 3은 도 1의 델타(delta) 연산을 설명하기 위한 블록도.FIG. 3 is a block diagram illustrating the delta operation of FIG. 1. FIG.

도 4는 도 1의 모드결정 방법을 나타낸 순서도.4 is a flowchart illustrating a mode determination method of FIG. 1.

도 5는 도 1의 최대왜곡한계 모델에 의한 필터링 방법을 나타낸 순서도.5 is a flow chart illustrating a filtering method by the maximum distortion limit model of FIG. 1.

도 6은 도 1의 저역통과 필터링을 설명하기 위한 블록도. 6 is a block diagram illustrating the lowpass filtering of FIG.

본 발명은 영상전화기의 디블록킹 필터링(Deblocking Filtering) 방법에 관한 것으로, 특히, 영상전화기의 화질을 향상시키기 위한 디블록킹 필터링 방법에 있어서, 필터링을 수행하고자 하는 대상 영역을 픽셀의 분포특성에 따라 적응적으로 결정하고, 각각의 경우에 대해 다른 수준의 필터링을 적용하여 디블록킹을 위한 연산상의 복잡도를 감소시켜 보다 효율적인 필터링을 수행할 수 있는 영상전화기의 디블록킹 필터링 방법에 관한 것이다. The present invention relates to a deblocking filtering method of a video telephone, and more particularly, to a deblocking filtering method for improving the image quality of a video telephone, wherein the target region to be filtered is adapted according to distribution characteristics of pixels. The present invention relates to a deblocking filtering method of a video telephone that can be determined more efficiently and to apply different levels of filtering in each case to reduce the computational complexity for deblocking.

최근, 이동통신 단말기는 기존의 음성 통화에서부터 동영상과 같은 멀티미디어 기능까지 그 응용범위가 확대되는 추세이다. In recent years, mobile communication terminals have tended to expand their application ranges from conventional voice calls to multimedia functions such as video.

이에 따라 대용량의 영상 데이터를 효율적으로 처리하기 위하여 비디오 부호화가 사용되는데, 이러한 비디오 부호화는 양자화의 수행으로 인해 복원된 영상의 블록 경계에서 블록킹 아티팩트(blocking artifact)가 발생하고, 이는 화질의 저하로서 인지된다. Accordingly, video encoding is used to efficiently process a large amount of image data. In this video encoding, blocking artifacts occur at a block boundary of a reconstructed image due to quantization, which is perceived as a deterioration of image quality. do.

한편, 현재의 영상전화기는 48kbps정도의 낮은 비트율을 목표로 부호화를 수행하기 때문에, 화질의 저하가 심하다. 따라서 종단 사용자(end-user)에게 보다 개선된 화질을 제공하는 것은 매우 중요한 이슈가 되고 있다. On the other hand, current video telephones perform encoding at a target bit rate as low as 48 kbps, so that image quality deteriorates severely. Therefore, providing improved picture quality to end-users has become a very important issue.

또한, 영상전화기에서는 비디오의 인코딩/디코딩과 더불어 오디오의 인코딩/디코딩이 함께 수행되어야 하는 동시에, 그외의 UI 및 통신 프로토콜의 처리도 수행되어야 하므로 자원의 제약이 매우 심한 편이다. In addition, in video telephones, video encoding / decoding and audio encoding / decoding must be performed together with other UI and communication protocols.

특히, 현재 사용하고 있는 퀄컴(Qualcomm)사의 MSM6XXX 칩셋은 매우 제약된 여유 자원만을 영상전화기의 개선을 위해 남겨두고 있다. In particular, Qualcomm's MSM6XXX chipset, which is currently in use, leaves only a limited amount of spare resources available to improve videophones.

따라서 영상전화기에 있어서 가장 중요한 부분은 주관적인 화질의 개선과 더불어 연산의 단순화에 있다. Therefore, the most important part of the video phone is the improvement of subjective quality and the simplification of operation.

기존의 표준에서 제안된 방법들은 MPEG-4 Annex-J에 후처리 디블록킹 필터가 제안되어 있는데, 이는 대량의 연산량을 필요로 하기 때문에 낮은 연산량을 요구하 는 시스템에 적합하지 못하다. The proposed methods in the existing standard propose post-processing deblocking filter in MPEG-4 Annex-J, which is not suitable for systems requiring low computational amount because it requires large computational amount.

그리고 H.263에서 제안한 방법은 MPEG-4의 방법보다 빠르고 단순한 연산량을 갖지만 화질면에서는 MPEG-4 Annex-J의 방법보다 떨어지는 문제점이 있다. In addition, the method proposed in H.263 has a faster and simpler amount of computation than the MPEG-4 method, but has a problem in terms of image quality that is lower than that of the MPEG-4 Annex-J method.

본 발명은 상기와 같은 문제점을 해결하기 위하여 제안된 것으로, 블록 경계를 중심으로 인접 픽셀들의 차이와 최대왜곡한계 모델을 이용하여 연산 구조를 단순화하여 영상전화기와 같은 매우 제한된 시스템 상에서 적합한 효율적인 필터링을 수행할 수 있는 영상전화기의 디블록킹 필터링 방법을 제공하는 것을 목적으로 한다.The present invention has been proposed to solve the above problems, and it is possible to perform efficient filtering on a very limited system such as a videophone by simplifying the computational structure by using the difference between adjacent pixels and the maximum distortion limit model around the block boundary. An object of the present invention is to provide a deblocking filtering method of a video telephone.

상기와 같은 목적을 달성하기 위한 본 발명은 블록 경계를 중심으로 각 블록의 인접한 3개의 픽셀을 추출하는 추출 단계와; 상기 블록 경계에 대한 상기 픽셀들의 분포에 따른 차이(δ)를 연산하는 연산 단계와; 상기 픽셀들의 인접 픽셀 사이의 변화정도(SF)에 따라 필터링을 수행하기 위한 모드를 결정하는 모드결정 단계와; 상기 차이(δ)와 미리 설정된 양자화 파라미터(QP)와의 관계에 따라 필터링을 수행할지의 여부를 판단하는 판단 단계와; 상기 모드결정 및 판단결과에 따라 필터링을 수행하고자 하는 대상 픽셀을 결정하고, 각각에 대하여 다른 수준의 필터링을 수행하는 필터링 단계를 포함하여 이루어진 것을 특징으로 한다.The present invention for achieving the above object is an extraction step of extracting three adjacent pixels of each block around the block boundary; Calculating a difference δ according to the distribution of the pixels with respect to the block boundary; A mode determining step of determining a mode for performing filtering according to a degree of change (SF) between adjacent pixels of the pixels; A determination step of determining whether to perform filtering according to the relation between the difference δ and a preset quantization parameter QP; And a filtering step of determining a target pixel to be filtered according to the mode determination and the determination result, and performing a different level of filtering for each.

바람직하게는 상기 모드결정 단계가 상기 픽셀들의 인접 픽셀 사이의 차이값이 미리 설정된 임계값(TH)을 초과하는 경우의 수를 상기 변화정도(SF)로 하여 산 출하는 산출 단계와; 상기 산출된 변화정도(SF)와 미리 설정된 임계값(THU)을 비교하여 상기 산출된 변화정도(SF)가 상기 임계값(THU) 이상인 경우 부드러운 영역으로 판별하고, 그외에는 복잡한 영역으로 판별하는 판별 단계를 포함할 수 있다. Preferably, the mode determining step calculates the number of cases where the difference value between adjacent pixels of the pixels exceeds a preset threshold value TH as the degree of change SF; The calculated change degree SF is compared with a preset threshold value THU, and when the calculated change degree SF is equal to or greater than the threshold value THU, the control unit judges a soft area and otherwise determines a complex area. It may include a step.

바람직하게는 상기 미리 설정된 임계값(THU)이 4일 수 있다. Preferably, the preset threshold THU may be four.

바람직하게는 상기 필터링 단계가 상기 판별단계에서 부드러운 영역으로 판별한 경우, 상기 판단 결과에 따라 오프셋-기반 필터링을 수행하는 제 1 필터링 단계와; 상기 판별단계에서 복잡한 영역으로 판별한 경우, 상기 판단 결과에 따라 저역통과필터링을 수행하는 제 2 필터링 단계를 포함할 수 있다.Preferably, the first filtering step of performing offset-based filtering in accordance with the determination result, if the filtering step is determined to be a soft region in the determination step; If it is determined as a complex region in the determination step, it may include a second filtering step for performing low pass filtering according to the determination result.

바람직하게는 상기 제 1 필터링 단계가 상기 판단결과 상기 차이(δ)의 절대값이 상기 양자화 파라미터(QP)보다 작은 경우, 상기 블록의 경계를 중심으로 대칭되는 위치의 픽셀들에 대해 동일한 오프셋값을 가산하거나 감산할 수 있다. Preferably, when the first filtering step determines that the absolute value of the difference δ is less than the quantization parameter QP, the same filtering value is applied to pixels at positions symmetric about the boundary of the block. You can add or subtract.

바람직하게는 상기 오프셋값이 최대왜곡한계 모델을 이용하여 산출할 수 있다. Preferably, the offset value can be calculated using the maximum distortion limit model.

바람직하게는 상기 최대왜곡한계 모델이 상기 양자화 파라미터(QP)에 따라 발생하는 왜곡들의 평균치를 통하여 얻어진 R-D(Rate-Distortion) 곡선을 모델링하여 산출할 수 있다.Preferably, the maximum distortion limit model may be calculated by modeling a rate-distortion (R-D) curve obtained through an average value of distortions generated according to the quantization parameter QP.

바람직하게는 상기 제 2 필터링 단계가 상기 차이(δ)의 절대값이 상기 양자화 파라미터(QP)의 8배보다 작은 경우, 상기 블록의 경계를 중심으로 인접한 2개의 픽셀에 대한 저역통과필터링을 수행할 수 있다. Preferably, in the second filtering step, when the absolute value of the difference δ is less than 8 times the quantization parameter QP, low pass filtering is performed on two adjacent pixels around the boundary of the block. Can be.

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

본 발명은, 디블록킹 필터링에 있어서, H.263수준의 낮은 연산량으로 보다 주관적인 화질의 개선을 달성하기 위한 것으로, 픽셀의 분포특성에 따라 필터링 조건을 다양화하여 필터링을 수행하고자 하는 대상 영역을 결정함으로써, 연산량을 감소시키고, 각 조건에 따라 다른 수준의 필터링을 적용하며, 특히, 최대왜곡한계 모델을 이용하여 지나친 필터링에 따른 영향을 최소화하여 주관적인 화질의 개선을 달성하는 동시에 연산의 복잡도를 감소시킬 수 있다. In the deblocking filtering, the present invention is to achieve a more subjective improvement in image quality with a low computational level of H.263, and determines a target region to be filtered by varying the filtering conditions according to the distribution characteristics of pixels. This reduces the computational complexity, applies different levels of filtering for each condition, and in particular, minimizes the effects of excessive filtering using the maximum distortion limit model to achieve subjective picture quality improvements while reducing computational complexity. Can be.

본 발명의 실시예에 따른 영상전화기의 디블록킹 필터링 방법은, 도 1 에 도시된 바와 같이, 블록 경계를 중심으로 각 블록의 인접한 3개의 픽셀을 추출하는 추출 단계(단계 S101)와, 블록 경계에 대한 픽셀들의 분포에 따른 차이(δ)를 연산하는 연산 단계(단계 S102)와, 픽셀들의 인접 픽셀 사이의 변화정도(SF)에 따라 필터링을 수행하기 위한 모드를 결정하는 모드결정 단계(단계 S103)와, 픽셀들의 분포에 따른 차이(δ)와 미리 설정된 양자화 파라미터(QP)와의 관계에 따라 필터링을 수행할지의 여부를 판단하는 판단 단계(단계 S104, S107)와, 모드결정 및 판단결과에 따라 필터링을 수행하고자 하는 대상 픽셀을 결정하고, 각각에 대하여 다른 수준의 필터링을 수행하는 필터링 단계(단계 S105, S108)와, 결과를 화면에 출력하는 단계(단계 S109~S110)로 구성된다.Deblocking filtering method of a video telephone according to an embodiment of the present invention, as shown in Figure 1, the extraction step (step S101) of extracting three adjacent pixels of each block around the block boundary, and the block boundary An operation step (step S102) of calculating a difference δ according to the distribution of the pixels for a mode, and a mode determination step (step S103) of determining a mode for performing filtering according to the degree of change SF between adjacent pixels of the pixels. A determination step (steps S104 and S107) of determining whether to perform filtering according to the relationship between the difference δ according to the distribution of the pixels and the preset quantization parameter QP; and filtering according to the mode decision and the determination result. Determining a target pixel to be performed, and performing a different level of filtering for each step (steps S105 and S108), and outputting the result on the screen (steps S109 to S110).

이하, 도 1 내지 도 6을 참조하여 본 발명의 실시예에 따른 영상전화기의 디블록킹 필터링 방법을 구체적으로 설명한다. Hereinafter, a method of deblocking filtering of a video telephone according to an embodiment of the present invention will be described in detail with reference to FIGS. 1 to 6.

도 1은 본 발명의 실시예에 따른 영상전화기의 디블록킹 필터링 방법을 나타 낸 순서도이고, 도 2는 본 발명의 실시예에 따른 영상전화기의 디블록킹 필터링 방법의 적용하기 위한 블록 경계를 나타낸 모식도이다.1 is a flowchart illustrating a deblocking filtering method of a video telephone according to an embodiment of the present invention, and FIG. 2 is a schematic diagram showing a block boundary for applying the deblocking filtering method of a video telephone according to an embodiment of the present invention. .

먼저, 단계 S101에서, 블록 경계를 중심으로 각 블록의 인접한 3개의 픽셀을 추출하면, 본 발명의 실시예에 따른 영상전화기의 디블록킹 필터링 방법이 개시된다. First, in step S101, when three adjacent pixels of each block are extracted around the block boundary, the deblocking filtering method of the video telephone according to the embodiment of the present invention is disclosed.

즉, 도 2에 도시된 바와 같이, 필터링을 수행하고자 하는 대상 영역으로서 블록의 경계를 중심으로 각각의 블록에서 3개의 픽셀(A[1]~A[6])을 추출한다. That is, as shown in FIG. 2, three pixels A [1] to A [6] are extracted from each block around the boundary of the block as a target region to be filtered.

단계 S102에서, 블록 경계에 대한 픽셀들의 분포에 따른 차이(δ)를 연산한다. In step S102, a difference δ according to the distribution of pixels with respect to the block boundary is calculated.

보다 구체적으로는, 블록 경계에 대하여 인접 픽셀들 사이의 분포적 특성을 고려한 차이의 정도인 델타(delta,δ)를 하기의 식에 의해 연산한다.More specifically, the delta (delta, δ), which is the degree of difference in consideration of the distribution characteristic between adjacent pixels with respect to the block boundary, is calculated by the following equation.

Figure 112005065835804-pat00001
Figure 112005065835804-pat00001

여기서, S2~S5는 해당 픽셀의 값이고,

Figure 112005065835804-pat00002
는 최대 정수값을 구하는 연산자이다. Here, S2 ~ S5 is the value of the pixel,
Figure 112005065835804-pat00002
Is the operator to get the maximum integer value.

이와 같은 델타(δ)는 후술하는 바와 같은 필터링을 위한 모드 결정을 위해 사용되며, 상기 수학식 1을 이용한 델타(δ) 연산의 구현 예를 설명한다. The delta (δ) is used for mode determination for filtering as described below, and an example of implementation of the delta (δ) operation using Equation 1 will be described.

도 3은 도 1의 델타 연산을 설명하기 위한 블록도이다. FIG. 3 is a block diagram illustrating the delta operation of FIG. 1.

델타(δ) 연산은, 도 2에 도시된 바와 같이, 블록 경계(A[43],A[4])와 그에 인접한 각 하나의 픽셀들을 이용하는데, 블록 경계에 위치한 픽셀들(A[3],A[4])의 차에 4배의 팩터(factor)를 주고, 그 다음에 위치한 픽셀들(A[2],A[5])의 차이값을 더한 후에, 해당 값을 8로 나눈다. The delta (δ) operation uses block boundaries A [43], A [4] and each of the pixels adjacent thereto, as shown in FIG. 2, with pixels A [3] located at the block boundary. , A [4]) gives a factor of 4 times, adds the difference between the pixels A [2], A [5] which are located next, and divides the value by 8.

여기서, 블록킹 아티팩트의 주요 원인이 블록 경계에 바로 인접한 픽셀들의 차이값에 기인하기 때문에, 해당 부분(A[3],A[4])에 대한 영향을 더 많이 반영하기 위하여 다른 부분(A[2], A[5])에 비하여 더 큰 팩터가 주어진다. Here, since the main cause of the blocking artifact is due to the difference value of the pixels immediately adjacent to the block boundary, the other part A [2] is used to reflect more influence on the corresponding parts A [3] and A [4]. ], Which is larger than A [5]).

이와 같이 연산된 델타(δ)는 최종적으로 정수화 과정을 거치게 되는데, 이는 이후의 필터링 연산에 있어서, 플로팅 연산을 배제하여 연산구조를 단순화하기 위한 것이다.The delta δ calculated as described above is finally subjected to an integerization process, in order to simplify the operation structure by excluding a floating operation in a subsequent filtering operation.

단계 S103에서, 픽셀들의 인접 픽셀 사이의 변화정도(SF)에 따라 필터링을 수행하기 위한 모드를 결정한다. In step S103, a mode for performing filtering is determined according to the degree of change SF between adjacent pixels of the pixels.

즉, 분포특성에 따라 필터링 모드를 결정하기 위하여, 픽셀들의 값의 분포를 분석하여 해당 영상이 부드러운 영역(Smooth region)인지 복잡한 영역(Complex region)인지를 구분한다. That is, in order to determine the filtering mode according to the distribution characteristic, the distribution of values of pixels is analyzed to distinguish whether a corresponding image is a smooth region or a complex region.

여기서, 부드러운 영역은 필터링을 수행할 대상 블록 내의 픽셀들이 비교적 균등한 값을 가진 것을 의미하며, 복잡한 영역은 픽셀들이 서로 다른 값들을 가진 것을 의미한다. Here, the soft region means that the pixels in the target block to be filtered have a relatively uniform value, and the complex region means that the pixels have different values.

한편, 사람의 시각은 부드러운 영상의 영역에 대해서 작은 변화에도 민감하게 반응하기 때문에 높은 수준의 강한 필터링(Strong Filtering)을 수행하여야 하 며, 복잡한 영상의 영역에 대해서는 작은 변화에는 둔감하기 때문에 낮은 수준의 약한 필터링(Weak Filtering)을 수행한다.On the other hand, since human vision is sensitive to small changes in the soft image area, it is necessary to perform high level strong filtering, and it is insensitive to small changes in the complex image area. Weak Filtering

이와 같이 구분된 부드러운 영역과 복잡한 영역에 대해서는 각각의 특성을 고려하여 지나친 블러링(blurring)에 따른 영상의 왜곡이 발생하지 않도록 서로 다른 수준의 필터링을 수행하는데, 이와 같은 필터링의 수준에 따라, 후술하는 바와 같이, 필터링이 수행될 픽셀의 범위가 결정된다. The different soft levels and complex areas are filtered at different levels to prevent distortion of the image due to excessive blurring in consideration of their characteristics. As such, the range of pixels for which filtering is to be performed is determined.

이와 같은 모드 결정 방법에 대한 보다 구체적인 설명은 도 4를 참조하여 후술한다. A more detailed description of the mode determination method will be described later with reference to FIG. 4.

단계 S103의 결정결과, 부드러운 영역으로 결정한 경우, 단계 S104로 진행하여 델타(δ)와 미리 설정된 양자화 파라미터(QP)를 비교하고, 델타(δ)의 절대값이 양자화파라미터(QP)보다 작은 경우에는 단계 S105로 진행하여 최대왜곡한계 모델에 의한 필터링을 수행한다. As a result of the determination in step S103, in the case of determining a smooth area, the process proceeds to step S104 where the delta δ is compared with the preset quantization parameter QP, and when the absolute value of the delta δ is smaller than the quantization parameter QP, The flow advances to step S105 to perform filtering by the maximum distortion limit model.

이러한 필터링은 블록의 경계를 중심으로 대칭되는 위치의 픽셀들에 대해 동일한 오프셋값을 가산하거나 감산하는 오프셋-기반(offset-based) 필터링이며, 여기서, 오프셋값은 각각의 특성에 맞도록 고려되어야 하는데, 후술하는 바와 같이, 필터링 시에 발생한 손실과 관련된 R-D(Rate-Distortion) 관계를 고려한 최대왜곡한계(MDB; Maximum Distortion Bound) 모델을 이용하여 산출한다. This filtering is offset-based filtering, which adds or subtracts the same offset value for pixels at positions symmetric about the boundary of the block, where the offset value must be considered for each characteristic. As described later, it is calculated using a Maximum Distortion Bound (MDB) model in consideration of a Rate-Distortion (RD) relationship related to the loss generated during filtering.

이와 같이 부드러운 영역에 대하여 수행되는 강한 필터링은 블록의 경계를 중심으로 좌우 각각 3개의 픽셀, 총 6개의 픽셀들에 대해서 필터링이 수행된다. In this strong filtering performed on the soft region, filtering is performed on a total of six pixels, three pixels each on the left and right sides of the block boundary.

단계 S104의 판단결과, 델타(δ)의 절대값이 양자화파라미터(QP)보다 크거나 같은 경우에는 단계 S106으로 진행하여 디블록킹 필터링을 수행하지 않고 스킵(SKIP)한 다음 단계 S109로 진행한다. If the absolute value of the delta δ is greater than or equal to the quantization parameter QP, the process proceeds to step S106, skips without performing deblocking filtering, and then proceeds to step S109.

단계 S103의 결정결과, 복잡한 영역으로 결정한 경우, 단계 S107로 진행하여 델타(δ)와 미리 설정된 양자화 파라미터(QP)를 비교하고, 델타(δ)의 절대값이 양자화파라미터(QP)의 8배보다 작은 경우에는 단계 S108로 진행하여 저역통과 필터링을 수행한다. As a result of the determination in step S103, in the case of determining a complex area, the flow advances to step S107 to compare the delta δ with the preset quantization parameter QP, and the absolute value of the delta δ is greater than 8 times the quantization parameter QP. If it is small, the flow advances to step S108 to perform low pass filtering.

이와 같이 복잡한 영역에 대하여 수행되는 약한 필터링은 블록 경계에 인접한 각 블록의 한 픽셀씩, 총 2개의 픽셀들에 대해서만 필터링을 수행하며, 그 구현예는 다음과 같다.The weak filtering performed on the complex region performs filtering only on a total of two pixels, one pixel of each block adjacent to the block boundary, and an implementation thereof is as follows.

도 6은 도 1의 저역통과 필터링을 설명하기 위한 블록도이다. FIG. 6 is a block diagram illustrating the low pass filtering of FIG. 1.

저역통과 필터링은, 도 6에 도시된 바와 같이, [1 2 1]의 필터탭을 사용하는데, 블록 경계면에 바로 인접한 픽셀들에 대해서만 수행된다. Lowpass filtering uses a filter tap of [1 2 1], as shown in FIG. 6, which is performed only for pixels immediately adjacent to the block boundary.

즉, 도 2에 도시된 바와 같이, 좌측 블록 경계의 픽셀(A[3])과 우측 블록 경계의 픽셀(A[4])에 대해서만 필터링을 수행하며, 이때, 필터링 하고자 하는 픽셀의 인접 픽셀을 이용한다. That is, as shown in FIG. 2, the filtering is performed only on the pixel A [3] at the left block boundary and the pixel A [4] at the right block boundary. In this case, adjacent pixels of the pixel to be filtered are performed. I use it.

여기서, [1 2 1]의 필터탭을 이용한 저역통과 필터링은 필터링 하고자 하는 픽셀에 가중치를 주는 형태로, 대상 픽셀이 인접 픽셀에 비하여 2배의 가중치가 부여되고, 이 값을 평균하는 것이다. Here, the low pass filtering using the filter tap of [1 2 1] gives weights to the pixels to be filtered, and the target pixels are weighted twice as much as the adjacent pixels, and the values are averaged.

단계 S107의 판단결과, 델타(δ)의 절대값이 양자화파라미터(QP)의 8배보다 크거나 같은 경우에는 단계 S106으로 진행하여 디블록킹 필터링을 수행하지 않고 스킵(SKIP)한 다음 단계 S109로 진행한다. As a result of the determination in step S107, if the absolute value of the delta δ is greater than or equal to 8 times the quantization parameter QP, the process proceeds to step S106, skips without performing deblocking filtering, and then proceeds to step S109. do.

이와 같은 단계 S101 내지 단계 S108은 서로 인접한 8×8 블록들에 대하여 수행되는 것으로 이와 동일한 처리를 모든 영상에 대하여 반복처리한다. Steps S101 to S108 are performed on 8 × 8 blocks adjacent to each other, and the same process is repeated for all images.

단계 S109에서, 필터링된 픽셀값에 따라 영상을 재구성한다. In step S109, the image is reconstructed according to the filtered pixel value.

즉, 단계 S101 내지 단계 S108의 과정을 모든 영상에 대하여 수행한 후 그 결과, 즉, 필터링된 픽셀값을 이용하여 새로운 영상을 구성한다. That is, after performing the processes of steps S101 to S108 for all images, a new image is constructed using the result, that is, the filtered pixel values.

단계 S110에서, 재구성된 영상을 디스플레이한다. In step S110, the reconstructed image is displayed.

이와 같은 방법으로, 본 발명의 실시예에 따른 영상전화기의 디블록킹 필터링 방법이 종료된다.In this manner, the deblocking filtering method of the videophone according to the embodiment of the present invention is terminated.

도 4는 도 1의 모드결정 방법을 나타낸 순서도이다. 4 is a flowchart illustrating a mode determination method of FIG. 1.

먼저, 단계 S401에서, 블록 경계를 중심으로 인접한 6개의 픽셀값을 추출한다. 여기서, 픽셀은 단계 S101에서 추출된 값을 읽어들인 것이다. First, in step S401, six adjacent pixel values are extracted around the block boundary. Here, the pixel reads the value extracted in step S101.

단계 S402에서, 픽셀들의 인접 픽셀 사이의 변화정도(SF)를 구하기 위한 연산이 개시된다. 여기서, SF를 0으로 초기화하고, 변수(i)를 설정하여 1로 초기화한다. In step S402, an operation for obtaining the degree of change SF between adjacent pixels of the pixels is started. Here, SF is initialized to 0, variable i is set to 1, and so on.

이와 같은 SF(Sample variation)는, 상술한 바와 같이, 필터링 수준을 결정하기 위한 1차적인 모드 결정에 사용되며, 픽셀들의 인접 픽셀 사이의 차이값이 미리 설정된 임계값(TH)을 초과하는 경우의 수로서 산출된다. As described above, the SF (Sample variation) is used to determine the primary mode for determining the filtering level, and the difference value between adjacent pixels of the pixels exceeds the preset threshold TH. It is calculated as a number.

단계 S403에서, 인접 픽셀 사이의 차이값이 미리 설정된 임계값(TH)을 초과하는지를 판단하여, 초과하지 않는다고 판단한 경우에는, 단계 S404로 진행하여 SF 를 1만큼 증가시키고, 단계 S405로 진행한다.In step S403, it is determined whether the difference value between adjacent pixels exceeds the preset threshold value TH, and when it is determined that the difference value does not exceed, the flow advances to step S404 to increase SF by 1 and proceeds to step S405.

여기서, 임계값(TH)은 사전의 실험에 의해 결정할 수 있다. Here, the threshold value TH can be determined by a prior experiment.

단계 S403의 판단결과, 인접 픽셀 사이의 차이값이 미리 설정된 임계값(TH)을 초과한다고 판단한 경우에는 단계 S405로 진행하여 변수(i)를 1만큼 증가시킨다. If it is determined in step S403 that the difference between adjacent pixels exceeds the preset threshold TH, the process proceeds to step S405 where the variable i is increased by one.

즉, 인접한 픽셀간의 차이값이 임계값(TH)보다 작거나 같은 경우 SF 값을 1만큼 증가시키고, 그렇지 않은 경우, SF 값에 아무런 변화를 주지 않는다. That is, if the difference between adjacent pixels is less than or equal to the threshold value TH, the SF value is increased by 1, otherwise, no change is made to the SF value.

단계 S406에서, 변수(i)가 5를 초과하는지를 판단하여 초과하지 않는 경우에는 단계 S403으로 복귀하여 단계 S403 내지 단계 S405의 다음 인접 픽셀 사이의 차이값이 미리 설정된 임계값(TH)을 초과하는지에 따른 SF의 연산을 반복적으로 수행한다. In step S406, if it is determined that the variable (i) exceeds 5 and does not exceed, it returns to step S403 to determine whether the difference value between the next adjacent pixels of steps S403 to S405 exceeds a preset threshold TH. Iteratively performs the operation of SF accordingly.

여기서, 추출된 픽셀들의 수가 6이므로 인접 픽셀 사이의 차이값은 5개가 산출되므로 단계 S403 내지 단계 S406의 반복 루프는 변수(i)가 5를 초과할 때까지, 즉, 5회만 반복된다. Here, since the number of extracted pixels is six, five difference values between adjacent pixels are calculated, so that the iterative loop of steps S403 to S406 is repeated until the variable i exceeds 5, that is, only five times.

단계 S407에서, 산출된 변화정도(SF)와 미리 설정된 임계값(THU)을 비교하여, 산출된 변화정도(SF)가 미리 설정된 임계값(THU) 이상인 경우에는 단계 S408로 진행하여 부드러운 영역으로 판별한다. In step S407, the calculated change degree SF is compared with the preset threshold value THU, and when the calculated change degree SF is equal to or greater than the preset threshold value THU, the flow advances to step S408 to determine a smooth area. do.

여기서, 미리 설정된 임계값(THU)은 바람직하게는 4일 수 있는데, 이는 블록 경계를 중심으로 인접한 6개의 픽셀 사이의 차이값 중에서 4개 이상의 구간에 대한 차이값이 미리 설정된 임계값(TH) 보다 작은 경우에 해당한다. Here, the preset threshold THU may be preferably 4, which means that a difference value for four or more sections among the difference values between six adjacent pixels around the block boundary is greater than the preset threshold TH. It is a small case.

이와 같은 부드러운 영역은 픽셀들이 전체적으로 유사한 값을 가진 것을 의미하며, 그 변화에 대하여 사람의 시각은 민감하게 반응하므로, 강한 필터링을 수행하기 위하여 단계 S104로 복귀한다. Such a soft region means that the pixels have similar values as a whole, and since the human's vision is sensitive to the change, the process returns to step S104 to perform strong filtering.

단계 S407의 판단결과, 산출된 변화정도(SF)가 미리 설정된 임계값(THU)보다 작은 경우에는 단계 S409로 진행하여 복잡한 영역으로 판별한다. As a result of the determination in step S407, if the calculated change degree SF is smaller than the preset threshold value THU, the flow advances to step S409 to determine a complicated area.

이와 같은 복잡한 영역은 픽셀들이 전체적으로 서로 다른 값을 가진 것을 의미하며, 그 변화에 대하여 사람의 시각은 둔감하게 반응하므로, 약한 필터링을 수행하기 위하여 단계 S107로 복귀한다. Such a complicated area means that the pixels have different values as a whole, and since the human's vision is insensitive to the change, the process returns to step S107 to perform weak filtering.

도 5는 도 1의 최대왜곡한계 모델에 의한 필터링 방법을 나타낸 순서도이다. 5 is a flowchart illustrating a filtering method using the maximum distortion limit model of FIG. 1.

먼저, 단계 S501에서, 픽셀들의 분포에 따른 델타(δ)의 절대값과 해당 양자화파라미터(QP)에 대한 최대왜곡한계 모델에 따른 팩터(Factor[QP])를 비교한다. First, in step S501, the absolute value of delta δ according to the distribution of pixels is compared with the factor Factor [QP] according to the maximum distortion limit model for the corresponding quantization parameter QP.

여기서 팩터(Factor[])는 모두 31개의 값을 갖는 배열로서, 이 배열을 구성하는 값들은 최대왜곡한계 모델을 이용하여 산출된 값이다. Here, Factor [] is an array having 31 values, and the values constituting the array are calculated using a maximum distortion limit model.

이와 같은 최대왜곡한계 모델은 양자화 파라미터(QP)에 따라 발생하는 왜곡들의 평균치를 통하여 얻어진 R-D(Rate-Distortion) 곡선을 분석하여 하기의 식과 같이 모델링한 것이다. The maximum distortion limit model is modeled as follows by analyzing a rate-distortion (R-D) curve obtained through an average value of distortions generated according to the quantization parameter (QP).

또한, 최대왜곡한계 모델은 실제 값들을 연산을 통해 구현할 경우, 속도의 문제가 발생하므로, 사전에 연산된 값을 테이블화하여 사용할 수 있으며, 최종값을 정수화하여 실수(floating point) 연산에 대한 문제를 제거함으로써, 연산의 복잡도를 크게 개선할 수 있다. In addition, the maximum distortion limit model has a problem of speed when the actual values are implemented through calculations, so that the values calculated in advance can be used as a table, and the problem of floating point operations by integerizing the final values. By eliminating, the complexity of the operation can be greatly improved.

Figure 112005065835804-pat00003
Figure 112005065835804-pat00003

여기서, y는 최대왜곡한계 모델에 따른 팩터값이고, x는 양자화파라미터이며,

Figure 112005065835804-pat00004
는 최대 정수값을 구하는 연산자이다. Where y is a factor value according to the maximum distortion limit model, x is a quantization parameter,
Figure 112005065835804-pat00004
Is the operator to get the maximum integer value.

본 발명에서는 최대왜곡한계 모델을 영상전화기의 특성과 비슷한 영상 특성을 갖는 Foreman과 Carphone 시퀀스를 이용하여 모델링하였으며, 그 팩터값은 다음과 같다.In the present invention, the maximum distortion limit model is modeled using a Foreman and Carphone sequence having image characteristics similar to those of a video telephone. The factor values are as follows.

Factor[31] = {0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 6, 6}Factor [31] = {0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 6, 6}

단계 S501의 비교결과, 델타(δ)의 절대값이 팩터(Factor[QP])값보다 큰 경우에는, 단계 S502로 진행하여 델타(δ)의 절대값이 팩터(Factor[QP])값의 2배와 비교하고, 그 결과 델타(δ)의 절대값이 큰 경우에는 단계 S503으로 진행하여 첫번째 오프셋값인 d1을 0으로 결정한다. As a result of the comparison of step S501, if the absolute value of the delta δ is greater than the factor [QP] value, the flow advances to step S502 and the absolute value of the delta δ is 2 of the factor [QP] value. When the absolute value of the delta δ is large, the process proceeds to step S503, where the first offset value d1 is determined to be zero.

단계 S502의 비교결과, 델타(δ)의 절대값이 팩터(Factor[QP])값의 2배보다 작거나 같은 경우에는 단계 S504로 진행하여 2배의 팩터(Factor[QP])에서 델타(δ)의 절대값을 감산하여 d1을 산출한다.As a result of the comparison in step S502, if the absolute value of delta δ is less than or equal to twice the value of factor [QP], the flow advances to step S504 and the delta (δ) at twice the factor Factor [QP]. D1 is calculated by subtracting the absolute value of

단계 S501의 비교결과, 델타(δ)의 절대값이 팩터(Factor[QP])값보다 작거나 같은 경우에는, 단계 S505로 진행하여 델타(δ)의 절대값을 d1로 결정한다.As a result of the comparison of step S501, if the absolute value of the delta δ is less than or equal to the factor (QP) value, the flow advances to step S505 to determine the absolute value of the delta δ as d1.

이와 같은 단계 S501 내지 단계 S505에 따른 첫번째 오프셋값의 연산은 하기의 식으로 정리할 수 있다. The calculation of the first offset value according to the above steps S501 to S505 can be summarized by the following equation.

Figure 112005065835804-pat00005
Figure 112005065835804-pat00005

여기서, y는 최대왜곡한계 모델에 따른 팩터값이다. Here, y is a factor value according to the maximum distortion limit model.

단계 S506에서, 수학식 3에 의해 산출된 d1값에 델타(δ)의 부호를 부여한다. In step S506, the sign of the delta (δ) is assigned to the value d1 calculated by the expression (3).

즉, 단계 S503 내지 단계 S505에 의해 산출된 오프셋값은 절대값 연산에 의한 크기 값이므로, 인접 픽셀 사이의 변화정도인 델타(δ)의 원래 부호를 가산하여 최종적으로 첫번째 오프셋값(d1)을 산출한다. That is, since the offset values calculated in steps S503 to S505 are magnitude values by absolute value calculation, the original sign of the delta δ, which is the degree of change between adjacent pixels, is added to finally calculate the first offset value d1. do.

단계 S507에서, 산출된 첫번째 오프셋값(d1)을 이용하여 블록 경계에 가장 인접한 픽셀, 예를 들면, 도 2에 있어서, A[3], A[4]에 대하여 하기의 식에 따라 필터링을 수행한다. In step S507, filtering is performed on pixels closest to the block boundary, for example, A [3] and A [4], using the calculated first offset value d1 according to the following equation. do.

A[3] = A[3] + d1A [3] = A [3] + d1

A[4] = A[4] - d1A [4] = A [4]-d1

다음으로, 단계 S508 내지 단계 S510에서, 첫번째 오프셋값(d1)을 이용하여 하기의 식에 의해 두번째 오프셋값(d2)을 연산한다.Next, in steps S508 to S510, the second offset value d2 is calculated by the following equation using the first offset value d1.

Figure 112005065835804-pat00006
Figure 112005065835804-pat00006

여기서, min()은 작은 값을 선택하는 연산자이고, max()는 큰 값을 선택하는 연산자이며, S2,S5는 해당 픽셀의 값이다. Here, min () is an operator for selecting a small value, max () is an operator for selecting a large value, and S2 and S5 are values of the corresponding pixel.

즉, 단계 S508에서, 첫번째 오프셋값(d1)을 2로 나누고(A), 블록 경계를 중심으로 두번째로 인접한 대칭되는 위치의 픽셀, 예를 들면, 도 2에 있어서, 2번째 픽셀과 5번째 픽셀의 차이의 절대값을 4로 나눈다(B).That is, in step S508, the first offset value d1 is divided by two (A), and the pixels at the second adjacent symmetrical positions around the block boundary, for example, the second pixel and the fifth pixel in FIG. Divide the absolute value of the difference by 4 by (B).

단계 S509에서, 단계 S508에서 연산된 A값에 -1을 곱한 값과 B값 중에서 큰 값을 선택하고(C), 단계 S510에서, C값과 A값 중에서 작은 값을 두번째 오프셋값(d2)으로 결정한다. In step S509, a larger value is selected from the value of A multiplied by -1 and the value of B calculated in step S508 (C). In step S510, the smaller value of the C value and A value is converted to the second offset value d2. Decide

단계 S511에서, 산출된 두번째 오프셋값(d2)을 이용하여 블록 경계를 중심으로 두번째로 인접한 대칭되는 위치 픽셀, 예를 들면, 도 2에 있어서, A[2], A[5]에 대하여 하기의 식에 따라 필터링을 수행한다. In step S511, the second adjacent symmetric position pixel centered on the block boundary using the calculated second offset value d2, for example, in A [2] and A [5] in FIG. Filtering is performed according to an expression.

A[2] = A[2] + d2A [2] = A [2] + d2

A[5] = A[5] - d2A [5] = A [5]-d2

다음으로, 단계 S512 내지 단계 S515에서, 두번째 오프셋값(d2)을 이용하여 하기의 식에 의해 세번째 오프셋값(d3)을 연산한다.Next, in steps S512 to S515, the third offset value d3 is calculated by the following equation using the second offset value d2.

Figure 112005065835804-pat00007
Figure 112005065835804-pat00007

여기서, min()은 작은 값을 선택하는 연산자이고, max()는 큰 값을 선택하는 연산자이며, S6,S1은 해당 픽셀의 값이다. Here, min () is an operator that selects a small value, max () is an operator that selects a large value, and S6 and S1 are values of the corresponding pixel.

즉, 단계 S512에서, 두번째 오프셋값(d2)을 2로 나누고(A), 블록 경계를 중심으로 세번째로 인접한 대칭되는 위치의 픽셀, 예를 들면, 도 2에 있어서, 1번째 픽셀과 6번째 픽셀의 차이의 절대값을 4로 나눈다(B).That is, in step S512, the second offset value d2 is divided by 2 (A), and the pixels of the third adjacent symmetrical position around the block boundary, for example, the first pixel and the sixth pixel in FIG. Divide the absolute value of the difference by 4 by (B).

단계 S513에서, 단계 S512에서 연산된 A값에 -1을 곱한 값과 B값 중에서 큰 값을 선택하고(C), 단계 S514에서, C값과 A값 중에서 작은 값을 세번째 오프셋값(d3)으로 결정한다. In step S513, a larger value is selected from the value of A multiplied by -1 and the value of B calculated in step S512 (C). In step S514, the smaller value of the C value and A value is converted to the third offset value d3. Decide

단계 S515에서, 산출된 세번째 오프셋값(d3)을 이용하여 블록 경계를 중심으로 세번째로 인접한 대칭되는 위치 픽셀, 예를 들면, 도 2에 있어서, A[1], A[6]에 대하여 하기의 식에 따라 필터링을 수행한다. In step S515, the third adjacent symmetric position pixel around the block boundary using the calculated third offset value d3, for example, in A [1] and A [6] in FIG. Filtering is performed according to an expression.

A[1] = A[1] + d3A [1] = A [1] + d3

A[6] = A[6] - d3A [6] = A [6]-d3

이와 같이, 부드러운 영역에 대하여 블록 경계를 중심으로 인접한 각 3개의 픽셀의 최대왜곡한계 모델에 의한 필터링을 종료하면, 영상의 재구성을 위하여 단계 S109로 복귀한다. As such, when the filtering by the maximum distortion limit model of each of the three pixels adjacent to the block boundary with respect to the soft area is finished, the process returns to step S109 for reconstruction of the image.

한편, 일반적으로 필터링을 수행하는데 있어서 모든 블록 경계들에 대해서 수행을 할 수 있을 만큼의 자원이 제공되지 않기 때문에, 본 발명에 있어서, 필터링을 수행하기 위한 조건의 설정은 매우 중요하다. On the other hand, in the present invention, since the resources are not provided enough to perform all the block boundaries in performing the filtering, in the present invention, setting the conditions for performing the filtering is very important.

또한 18-bit 디스플레이로 전환되면서 더욱 가용 MIPS의 범위가 줄어든 상황이므로, 이러한 부분을 고려하여 본 발명은 H.263에서와 같이 Intra-coded 블록들에 대해서만 필터링을 수행한다.In addition, since the range of available MIPS is further reduced by switching to 18-bit display, in consideration of this, the present invention performs filtering only on intra-coded blocks as in H.263.

이상에서 설명한 바와 같이, 본 발명에 따른 영상전화기의 디블록킹 필터링 방법은 필터링을 수행하고자 하는 대상 영역을 픽셀의 분포특성에 따라 적응적으로 결정하고, 각각의 경우에 대해 다른 수준의 필터링을 수행함으로써, 디블록킹 필터링을 위한 연산 구조를 단순화시켜 연산상의 복잡도를 감소시키는 동시에 주관적인 화질의 개선을 제공할 수 있는 효과가 있다. As described above, the deblocking filtering method of the video telephone according to the present invention adaptively determines a target region to be filtered according to the distribution characteristics of pixels, and performs different levels of filtering for each case. In addition, the computational structure for deblocking filtering can be simplified to reduce computational complexity and to provide subjective improvement of image quality.

최대왜곡한계 모델을 이용하여 미리 테이블화된 값과 가장 기본적인 비디오 부호화 정보인 양자화파라미터 값만을 이용하여 부드러운 영역에 대한 강한 필터링을 수행함으로써, H.263나 MPEG-4와 같은 저 비트율에서 사용되는 비디오 부호화 방식에 적용할 수 있다. The video is used at low bit rates such as H.263 or MPEG-4 by performing strong filtering on smooth areas using only the pre-tabled values using the maximum distortion limit model and the quantization parameter values that are the most basic video encoding information. Applicable to the coding scheme.

Claims (8)

블록 경계를 중심으로 각 블록에서 블록 경계에 인접한 하나의 픽셀과 그에 인접한 2개의 픽셀을 추출하는 추출 단계와;An extraction step of extracting one pixel adjacent to the block boundary and two pixels adjacent thereto from each block with respect to the block boundary; 상기 블록 경계에 대한 상기 픽셀들의 분포에 따른 차이(δ)를 연산하는 연산 단계와;Calculating a difference δ according to the distribution of the pixels with respect to the block boundary; 상기 픽셀들의 인접 픽셀 사이의 변화정도(SF)에 따라 필터링을 수행하기 위한 모드를 결정하는 모드결정 단계와;A mode determining step of determining a mode for performing filtering according to a degree of change (SF) between adjacent pixels of the pixels; 상기 차이(δ)와 미리 설정된 양자화 파라미터(QP)와의 관계에 따라 필터링을 수행할지의 여부를 판단하는 판단 단계와;A determination step of determining whether to perform filtering according to the relation between the difference δ and a preset quantization parameter QP; 상기 모드결정 및 판단결과에 따라 필터링을 수행하고자 하는 대상 픽셀을 결정하고, 각각에 대하여 다른 수준의 필터링을 수행하는 필터링 단계를 포함하여 이루어진 것을 특징으로 하는 영상전화기의 디블록킹 필터링 방법.And determining a target pixel to be filtered according to the mode determination and the determination result, and performing a different level of filtering for each of the deblocking filtering methods of the video telephone. 제 1 항에 있어서,The method of claim 1, 상기 모드결정 단계는,The mode decision step, 상기 픽셀들의 인접 픽셀 사이의 차이값이 미리 설정된 임계값(TH)을 초과하는 경우의 수를 상기 변화정도(SF)로 하여 산출하는 산출 단계와;Calculating the number of cases where the difference value between adjacent pixels of the pixels exceeds a preset threshold value TH as the variation degree SF; 상기 산출된 변화정도(SF)와 미리 설정된 임계값(THU)을 비교하여 상기 산출된 변화정도(SF)가 상기 임계값(THU) 이상인 경우 부드러운 영역으로 판별하고, 그 외에는 복잡한 영역으로 판별하는 판별 단계를 포함하는 것을 특징으로 하는 영상전화기의 디블록킹 필터링 방법.The calculated change degree SF is compared with a preset threshold value THU, and when the calculated change degree SF is equal to or greater than the threshold value THU, the control unit judges a soft area and otherwise determines a complex area. Deblocking filtering method of a video telephone, characterized in that it comprises a step. 제 2 항에 있어서, The method of claim 2, 상기 미리 설정된 임계값(THU)은 4인 것을 특징으로 하는 영상전화기의 디블록킹 필터링 방법.And said predetermined threshold value (THU) is four. 제 2 항에 있어서,The method of claim 2, 상기 필터링 단계는,The filtering step, 상기 판별단계에서 부드러운 영역으로 판별한 경우, 상기 판단 결과에 따라 오프셋-기반 필터링을 수행하는 제 1 필터링 단계와;A first filtering step of performing offset-based filtering according to the determination result when the soft region is determined in the determination step; 상기 판별단계에서 복잡한 영역으로 판별한 경우, 상기 판단 결과에 따라 저역통과필터링을 수행하는 제 2 필터링 단계를 포함하는 것을 특징으로 하는 영상전화기의 디블록킹 필터링 방법.And a second filtering step of performing low pass filtering according to the determination result when the determination is made to the complex region in the determination step. 제 4 항에 있어서,The method of claim 4, wherein 상기 제 1 필터링 단계는 상기 판단결과 상기 차이(δ)의 절대값이 상기 양자화 파라미터(QP)보다 작은 경우, 상기 블록의 경계를 중심으로 대칭되는 위치의 픽셀들에 대해 동일한 오프셋값을 가산하거나 감산하는 것을 특징으로 하는 영상전화기의 디블록킹 필터링 방법.In the first filtering step, when the absolute value of the difference δ is smaller than the quantization parameter QP, the first filtering step adds or subtracts the same offset value to pixels at positions symmetric about the boundary of the block. Deblocking filtering method of a video telephone, characterized in that. 제 5 항에 있어서,The method of claim 5, 상기 오프셋값은 최대왜곡한계 모델을 이용하여 산출하는 것을 특징으로 하는 영상전화기의 디블록킹 필터링 방법.And the offset value is calculated by using a maximum distortion limit model. 제 6 항에 있어서, The method of claim 6, 상기 최대왜곡한계 모델은 상기 양자화 파라미터(QP)에 따라 발생하는 왜곡들의 평균치를 통하여 얻어진 R-D(Rate-Distortion) 곡선을 모델링하여 산출하는 것을 특징으로 하는 영상전화기의 디블록킹 필터링 방법.The maximum distortion limit model is calculated by modeling and calculating a rate-distortion (R-D) curve obtained through an average of distortions generated according to the quantization parameter (QP). 제 4 항에 있어서,The method of claim 4, wherein 상기 제 2 필터링 단계는 상기 차이(δ)의 절대값이 상기 양자화 파라미터(QP)의 8배보다 작은 경우, 상기 블록의 경계를 중심으로 인접한 2개의 픽셀에 대한 저역통과필터링을 수행하는 영상전화기의 디블록킹 필터링 방법.In the second filtering step, when the absolute value of the difference δ is less than 8 times the quantization parameter QP, the low pass filtering of two adjacent pixels around the boundary of the block is performed. Deblocking filtering method.
KR1020050109498A 2005-11-16 2005-11-16 Method for filtering of deblocking in video telephony mobile phone KR100711725B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050109498A KR100711725B1 (en) 2005-11-16 2005-11-16 Method for filtering of deblocking in video telephony mobile phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050109498A KR100711725B1 (en) 2005-11-16 2005-11-16 Method for filtering of deblocking in video telephony mobile phone

Publications (1)

Publication Number Publication Date
KR100711725B1 true KR100711725B1 (en) 2007-04-25

Family

ID=38182399

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050109498A KR100711725B1 (en) 2005-11-16 2005-11-16 Method for filtering of deblocking in video telephony mobile phone

Country Status (1)

Country Link
KR (1) KR100711725B1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101552639B1 (en) * 2008-07-11 2015-09-14 한국전자통신연구원 Filter and filtering method for deblocking of intra macro block
KR101749269B1 (en) 2009-06-30 2017-06-22 삼성전자주식회사 Apparaus and method for video encoding and decoding apparatus using adaptive in loop filter
WO2019135446A1 (en) * 2018-01-08 2019-07-11 삼성전자 주식회사 Encoding method and apparatus therefor, and decoding method and apparatus therefor
KR102658361B1 (en) 2018-01-08 2024-04-17 삼성전자주식회사 Method and Apparatus for video encoding and Method and Apparatus for video decoding

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990024963A (en) * 1997-09-09 1999-04-06 구본준 Deblocking filtering method for video in low-speed transmission
JP2004159311A (en) 2002-10-16 2004-06-03 Matsushita Electric Ind Co Ltd Image processing apparatus and image processing method
JP2005102159A (en) 2003-08-19 2005-04-14 Matsushita Electric Ind Co Ltd Dynamic image encoding and decoding methods
KR20050099256A (en) * 2004-04-09 2005-10-13 삼성전자주식회사 Apparatus and method for processing image data using deblocking

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990024963A (en) * 1997-09-09 1999-04-06 구본준 Deblocking filtering method for video in low-speed transmission
JP2004159311A (en) 2002-10-16 2004-06-03 Matsushita Electric Ind Co Ltd Image processing apparatus and image processing method
JP2005102159A (en) 2003-08-19 2005-04-14 Matsushita Electric Ind Co Ltd Dynamic image encoding and decoding methods
KR20050099256A (en) * 2004-04-09 2005-10-13 삼성전자주식회사 Apparatus and method for processing image data using deblocking

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101552639B1 (en) * 2008-07-11 2015-09-14 한국전자통신연구원 Filter and filtering method for deblocking of intra macro block
KR101749269B1 (en) 2009-06-30 2017-06-22 삼성전자주식회사 Apparaus and method for video encoding and decoding apparatus using adaptive in loop filter
WO2019135446A1 (en) * 2018-01-08 2019-07-11 삼성전자 주식회사 Encoding method and apparatus therefor, and decoding method and apparatus therefor
KR20200042948A (en) * 2018-01-08 2020-04-24 삼성전자주식회사 Coding method and apparatus, decoding method and apparatus
CN111567050A (en) * 2018-01-08 2020-08-21 三星电子株式会社 Encoding method and apparatus thereof, and decoding method and apparatus thereof
KR102186463B1 (en) * 2018-01-08 2020-12-03 삼성전자주식회사 Coding method and device, decoding method and device
KR20200136055A (en) * 2018-01-08 2020-12-04 삼성전자주식회사 Method and Apparatus for video encoding and Method and Apparatus for video decoding
KR20210076183A (en) * 2018-01-08 2021-06-23 삼성전자주식회사 Method and Apparatus for video encoding and Method and Apparatus for video decoding
KR102269036B1 (en) * 2018-01-08 2021-06-24 삼성전자주식회사 Method and Apparatus for video encoding and Method and Apparatus for video decoding
US11477446B2 (en) 2018-01-08 2022-10-18 Samsung Electronics Co., Ltd. Encoding method and apparatus therefor, and decoding method and apparatus therefor
KR102496622B1 (en) 2018-01-08 2023-02-07 삼성전자주식회사 Method and Apparatus for video encoding and Method and Apparatus for video decoding
KR20230021769A (en) * 2018-01-08 2023-02-14 삼성전자주식회사 Method and Apparatus for video encoding and Method and Apparatus for video decoding
KR102552290B1 (en) 2018-01-08 2023-07-06 삼성전자주식회사 Method and Apparatus for video encoding and Method and Apparatus for video decoding
CN111567050B (en) * 2018-01-08 2024-03-22 三星电子株式会社 Encoding method and apparatus thereof, and decoding method and apparatus thereof
KR102658361B1 (en) 2018-01-08 2024-04-17 삼성전자주식회사 Method and Apparatus for video encoding and Method and Apparatus for video decoding

Similar Documents

Publication Publication Date Title
EP1680928B1 (en) Methods of processing digital image and/or video data including luminance filtering based on chrominance data
KR100797807B1 (en) Method of coding artefacts reduction
Tai et al. Deblocking filter for low bit rate MPEG-4 video
KR100863166B1 (en) Method, apparatus, electronic device, computer-readable medium and processor for deblocking and edge enhancement of block based digital video
KR101545005B1 (en) Image compression and decompression
EP1676446B1 (en) Video comfort noise addition technique
JP4153202B2 (en) Video encoding device
KR102123958B1 (en) Method for reducing real-time video noise in coding process, terminal, and computer-readable non-volatile storage medium
JP2003520530A (en) Method and apparatus for filtering digital images
JP2001320713A (en) Image preprocessing method
KR100711725B1 (en) Method for filtering of deblocking in video telephony mobile phone
JPH04219089A (en) Image encoding device
JP4380498B2 (en) Block distortion reduction device
US8203617B2 (en) Apparatus and method for increasing coding efficiency with an adaptive pre-filter
JP3800435B2 (en) Video signal processing device
Jacquin et al. Content-adaptive postfiltering for very low bit rate video
KR100676226B1 (en) Method for post-processing of moving picture codec and Method for its edge compensation and improvement filtering
KR100598368B1 (en) Filtering method for block boundary region
Shin et al. Fast deblocking filter for stereoscopic video coding in mobile broadcasting
JP2005260989A (en) Image processing apparatus and image processing method
KR100524856B1 (en) Filtering method block boundary region
Cahill et al. Locally adaptive deblocking filter for low bit rate video
KR100917208B1 (en) Filtering method for block boundary region
KR100839304B1 (en) Moving picture decoding method
KR100598367B1 (en) Filtering method for block boundary region

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
FPAY Annual fee payment

Payment date: 20140414

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20160324

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20170324

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee